提交 f255f0dd 编写于 作者: S Stephen Rothwell

powerpc: pci_dn's should point to their device_node's

Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
上级 f6960123
...@@ -220,6 +220,7 @@ static struct device_node *build_device_node(HvBusNumber Bus, ...@@ -220,6 +220,7 @@ static struct device_node *build_device_node(HvBusNumber Bus,
return NULL; return NULL;
} }
node->data = pdn; node->data = pdn;
pdn->node = node;
list_add_tail(&pdn->Device_List, &iSeries_Global_Device_List); list_add_tail(&pdn->Device_List, &iSeries_Global_Device_List);
#if 0 #if 0
pdn->DsaAddr = ((u64)Bus << 48) + ((u64)SubBus << 40) + ((u64)0x10 << 32); pdn->DsaAddr = ((u64)Bus << 48) + ((u64)SubBus << 40) + ((u64)0x10 << 32);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册