Clean up the cfgmech/pci_mechanism debris. The reason for the existance

of this is no longer an issue as we have a replacement driver for the
one that needed it.

Reviewed by:	dfr
This commit is contained in:
Peter Wemm 2000-01-08 08:31:24 +00:00
parent 61ebfeecad
commit 4a1e4cb727
8 changed files with 0 additions and 40 deletions

View file

@ -36,13 +36,7 @@
#include <pci/pcireg.h>
#include <i386/isa/pcibus.h>
#ifdef PCI_COMPAT
/* XXX this is a terrible hack, which keeps the Tekram AMD SCSI driver happy */
#define cfgmech pci_mechanism
int cfgmech;
#else
static int cfgmech;
#endif /* PCI_COMPAT */
static int devmax;
/* enable configuration space accesses and return data port address */

View file

@ -36,13 +36,7 @@
#include <pci/pcireg.h>
#include <i386/isa/pcibus.h>
#ifdef PCI_COMPAT
/* XXX this is a terrible hack, which keeps the Tekram AMD SCSI driver happy */
#define cfgmech pci_mechanism
int cfgmech;
#else
static int cfgmech;
#endif /* PCI_COMPAT */
static int devmax;
/* enable configuration space accesses and return data port address */

View file

@ -284,8 +284,6 @@ typedef void pci_inthand_t(void *arg);
/* just copied from old PCI code for now ... */
extern int pci_mechanism;
struct pci_device {
char* pd_name;
const char* (*pd_probe ) (pcici_t tag, pcidi_t type);

View file

@ -36,13 +36,7 @@
#include <pci/pcireg.h>
#include <i386/isa/pcibus.h>
#ifdef PCI_COMPAT
/* XXX this is a terrible hack, which keeps the Tekram AMD SCSI driver happy */
#define cfgmech pci_mechanism
int cfgmech;
#else
static int cfgmech;
#endif /* PCI_COMPAT */
static int devmax;
/* enable configuration space accesses and return data port address */

View file

@ -36,13 +36,7 @@
#include <pci/pcireg.h>
#include <i386/isa/pcibus.h>
#ifdef PCI_COMPAT
/* XXX this is a terrible hack, which keeps the Tekram AMD SCSI driver happy */
#define cfgmech pci_mechanism
int cfgmech;
#else
static int cfgmech;
#endif /* PCI_COMPAT */
static int devmax;
/* enable configuration space accesses and return data port address */

View file

@ -36,13 +36,7 @@
#include <pci/pcireg.h>
#include <i386/isa/pcibus.h>
#ifdef PCI_COMPAT
/* XXX this is a terrible hack, which keeps the Tekram AMD SCSI driver happy */
#define cfgmech pci_mechanism
int cfgmech;
#else
static int cfgmech;
#endif /* PCI_COMPAT */
static int devmax;
/* enable configuration space accesses and return data port address */

View file

@ -36,13 +36,7 @@
#include <pci/pcireg.h>
#include <i386/isa/pcibus.h>
#ifdef PCI_COMPAT
/* XXX this is a terrible hack, which keeps the Tekram AMD SCSI driver happy */
#define cfgmech pci_mechanism
int cfgmech;
#else
static int cfgmech;
#endif /* PCI_COMPAT */
static int devmax;
/* enable configuration space accesses and return data port address */

View file

@ -284,8 +284,6 @@ typedef void pci_inthand_t(void *arg);
/* just copied from old PCI code for now ... */
extern int pci_mechanism;
struct pci_device {
char* pd_name;
const char* (*pd_probe ) (pcici_t tag, pcidi_t type);