From a2ba9cd1b8ee3df0f77c580a3f92fa591873ea5c Mon Sep 17 00:00:00 2001 From: dufault Date: Wed, 15 Mar 1995 14:22:12 +0000 Subject: 1. Add text for ASC/ASCQ 2. Clean up probe messages. This is how I propose it looks for 2.1 so if you don't like it you have my e-mail address. --- sys/scsi/scsi_driver.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'sys/scsi/scsi_driver.c') diff --git a/sys/scsi/scsi_driver.c b/sys/scsi/scsi_driver.c index 1ecf525..785e755 100644 --- a/sys/scsi/scsi_driver.c +++ b/sys/scsi/scsi_driver.c @@ -35,7 +35,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: scsi_driver.c,v 1.3 1995/03/04 20:50:51 dufault Exp $ + * $Id: scsi_driver.c,v 1.4 1995/03/05 20:01:44 dufault Exp $ * */ #include @@ -59,6 +59,12 @@ scsi_goaway(struct kern_devconf *kdc, int force) /* XXX should do a lot more */ return 0; } +/* scsi_device_attach: Attach a SCSI device. This routine will + * print out the device address, what it is, then call the type + * attach function and when that returns print a newline. If the + * type attach will make LOT's of noise it should print a leading + * newline and then the address using sc_print_addr. See "sd.c". + */ int scsi_device_attach(struct scsi_link *sc_link) { errval errcode; @@ -79,6 +85,8 @@ int scsi_device_attach(struct scsi_link *sc_link) errcode = (device->attach) ? (*(device->attach))(sc_link) : 0; + printf("\n"); + if (errcode == 0) sc_link->flags |= device->link_flags; -- cgit v1.1