summaryrefslogtreecommitdiffstats
path: root/sys/dev/et
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2009-11-19 21:08:33 +0000
committeryongari <yongari@FreeBSD.org>2009-11-19 21:08:33 +0000
commit6dfe2c48c07280595cc29b1ca2b1d50f74a49318 (patch)
tree300814d415cc6905b0582f814bb8575f4e8c3f65 /sys/dev/et
parent969bfd018e33576609611e2d8fa194197db51f4b (diff)
downloadFreeBSD-src-6dfe2c48c07280595cc29b1ca2b1d50f74a49318.zip
FreeBSD-src-6dfe2c48c07280595cc29b1ca2b1d50f74a49318.tar.gz
Remove support code for FreeBSD 6.x versions.
Diffstat (limited to 'sys/dev/et')
-rw-r--r--sys/dev/et/if_et.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/dev/et/if_et.c b/sys/dev/et/if_et.c
index 302e51a..730d650 100644
--- a/sys/dev/et/if_et.c
+++ b/sys/dev/et/if_et.c
@@ -322,13 +322,8 @@ et_attach(device_t dev)
ether_ifattach(ifp, eaddr);
callout_init_mtx(&sc->sc_tick, &sc->sc_mtx, 0);
-#if __FreeBSD_version > 700030
error = bus_setup_intr(dev, sc->sc_irq_res, INTR_TYPE_NET | INTR_MPSAFE,
NULL, et_intr, sc, &sc->sc_irq_handle);
-#else
- error = bus_setup_intr(dev, sc->sc_irq_res, INTR_TYPE_NET | INTR_MPSAFE,
- et_intr, sc, &sc->sc_irq_handle);
-#endif
if (error) {
ether_ifdetach(ifp);
OpenPOWER on IntegriCloud