summaryrefslogtreecommitdiffstats
path: root/sys/arch/sparc
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2014-01-21 03:42:21 +0000
committerdlg <dlg@openbsd.org>2014-01-21 03:42:21 +0000
commitcbfebcea1f622ebd4a70cd19f9cf6d24c2a62b6e (patch)
treec9f551e53fadddd75222b025c3078bb6513eb1c2 /sys/arch/sparc
parentStop bzeroing the work unit when it is initialised. Rather, only initialise (diff)
downloadwireguard-openbsd-cbfebcea1f622ebd4a70cd19f9cf6d24c2a62b6e.tar.xz
wireguard-openbsd-cbfebcea1f622ebd4a70cd19f9cf6d24c2a62b6e.zip
dtucker@ pointed out i suck at grep.
fix ncr53c9x fallout.
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r--sys/arch/sparc/dev/esp.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/sys/arch/sparc/dev/esp.c b/sys/arch/sparc/dev/esp.c
index d7f6960f19e..112f696c10c 100644
--- a/sys/arch/sparc/dev/esp.c
+++ b/sys/arch/sparc/dev/esp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: esp.c,v 1.33 2010/07/10 19:32:24 miod Exp $ */
+/* $OpenBSD: esp.c,v 1.34 2014/01/21 03:42:21 dlg Exp $ */
/* $NetBSD: esp.c,v 1.69 1997/08/27 11:24:18 bouyer Exp $ */
/*
@@ -133,13 +133,6 @@ struct cfattach esp_ca = {
sizeof(struct esp_softc), espmatch, espattach
};
-struct scsi_adapter esp_switch = {
- ncr53c9x_scsi_cmd,
- scsi_minphys, /* no max at this level; handled by DMA code */
- NULL,
- NULL,
-};
-
/*
* Functions and the switch for the MI code.
*/
@@ -508,7 +501,7 @@ espattach(parent, self, aux)
sc->sc_features |= NCR_F_DMASELECT;
/* Do the common parts of attachment. */
- ncr53c9x_attach(sc, &esp_switch);
+ ncr53c9x_attach(sc);
bootpath_store(1, NULL);
}