Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Mar 2018 15:35: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: r331429 - head/sys/dev/xl
Message-ID:  <201803231535.w2NFZFEO071719@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Fri Mar 23 15:35:15 2018
New Revision: 331429
URL: https://svnweb.freebsd.org/changeset/base/331429

Log:
  Add PNP info to xl as an example.

Modified:
  head/sys/dev/xl/if_xl.c

Modified: head/sys/dev/xl/if_xl.c
==============================================================================
--- head/sys/dev/xl/if_xl.c	Fri Mar 23 15:35:07 2018	(r331428)
+++ head/sys/dev/xl/if_xl.c	Fri Mar 23 15:35:15 2018	(r331429)
@@ -334,6 +334,8 @@ static devclass_t xl_devclass;
 DRIVER_MODULE_ORDERED(xl, pci, xl_driver, xl_devclass, NULL, NULL,
     SI_ORDER_ANY);
 DRIVER_MODULE(miibus, xl, miibus_driver, miibus_devclass, NULL, NULL);
+MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, xl, xl_devs, sizeof(xl_devs[0]),
+    nitems(xl_devs) - 1);
 
 static void
 xl_dma_map_addr(void *arg, bus_dma_segment_t *segs, int nseg, int error)



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