Add PNP info to xl as an example.

This commit is contained in:
Warner Losh 2018-03-23 15:35:15 +00:00
parent 9fbcec7d02
commit f0df5e27ce
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=331429

View File

@ -334,6 +334,8 @@ static devclass_t xl_devclass;
DRIVER_MODULE_ORDERED(xl, pci, xl_driver, xl_devclass, NULL, NULL,
SI_ORDER_ANY);
DRIVER_MODULE(miibus, xl, miibus_driver, miibus_devclass, NULL, NULL);
MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, xl, xl_devs, sizeof(xl_devs[0]),
nitems(xl_devs) - 1);
static void
xl_dma_map_addr(void *arg, bus_dma_segment_t *segs, int nseg, int error)