diff options
| author | pk <pk@NetBSD.org> | 1995-09-14 20:43:09 +0000 |
|---|---|---|
| committer | pk <pk@NetBSD.org> | 1995-09-14 20:43:09 +0000 |
| commit | 0fbf2ca04a72ab58e6aebc82d8d9d70f04ceeb2b (patch) | |
| tree | e46daf734f14e64ab0ac5df26a92959eb7398868 /sys/dev/ic | |
| parent | db43cabe320d4f91e420794f1ae44d28d4182db0 (diff) | |
Make *print() a message if no scsibus was attached. Also, return something
valid.
Diffstat (limited to 'sys/dev/ic')
| -rw-r--r-- | sys/dev/ic/aic6360.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/sys/dev/ic/aic6360.c b/sys/dev/ic/aic6360.c index 4d3ccdf1f41..0859dd3f182 100644 --- a/sys/dev/ic/aic6360.c +++ b/sys/dev/ic/aic6360.c @@ -1,4 +1,4 @@ -/* $NetBSD: aic6360.c,v 1.33 1995/08/12 20:31:24 mycroft Exp $ */ +/* $NetBSD: aic6360.c,v 1.34 1995/09/14 20:43:12 pk Exp $ */ /* * Copyright (c) 1994, 1995 Charles Hannum. All rights reserved. @@ -574,6 +574,7 @@ int aic_debug = 0x00; /* AIC_SHOWSTART|AIC_SHOWMISC|AIC_SHOWTRACE; /**/ int aicprobe __P((struct device *, void *, void *)); void aicattach __P((struct device *, struct device *, void *)); +int aicprint __P((void *, char *)); void aic_minphys __P((struct buf *)); int aicintr __P((void *)); void aic_init __P((struct aic_softc *)); @@ -729,9 +730,13 @@ aic_find(sc) } int -aicprint() +aicprint(aux, name) + void *aux; + char *name; { - + if (name != NULL) + printf("%s: scsibus ", name); + return UNCONF; } /* |
