svn commit: r336104 - head/sys/dev/bge

Warner Losh imp at FreeBSD.org
Sun Jul 8 20:40:05 UTC 2018


Author: imp
Date: Sun Jul  8 20:40:01 2018
New Revision: 336104
URL: https://svnweb.freebsd.org/changeset/base/336104

Log:
  Add PNP info to PCI attachments of bge driver
  
  Reviewed by: imp, chuck
  Submitted by: Lakhan Shiva Kamireddy <lakhanshiva at gmail.com>
  Sponsored by: Google, Inc. (GSoC 2018)
  Differential Revision: https://reviews.freebsd.org/D15995

Modified:
  head/sys/dev/bge/if_bge.c

Modified: head/sys/dev/bge/if_bge.c
==============================================================================
--- head/sys/dev/bge/if_bge.c	Sun Jul  8 20:39:57 2018	(r336103)
+++ head/sys/dev/bge/if_bge.c	Sun Jul  8 20:40:01 2018	(r336104)
@@ -547,6 +547,8 @@ static driver_t bge_driver = {
 static devclass_t bge_devclass;
 
 DRIVER_MODULE(bge, pci, bge_driver, bge_devclass, 0, 0);
+MODULE_PNP_INFO("U16:vendor;U16:device", pci, bge, bge_devs,
+    sizeof(bge_devs), nitems(bge_devs) - 1);
 DRIVER_MODULE(miibus, bge, miibus_driver, miibus_devclass, 0, 0);
 
 static int bge_allow_asf = 1;


More information about the svn-src-all mailing list