summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-01-16 19:42:50 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-01-16 19:42:50 +0000
commit2d5bfedcd7e07da5bcf8c22ab3a3b1a9183d87b2 (patch)
treeafde9b7591af31a27e4572dda49228d36fe4675d
parent8cc9c7bbdbbe0759655a92119389a3b814c5fc21 (diff)
siprint() -> scsiprint()
-rw-r--r--sys/arch/sun3/dev/si.c18
1 files changed, 2 insertions, 16 deletions
diff --git a/sys/arch/sun3/dev/si.c b/sys/arch/sun3/dev/si.c
index ba23aa879e5..341ba7d5a0e 100644
--- a/sys/arch/sun3/dev/si.c
+++ b/sys/arch/sun3/dev/si.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: si.c,v 1.7 1997/01/16 04:03:52 kstailey Exp $ */
+/* $OpenBSD: si.c,v 1.8 1997/01/16 19:42:49 kstailey Exp $ */
/* $NetBSD: si.c,v 1.31 1996/11/20 18:56:59 gwr Exp $ */
/*-
@@ -135,9 +135,6 @@ static struct scsi_device si_dev = {
NULL, /* Use default "done" routine. */
};
-
-static int siprint __P((void *, const char *));
-
/*
* New-style autoconfig attachment. The cfattach
* structures are in si_obio.c and si_vme.c
@@ -218,7 +215,7 @@ si_attach(sc)
si_reset_adapter(ncr_sc);
ncr5380_init(ncr_sc);
ncr5380_reset_scsibus(ncr_sc);
- config_found(&(ncr_sc->sc_dev), &(ncr_sc->sc_link), siprint);
+ config_found(&(ncr_sc->sc_dev), &(ncr_sc->sc_link), scsiprint);
}
static void
@@ -497,14 +494,3 @@ si_dma_poll(ncr_sc)
}
#endif
}
-
-static int
-siprint(aux, name)
- void *aux;
- const char *name;
-{
-
- if (name != NULL)
- printf("%s: scsibus ", name);
- return UNCONF;
-}