X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/blobdiff_plain/be37b05fb7b2c3c933edc15de03aa1cab1d2ab21..ee61f228c1c38342493a01fe774b83cffc0f4be9:/sys/net/i4b/layer1/iwic/i4b_iwic_pci.c diff --git a/sys/net/i4b/layer1/iwic/i4b_iwic_pci.c b/sys/net/i4b/layer1/iwic/i4b_iwic_pci.c index a52d341ebc..e5cee1593d 100644 --- a/sys/net/i4b/layer1/iwic/i4b_iwic_pci.c +++ b/sys/net/i4b/layer1/iwic/i4b_iwic_pci.c @@ -28,7 +28,7 @@ * ---------------------------------------- * * $FreeBSD: src/sys/i4b/layer1/iwic/i4b_iwic_pci.c,v 1.6.2.1 2001/08/10 14:08:40 obrien Exp $ - * $DragonFly: src/sys/net/i4b/layer1/iwic/i4b_iwic_pci.c,v 1.3 2003/08/07 21:17:28 dillon Exp $ + * $DragonFly: src/sys/net/i4b/layer1/iwic/i4b_iwic_pci.c,v 1.5 2005/10/12 17:35:56 dillon Exp $ * * last edit-date: [Tue Jan 16 10:53:03 2001] * @@ -235,9 +235,9 @@ iwic_pci_attach(device_t dev) sc->sc_I430state = ST_F3N; /* Deactivated */ sc->enabled = FALSE; - if(bus_setup_intr(dev, sc->sc_resources.irq, INTR_TYPE_NET, + if (bus_setup_intr(dev, sc->sc_resources.irq, 0, (void(*)(void*))iwic_pci_intr, - sc, &ih)) + sc, &ih, NULL)) { printf("iwic%d: Couldn't set up irq!\n", unit); return(ENXIO);