mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-14 00:59:17 +08:00
pci: Back port changes
This commit is contained in:
parent
17a3184081
commit
acb80d6e0a
@ -233,7 +233,8 @@ static device_method_t pci_methods[] = {
|
|||||||
DEFINE_CLASS_0(pci, pci_driver, pci_methods, sizeof(struct pci_softc));
|
DEFINE_CLASS_0(pci, pci_driver, pci_methods, sizeof(struct pci_softc));
|
||||||
|
|
||||||
static devclass_t pci_devclass;
|
static devclass_t pci_devclass;
|
||||||
DRIVER_MODULE(pci, pcib, pci_driver, pci_devclass, pci_modevent, NULL);
|
EARLY_DRIVER_MODULE(pci, pcib, pci_driver, pci_devclass, pci_modevent, NULL,
|
||||||
|
BUS_PASS_BUS);
|
||||||
MODULE_VERSION(pci, 1);
|
MODULE_VERSION(pci, 1);
|
||||||
|
|
||||||
static char *pci_vendordata;
|
static char *pci_vendordata;
|
||||||
|
@ -136,7 +136,8 @@ static device_method_t pcib_methods[] = {
|
|||||||
static devclass_t pcib_devclass;
|
static devclass_t pcib_devclass;
|
||||||
|
|
||||||
DEFINE_CLASS_0(pcib, pcib_driver, pcib_methods, sizeof(struct pcib_softc));
|
DEFINE_CLASS_0(pcib, pcib_driver, pcib_methods, sizeof(struct pcib_softc));
|
||||||
DRIVER_MODULE(pcib, pci, pcib_driver, pcib_devclass, NULL, NULL);
|
EARLY_DRIVER_MODULE(pcib, pci, pcib_driver, pcib_devclass, NULL, NULL,
|
||||||
|
BUS_PASS_BUS);
|
||||||
|
|
||||||
#if defined(NEW_PCIB) || defined(PCI_HP)
|
#if defined(NEW_PCIB) || defined(PCI_HP)
|
||||||
SYSCTL_DECL(_hw_pci);
|
SYSCTL_DECL(_hw_pci);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user