busmap[bus] = 1;
t = pci_alloc_dev(a);
t->bus = bus;
- for(dev=0; dev<32; dev++)
+ for (dev=0; dev<32; dev++)
{
t->dev = dev;
multi = 0;
- for(t->func=0; !t->func || multi && t->func<8; t->func++)
+ for (t->func=0; !t->func || multi && t->func<8; t->func++)
{
u32 vd = pci_read_long(t, PCI_VENDOR_ID);
struct pci_dev *d;
}
if (cnt)
{
- for(i=0; i<cnt; i++)
+ for (i=0; i<cnt; i++)
{
u32 x = pci_read_long(d, PCI_BASE_ADDRESS_0 + i*4);
if (!x || x == (u32) ~0)
d->rom_base_addr = u;
}
}
+ if (flags & (PCI_FILL_CAPS | PCI_FILL_EXT_CAPS))
+ flags |= pci_scan_caps(d, flags);
return flags & ~PCI_FILL_SIZES;
}