lkml.org 
[lkml]   [2006]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] libata: increase max-sectors to 256

Just checked this into 'max-sect' branch of libata-dev.git, and then
merged that into 'ALL' metabranch for -mm testing.

This touches all libata drivers, so another possibility for breakage...

It'll propagate to -mm next time Andrew does a pull, but I probably
won't push it (and sii-m15w) until 2.6.19, since there is so much stuff
queued already.

diff --git a/include/linux/ata.h b/include/linux/ata.h
index c494e1c..e40e7f2 100644
--- a/include/linux/ata.h
+++ b/include/linux/ata.h
@@ -40,6 +40,8 @@ enum {
ATA_MAX_DEVICES = 2, /* per bus/port */
ATA_MAX_PRD = 256, /* we could make these 256/256 */
ATA_SECT_SIZE = 512,
+ ATA_MAX_SECTORS = 256,
+ ATA_MAX_SECTORS_LBA48 = 65535,/* TODO: 65536? */

ATA_ID_WORDS = 256,
ATA_ID_SERNO_OFS = 10,
diff --git a/include/linux/libata.h b/include/linux/libata.h
index 39e6b77..e80f25c 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -111,8 +111,6 @@ enum {
/* tag ATA_MAX_QUEUE - 1 is reserved for internal commands */
ATA_MAX_QUEUE = 32,
ATA_TAG_INTERNAL = ATA_MAX_QUEUE - 1,
- ATA_MAX_SECTORS = 200, /* FIXME */
- ATA_MAX_SECTORS_LBA48 = 65535,
ATA_MAX_BUS = 2,
ATA_DEF_BUSY_WAIT = 10000,
ATA_SHORT_PAUSE = (HZ >> 6) + 1,
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-06-11 16:07    [from the cache]
©2003-2011 Jasper Spaans