summaryrefslogtreecommitdiffstats
path: root/include/linux/libata.h
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2008-08-27 15:23:18 +0200
committerJeff Garzik <jgarzik@redhat.com>2008-10-31 01:45:06 -0400
commit9ce8e3073d9cfd6f859c22a25441db41b85cbf6e (patch)
tree81ddeb3d7203677b541b132b4ed8a909137d7ccf /include/linux/libata.h
parentb9d5b89b487517cbd4cb4702da829e07ef9e4432 (diff)
downloadlinux-9ce8e3073d9cfd6f859c22a25441db41b85cbf6e.tar.gz
linux-9ce8e3073d9cfd6f859c22a25441db41b85cbf6e.tar.bz2
linux-9ce8e3073d9cfd6f859c22a25441db41b85cbf6e.zip
libata: add whitelist for devices with known good pata-sata bridges
libata currently imposes a UDMA5 max transfer rate and 200 sector max transfer size for SATA devices that sit behind a pata-sata bridge. Lots of devices have known good bridges that don't need this limit applied. The MTRON SSD disks are such devices. Transfer rates are increased by 20-30% with the restriction removed. So add a "blacklist" entry for the MTRON devices, with a flag indicating that the bridge is known good. Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r--include/linux/libata.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index 507f53ef8038..f5441edee55f 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -372,6 +372,7 @@ enum {
ATA_HORKAGE_IPM = (1 << 7), /* Link PM problems */
ATA_HORKAGE_IVB = (1 << 8), /* cbl det validity bit bugs */
ATA_HORKAGE_STUCK_ERR = (1 << 9), /* stuck ERR on next PACKET */
+ ATA_HORKAGE_BRIDGE_OK = (1 << 10), /* no bridge limits */
/* DMA mask for user DMA control: User visible values; DO NOT
renumber */