Intel AGP support attaching to wrong PCI IDs

From: Jon Smirl
Date: Sat Feb 05 2005 - 20:49:06 EST


I have an i875 chipset with these two devices:

8086:2578 - 00:00.0 Host bridge: Intel Corp. 82875P/E7210 Memory
Controller Hub (rev 02)
8086:2579 - 00:01.0 PCI bridge: Intel Corp. 82875P Processor to AGP
Controller (rev 02)

In the legacy io space thread we are talking about making a device
driver for host bridges. The Intel AGP drivers (in my case
agpgart-intel-mch) are attaching to the PCI IDs of the host bus device
instead of the AGP bridge. This blocks us from making a host bridge
driver.
PCI_DEVICE_ID_INTEL_82875_HB 0x2578

Shouldn't they be attaching to device 0x2579? It looks like all of the
drivers have this problem and are attaching to the host bus PCI IDs
instead of the AGP bridge ID.

[root@jonsmirl pci]# cat devices
0000 80862578 0 ec000008 00000000
00000000 00000000 00000000 00000000
00000000 04000000 00000000 00000000 00000000
00000000 00000000 00000000 agpgart-intel-mch
0008 80862579 0 00000000 00000000
00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000

Am I correct in thinking that in all cases there has to be two PCI
IDs, one for the host bridge and one for the APG bridge?

--
Jon Smirl
jonsmirl@xxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/