summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/dev/esp.c
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2014-01-21 03:42:22 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2014-01-21 03:42:22 +0000
commit9f133ffb0c31e8c160a981f1543a14d6f4559f24 (patch)
tree2a26c573cfae4b58f51815380ac9e457bcab878f /sys/arch/macppc/dev/esp.c
parentbb9a1191e0b56b7583778b6749ab47d213808042 (diff)
dtucker@ pointed out i suck at grep.
fix ncr53c9x fallout.
Diffstat (limited to 'sys/arch/macppc/dev/esp.c')
-rw-r--r--sys/arch/macppc/dev/esp.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/sys/arch/macppc/dev/esp.c b/sys/arch/macppc/dev/esp.c
index f96262666e8..2d585534133 100644
--- a/sys/arch/macppc/dev/esp.c
+++ b/sys/arch/macppc/dev/esp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: esp.c,v 1.10 2013/12/06 21:03:05 deraadt Exp $ */
+/* $OpenBSD: esp.c,v 1.11 2014/01/21 03:42:21 dlg Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -133,11 +133,6 @@ struct cfattach esp_ca = {
NULL, espactivate
};
-struct scsi_adapter esp_switch = {
- /* no max at this level; handled by DMA code */
- ncr53c9x_scsi_cmd, scsi_minphys, NULL, NULL,
-};
-
/*
* Functions and the switch for the MI code.
*/
@@ -261,7 +256,7 @@ espattach(struct device *parent, struct device *self, void *aux)
/* Turn on target selection using the `DMA' method */
sc->sc_features |= NCR_F_DMASELECT;
- ncr53c9x_attach(sc, &esp_switch);
+ ncr53c9x_attach(sc);
}