diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-05-27 13:11:47 +0200 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-05-31 21:40:13 +0200 |
commit | a52938f3e2e7c1dd2f00775016703991b7809c42 (patch) | |
tree | 32af0ad2c59ac8b0422482b49ab8555bade21570 /drivers/ieee1394/nodemgr.c | |
parent | 54ca4123363f388ab724fc66da92b87dc05395c3 (diff) | |
download | kernel_samsung_tuna-a52938f3e2e7c1dd2f00775016703991b7809c42.zip kernel_samsung_tuna-a52938f3e2e7c1dd2f00775016703991b7809c42.tar.gz kernel_samsung_tuna-a52938f3e2e7c1dd2f00775016703991b7809c42.tar.bz2 |
ieee1394: fix calculation of sysfs attribute "address"
struct csr1212_keyval.offset is relative to 0xffff f000 0000 rather than
0xffff f000 0400.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/ieee1394/nodemgr.c')
-rw-r--r-- | drivers/ieee1394/nodemgr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ieee1394/nodemgr.c b/drivers/ieee1394/nodemgr.c index 835937e..c291602 100644 --- a/drivers/ieee1394/nodemgr.c +++ b/drivers/ieee1394/nodemgr.c @@ -976,7 +976,7 @@ static struct unit_directory *nodemgr_process_unit_directory ud->ne = ne; ud->ignore_driver = ignore_drivers; - ud->address = ud_kv->offset + CSR1212_CONFIG_ROM_SPACE_BASE; + ud->address = ud_kv->offset + CSR1212_REGISTER_SPACE_BASE; ud->ud_kv = ud_kv; ud->id = (*id)++; |