NetBSD/sys/dev/scsipi
rumble fbb550b94d Be sure not to make requests over MAXPHYS when employing bounce buffers.
It was previously possible to round up one sector length if the start block
were not properly aligned.

Resolves PR kern/36716. This may also fix the following reported issues
on port-sgimips:
    http://mail-index.netbsd.org/port-sgimips/2005/09/12/0000.html
    http://mail-index.netbsd.org/port-sgimips/2005/09/14/0000.html

While here, be sure to put back allocated bufs, which previously appear
to have been leaked. Further, remove the dead write bounce code which never
got executed anyway.

No complaints on tech-kern.
2007-08-04 02:58:59 +00:00
..
Makefile
atapi_base.c
atapi_tape.h
atapi_wdc.c Fix for atapi devices that have 32 bit databusses selected. The devices 2007-01-23 20:10:06 +00:00
atapiconf.c
atapiconf.h
cd.c Be sure not to make requests over MAXPHYS when employing bounce buffers. 2007-08-04 02:58:59 +00:00
cdvar.h Replace some uses of lockmgr(). 2007-07-21 19:51:47 +00:00
ch.c Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
files.scsipi
if_se.c Merge some of the less invasive changes from the vmlocking branch: 2007-07-09 20:51:58 +00:00
scsi_all.h
scsi_base.c
scsi_changer.h
scsi_ctron_ether.h
scsi_disk.h
scsi_iu.h
scsi_message.h
scsi_scanner.h
scsi_spc.h
scsi_tape.h
scsiconf.c Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
scsiconf.h
scsipi_all.h
scsipi_base.c Merge some of the less invasive changes from the vmlocking branch: 2007-07-09 20:51:58 +00:00
scsipi_base.h
scsipi_cd.h
scsipi_debug.h
scsipi_disk.h Add __attribute__((__packed__)) to all command structures. 2007-07-01 05:17:28 +00:00
scsipi_ioctl.c It's not a good idea for device drivers to modify b_flags, as they don't 2007-07-29 12:50:17 +00:00
scsipi_verbose.c
scsipiconf.c Merge some of the less invasive changes from the vmlocking branch: 2007-07-09 20:51:58 +00:00
scsipiconf.h Merge some of the less invasive changes from the vmlocking branch: 2007-07-09 20:51:58 +00:00
sd.c Don't allocate data buffer on stack in sd_read_capacity(). 2007-08-03 13:56:37 +00:00
sdvar.h Merge some of the less invasive changes from the vmlocking branch: 2007-07-09 20:51:58 +00:00
ses.c Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
ses.h
ss.c It's not a good idea for device drivers to modify b_flags, as they don't 2007-07-29 12:50:17 +00:00
ss_mustek.c Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
ss_mustek.h
ss_scanjet.c
ssvar.h
st.c It's not a good idea for device drivers to modify b_flags, as they don't 2007-07-29 12:50:17 +00:00
st_atapi.c
st_scsi.c
stvar.h
uk.c Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00