NetBSD/sys/dev/scsipi
pgoyette 345b8f1066 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
2009-08-15 12:44:55 +00:00
..
atapi_base.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
atapi_tape.h
atapi_wdc.c cpu_intr_p() doesn't account for software interrupts (e.g. callouts) so 2008-11-16 19:31:21 +00:00
atapiconf.c struct cfdata * -> cfdata_t, no functional changes intended. 2009-05-12 13:15:24 +00:00
atapiconf.h Split device_t and softc for atapibus(4). 2008-03-24 14:44:26 +00:00
cd.c Significantly bump time for SCSI track/disc closure. DVD-RW when used 2009-07-26 15:29:00 +00:00
cdvar.h Split device_t for cd(4). 2008-03-24 18:27:06 +00:00
ch.c struct device * -> device_t, no functional changes intended. 2009-05-12 14:38:26 +00:00
files.scsipi
if_se.c struct device * -> device_t, no functional changes intended. 2009-05-12 14:38:26 +00:00
Makefile
scsi_all.h
scsi_base.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
scsi_changer.h
scsi_ctron_ether.h
scsi_disk.h
scsi_iu.h
scsi_message.h
scsi_scanner.h
scsi_spc.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
scsi_tape.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
scsiconf.c struct device * -> device_t, no functional changes intended. 2009-05-12 14:38:26 +00:00
scsiconf.h split device/softc for scsibus 2008-07-16 18:50:58 +00:00
scsipi_all.h Convert many of the uses of __attribute__ to equivalent 2007-12-25 18:33:32 +00:00
scsipi_base.c Destroy a scsipi_xfer's callout before putting it back into the pool. 2009-04-07 18:10:45 +00:00
scsipi_base.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
scsipi_cd.h Implement MMC_TRACKINFO_DATA and MMC_TRACKINFO_AUDIO detection for cdrom and 2009-04-01 12:19:04 +00:00
scsipi_debug.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
scsipi_disk.h Convert many of the uses of __attribute__ to equivalent 2007-12-25 18:33:32 +00:00
scsipi_ioctl.c set the buffer's "resid" if a raw SCSI command fails, otherwise a 2008-07-14 12:36:44 +00:00
scsipi_verbose.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
scsipiconf.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
scsipiconf.h sprinkle #ifdef _KERNEL to make scsictl compile. 2009-05-13 02:35:25 +00:00
sd.c Fix previous where the call of sd_set_properties was moved from 2009-08-03 09:40:45 +00:00
sdvar.h Use a PMF shutdown hook instead of shutdownhook_establish(). This ought 2009-04-10 17:36:42 +00:00
ses.c struct device * -> device_t, no functional changes intended. 2009-05-12 14:38:26 +00:00
ses.h
ss_mustek.c g/c BUFQ_FOO() macros and use bufq_foo() directly. 2009-01-13 13:33:58 +00:00
ss_mustek.h
ss_scanjet.c g/c BUFQ_FOO() macros and use bufq_foo() directly. 2009-01-13 13:33:58 +00:00
ss.c struct device * -> device_t, no functional changes intended. 2009-05-12 14:38:26 +00:00
ssvar.h
st_atapi.c 1. Move the mode_select functionality into common code (in st.c) and 2009-08-15 12:44:55 +00:00
st_scsi.c 1. Move the mode_select functionality into common code (in st.c) and 2009-08-15 12:44:55 +00:00
st.c 1. Move the mode_select functionality into common code (in st.c) and 2009-08-15 12:44:55 +00:00
stvar.h 1. Move the mode_select functionality into common code (in st.c) and 2009-08-15 12:44:55 +00:00
uk.c struct device * -> device_t, no functional changes intended. 2009-05-12 14:38:26 +00:00