Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jul 2018 20:40:01 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r336104 - head/sys/dev/bge
Message-ID:  <201807082040.w68Ke1S4090111@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807082040.w68Ke1S4090111>