Per conversations in -current, add #error to these drivers when you don't
have the right compatibility shims enabled. ISA drivers to follow later.
This commit is contained in:
parent
0c07470770
commit
555f22a351
@ -50,6 +50,10 @@
|
||||
/* #define AMD_DEBUG0 */
|
||||
/* #define AMD_DEBUG_SCSI_PHASE */
|
||||
|
||||
#ifndef COMPAT_OLDPCI
|
||||
#error "The amd device requires the old pci compatibility shims"
|
||||
#endif
|
||||
|
||||
#include <sys/param.h>
|
||||
|
||||
#include <sys/systm.h>
|
||||
|
@ -29,6 +29,10 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#ifndef COMPAT_OLDPCI
|
||||
#error "The ar device requires the old pci compatibility shims"
|
||||
#endif
|
||||
|
||||
#include "ar.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
|
@ -33,6 +33,10 @@
|
||||
|
||||
#include "opt_cy_pci_fastintr.h"
|
||||
|
||||
#ifndef COMPAT_OLDPCI
|
||||
#error "The cy device requires the old pci compatibility shims"
|
||||
#endif
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/kernel.h>
|
||||
|
@ -45,6 +45,10 @@
|
||||
* thanks to Matt Thomas for figuring out FreeBSD vs NetBSD vs etc.. diffs.
|
||||
*/
|
||||
|
||||
#ifndef COMPAT_OLDPCI
|
||||
#error "The en device requires the old pci compatibility shims"
|
||||
#endif
|
||||
|
||||
#include "en.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
|
@ -20,6 +20,10 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#ifndef COMPAT_OLDPCI
|
||||
#error "The lnc device requires the old pci compatibility shims"
|
||||
#endif
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/malloc.h>
|
||||
|
@ -30,6 +30,10 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#ifndef COMPAT_OLDPCI
|
||||
#error "The sr device requires the old pci compatibility shims"
|
||||
#endif
|
||||
|
||||
#include "sr.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
|
@ -31,6 +31,10 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#ifndef COMPAT_OLDPCI
|
||||
#error "The adw device requires the old pci compatibility shims"
|
||||
#endif
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/kernel.h>
|
||||
|
@ -27,6 +27,10 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef COMPAT_OLDPCI
|
||||
#error "The alpm device requires the old pci compatibility shims"
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Power Management support for the Acer M15x3 chipsets
|
||||
*/
|
||||
|
@ -50,6 +50,10 @@
|
||||
/* #define AMD_DEBUG0 */
|
||||
/* #define AMD_DEBUG_SCSI_PHASE */
|
||||
|
||||
#ifndef COMPAT_OLDPCI
|
||||
#error "The amd device requires the old pci compatibility shims"
|
||||
#endif
|
||||
|
||||
#include <sys/param.h>
|
||||
|
||||
#include <sys/systm.h>
|
||||
|
@ -33,6 +33,10 @@
|
||||
|
||||
#include "opt_cy_pci_fastintr.h"
|
||||
|
||||
#ifndef COMPAT_OLDPCI
|
||||
#error "The cy device requires the old pci compatibility shims"
|
||||
#endif
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/kernel.h>
|
||||
|
@ -29,6 +29,10 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#ifndef COMPAT_OLDPCI
|
||||
#error "The ar device requires the old pci compatibility shims"
|
||||
#endif
|
||||
|
||||
#include "ar.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
|
@ -45,6 +45,10 @@
|
||||
* thanks to Matt Thomas for figuring out FreeBSD vs NetBSD vs etc.. diffs.
|
||||
*/
|
||||
|
||||
#ifndef COMPAT_OLDPCI
|
||||
#error "The en device requires the old pci compatibility shims"
|
||||
#endif
|
||||
|
||||
#include "en.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
|
@ -20,6 +20,10 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#ifndef COMPAT_OLDPCI
|
||||
#error "The lnc device requires the old pci compatibility shims"
|
||||
#endif
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/malloc.h>
|
||||
|
@ -24,6 +24,10 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#ifndef COMPAT_OLDPCI
|
||||
#error "The mn device requires the old pci compatibility shims"
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Stuff to describe the MUNIC32X and FALC54 chips.
|
||||
*/
|
||||
|
@ -30,6 +30,10 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#ifndef COMPAT_OLDPCI
|
||||
#error "The sr device requires the old pci compatibility shims"
|
||||
#endif
|
||||
|
||||
#include "sr.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
|
@ -145,6 +145,10 @@
|
||||
future version of this driver.
|
||||
*/
|
||||
|
||||
#ifndef COMPAT_OLDPCI
|
||||
#error "The meteor device requires the old pci compatibility shims"
|
||||
#endif
|
||||
|
||||
#include "meteor.h"
|
||||
|
||||
#include "opt_meteor.h"
|
||||
|
@ -39,6 +39,10 @@
|
||||
***************************************************************************
|
||||
*/
|
||||
|
||||
#ifndef COMPAT_OLDPCI
|
||||
#error "The ncr device requires the old pci compatibility shims"
|
||||
#endif
|
||||
|
||||
#define NCR_DATE "pl30 98/1/1"
|
||||
|
||||
#define NCR_VERSION (2)
|
||||
|
@ -26,6 +26,10 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#ifndef COMPAT_OLDPCI
|
||||
#error "The simos device requires the old pci compatibility shims"
|
||||
#endif
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/malloc.h>
|
||||
|
Loading…
Reference in New Issue
Block a user