diff options
author | imp <imp@FreeBSD.org> | 2015-12-11 05:28:07 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2015-12-11 05:28:07 +0000 |
commit | 1aa6cb6ed51398173ff484d50b0be871101edb87 (patch) | |
tree | 8f7962dc42d51754da7a33e4c754b37c1b099710 | |
parent | 372c4744b653cb538ad633af447e0f62791de9aa (diff) | |
download | FreeBSD-src-1aa6cb6ed51398173ff484d50b0be871101edb87.zip FreeBSD-src-1aa6cb6ed51398173ff484d50b0be871101edb87.tar.gz |
Add PNP info for ISA and PCI to the ed driver to prove design.
Differential Review: https://reviews.freebsd.org/D3458
-rw-r--r-- | sys/dev/ed/if_ed_isa.c | 3 | ||||
-rw-r--r-- | sys/dev/ed/if_ed_pci.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/ed/if_ed_isa.c b/sys/dev/ed/if_ed_isa.c index afaa377..7b1a6b7 100644 --- a/sys/dev/ed/if_ed_isa.c +++ b/sys/dev/ed/if_ed_isa.c @@ -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); + diff --git a/sys/dev/ed/if_ed_pci.c b/sys/dev/ed/if_ed_pci.c index 3cf353c..31b9762 100644 --- a/sys/dev/ed/if_ed_pci.c +++ b/sys/dev/ed/if_ed_pci.c @@ -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); + |