From: Sam Leffler Date: Mon, 13 Jan 1986 09:39:37 +0000 (-0800) Subject: identify controller type at boot time X-Git-Tag: BSD-4_3-Snapshot-Development~3611 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/36dcdb9b46aab12d5f366da8d99b3f9ff2e7a10b?ds=inline identify controller type at boot time SCCS-vsn: sys/tahoe/vba/vd.c 1.4 --- diff --git a/usr/src/sys/tahoe/vba/vd.c b/usr/src/sys/tahoe/vba/vd.c index 6c3038d7ce..ec1a8b81f4 100644 --- a/usr/src/sys/tahoe/vba/vd.c +++ b/usr/src/sys/tahoe/vba/vd.c @@ -1,4 +1,4 @@ -/* vd.c 1.3 86/01/12 */ +/* vd.c 1.4 86/01/12 */ #include "fsd.h" #if NVD > 0 @@ -174,6 +174,8 @@ vdslave(vi, addr) addr->cdr_ccf = CCF_STS | XMD_32BIT | BSZ_16WRD | CCF_ENP | CCF_EPE | CCF_EDE | CCF_ECE | CCF_ERR; } + printf("vd%d: %s controller\n", vi->ui_unit, + ci->ctlr_type == SMDCTLR ? "smd" : "xsmd"); if (vdnotrailer(addr, vi->ui_ctlr, vi->ui_slave, INIT, 10) & HRDERR) { printf("vd%d: init error\n", vi->ui_unit);