Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jun 2018 20:25:09 +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: r335080 - head/sys/dev/an
Message-ID:  <201806132025.w5DKP9eP050085@repo.freebsd.org>

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



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