summaryrefslogtreecommitdiffstats
path: root/drivers/ieee1394
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2007-05-27 13:11:47 +0200
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-05-31 21:40:13 +0200
commita52938f3e2e7c1dd2f00775016703991b7809c42 (patch)
tree32af0ad2c59ac8b0422482b49ab8555bade21570 /drivers/ieee1394
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fix (diff)
downloadlinux-a52938f3e2e7c1dd2f00775016703991b7809c42.tar.xz
linux-a52938f3e2e7c1dd2f00775016703991b7809c42.zip
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')
-rw-r--r--drivers/ieee1394/nodemgr.c2
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
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)++;