summaryrefslogtreecommitdiffstats
path: root/sys/pccard/pcicvar.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2001-08-21 20:04:42 +0000
committerimp <imp@FreeBSD.org>2001-08-21 20:04:42 +0000
commitb3400f019f7aee5d6acc4ae66d5ca6ab89ad6a5e (patch)
treeca42acb3535144d3c1a892169ba2cc854aebb2b3 /sys/pccard/pcicvar.h
parent4c62004cf77dc1b9f69be9f84bb3cce6f9d5de8c (diff)
downloadFreeBSD-src-b3400f019f7aee5d6acc4ae66d5ca6ab89ad6a5e.zip
FreeBSD-src-b3400f019f7aee5d6acc4ae66d5ca6ab89ad6a5e.tar.gz
Rearrange how we do interrupt routing tweaking. We now have
hw.pcic.intr_path {1,2} 1 == ISA, 2 == PCI hw.pcic.init_route Force TI chipset initializations in edge case.
Diffstat (limited to 'sys/pccard/pcicvar.h')
-rw-r--r--sys/pccard/pcicvar.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pccard/pcicvar.h b/sys/pccard/pcicvar.h
index eef0e7f..04626ef 100644
--- a/sys/pccard/pcicvar.h
+++ b/sys/pccard/pcicvar.h
@@ -41,7 +41,7 @@ struct pcic_slot {
void *argp;
};
-enum pcic_irq_type { isa_parallel = 1, isa_serial, pci_parallel, pci_serial };
+enum pcic_intr_way { pcic_iw_isa = 1, pcic_iw_pci = 2 };
struct pcic_softc
{
@@ -53,8 +53,8 @@ struct pcic_softc
#define PCIC_VG_POWER 0x00000008 /* Uses VG power regs */
#define PCIC_KING_POWER 0x00000010 /* Uses IBM KING regs */
#define PCIC_RICOH_POWER 0x0000020 /* Uses the ricoh power regs */
- enum pcic_irq_type csc_route; /* How to route csc interrupts */
- enum pcic_irq_type func_route; /* How to route function ints */
+ enum pcic_intr_way csc_route; /* How to route csc interrupts */
+ enum pcic_intr_way func_route; /* How to route function ints */
int iorid; /* Rid of I/O region */
struct resource *iores; /* resource for I/O region */
int memrid; /* Memory rid */
OpenPOWER on IntegriCloud