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

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Wed Jun 13 20:25:13 2018
New Revision: 335081
URL: https://svnweb.freebsd.org/changeset/base/335081

Log:
  Add PNP info to PCI attachment of bwn driver
  
  Reviewed by: imp, chuck
  Submitted by: Lakhan Shiva Kamireddy <lakhanshiva@gmail.com>
  Sponsored by: Google, Inc. (GSoC 2018)

Modified:
  head/sys/dev/bwn/if_bwn_pci.c

Modified: head/sys/dev/bwn/if_bwn_pci.c
==============================================================================
--- head/sys/dev/bwn/if_bwn_pci.c	Wed Jun 13 20:25:09 2018	(r335080)
+++ head/sys/dev/bwn/if_bwn_pci.c	Wed Jun 13 20:25:13 2018	(r335081)
@@ -295,6 +295,10 @@ DEFINE_CLASS_0(bwn_pci, bwn_pci_driver, bwn_pci_method
     sizeof(struct bwn_pci_softc));
 DRIVER_MODULE_ORDERED(bwn_pci, pci, bwn_pci_driver, bwn_pci_devclass, NULL,
     NULL, SI_ORDER_ANY);
+MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, bwn_siba,
+    siba_devices, sizeof(siba_devices[0]), nitems(siba_devices) - 1);
+MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, bwn_bcma,
+    bcma_devices, sizeof(bcma_devices[0]), nitems(bcma_devices) - 1);
 DRIVER_MODULE(bhndb, bwn_pci, bhndb_pci_driver, bhndb_devclass, NULL, NULL);
 
 MODULE_DEPEND(bwn_pci, bwn, 1, 1, 1);



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