]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] libata: kill unnecessary sht->max_sectors initializations
authorTejun Heo <htejun@gmail.com>
Wed, 29 Nov 2006 03:20:26 +0000 (12:20 +0900)
committerTejun Heo <htejun@gmail.com>
Sun, 3 Dec 2006 08:56:22 +0000 (17:56 +0900)
sht->max_sectors is overrided unconditionally in ->slave_configure.
There's no reason to set it to any value.

Signed-off-by: Tejun Heo <htejun@gmail.com>
43 files changed:
drivers/ata/ata_generic.c
drivers/ata/pata_ali.c
drivers/ata/pata_amd.c
drivers/ata/pata_artop.c
drivers/ata/pata_atiixp.c
drivers/ata/pata_cmd64x.c
drivers/ata/pata_cs5520.c
drivers/ata/pata_cs5530.c
drivers/ata/pata_cs5535.c
drivers/ata/pata_cypress.c
drivers/ata/pata_efar.c
drivers/ata/pata_hpt366.c
drivers/ata/pata_hpt37x.c
drivers/ata/pata_hpt3x2n.c
drivers/ata/pata_hpt3x3.c
drivers/ata/pata_isapnp.c
drivers/ata/pata_it821x.c
drivers/ata/pata_ixp4xx_cf.c
drivers/ata/pata_jmicron.c
drivers/ata/pata_legacy.c
drivers/ata/pata_marvell.c
drivers/ata/pata_mpiix.c
drivers/ata/pata_netcell.c
drivers/ata/pata_ns87410.c
drivers/ata/pata_oldpiix.c
drivers/ata/pata_opti.c
drivers/ata/pata_optidma.c
drivers/ata/pata_pcmcia.c
drivers/ata/pata_pdc2027x.c
drivers/ata/pata_pdc202xx_old.c
drivers/ata/pata_platform.c
drivers/ata/pata_qdi.c
drivers/ata/pata_radisys.c
drivers/ata/pata_rz1000.c
drivers/ata/pata_sc1200.c
drivers/ata/pata_serverworks.c
drivers/ata/pata_sil680.c
drivers/ata/pata_sis.c
drivers/ata/pata_sl82c105.c
drivers/ata/pata_triflex.c
drivers/ata/pata_via.c
drivers/ata/pata_winbond.c
drivers/ata/sata_nv.c

index c7e8f033125d3eeaadd937cd02a6f86d9164cee6..908751d27e76f1141d9ca56ad43d7acb944d8329 100644 (file)
@@ -109,7 +109,6 @@ static struct scsi_host_template generic_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index ae6d573574cd4f4aa585792279e00c73d01c5da2..d25563794c8da39deb211970e334f4b7fe2b9a7e 100644 (file)
@@ -337,9 +337,6 @@ static struct scsi_host_template ali_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       /* Keep LBA28 counts so large I/O's don't turn LBA48 and PIO
-          with older controllers. Not locked so will grow on C5 or later */
-       .max_sectors            = 255,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index d9571206e580166cc41b2de872b94d3d61bf2cbf..a6b330089f227f0fe62204f001b23cb3c97fef87 100644 (file)
@@ -326,7 +326,6 @@ static struct scsi_host_template amd_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index 2cd30761ca1f3f471fac39c6cc913ba02ac24684..37bc1323bda7aad0aff65f3aa7b95cc8fb889069 100644 (file)
@@ -307,7 +307,6 @@ static struct scsi_host_template artop_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index 7d9e391b0d18d276ff694d49e2b788be9efe8f4d..6f6672c551319a09ef998ca88889e5ba4998fe45 100644 (file)
@@ -209,7 +209,6 @@ static struct scsi_host_template atiixp_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index 3376f3f4bad9fe88a91de5c28017aa5be5f9ee85..15841a56369464d5e88a63536195107f87187943 100644 (file)
@@ -268,7 +268,6 @@ static struct scsi_host_template cmd64x_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index f839c0304b3abc293dd04f127f306e0f2512d596..9f165a8e032d4dca1df88447d9b56935f36a32d0 100644 (file)
@@ -159,7 +159,6 @@ static struct scsi_host_template cs5520_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index 265012b16bbb7d98da7cbc983eb067f54424c43a..1c628014dae612512062fda499f3bca4f6c71c6e 100644 (file)
@@ -173,7 +173,6 @@ static struct scsi_host_template cs5530_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index 38c00f6287614228c7f3c1a3a059ba7139113f8f..73b9b5453a3cf9944b10fdaa0d1039b924d7fb21 100644 (file)
@@ -177,7 +177,6 @@ static struct scsi_host_template cs5535_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index 6352bc7df6033c78ae98e7e5bebb660f664b8572..e2a95699bae7ff293ef1eb29fa5d859db3ccefd8 100644 (file)
@@ -128,7 +128,6 @@ static struct scsi_host_template cy82c693_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index 56589834483d481a7761fb75210bde2180ab22ad..edf8a63f50af3afe6b54d93a0deffa5da252dcb7 100644 (file)
@@ -226,7 +226,6 @@ static struct scsi_host_template efar_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index 25d3cd7e74f1cf65318cad1702b1bc0932cd7666..2663599a7c02fb041f7e1ac0485164af6ee706f4 100644 (file)
@@ -330,7 +330,6 @@ static struct scsi_host_template hpt36x_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index 1eeb16f0fb02fd715f24773ec7b112e53c72fbcc..47082df7199e113ecae36156604f1b7a39c2549c 100644 (file)
@@ -768,7 +768,6 @@ static struct scsi_host_template hpt37x_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index 47d7664e9eee7480817b47ad5cb59b300a71b85f..f6817b4093a4e8ff3d74a5dc2e487858a9d00c79 100644 (file)
@@ -334,7 +334,6 @@ static struct scsi_host_template hpt3x2n_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index e9fb029f28b79702340cd8d9cbfae4b9fc4b3d7a..5f1d385eb592da1f2c9d6a4c8cb382afc9b6f7b0 100644 (file)
@@ -111,7 +111,6 @@ static struct scsi_host_template hpt3x3_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index 40ca2b82b7fc7bf9f9a670f613fe680b6dce6604..a97d55ae95c9e6809e450befd37fdf5df32bc98e 100644 (file)
@@ -27,7 +27,6 @@ static struct scsi_host_template isapnp_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index d57ac741cc086447e3dba9132f09c197ec1474f3..0b56ff3d1cfec7c2106b92971079e99b7c9a61b6 100644 (file)
@@ -666,9 +666,6 @@ static struct scsi_host_template it821x_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       /* 255 sectors to begin with. This is locked in smart mode but not
-          in pass through */
-       .max_sectors            = 255,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index 14c6a2daf52e63731ebc177c215985cfcdf5fb52..cb8924109f59cff4cfac0bbfb1046824ac7ce762 100644 (file)
@@ -110,7 +110,6 @@ static struct scsi_host_template ixp4xx_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index c9f0a543b27bee1c200b0676404a14cd147aa37e..2d661cb4df3cd75470af0e98f58e2bbb42886191 100644 (file)
@@ -128,8 +128,6 @@ static struct scsi_host_template jmicron_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       /* Special handling needed if you have sector or LBA48 limits */
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index b39078b2a47b5a37e4b1142723ab38721b42190f..c7d1738e4e696630ed73605728ddec1b2037e820 100644 (file)
@@ -128,7 +128,6 @@ static struct scsi_host_template legacy_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index 3f53be4607a089e6f08924c365defe41fbf25355..1c810ea0025374bbb7df98a5da47960690d9d730 100644 (file)
@@ -94,7 +94,6 @@ static struct scsi_host_template marvell_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index 752a7418ed51ed199e8332f6539c72262a64141b..4ccca938675e754a295d78d2c9510662627e1563 100644 (file)
@@ -159,7 +159,6 @@ static struct scsi_host_template mpiix_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index 956616789ba1497b8f8678b2a36a97538a56a72c..cf7fe037471c3e94660f97655885d53646a0295f 100644 (file)
@@ -54,8 +54,6 @@ static struct scsi_host_template netcell_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       /* Special handling needed if you have sector or LBA48 limits */
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index 428e6b511a2f31180895d3859c23c70208e46836..c3032eb9010dfa4b6405f44f3daea6bb7477b469 100644 (file)
@@ -149,7 +149,6 @@ static struct scsi_host_template ns87410_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index 1283fb71bd5dceeb4057f2b68a2d79fc2d9b8160..10ac3cc10181cbd5b48cd45dcac06f6637797bc6 100644 (file)
@@ -224,7 +224,6 @@ static struct scsi_host_template oldpiix_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index 66f561db2ab1e4c265459250e3afdd93e2744f86..c2988b0aa8ea07f30f73054ab97e5729ed733ecd 100644 (file)
@@ -171,7 +171,6 @@ static struct scsi_host_template opti_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index d898e42f99e8655dd6433c7fee91b7af5fcc4258..80d111c569dc25db5fc74d76e199a31bf3c28a03 100644 (file)
@@ -352,7 +352,6 @@ static struct scsi_host_template optidma_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index 999922de476e0438131dafda3896c7f4e9d9561e..4ca6fa5dcb421cb2d092ac0b353b51a32f1971c6 100644 (file)
@@ -62,7 +62,6 @@ static struct scsi_host_template pcmcia_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index ef854299989c861f66facb80c621d6335d0ebf0c..76dd1c935dbd34449b78d49bbea80dc0587fca45 100644 (file)
@@ -134,7 +134,6 @@ static struct scsi_host_template pdc2027x_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index 81a134cca3cd9f79efc0041164d97eaac73ac152..ad691b9e77434d94bc5491ec250304eb573e970a 100644 (file)
@@ -262,7 +262,6 @@ static struct scsi_host_template pdc202xx_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index 5ff74e4ce59093dbdc02d6d079c5cd117840d9fa..443b1d85c6c48eb4f1626826760905d2ee328be0 100644 (file)
@@ -71,7 +71,6 @@ static struct scsi_host_template pata_platform_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index 314938dea1fcbd9b98f67ed61531608befb580ed..36f621abc390729a3d143bb4b5cf06eeab87ca4f 100644 (file)
@@ -157,7 +157,6 @@ static struct scsi_host_template qdi_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index 5fe7ffce5284d4735ba341468597b7cce993f839..065541d034ad200e1cce593545920cf03dbad7f7 100644 (file)
@@ -220,7 +220,6 @@ static struct scsi_host_template radisys_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index 21567aba82d24d2f0a2c8cd4671148e9e4982850..3677c642c9f9c47f107cf50339f79f381b3da767 100644 (file)
@@ -83,7 +83,6 @@ static struct scsi_host_template rz1000_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index 0c5393a73970e15ebfcef54b0d8296cf88a7c2bb..a3b35bc5039492edae8e1bc35f2759c7d5949096 100644 (file)
@@ -186,7 +186,6 @@ static struct scsi_host_template sc1200_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index 0fa803e6399c8483fd91ad33f0a863e1ac7d5658..f02b6a3b0f10fed4dd1b30eecc7cf93b6cee0a88 100644 (file)
@@ -318,7 +318,6 @@ static struct scsi_host_template serverworks_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index 5d3b42ec8e47263bc7152f6ecd54d181a20288f5..32cf0bfa8921fdaff952f3dac55c86718eb64c14 100644 (file)
@@ -218,7 +218,6 @@ static struct scsi_host_template sil680_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index 695e571540cca8533c3e55ebceea8d08bac3c499..916cedb3d75548457064ae26efb09ead0f62095f 100644 (file)
@@ -538,7 +538,6 @@ static struct scsi_host_template sis_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index dc1cfc6d805b680c3f67176f15b37d19e6ab865e..e94f515ef54b6468199a78d92d5fc77e52e935de 100644 (file)
@@ -230,7 +230,6 @@ static struct scsi_host_template sl82c105_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index ece9cb7c2f4d0003c320f7cca61c91b31f0ba019..a142971f13074071612e3326a2119813eb4e2a5e 100644 (file)
@@ -185,7 +185,6 @@ static struct scsi_host_template triflex_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index 489bd5796e73925583013ce84852e77afb19559e..ee93dd0169bee478c5f2ce46382dc9757c7f47a0 100644 (file)
@@ -288,7 +288,6 @@ static struct scsi_host_template via_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index b02ad1d3afed442c8b56a396a41523e61ea32c1a..3ea345cde52ed1ceaf595c9ffff1decb16ddb329 100644 (file)
@@ -126,7 +126,6 @@ static struct scsi_host_template winbond_sht = {
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = LIBATA_MAX_PRD,
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,
index 27d2225c9083ee4c26323d32df7e9a1d6b96eae9..0d316eb3c2149da3ac09266985dc7624f92f84db 100644 (file)
@@ -321,7 +321,6 @@ static struct scsi_host_template nv_adma_sht = {
        .can_queue              = NV_ADMA_MAX_CPBS,
        .this_id                = ATA_SHT_THIS_ID,
        .sg_tablesize           = NV_ADMA_SGTBL_TOTAL_LEN,
-       .max_sectors            = ATA_MAX_SECTORS,
        .cmd_per_lun            = ATA_SHT_CMD_PER_LUN,
        .emulated               = ATA_SHT_EMULATED,
        .use_clustering         = ATA_SHT_USE_CLUSTERING,