diff options
author | Warner Losh <imp@FreeBSD.org> | 2015-12-11 05:27:56 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2015-12-11 05:27:56 +0000 |
commit | f6cea53f9db2d88883ea7d7cee5fac10e186650b (patch) | |
tree | 51c67d8f989abcf155937134d4d0168e42f113f9 /sys/dev/sn | |
parent | 493b2041d642a9449a0cfd800c68cc28acfddf8b (diff) | |
download | src-f6cea53f9db2d88883ea7d7cee5fac10e186650b.tar.gz src-f6cea53f9db2d88883ea7d7cee5fac10e186650b.zip |
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
Notes
Notes:
svn path=/head/; revision=292079
Diffstat (limited to 'sys/dev/sn')
-rw-r--r-- | sys/dev/sn/if_sn_pccard.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/sn/if_sn_pccard.c b/sys/dev/sn/if_sn_pccard.c index 5c0d4eeeac3e..13f48622b270 100644 --- a/sys/dev/sn/if_sn_pccard.c +++ b/sys/dev/sn/if_sn_pccard.c @@ -327,3 +327,4 @@ extern devclass_t sn_devclass; DRIVER_MODULE(sn, pccard, sn_pccard_driver, sn_devclass, 0, 0); MODULE_DEPEND(sn, ether, 1, 1, 1); +PCCARD_PNP_INFO(sn_pccard_products); |