Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/dev/scsipi



Module Name:    src
Committed By:   pgoyette
Date:           Sat Aug 15 12:44:55 UTC 2009

Modified Files:
        src/sys/dev/scsipi: st.c st_atapi.c st_scsi.c stvar.h

Log Message:
1. Move the mode_select functionality into common code (in st.c) and
   invoke the common routine for both scsi and atapi tapes.

2. Replace a numeric constant with some sizeof's when calculating the
   size of the mode_select command buffer, clear the entire buffer, and
   KASSERT to ensure the page_0_size loaded from quirk table is valid.

3. Add a quirk for my Seagate Travan-40 tape drive.

As discussed on tech-kern@

Addresses my PR kern/34832


To generate a diff of this commit:
cvs rdiff -u -r1.211 -r1.212 src/sys/dev/scsipi/st.c
cvs rdiff -u -r1.22 -r1.23 src/sys/dev/scsipi/st_atapi.c
cvs rdiff -u -r1.29 -r1.30 src/sys/dev/scsipi/st_scsi.c
cvs rdiff -u -r1.19 -r1.20 src/sys/dev/scsipi/stvar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index