Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jul 2018 20:39:43 +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: r336100 - head/sys/dev/fxp
Message-ID:  <201807082039.w68Kdh8X089868@repo.freebsd.org>

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

Log:
  Add PNP info to PCI attachment of fxp driver
  
  Reviewed by: imp, chuck
  Submitted by: Lakhan Shiva Kamireddy <lakhanshiva@gmail.com>
  Sponsored by: Google, Inc. (GSoC 2018)
  Pull Request: https://github.com/bsdimp/freebsd/pull/5

Modified:
  head/sys/dev/fxp/if_fxp.c

Modified: head/sys/dev/fxp/if_fxp.c
==============================================================================
--- head/sys/dev/fxp/if_fxp.c	Sun Jul  8 20:39:38 2018	(r336099)
+++ head/sys/dev/fxp/if_fxp.c	Sun Jul  8 20:39:43 2018	(r336100)
@@ -307,6 +307,8 @@ static devclass_t fxp_devclass;
 
 DRIVER_MODULE_ORDERED(fxp, pci, fxp_driver, fxp_devclass, NULL, NULL,
     SI_ORDER_ANY);
+MODULE_PNP_INFO("U16:vendor;U16:device", pci, fxp, fxp_ident_table,
+    sizeof(fxp_ident_table[0]), nitems(fxp_ident_table) - 1);
 DRIVER_MODULE(miibus, fxp, miibus_driver, miibus_devclass, NULL, NULL);
 
 static struct resource_spec fxp_res_spec_mem[] = {



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