diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2007-05-22 09:45:39 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-07-09 12:17:32 -0400 |
commit | be5d82183f1ebb022f923b008acf3b760d3a571d (patch) | |
tree | 1520884587829c909d618695d6702e7d602447b3 | |
parent | a16abc0b5ff3ef655e40cb5e6671d57f5dde513d (diff) | |
download | linux-be5d82183f1ebb022f923b008acf3b760d3a571d.tar.gz linux-be5d82183f1ebb022f923b008acf3b760d3a571d.tar.bz2 linux-be5d82183f1ebb022f923b008acf3b760d3a571d.zip |
use_clustering (sht) bit set to 0 in AHCI ?
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>
-rw-r--r-- | drivers/ata/ahci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index ca5229d24d8e..f55c9e746b73 100644 --- a/drivers/ata/ahci.c +++ b/drivers/ata/ahci.c @@ -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, |