提交 e5de3b46 编写于 作者: R Ralf Baechle

In pcibios_enable_resources go back to handling all PCI_NUM_RESOURCES

resources.  We tried previous but ran into problems ...
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 e80de850
......@@ -164,7 +164,7 @@ static int pcibios_enable_resources(struct pci_dev *dev, int mask)
pci_read_config_word(dev, PCI_COMMAND, &cmd);
old_cmd = cmd;
for(idx=0; idx<6; idx++) {
for (idx=0; idx < PCI_NUM_RESOURCES; idx++) {
/* Only set up the requested stuff */
if (!(mask & (1<<idx)))
continue;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册