summaryrefslogtreecommitdiff
path: root/sys/arch/amiga/dev/wesc.c
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-01-18 12:26:38 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-01-18 12:26:38 +0000
commitac01d93bba320c08b56f72984ca94e52daf50822 (patch)
tree548fbcbc26700574be07d9fb9641258341d37773 /sys/arch/amiga/dev/wesc.c
parent83c05e7dd4f8f83a4adda105f2f68315782c3746 (diff)
Use scsiprint
Diffstat (limited to 'sys/arch/amiga/dev/wesc.c')
-rw-r--r--sys/arch/amiga/dev/wesc.c19
1 files changed, 2 insertions, 17 deletions
diff --git a/sys/arch/amiga/dev/wesc.c b/sys/arch/amiga/dev/wesc.c
index 17927617b61..2267e2b4b9b 100644
--- a/sys/arch/amiga/dev/wesc.c
+++ b/sys/arch/amiga/dev/wesc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wesc.c,v 1.6 1997/01/16 09:25:33 niklas Exp $ */
+/* $OpenBSD: wesc.c,v 1.7 1997/01/18 12:26:35 niklas Exp $ */
/* $NetBSD: wesc.c,v 1.19 1996/12/23 09:10:30 veego Exp $ */
/*
@@ -51,7 +51,6 @@
#include <amiga/dev/siopvar.h>
#include <amiga/dev/zbusvar.h>
-int wescprint __P((void *auxp, const char *));
void wescattach __P((struct device *, struct device *, void *));
int wescmatch __P((struct device *, void *, void *));
int wesc_dmaintr __P((void *));
@@ -140,23 +139,9 @@ wescattach(pdp, dp, auxp)
/*
* attach all scsi units on us
*/
- config_found(dp, &sc->sc_link, wescprint);
+ config_found(dp, &sc->sc_link, scsiprint);
}
-/*
- * print diag if pnp is NULL else just extra
- */
-int
-wescprint(auxp, pnp)
- void *auxp;
- const char *pnp;
-{
- if (pnp == NULL)
- return(UNCONF);
- return(QUIET);
-}
-
-
int
wesc_dmaintr(arg)
void *arg;