svn commit: r336103 - head/sys/dev/bfe

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


Author: imp
Date: Sun Jul  8 20:39:57 2018
New Revision: 336103
URL: https://svnweb.freebsd.org/changeset/base/336103

Log:
  Add PNP info to PCI attachments of bfe 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/bfe/if_bfe.c

Modified: head/sys/dev/bfe/if_bfe.c
==============================================================================
--- head/sys/dev/bfe/if_bfe.c	Sun Jul  8 20:39:52 2018	(r336102)
+++ head/sys/dev/bfe/if_bfe.c	Sun Jul  8 20:39:57 2018	(r336103)
@@ -157,6 +157,8 @@ static driver_t bfe_driver = {
 static devclass_t bfe_devclass;
 
 DRIVER_MODULE(bfe, pci, bfe_driver, bfe_devclass, 0, 0);
+MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, bfe, bfe_devs,
+    sizeof(bfe_devs[0]), nitems(bfe_devs) - 1);
 DRIVER_MODULE(miibus, bfe, miibus_driver, miibus_devclass, 0, 0);
 
 /*


More information about the svn-src-head mailing list