-/* $OpenBSD: aha.c,v 1.27 1996/11/23 21:46:35 kstailey Exp $ */
+/* $OpenBSD: aha.c,v 1.28 1997/01/16 19:47:47 kstailey Exp $ */
/* $NetBSD: aha.c,v 1.11 1996/05/12 23:51:23 mycroft Exp $ */
#undef AHADIAG
int ahaprobe __P((struct device *, void *, void *));
void ahaattach __P((struct device *, struct device *, void *));
-int ahaprint __P((void *, const char *));
struct cfattach aha_ca = {
sizeof(struct aha_softc), ahaprobe, ahaattach
return 1;
}
-int
-ahaprint(aux, name)
- void *aux;
- const char *name;
-{
-
- if (name != NULL)
- printf("%s: scsibus ", name);
- return UNCONF;
-}
-
/*
* Attach all the sub-devices we can find
*/
/*
* ask the adapter what subunits are present
*/
- config_found(self, &sc->sc_link, ahaprint);
+ config_found(self, &sc->sc_link, scsiprint);
}
integrate void
int btprobe __P((struct device *, void *, void *));
void btattach __P((struct device *, struct device *, void *));
-int btprint __P((void *, const char *));
struct cfattach bt_ca = {
sizeof(struct bt_softc), btprobe, btattach
return 1;
}
-int
-btprint(aux, name)
- void *aux;
- const char *name;
-{
-
- if (name != NULL)
- printf("%s: scsibus ", name);
- return UNCONF;
-}
-
/*
* Attach all the sub-devices we can find
*/
/*
* ask the adapter what subunits are present
*/
- config_found(self, &sc->sc_link, btprint);
+ config_found(self, &sc->sc_link, scsiprint);
}
integrate void