diff options
author | imp <imp@FreeBSD.org> | 2001-07-31 06:32:02 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2001-07-31 06:32:02 +0000 |
commit | ac051210c345e786944512f477e364d55b394ea1 (patch) | |
tree | 3cd19bf39104ced9a900bd33f88c18c59e04dbf9 /sys/pccard/pcic.c | |
parent | 392636f8ff31a4fa67821f6c51fbf6ba7f9cea29 (diff) | |
download | FreeBSD-src-ac051210c345e786944512f477e364d55b394ea1.zip FreeBSD-src-ac051210c345e786944512f477e364d55b394ea1.tar.gz |
Move pcic_override_irq from pcic_isa, to pcic.
Diffstat (limited to 'sys/pccard/pcic.c')
-rw-r--r-- | sys/pccard/pcic.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/pccard/pcic.c b/sys/pccard/pcic.c index b69f0e9..14b444a 100644 --- a/sys/pccard/pcic.c +++ b/sys/pccard/pcic.c @@ -81,6 +81,13 @@ static struct slot_ctrl pcic_cinfo = { /* sysctl vars */ SYSCTL_NODE(_hw, OID_AUTO, pcic, CTLFLAG_RD, 0, "PCIC parameters"); +int pcic_override_irq = 0; +TUNABLE_INT("machdep.pccard.pcic_irq", &pcic_override_irq); +TUNABLE_INT("hw.pcic.irq", &pcic_override_irq); +SYSCTL_INT(_hw_pcic, OID_AUTO, override_irq, CTLFLAG_RD, + &pcic_override_irq, 0, + "Override the IRQ configured by the config system for all pcic devices"); + /* * Read a register from the PCIC. */ |