Author: imp Date: Wed Jun 13 20:25:09 2018 New Revision: 335080 URL: https://svnweb.freebsd.org/changeset/base/335080
Log: Add PNP info to PCI attachment of an driver Reviewed by: imp, chuck Submitted by: Lakhan Shiva Kamireddy <lakhansh...@gmail.com> Sponsored by: Google, Inc. (GSoC 2018) Modified: head/sys/dev/an/if_an_pci.c Modified: head/sys/dev/an/if_an_pci.c ============================================================================== --- head/sys/dev/an/if_an_pci.c Wed Jun 13 20:25:04 2018 (r335079) +++ head/sys/dev/an/if_an_pci.c Wed Jun 13 20:25:09 2018 (r335080) @@ -273,5 +273,7 @@ static driver_t an_pci_driver = { static devclass_t an_devclass; DRIVER_MODULE(an, pci, an_pci_driver, an_devclass, 0, 0); +MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, an, + an_devs, sizeof(an_devs[0]), nitems(an_devs) - 1); MODULE_DEPEND(an, pci, 1, 1, 1); MODULE_DEPEND(an, wlan, 1, 1, 1); _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"