summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2001-09-26 01:30:58 +0000
committerthorpej <thorpej@NetBSD.org>2001-09-26 01:30:58 +0000
commit1eb0dacf81da5fc82cc21227459be21f13ebc9a7 (patch)
tree11e31cdfb859c4017966b4c95bef18480afcfaf0 /sys/dev
parent0cf4cbfa39c89f3488e1f0c2b1f947ebb9dcf2e5 (diff)
IRQUNK -> ISACF_IRQ_DEFAULT
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/isa/i82365_isasubr.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/isa/i82365_isasubr.c b/sys/dev/isa/i82365_isasubr.c
index e7360851b61..ece0b6c5e39 100644
--- a/sys/dev/isa/i82365_isasubr.c
+++ b/sys/dev/isa/i82365_isasubr.c
@@ -1,4 +1,4 @@
-/* $NetBSD: i82365_isasubr.c,v 1.27 2000/12/19 06:23:26 mycroft Exp $ */
+/* $NetBSD: i82365_isasubr.c,v 1.28 2001/09/26 01:30:58 thorpej Exp $ */
#define PCICISADEBUG
@@ -328,7 +328,7 @@ pcic_isa_config_interrupts(self)
* scarce, shareable, and for PCIC controllers, very infrequent.
*/
if ((self->dv_cfdata->cf_flags & 1) == 0) {
- if (sc->irq != IRQUNK) {
+ if (sc->irq != ISACF_IRQ_DEFAULT) {
if ((chipmask & (1 << sc->irq)) == 0)
printf("%s: warning: configured irq %d not "
"detected as available\n",
@@ -336,27 +336,27 @@ pcic_isa_config_interrupts(self)
} else if (chipmask == 0 ||
isa_intr_alloc(ic, chipmask, IST_EDGE, &sc->irq)) {
printf("%s: no available irq; ", sc->dev.dv_xname);
- sc->irq = IRQUNK;
+ sc->irq = ISACF_IRQ_DEFAULT;
} else if ((chipmask & ~(1 << sc->irq)) == 0 && chipuniq == 0) {
printf("%s: can't share irq with cards; ",
sc->dev.dv_xname);
- sc->irq = IRQUNK;
+ sc->irq = ISACF_IRQ_DEFAULT;
}
} else {
printf("%s: ", sc->dev.dv_xname);
- sc->irq = IRQUNK;
+ sc->irq = ISACF_IRQ_DEFAULT;
}
- if (sc->irq != IRQUNK) {
+ if (sc->irq != ISACF_IRQ_DEFAULT) {
sc->ih = isa_intr_establish(ic, sc->irq, IST_EDGE, IPL_TTY,
pcic_intr, sc);
if (sc->ih == NULL) {
printf("%s: can't establish interrupt",
sc->dev.dv_xname);
- sc->irq = IRQUNK;
+ sc->irq = ISACF_IRQ_DEFAULT;
}
}
- if (sc->irq == IRQUNK)
+ if (sc->irq == ISACF_IRQ_DEFAULT)
printf("polling for socket events\n");
else
printf("%s: using irq %d for socket events\n", sc->dev.dv_xname,