Date: Fri, 11 Dec 2015 05:28:08 +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: r292081 - head/sys/dev/ed Message-ID: <201512110528.tBB5S8pP012155@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512110528.tBB5S8pP012155>