|
|
| version 1.10, 2004/02/21 06:37:06 | version 1.11, 2004/03/25 01:39:27 |
|---|---|
| Line 489 DRIVER_MODULE(pcib, nexus, nexus_pcib_dr | Line 489 DRIVER_MODULE(pcib, nexus, nexus_pcib_dr |
| /* | /* |
| * XXX may have to disable the registration entirely to support module-loaded | |
| * bridges such as agp.ko. | |
| * | |
| * Provide a device to "eat" the host->pci bridges that we dug up above | * Provide a device to "eat" the host->pci bridges that we dug up above |
| * and stop them showing up twice on the probes. This also stops them | * and stop them showing up twice on the probes. This also stops them |
| * showing up as 'none' in pciconf -l. | * showing up as 'none' in pciconf -l. |
| * | |
| * Return an ultra-low priority so other devices can attach the bus before | |
| * our dummy attach. | |
| */ | */ |
| static int | static int |
| pci_hostb_probe(device_t dev) | pci_hostb_probe(device_t dev) |
| Line 500 pci_hostb_probe(device_t dev) | Line 506 pci_hostb_probe(device_t dev) |
| pci_get_subclass(dev) == PCIS_BRIDGE_HOST) { | pci_get_subclass(dev) == PCIS_BRIDGE_HOST) { |
| device_set_desc(dev, "Host to PCI bridge"); | device_set_desc(dev, "Host to PCI bridge"); |
| device_quiet(dev); | device_quiet(dev); |
| return 0; | return -10000; |
| } | } |
| return (ENXIO); | return (ENXIO); |
| } | } |