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:
imp 2000-03-27 18:32:45 +00:00
parent 0c07470770
commit 555f22a351
18 changed files with 72 additions and 0 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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
*/

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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.
*/

View File

@ -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>

View File

@ -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"

View File

@ -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)

View File

@ -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>