Remove support code for FreeBSD 6.x versions.
This commit is contained in:
parent
dbd69bc565
commit
696e249300
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=199550
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user