Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jul 2018 20:40:15 +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: r336107 - head/sys/dev/ixgbe
Message-ID:  <201807082040.w68KeFxL090272@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Sun Jul  8 20:40:14 2018
New Revision: 336107
URL: https://svnweb.freebsd.org/changeset/base/336107

Log:
  Add PNP info to PCI attachment of ix 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/D15979

Modified:
  head/sys/dev/ixgbe/if_ix.c

Modified: head/sys/dev/ixgbe/if_ix.c
==============================================================================
--- head/sys/dev/ixgbe/if_ix.c	Sun Jul  8 20:40:10 2018	(r336106)
+++ head/sys/dev/ixgbe/if_ix.c	Sun Jul  8 20:40:14 2018	(r336107)
@@ -237,6 +237,8 @@ static driver_t ix_driver = {
 
 devclass_t ix_devclass;
 DRIVER_MODULE(ix, pci, ix_driver, ix_devclass, 0, 0);
+MODULE_PNP_INFO("U16:vendor;U16:device", pci, ix, ixgbe_vendor_info_array,
+    sizeof(ixgbe_vendor_info_array[0]), nitems(ixgbe_vendor_info_array) - 1);
 
 MODULE_DEPEND(ix, pci, 1, 1, 1);
 MODULE_DEPEND(ix, ether, 1, 1, 1);



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