linux/drivers
Mark Lord 607126c2a2 libata-scsi: be tolerant of 12-byte ATAPI commands in 16-byte CDBs
Sebastian Kemper reported that issuing CD/DVD commands under libata is
not fully compatible with ide-scsi.  In particular, the
GPCMD_SET_STREAMING was being rejected at the host level in some
instances.

The reason is that libata-scsi insists upon the cmd_len field exactly
matching the SCSI opcode being issued, whereas ide-scsi tolerates
12-byte commands contained within a 16-byte (cmd_len) CDB.

There doesn't seem to be a good reason for us to not be compatible
there, so here is a patch to fix libata-scsi to permit SCSI opcodes so
long as they fit within whatever size CDB is provided.

Signed-off-by: Mark Lord <mlord@pobox.com>
Signed-off-by: Tejun Heo <htejun@gmail.com>
2007-11-19 12:28:11 +09:00
..
acorn/char
acpi ACPI: AC: Update AC state on resume 2007-11-14 18:45:44 -08:00
amba
ata libata-scsi: be tolerant of 12-byte ATAPI commands in 16-byte CDBs 2007-11-19 12:28:11 +09:00
atm
auxdisplay
base
block rd: fix data corruption on memory pressure 2007-11-14 18:45:42 -08:00
bluetooth
cdrom
char Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2007-11-14 18:51:48 -08:00
clocksource
connector
cpufreq
cpuidle
crypto
dca
dio
dma I/OAT: Add support for version 2 of ioatdma device 2007-11-14 18:45:41 -08:00
edac i5000_edac: no need to __stringify() KBUILD_BASENAME 2007-11-14 18:45:41 -08:00
eisa
firewire
firmware
hid
hwmon
i2c i2c/eeprom: Recognize VGN as a valid Sony Vaio name prefix 2007-11-15 19:24:03 +01:00
ide ide: remove stale/incorrect comment from setup-pci.c 2007-11-13 22:09:16 +01:00
ieee1394
infiniband RDMA/cxgb3: Set the max_qp_init_rd_atom attribute in query_device 2007-11-13 15:27:00 -08:00
input
isdn [ISDN] sc: Really, really fix warning 2007-11-14 15:59:43 -08:00
kvm
leds
lguest lguest_user.c: fix memory leak 2007-11-14 18:45:38 -08:00
macintosh
mca
md raid5: fix unending write sequence 2007-11-14 18:45:39 -08:00
media
message
mfd
misc drivers/misc: Move misplaced pci_dev_put's 2007-11-14 18:45:39 -08:00
mmc
mtd
net Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2007-11-15 16:34:00 -08:00
nubus
of
oprofile oProfile: oops when profile_pc() returns ~0LU 2007-11-14 18:45:37 -08:00
parisc
parport
pci
pcmcia
pnp
power
ps3
rapidio
rtc rtc-ds1307 exports NVRAM 2007-11-14 18:45:36 -08:00
s390
sbus
scsi aic94xx_sds: rename FLASH_SIZE 2007-11-14 18:45:44 -08:00
serial CRISv10 serial driver rewrite 2007-11-14 18:45:46 -08:00
sh
sn
spi tle62x0 driver stops ignoring read errors 2007-11-14 18:45:42 -08:00
ssb
tc
telephony
uio
usb keyspan: init termios properly 2007-11-14 18:45:44 -08:00
video gbefb: fix section mismatch warnings 2007-11-14 18:45:42 -08:00
virtio
w1 W1: fix memset size error 2007-11-14 18:45:36 -08:00
watchdog
xen
zorro
Kconfig
Makefile