Messages in this thread | | | From | "Grover, Andrew" <> | Subject | RE: bare pci configuration access functions ? | Date | Thu, 31 Oct 2002 14:00:27 -0800 |
| |
> From: Greg KH [mailto:greg@kroah.com] > In 2.5 we now have a > pci_bus_read_* > and pci_bus_write_* functions, which the pci hotplug drivers use, as > they at least know the bus on which the devices they are > looking for are > on. I also had to convert over some ACPI code that was using the > pci_read_config functions to get everything to work properly, but I > don't seem to be able to find that code in the latest 2.5 tree, so I > guess you don't need to do that anymore?
It's still there in drivers/acpi/osl.c. We use the pci_root_ops directly, instead of bus->ops (which is usually set to pci_root_ops anyways) but I just mention this as a sidenote.
Regards -- Andy - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |