Skip to content

Commit

Permalink
ieee1394: fix calculation of sysfs attribute "address"
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stefan Richter committed May 31, 2007
1 parent 54ca412 commit a52938f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ieee1394/nodemgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)++;

Expand Down

0 comments on commit a52938f

Please sign in to comment.