提交 a52938f3 编写于 作者: S Stefan Richter

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: NStefan Richter <stefanr@s5r6.in-berlin.de>
上级 54ca4123
......@@ -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)++;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册