svn commit: r199550 - head/sys/dev/et

Pyun YongHyeon yongari at FreeBSD.org
Thu Nov 19 21:08:33 UTC 2009


Author: yongari
Date: Thu Nov 19 21:08:33 2009
New Revision: 199550
URL: http://svn.freebsd.org/changeset/base/199550

Log:
  Remove support code for FreeBSD 6.x versions.

Modified:
  head/sys/dev/et/if_et.c

Modified: head/sys/dev/et/if_et.c
==============================================================================
--- head/sys/dev/et/if_et.c	Thu Nov 19 20:59:40 2009	(r199549)
+++ head/sys/dev/et/if_et.c	Thu Nov 19 21:08:33 2009	(r199550)
@@ -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);


More information about the svn-src-head mailing list