MFi386: nuke pci_cfgintr

This commit is contained in:
Peter Wemm 2004-03-13 19:19:13 +00:00
parent 6e91f30b93
commit 10884719f8
2 changed files with 1 additions and 23 deletions

View File

@ -45,4 +45,3 @@
int pci_cfgregopen(void);
u_int32_t pci_cfgregread(int bus, int slot, int func, int reg, int bytes);
void pci_cfgregwrite(int bus, int slot, int func, int reg, u_int32_t data, int bytes);
int pci_cfgintr(int bus, int device, int pin, int oldirq);

View File

@ -29,24 +29,15 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <sys/param.h> /* XXX trim includes */
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/bus.h>
#include <sys/kernel.h>
#include <sys/module.h>
#include <sys/malloc.h>
#include <sys/lock.h>
#include <sys/mutex.h>
#include <vm/vm.h>
#include <vm/pmap.h>
#include <machine/md_var.h>
#include <dev/pci/pcivar.h>
#include <dev/pci/pcireg.h>
#include <isa/isavar.h>
#include <machine/pci_cfgreg.h>
#include "pcib_if.h"
static int cfgmech;
static int devmax;
@ -108,18 +99,6 @@ pci_cfgregwrite(int bus, int slot, int func, int reg, u_int32_t data, int bytes)
pcireg_cfgwrite(bus, slot, func, reg, data, bytes);
}
/*
* Route a PCI interrupt
*/
int
pci_cfgintr(int bus, int device, int pin, int oldirq)
{
printf("pci_cfgintr: can't route an interrupt to %d:%d INT%c without ACPI\n", bus,
device, 'A' + pin - 1);
return (PCI_INVALID_IRQ);
}
/*
* Configuration space access using direct register operations
*/