pci.c (f42813cfc824645a86e6dd8316418c7958e220c5) | pci.c (bfed756af67e4b84d61b4b8af4d0a103ddd6f628) |
---|---|
1/*- 2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3 * 4 * Copyright (c) 1997, Stefan Esser <se@freebsd.org> 5 * Copyright (c) 2000, Michael Smith <msmith@freebsd.org> 6 * Copyright (c) 2000, BSDi 7 * All rights reserved. 8 * --- 200 unchanged lines hidden (view full) --- 209#endif 210 211 DEVMETHOD_END 212}; 213 214DEFINE_CLASS_0(pci, pci_driver, pci_methods, sizeof(struct pci_softc)); 215 216static devclass_t pci_devclass; | 1/*- 2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3 * 4 * Copyright (c) 1997, Stefan Esser <se@freebsd.org> 5 * Copyright (c) 2000, Michael Smith <msmith@freebsd.org> 6 * Copyright (c) 2000, BSDi 7 * All rights reserved. 8 * --- 200 unchanged lines hidden (view full) --- 209#endif 210 211 DEVMETHOD_END 212}; 213 214DEFINE_CLASS_0(pci, pci_driver, pci_methods, sizeof(struct pci_softc)); 215 216static devclass_t pci_devclass; |
217DRIVER_MODULE(pci, pcib, pci_driver, pci_devclass, pci_modevent, NULL); | 217EARLY_DRIVER_MODULE(pci, pcib, pci_driver, pci_devclass, pci_modevent, NULL, 218 BUS_PASS_BUS); |
218MODULE_VERSION(pci, 1); 219 220static char *pci_vendordata; 221static size_t pci_vendordata_size; 222 223struct pci_quirk { 224 uint32_t devid; /* Vendor/device of the card */ 225 int type; --- 6268 unchanged lines hidden --- | 219MODULE_VERSION(pci, 1); 220 221static char *pci_vendordata; 222static size_t pci_vendordata_size; 223 224struct pci_quirk { 225 uint32_t devid; /* Vendor/device of the card */ 226 int type; --- 6268 unchanged lines hidden --- |