/* Try to detect a know PCI controller. Read the Vendor ID and
* the Device ID for function 0 of device 0.
* Two times the value 0xffff suggests a system without a (compatible)
- * PCI controller. Only controllers with values listed in the table
- * pci_intel_ctrl are actually used.
+ * PCI controller.
*/
u32_t bus, dev, func;
u16_t vid, did;
if (vid == 0xffff && did == 0xffff)
return; /* Nothing here */
+#if 0
for (i= 0; pci_intel_ctrl[i].vid; i++)
{
if (pci_intel_ctrl[i].vid == vid &&
"\tvendor %04X (%s), device %04X\n",
vid, pci_vid_name(vid), did);
}
+#endif
if (nr_pcibus >= NR_PCIBUS)
panic("PCI","too many PCI busses", nr_pcibus);
extern struct pci_device pci_device_table[];
extern struct pci_baseclass pci_baseclass_table[];
extern struct pci_subclass pci_subclass_table[];
+#if 0
extern struct pci_intel_ctrl pci_intel_ctrl[];
+#endif
extern struct pci_isabridge pci_isabridge[];
extern struct pci_pcibridge pci_pcibridge[];
{ 0x00, 0x00, 0x00, NULL }
};
+#if 0
struct pci_intel_ctrl pci_intel_ctrl[]=
{
{ 0x1022, 0x700C, }, /* AMD-762 */
{ 0x8086, 0x7192, }, /* Intel 82443BX - AGP disabled */
{ 0x0000, 0x0000, },
};
+#endif
struct pci_isabridge pci_isabridge[]=
{