-/* $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 $ */
/*
/*
* 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 *));
/*
* 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....
*/
-/* $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 $ */
/*
*/
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