svn commit: r332651 - head/sys/dev/bce

Warner Losh imp at FreeBSD.org
Tue Apr 17 16:46:02 UTC 2018


Author: imp
Date: Tue Apr 17 16:46:01 2018
New Revision: 332651
URL: https://svnweb.freebsd.org/changeset/base/332651

Log:
  Add PNP info to the bce driver.
  
  Submitted by: Lakhan Shiva Kamireddy
  Pull Request: https://github.com/freebsd/freebsd/pull/136

Modified:
  head/sys/dev/bce/if_bce.c

Modified: head/sys/dev/bce/if_bce.c
==============================================================================
--- head/sys/dev/bce/if_bce.c	Tue Apr 17 16:36:53 2018	(r332650)
+++ head/sys/dev/bce/if_bce.c	Tue Apr 17 16:46:01 2018	(r332651)
@@ -529,7 +529,8 @@ MODULE_DEPEND(bce, miibus, 1, 1, 1);
 
 DRIVER_MODULE(bce, pci, bce_driver, bce_devclass, NULL, NULL);
 DRIVER_MODULE(miibus, bce, miibus_driver, miibus_devclass, NULL, NULL);
-
+MODULE_PNP_INFO("U16:vendor;U16:device;U16:#;U16:#;D:#", pci, bce,
+    bce_devs, sizeof(bce_devs[0]), nitems(bce_devs) - 1);
 
 /****************************************************************************/
 /* Tunable device values                                                    */


More information about the svn-src-all mailing list