Add PNP info for ISA and PCI to the ed driver to prove design.

Differential Review: https://reviews.freebsd.org/D3458
This commit is contained in:
Warner Losh 2015-12-11 05:28:07 +00:00
parent f809f280e0
commit efd2408900
2 changed files with 6 additions and 0 deletions

View File

@ -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);

View File

@ -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);