summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/controller/ohci_atmelarm.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2014-02-08 04:29:36 +0000
committerimp <imp@FreeBSD.org>2014-02-08 04:29:36 +0000
commit4a6dcdef0d45c1089d88a7466c9ae001eb1b9c85 (patch)
tree1cc633f5fb16346a90224aac15995cd980daf033 /sys/dev/usb/controller/ohci_atmelarm.c
parenta174ca7085513536cf96991aaf571921d71f5e7d (diff)
downloadFreeBSD-src-4a6dcdef0d45c1089d88a7466c9ae001eb1b9c85.zip
FreeBSD-src-4a6dcdef0d45c1089d88a7466c9ae001eb1b9c85.tar.gz
Remove FreeBSD 6 support
Diffstat (limited to 'sys/dev/usb/controller/ohci_atmelarm.c')
-rw-r--r--sys/dev/usb/controller/ohci_atmelarm.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/dev/usb/controller/ohci_atmelarm.c b/sys/dev/usb/controller/ohci_atmelarm.c
index dd0b0a2..0da8414 100644
--- a/sys/dev/usb/controller/ohci_atmelarm.c
+++ b/sys/dev/usb/controller/ohci_atmelarm.c
@@ -131,13 +131,8 @@ ohci_atmelarm_attach(device_t dev)
strlcpy(sc->sc_ohci.sc_vendor, "Atmel", sizeof(sc->sc_ohci.sc_vendor));
-#if (__FreeBSD_version >= 700031)
err = bus_setup_intr(dev, sc->sc_ohci.sc_irq_res, INTR_TYPE_BIO | INTR_MPSAFE,
NULL, (driver_intr_t *)ohci_interrupt, sc, &sc->sc_ohci.sc_intr_hdl);
-#else
- err = bus_setup_intr(dev, sc->sc_ohci.sc_irq_res, INTR_TYPE_BIO | INTR_MPSAFE,
- (driver_intr_t *)ohci_interrupt, sc, &sc->sc_ohci.sc_intr_hdl);
-#endif
if (err) {
sc->sc_ohci.sc_intr_hdl = NULL;
goto error;
OpenPOWER on IntegriCloud