summaryrefslogtreecommitdiff
path: root/sys/dev/vx
diff options
context:
space:
mode:
authorMatthew N. Dodd <mdodd@FreeBSD.org>1999-08-01 22:57:09 +0000
committerMatthew N. Dodd <mdodd@FreeBSD.org>1999-08-01 22:57:09 +0000
commit0d6ab4a16a8d61a4fbb5235daa4742f5ea429850 (patch)
tree7fa39dc51e29a13517622d2adc571092d72a53b7 /sys/dev/vx
parentcc5aedfb1a1217f597900cca1923d625ea3514bc (diff)
Notes
Diffstat (limited to 'sys/dev/vx')
-rw-r--r--sys/dev/vx/if_vx_eisa.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/vx/if_vx_eisa.c b/sys/dev/vx/if_vx_eisa.c
index 03e50a34c369..150e5738968c 100644
--- a/sys/dev/vx/if_vx_eisa.c
+++ b/sys/dev/vx/if_vx_eisa.c
@@ -106,7 +106,8 @@ vx_eisa_probe(device_t dev)
eisa_add_iospace(dev, port, VX_IOSIZE, RESVADDR_NONE);
/* Set irq */
- eisa_add_intr(dev, inw(iobase + VX_RESOURCE_CONFIG) >> 12);
+ eisa_add_intr(dev, inw(iobase + VX_RESOURCE_CONFIG) >> 12,
+ EISA_TRIGGER_EDGE);
return (0);
}
@@ -119,7 +120,6 @@ vx_eisa_attach(device_t dev)
struct resource *io = 0;
struct resource *eisa_io = 0;
struct resource *irq = 0;
- u_char level_intr;
int rid;
void *ih;
@@ -149,8 +149,6 @@ vx_eisa_attach(device_t dev)
sc->vx_io_addr = rman_get_start(io);
- level_intr = FALSE;
-
rid = 0;
irq = bus_alloc_resource(dev, SYS_RES_IRQ, &rid,
0, ~0, 1, RF_ACTIVE);