summaryrefslogtreecommitdiffstats
path: root/sys/dev/ex
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2015-12-11 05:27:56 +0000
committerimp <imp@FreeBSD.org>2015-12-11 05:27:56 +0000
commit77eac42e70f63160d6d267a51a880c804e5b20e7 (patch)
tree51c67d8f989abcf155937134d4d0168e42f113f9 /sys/dev/ex
parent870ecdf4d397cee51bc3827b3430ba890ffa6de7 (diff)
downloadFreeBSD-src-77eac42e70f63160d6d267a51a880c804e5b20e7.zip
FreeBSD-src-77eac42e70f63160d6d267a51a880c804e5b20e7.tar.gz
Create a generic PCCARD_PNP_INFO from the MODULE_PNP_INFO building
block. Use it in all the PNP drivers to export either the current PNP table. For uart, create a custom table and export it using MODULE_PNP_INFO since it's the only one that matches on function number. Differential Review: https://reviews.freebsd.org/D3461
Diffstat (limited to 'sys/dev/ex')
-rw-r--r--sys/dev/ex/if_ex_pccard.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ex/if_ex_pccard.c b/sys/dev/ex/if_ex_pccard.c
index 39fd6f6..6d13a72 100644
--- a/sys/dev/ex/if_ex_pccard.c
+++ b/sys/dev/ex/if_ex_pccard.c
@@ -228,3 +228,4 @@ static driver_t ex_pccard_driver = {
DRIVER_MODULE(ex, pccard, ex_pccard_driver, ex_devclass, 0, 0);
MODULE_DEPEND(ex, pccard, 1, 1, 1);
+PCCARD_PNP_INFO(ex_pccard_products);
OpenPOWER on IntegriCloud