]> git.karo-electronics.de Git - linux-beck.git/commitdiff
use_clustering (sht) bit set to 0 in AHCI ?
authorJens Axboe <jens.axboe@oracle.com>
Tue, 22 May 2007 07:45:39 +0000 (09:45 +0200)
committerJeff Garzik <jeff@garzik.org>
Mon, 9 Jul 2007 16:17:32 +0000 (12:17 -0400)
ahci: enable sg segment clustering

The specification states that ahci supports segments up to 4MiB in size,
so enable clustering.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/ahci.c

index ca5229d24d8ed8f0692b64afed88d8e14cfbac33..f55c9e746b7384b47096eedafbea48cd604a57e1 100644 (file)
@@ -54,7 +54,7 @@ enum {
        AHCI_MAX_PORTS          = 32,
        AHCI_MAX_SG             = 168, /* hardware max is 64K */
        AHCI_DMA_BOUNDARY       = 0xffffffff,
-       AHCI_USE_CLUSTERING     = 0,
+       AHCI_USE_CLUSTERING     = 1,
        AHCI_MAX_CMDS           = 32,
        AHCI_CMD_SZ             = 32,
        AHCI_CMD_SLOT_SZ        = AHCI_MAX_CMDS * AHCI_CMD_SZ,