summaryrefslogtreecommitdiff
path: root/sys/dev/fxp
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>1999-05-08 21:59:43 +0000
committerDoug Rabson <dfr@FreeBSD.org>1999-05-08 21:59:43 +0000
commit566643e39ed0d4d3251a7212073c1e3f79ca95a2 (patch)
tree46d3248879e7658fc2fdcb97949d5ad174921b97 /sys/dev/fxp
parentc85c3a74520d8aa6e5f8cb774a2ab101f5f2698d (diff)
Notes
Diffstat (limited to 'sys/dev/fxp')
-rw-r--r--sys/dev/fxp/if_fxp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c
index 53b8d4db00c6..4d7d5ef0d9d7 100644
--- a/sys/dev/fxp/if_fxp.c
+++ b/sys/dev/fxp/if_fxp.c
@@ -27,7 +27,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: if_fxp.c,v 1.66 1999/03/20 04:51:25 wes Exp $
+ * $Id: if_fxp.c,v 1.67 1999/04/16 21:22:51 peter Exp $
*/
/*
@@ -556,7 +556,8 @@ fxp_attach(device_t dev)
goto fail;
}
- error = bus_setup_intr(dev, sc->irq, fxp_intr, sc, &sc->ih);
+ error = bus_setup_intr(dev, sc->irq, INTR_TYPE_NET,
+ fxp_intr, sc, &sc->ih);
if (error) {
device_printf(dev, "could not setup irq\n");
goto fail;
@@ -690,7 +691,6 @@ static device_method_t fxp_methods[] = {
static driver_t fxp_driver = {
"fxp",
fxp_methods,
- DRIVER_TYPE_NET,
sizeof(struct fxp_softc),
};