Remove support code for FreeBSD 6.x versions.

This commit is contained in:
Pyun YongHyeon 2009-11-19 21:08:33 +00:00
parent dbd69bc565
commit 696e249300
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=199550

View File

@ -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);