Lines 549-559
Link Here
|
549 |
DEVMETHOD_END |
549 |
DEVMETHOD_END |
550 |
}; |
550 |
}; |
551 |
|
551 |
|
552 |
static devclass_t thunderbolt_devclass; |
|
|
553 |
DEFINE_CLASS_1(tbolt, tb_pcib_driver, tb_pcib_methods, |
552 |
DEFINE_CLASS_1(tbolt, tb_pcib_driver, tb_pcib_methods, |
554 |
sizeof(struct tb_pcib_softc), pcib_driver); |
553 |
sizeof(struct tb_pcib_softc), pcib_driver); |
555 |
DRIVER_MODULE_ORDERED(tb_pcib, pci, tb_pcib_driver, thunderbolt_devclass, |
554 |
DRIVER_MODULE_ORDERED(tb_pcib, pci, tb_pcib_driver,NULL, NULL, SI_ORDER_MIDDLE); |
556 |
NULL, NULL, SI_ORDER_MIDDLE); |
|
|
557 |
MODULE_DEPEND(tb_pcib, pci, 1, 1, 1); |
555 |
MODULE_DEPEND(tb_pcib, pci, 1, 1, 1); |
558 |
MODULE_PNP_INFO("U16:vendor;U16:device;U16:subvendor;U16:subdevice;U32:#;D:#", |
556 |
MODULE_PNP_INFO("U16:vendor;U16:device;U16:subvendor;U16:subdevice;U32:#;D:#", |
559 |
pci, tb_pcib, tb_pcib_identifiers, nitems(tb_pcib_identifiers) - 1); |
557 |
pci, tb_pcib, tb_pcib_identifiers, nitems(tb_pcib_identifiers) - 1); |
Lines 612-621
Link Here
|
612 |
DEVMETHOD_END |
610 |
DEVMETHOD_END |
613 |
}; |
611 |
}; |
614 |
|
612 |
|
615 |
static devclass_t pci_devclass; |
|
|
616 |
|
617 |
DEFINE_CLASS_1(pci, tb_pci_driver, tb_pci_methods, sizeof(struct pci_softc), |
613 |
DEFINE_CLASS_1(pci, tb_pci_driver, tb_pci_methods, sizeof(struct pci_softc), |
618 |
pci_driver); |
614 |
pci_driver); |
619 |
DRIVER_MODULE(tb_pci, pcib, tb_pci_driver, pci_devclass, 0, 0); |
615 |
DRIVER_MODULE(tb_pci, pcib, tb_pci_driver, 0, 0); |
620 |
MODULE_DEPEND(tb_pci, pci, 1, 1, 1); |
616 |
MODULE_DEPEND(tb_pci, pci, 1, 1, 1); |
621 |
MODULE_VERSION(tb_pci, 1); |
617 |
MODULE_VERSION(tb_pci, 1); |