summaryrefslogtreecommitdiffstats
path: root/sys/dev/lmc/if_lmc_fbsd3.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-01-17 01:08:50 +0000
committerpeter <peter@FreeBSD.org>2001-01-17 01:08:50 +0000
commit69aff11b5db450d01fcdd725b06997b5064c6461 (patch)
tree083a1655da30b9412b2e11ce20bb8756bc90c193 /sys/dev/lmc/if_lmc_fbsd3.c
parent136bb589b55a34b9c00424c70b0776e4322018f7 (diff)
downloadFreeBSD-src-69aff11b5db450d01fcdd725b06997b5064c6461.zip
FreeBSD-src-69aff11b5db450d01fcdd725b06997b5064c6461.tar.gz
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.
Diffstat (limited to 'sys/dev/lmc/if_lmc_fbsd3.c')
-rw-r--r--sys/dev/lmc/if_lmc_fbsd3.c4
1 files changed, 4 insertions, 0 deletions
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
OpenPOWER on IntegriCloud