From 5fe4723c701cae7118f3293d9d1f173dcbb062a2 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Sat, 23 Dec 2017 06:49:27 +0000 Subject: Create a new ISA_PNP_INFO macro. Use this macro every where we have ISA PNP card support (replace by hand version in if_ed). Move module declarations to the end of some files. Fix PCCARD_PNP_INFO to use nitems(). Remove some stale comments about pc98, turns out the comment was simply wrong. --- sys/dev/uart/uart_bus_isa.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/dev/uart') diff --git a/sys/dev/uart/uart_bus_isa.c b/sys/dev/uart/uart_bus_isa.c index 8d80f88a91079..759d4f92a9a9c 100644 --- a/sys/dev/uart/uart_bus_isa.c +++ b/sys/dev/uart/uart_bus_isa.c @@ -172,3 +172,4 @@ uart_isa_probe(device_t dev) } DRIVER_MODULE(uart, isa, uart_isa_driver, uart_devclass, 0, 0); +ISA_PNP_INFO(isa_ns8250_ids); -- cgit v1.3