All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] firewire: core: fix topology map response handler
@ 2009-09-07 23:13 Stefan Richter
  0 siblings, 0 replies; only message in thread
From: Stefan Richter @ 2009-09-07 23:13 UTC (permalink / raw)
  To: linux1394-devel; +Cc: linux-kernel

This register is 1 kBytes large.  Adjust topology_map.length to prevent
registration of other response handlers in this region and to make sure
that we respond to requests to the upper half of the register.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
---
 drivers/firewire/core-transaction.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.31-rc9/drivers/firewire/core-transaction.c
===================================================================
--- linux-2.6.31-rc9.orig/drivers/firewire/core-transaction.c
+++ linux-2.6.31-rc9/drivers/firewire/core-transaction.c
@@ -834,7 +834,7 @@ static void handle_topology_map(struct f
 }
 
 static struct fw_address_handler topology_map = {
-	.length			= 0x200,
+	.length			= 0x400,
 	.address_callback	= handle_topology_map,
 };
 

-- 
Stefan Richter
-=====-==--= =--= -=---
http://arcgraph.de/sr/


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-09-07 23:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-07 23:13 [PATCH] firewire: core: fix topology map response handler Stefan Richter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.