diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-01-18 12:26:38 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-01-18 12:26:38 +0000 |
commit | ac01d93bba320c08b56f72984ca94e52daf50822 (patch) | |
tree | 548fbcbc26700574be07d9fb9641258341d37773 /sys/arch/amiga/dev/otgsc.c | |
parent | 83c05e7dd4f8f83a4adda105f2f68315782c3746 (diff) |
Use scsiprint
Diffstat (limited to 'sys/arch/amiga/dev/otgsc.c')
-rw-r--r-- | sys/arch/amiga/dev/otgsc.c | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/sys/arch/amiga/dev/otgsc.c b/sys/arch/amiga/dev/otgsc.c index 0e57650941a..25a03e08ab5 100644 --- a/sys/arch/amiga/dev/otgsc.c +++ b/sys/arch/amiga/dev/otgsc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: otgsc.c,v 1.5 1997/01/16 09:25:08 niklas Exp $ */ +/* $OpenBSD: otgsc.c,v 1.6 1997/01/18 12:26:35 niklas Exp $ */ /* $NetBSD: otgsc.c,v 1.17 1996/12/23 09:10:27 veego Exp $ */ /* @@ -48,7 +48,6 @@ #include <amiga/dev/scivar.h> #include <amiga/dev/zbusvar.h> -int otgscprint __P((void *auxp, const char *)); void otgscattach __P((struct device *, struct device *, void *)); int otgscmatch __P((struct device *, void *, void *)); @@ -160,23 +159,9 @@ otgscattach(pdp, dp, auxp) /* * attach all scsi units on us */ - config_found(dp, &sc->sc_link, otgscprint); + config_found(dp, &sc->sc_link, scsiprint); } -/* - * print diag if pnp is NULL else just extra - */ -int -otgscprint(auxp, pnp) - void *auxp; - const char *pnp; -{ - if (pnp == NULL) - return(UNCONF); - return(QUIET); -} - - int otgsc_dma_xfer_in (dev, len, buf, phase) struct sci_softc *dev; |