summaryrefslogtreecommitdiffstats
path: root/drivers/firewire
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2009-09-08 01:13:53 +0200
committerStefan Richter <stefanr@s5r6.in-berlin.de>2009-09-12 14:48:40 +0200
commit85cb9b68640cf467a99d4b6d518f1293222dbc9e (patch)
tree02aca6e2bfc101b1ec9fa578701d5b01dc6bcd33 /drivers/firewire
parentb171e204b32b69e241af994d6e9be559e33535c1 (diff)
downloadop-kernel-dev-85cb9b68640cf467a99d4b6d518f1293222dbc9e.zip
op-kernel-dev-85cb9b68640cf467a99d4b6d518f1293222dbc9e.tar.gz
firewire: core: fix topology map response handler
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>
Diffstat (limited to 'drivers/firewire')
-rw-r--r--drivers/firewire/core-transaction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firewire/core-transaction.c b/drivers/firewire/core-transaction.c
index 479b22f..da628c7 100644
--- a/drivers/firewire/core-transaction.c
+++ b/drivers/firewire/core-transaction.c
@@ -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,
};
OpenPOWER on IntegriCloud