svn commit: r292081 - head/sys/dev/ed

Warner Losh imp at FreeBSD.org
Fri Dec 11 05:28:09 UTC 2015


Author: imp
Date: Fri Dec 11 05:28:07 2015
New Revision: 292081
URL: https://svnweb.freebsd.org/changeset/base/292081

Log:
  Add PNP info for ISA and PCI to the ed driver to prove design.
  
  Differential Review: https://reviews.freebsd.org/D3458

Modified:
  head/sys/dev/ed/if_ed_isa.c
  head/sys/dev/ed/if_ed_pci.c

Modified: head/sys/dev/ed/if_ed_isa.c
==============================================================================
--- head/sys/dev/ed/if_ed_isa.c	Fri Dec 11 05:28:00 2015	(r292080)
+++ head/sys/dev/ed/if_ed_isa.c	Fri Dec 11 05:28:07 2015	(r292081)
@@ -201,3 +201,6 @@ static driver_t ed_isa_driver = {
 DRIVER_MODULE(ed, isa, ed_isa_driver, ed_devclass, 0, 0);
 MODULE_DEPEND(ed, isa, 1, 1, 1);
 MODULE_DEPEND(ed, ether, 1, 1, 1);
+MODULE_PNP_INFO("E:pnpid;", isa, ed, ed_ids, sizeof(ed_ids[0]),
+    sizeof(ed_ids) / sizeof(ed_ids[0]) - 1);
+

Modified: head/sys/dev/ed/if_ed_pci.c
==============================================================================
--- head/sys/dev/ed/if_ed_pci.c	Fri Dec 11 05:28:00 2015	(r292080)
+++ head/sys/dev/ed/if_ed_pci.c	Fri Dec 11 05:28:07 2015	(r292081)
@@ -143,3 +143,6 @@ static driver_t ed_pci_driver = {
 DRIVER_MODULE(ed, pci, ed_pci_driver, ed_devclass, 0, 0);
 MODULE_DEPEND(ed, pci, 1, 1, 1);
 MODULE_DEPEND(ed, ether, 1, 1, 1);
+MODULE_PNP_INFO("W32:vendor/device;D:human", pci, ed, pci_ids, sizeof(pci_ids[0]),
+    sizeof(pci_ids) / sizeof(pci_ids[0]) - 1);
+


More information about the svn-src-head mailing list