summaryrefslogtreecommitdiff
path: root/sys/arch/amiga/dev/bzsc.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/bzsc.c
parent83c05e7dd4f8f83a4adda105f2f68315782c3746 (diff)
Use scsiprint
Diffstat (limited to 'sys/arch/amiga/dev/bzsc.c')
-rw-r--r--sys/arch/amiga/dev/bzsc.c17
1 files changed, 2 insertions, 15 deletions
diff --git a/sys/arch/amiga/dev/bzsc.c b/sys/arch/amiga/dev/bzsc.c
index d1d0311cb01..e0a8a9578cd 100644
--- a/sys/arch/amiga/dev/bzsc.c
+++ b/sys/arch/amiga/dev/bzsc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bzsc.c,v 1.5 1997/01/16 09:23:48 niklas Exp $ */
+/* $OpenBSD: bzsc.c,v 1.6 1997/01/18 12:26:25 niklas Exp $ */
/* $NetBSD: bzsc.c,v 1.14 1996/12/23 09:09:53 veego Exp $ */
@@ -59,7 +59,6 @@
#include <amiga/dev/bzscreg.h>
#include <amiga/dev/bzscvar.h>
-int bzscprint __P((void *auxp, const char *));
void bzscattach __P((struct device *, struct device *, void *));
int bzscmatch __P((struct device *, void *, void *));
@@ -194,19 +193,7 @@ bzscattach(pdp, dp, auxp)
add_isr(&sc->sc_softc.sc_isr);
/* attach all scsi units on us */
- config_found(dp, &sc->sc_softc.sc_link, bzscprint);
-}
-
-/* print diag if pnp is NULL else just extra */
-int
-bzscprint(auxp, pnp)
- void *auxp;
- const char *pnp;
-{
- if (pnp == NULL)
- return(UNCONF);
-
- return(QUIET);
+ config_found(dp, &sc->sc_softc.sc_link, scsiprint);
}
int