firewire: core: fix topology map response handler
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Mon, 7 Sep 2009 23:13:53 +0000 (01:13 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sat, 12 Sep 2009 12:48:40 +0000 (14:48 +0200)
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

index 479b22f5a1eb7889162643741357fdd6cd8948b4..da628c72a4621da3db2cdaf1cd564a555d5dde3f 100644 (file)
@@ -834,7 +834,7 @@ static void handle_topology_map(struct fw_card *card, struct fw_request *request
 }
 
 static struct fw_address_handler topology_map = {
-       .length                 = 0x200,
+       .length                 = 0x400,
        .address_callback       = handle_topology_map,
 };