]> err.no Git - linux-2.6/commit
[PATCH] fix libata inquiry VPD for ATAPI devices
authorTony Battersby <tonyb@cybernetics.com>
Wed, 21 Dec 2005 21:35:44 +0000 (16:35 -0500)
committerJeff Garzik <jgarzik@pobox.com>
Sat, 24 Dec 2005 15:02:24 +0000 (10:02 -0500)
commitfd71da468dd8897fe3f565dfd3743a87d8678e3a
tree77be514289e8d2cd897ff35ce02f5ee59e646bc7
parentdf7addbb45874f0f992266003155de5a22e1872f
[PATCH] fix libata inquiry VPD for ATAPI devices

The following patch prevents libata from incorrectly modifying inquiry
VPD pages and command support data from ATAPI devices.  I have tested
the patch with a SATA ATAPI tape drive on an AHCI controller.

Patch is against kernel 2.4.32 with 2.4.32-libata1.patch applied.

Anthony J. Battersby
Cybernetics

Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/scsi/libata-scsi.c