mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
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>
This commit is contained in:
parent
54ca412336
commit
a52938f3e2
1 changed files with 1 additions and 1 deletions
|
@ -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)++;
|
||||
|
||||
|
|
Loading…
Reference in a new issue