diff options
author | dufault <dufault@FreeBSD.org> | 1995-03-15 14:22:12 +0000 |
---|---|---|
committer | dufault <dufault@FreeBSD.org> | 1995-03-15 14:22:12 +0000 |
commit | a2ba9cd1b8ee3df0f77c580a3f92fa591873ea5c (patch) | |
tree | fe70ef9e140150260e09472556888a192eb7f6a7 /sys/scsi/scsi_driver.c | |
parent | c20bdce1e09ff7c3db7910a8b0353fadb210e6f1 (diff) | |
download | FreeBSD-src-a2ba9cd1b8ee3df0f77c580a3f92fa591873ea5c.zip FreeBSD-src-a2ba9cd1b8ee3df0f77c580a3f92fa591873ea5c.tar.gz |
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.
Diffstat (limited to 'sys/scsi/scsi_driver.c')
-rw-r--r-- | sys/scsi/scsi_driver.c | 10 |
1 files changed, 9 insertions, 1 deletions
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 <sys/types.h> @@ -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; |