From f6cea53f9db2d88883ea7d7cee5fac10e186650b Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Fri, 11 Dec 2015 05:27:56 +0000 Subject: 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 --- sys/dev/ata/ata-card.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/dev/ata') diff --git a/sys/dev/ata/ata-card.c b/sys/dev/ata/ata-card.c index 5346b8fd717e..4b0a3d1335c6 100644 --- a/sys/dev/ata/ata-card.c +++ b/sys/dev/ata/ata-card.c @@ -183,3 +183,4 @@ static driver_t ata_pccard_driver = { DRIVER_MODULE(ata, pccard, ata_pccard_driver, ata_devclass, NULL, NULL); MODULE_DEPEND(ata, ata, 1, 1, 1); +PCCARD_PNP_INFO(ata_pccard_products); -- cgit v1.3