mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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:
parent
61ebfeecad
commit
4a1e4cb727
8 changed files with 0 additions and 40 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue