svn commit: r335085 - head/sys/dev/age
Warner Losh
imp at FreeBSD.org
Wed Jun 13 20:25:34 UTC 2018
Author: imp
Date: Wed Jun 13 20:25:32 2018
New Revision: 335085
URL: https://svnweb.freebsd.org/changeset/base/335085
Log:
Add PNP info to PCI attachments of age driver
Reviewed by: imp, chuck
Submitted by: Lakhan Shiva Kamireddy <lakhanshiva at gmail.com>
Sponsored by: Google, Inc. (GSoC 2018)
Modified:
head/sys/dev/age/if_age.c
Modified: head/sys/dev/age/if_age.c
==============================================================================
--- head/sys/dev/age/if_age.c Wed Jun 13 20:25:27 2018 (r335084)
+++ head/sys/dev/age/if_age.c Wed Jun 13 20:25:32 2018 (r335085)
@@ -183,6 +183,8 @@ static driver_t age_driver = {
static devclass_t age_devclass;
DRIVER_MODULE(age, pci, age_driver, age_devclass, 0, 0);
+MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, age, age_devs,
+ sizeof(age_devs[0]), nitems(age_devs));
DRIVER_MODULE(miibus, age, miibus_driver, miibus_devclass, 0, 0);
static struct resource_spec age_res_spec_mem[] = {
More information about the svn-src-head
mailing list