From 69aff11b5db450d01fcdd725b06997b5064c6461 Mon Sep 17 00:00:00 2001 From: peter Date: Wed, 17 Jan 2001 01:08:50 +0000 Subject: Minor tweaks to get these to stop breaking LINT. They still dont work and emit warnings, but we need to get the test coverage elsewhere. --- sys/dev/lmc/if_lmc_fbsd3.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys/dev/lmc/if_lmc_fbsd3.c') diff --git a/sys/dev/lmc/if_lmc_fbsd3.c b/sys/dev/lmc/if_lmc_fbsd3.c index f6f9bf9..74d2226 100644 --- a/sys/dev/lmc/if_lmc_fbsd3.c +++ b/sys/dev/lmc/if_lmc_fbsd3.c @@ -36,6 +36,10 @@ #define PCI_GETBUSDEVINFO(sc) (sc)->lmc_pci_busno = (config_id->bus), \ (sc)->lmc_pci_devno = (config_id->slot) +#ifndef COMPAT_OLDPCI +#error "The lmc device requires the old pci compatibility shims" +#endif + #if 0 static void lmc_shutdown(int howto, void * arg); #endif -- cgit v1.1