RESEND: libata: check cdb len per dev instead of per host
commitf0ef88ed413232daebfe675c7b1bbf100d604d4b
authorMark Lord <liml@rtr.ca>
Fri, 2 Feb 2007 17:36:25 +0000 (2 12:36 -0500)
committerJeff Garzik <jeff@garzik.org>
Sat, 28 Apr 2007 18:15:55 +0000 (28 14:15 -0400)
treefc235d7aede0d6c4d2e500ef5d0446122eaa611a
parentcd0d3bbcdd650651b7ccfaf55d107e3fc237d95a
RESEND: libata: check cdb len per dev instead of per host

Resending, with s/printk/DPRINTK/ as pointed out by Alan.

Fix libata to perform CDB len validation per device
rather than per host.  This way, validation still works
when we have a mix of 12-byte and 16-byte devices on
a common host interface.

Signed-off-by: Mark Lord <mlord@pobox.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-core.c
drivers/ata/libata-scsi.c