diff options
author | briggs <briggs@cvs.openbsd.org> | 1997-01-18 17:58:40 +0000 |
---|---|---|
committer | briggs <briggs@cvs.openbsd.org> | 1997-01-18 17:58:40 +0000 |
commit | fce5a129ba8b5441460461ce9552cfe52234d9b0 (patch) | |
tree | 3e34093b717bd8b8aad563dc3d745e6c2ff48e68 /sys/arch/mac68k/dev | |
parent | e03e5456137f26f05d515025983b640f469082a7 (diff) |
Use scsiprint (and remove scsiprint from esp.c).
Diffstat (limited to 'sys/arch/mac68k/dev')
-rw-r--r-- | sys/arch/mac68k/dev/esp.c | 9 | ||||
-rw-r--r-- | sys/arch/mac68k/dev/ncr5380.c | 17 | ||||
-rw-r--r-- | sys/arch/mac68k/dev/sbc.c | 14 |
3 files changed, 4 insertions, 36 deletions
diff --git a/sys/arch/mac68k/dev/esp.c b/sys/arch/mac68k/dev/esp.c index 10cf87f9263..37864c46c78 100644 --- a/sys/arch/mac68k/dev/esp.c +++ b/sys/arch/mac68k/dev/esp.c @@ -283,15 +283,6 @@ espmatch(parent, vcf, aux) #endif } -int scsiprint __P((void *, const char *)); -int -scsiprint(aux, name) - void *aux; - const char *name; -{ - return (UNCONF); -} - /* * Attach this instance, and then all the sub-devices */ diff --git a/sys/arch/mac68k/dev/ncr5380.c b/sys/arch/mac68k/dev/ncr5380.c index fd25b26373e..25a854a6578 100644 --- a/sys/arch/mac68k/dev/ncr5380.c +++ b/sys/arch/mac68k/dev/ncr5380.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ncr5380.c,v 1.10 1996/11/23 21:45:53 kstailey Exp $ */ +/* $OpenBSD: ncr5380.c,v 1.11 1997/01/18 17:58:38 briggs Exp $ */ /* $NetBSD: ncr5380.c,v 1.31 1996/06/23 15:02:58 briggs Exp $ */ /* @@ -197,7 +197,6 @@ extern __inline__ void finish_req(SC_REQ *reqp) /* * Auto config stuff.... */ -int ncr_cprint __P((void *auxp, const char *)); void ncr_attach __P((struct device *, struct device *, void *)); int ncr_match __P((struct device *, void *, void *)); @@ -274,22 +273,10 @@ void *auxp; /* * attach all scsi units on us */ - config_found(dp, &sc->sc_link, ncr_cprint); + config_found(dp, &sc->sc_link, scsiprint); } /* - * print diag if name is NULL else just extra - */ -int -ncr_cprint(auxp, name) -void *auxp; -const char *name; -{ - if (name == NULL) - return (UNCONF); - return (QUIET); -} -/* * End of auto config stuff.... */ diff --git a/sys/arch/mac68k/dev/sbc.c b/sys/arch/mac68k/dev/sbc.c index 6421fdf297b..b9110fe22bb 100644 --- a/sys/arch/mac68k/dev/sbc.c +++ b/sys/arch/mac68k/dev/sbc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sbc.c,v 1.5 1996/11/23 21:45:55 kstailey Exp $ */ +/* $OpenBSD: sbc.c,v 1.6 1997/01/18 17:58:37 briggs Exp $ */ /* $NetBSD: sbc.c,v 1.9 1996/06/19 01:47:28 scottr Exp $ */ /* @@ -348,17 +348,7 @@ sbc_attach(parent, self, args) */ ncr5380_init(ncr_sc); ncr5380_reset_scsibus(ncr_sc); - config_found(self, &(ncr_sc->sc_link), sbc_print); -} - -static int -sbc_print(aux, name) - void *aux; - const char *name; -{ - if (name != NULL) - printf("%s: scsibus ", name); - return UNCONF; + config_found(self, &(ncr_sc->sc_link), scsiprint); } static void |