diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-05-27 07:11:47 -0400 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-05-31 15:40:13 -0400 |
commit | a52938f3e2e7c1dd2f00775016703991b7809c42 (patch) | |
tree | 32af0ad2c59ac8b0422482b49ab8555bade21570 | |
parent | 54ca4123363f388ab724fc66da92b87dc05395c3 (diff) |
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>
-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 835937e38529..c291602a12d7 100644 --- a/drivers/ieee1394/nodemgr.c +++ b/drivers/ieee1394/nodemgr.c | |||
@@ -976,7 +976,7 @@ static struct unit_directory *nodemgr_process_unit_directory | |||
976 | 976 | ||
977 | ud->ne = ne; | 977 | ud->ne = ne; |
978 | ud->ignore_driver = ignore_drivers; | 978 | ud->ignore_driver = ignore_drivers; |
979 | ud->address = ud_kv->offset + CSR1212_CONFIG_ROM_SPACE_BASE; | 979 | ud->address = ud_kv->offset + CSR1212_REGISTER_SPACE_BASE; |
980 | ud->ud_kv = ud_kv; | 980 | ud->ud_kv = ud_kv; |
981 | ud->id = (*id)++; | 981 | ud->id = (*id)++; |
982 | 982 | ||