diff options
author | imp <imp@FreeBSD.org> | 2000-03-27 20:24:02 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2000-03-27 20:24:02 +0000 |
commit | 08732049490f877a5a9ce7aca95b16362371d29a (patch) | |
tree | e805f7d91f322505bd74be263d11fcfc800fc557 /sys/pci/if_mn.c | |
parent | c0e09df016e1c742635bf5439eda43e93cf6f171 (diff) | |
download | FreeBSD-src-08732049490f877a5a9ce7aca95b16362371d29a.zip FreeBSD-src-08732049490f877a5a9ce7aca95b16362371d29a.tar.gz |
Ahhrggg. Put the test for the compat shims AFTER the file that includes
them.
Pointed out by: bde
Diffstat (limited to 'sys/pci/if_mn.c')
-rw-r--r-- | sys/pci/if_mn.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/pci/if_mn.c b/sys/pci/if_mn.c index cc11fd5..b4ec284 100644 --- a/sys/pci/if_mn.c +++ b/sys/pci/if_mn.c @@ -24,10 +24,6 @@ * $FreeBSD$ */ -#ifndef COMPAT_OLDPCI -#error "The mn device requires the old pci compatibility shims" -#endif - /* * Stuff to describe the MUNIC32X and FALC54 chips. */ @@ -59,6 +55,10 @@ #include <netgraph/ng_sample.h> #include <netgraph/netgraph.h> +#ifndef COMPAT_OLDPCI +#error "The mn device requires the old pci compatibility shims" +#endif + static int mn_maxlatency = 1000; SYSCTL_INT(_debug, OID_AUTO, mn_maxlatency, CTLFLAG_RW, &mn_maxlatency, 0, |