]> err.no Git - linux-2.6/commitdiff
[SCSI] Remove random noop unchecked_isa_dma users
authorAndi Kleen <andi@firstfloor.org>
Sun, 24 Feb 2008 23:35:21 +0000 (00:35 +0100)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 7 Apr 2008 17:15:40 +0000 (12:15 -0500)
Lots of drivers set it to 0. Remove that. Patch should be a nop.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/arm/acornscsi.c
drivers/scsi/arm/cumana_1.c
drivers/scsi/dc395x.c
drivers/scsi/eata_pio.c
drivers/scsi/hptiop.c
drivers/scsi/ips.c
drivers/scsi/mac_scsi.c
drivers/scsi/scsi_debug.c

index 3bedf2466bd1fdcca6b9e07391535843d2f63701..8e53f02cc311a6b8c99e78ec99ddd5ab4d6dd8ca 100644 (file)
@@ -2983,7 +2983,6 @@ static struct scsi_host_template acornscsi_template = {
        .this_id                = 7,
        .sg_tablesize           = SG_ALL,
        .cmd_per_lun            = 2,
-       .unchecked_isa_dma      = 0,
        .use_clustering         = DISABLE_CLUSTERING,
        .proc_name              = "acornscsi",
 };
index 49d838e90a241260ea6e2a907b5c7d45c6839753..a3398fe70a9c5f8d0214869f7bf8f921d30b07cd 100644 (file)
@@ -222,7 +222,6 @@ static struct scsi_host_template cumanascsi_template = {
        .this_id                = 7,
        .sg_tablesize           = SG_ALL,
        .cmd_per_lun            = 2,
-       .unchecked_isa_dma      = 0,
        .use_clustering         = DISABLE_CLUSTERING,
        .proc_name              = "CumanaSCSI-1",
 };
index e351db6c00779873a6f94bb7002118501c8b847c..075e2397273c6849f5cd1727c9bb749865e05e3b 100644 (file)
@@ -4761,7 +4761,6 @@ static struct scsi_host_template dc395x_driver_template = {
        .cmd_per_lun            = DC395x_MAX_CMD_PER_LUN,
        .eh_abort_handler       = dc395x_eh_abort,
        .eh_bus_reset_handler   = dc395x_eh_bus_reset,
-       .unchecked_isa_dma      = 0,
        .use_clustering         = DISABLE_CLUSTERING,
 };
 
index b5a60926e556657f7c9e1ead702548ffc002a381..952505c006dffeba8f13a3a5feb2d41d1575210e 100644 (file)
@@ -815,8 +815,6 @@ static int register_pio_HBA(long base, struct get_conf *gc, struct pci_dev *pdev
        else
                hd->primary = 1;
 
-       sh->unchecked_isa_dma = 0;      /* We can only do PIO */
-
        hd->next = NULL;        /* build a linked list of all HBAs */
        hd->prev = last_HBA;
        if (hd->prev != NULL)
index ff149ad6bc4ed103e44f7497b174391a94ede468..44dccf2b6c8e0c4a95af08eafd9651807f362cdd 100644 (file)
@@ -903,7 +903,6 @@ static struct scsi_host_template driver_template = {
        .eh_device_reset_handler    = hptiop_reset,
        .eh_bus_reset_handler       = hptiop_reset,
        .info                       = hptiop_info,
-       .unchecked_isa_dma          = 0,
        .emulated                   = 0,
        .use_clustering             = ENABLE_CLUSTERING,
        .proc_name                  = driver_name,
index e5467a4c225bf2cd1583cc0485dd294bfde6e103..62640366845aaa98ef70c4915f28e7a6f79e8f0b 100644 (file)
@@ -6844,7 +6844,6 @@ ips_register_scsi(int index)
        sh->sg_tablesize = sh->hostt->sg_tablesize;
        sh->can_queue = sh->hostt->can_queue;
        sh->cmd_per_lun = sh->hostt->cmd_per_lun;
-       sh->unchecked_isa_dma = sh->hostt->unchecked_isa_dma;
        sh->use_clustering = sh->hostt->use_clustering;
        sh->max_sectors = 128;
 
index 3b09ab21d701ba9d8726c48647cee64a85364bda..0248919bc2df47b3ed8aac6dc14384f78b098a66 100644 (file)
@@ -592,7 +592,6 @@ static struct scsi_host_template driver_template = {
        .this_id                        = 7,
        .sg_tablesize                   = SG_ALL,
        .cmd_per_lun                    = CMD_PER_LUN,
-       .unchecked_isa_dma              = 0,
        .use_clustering                 = DISABLE_CLUSTERING
 };
 
index d1777a9a9625de074ab98ba51179595085f7af51..d8a42d9a9fec83c787f9382f8797ce61667435a5 100644 (file)
@@ -221,7 +221,6 @@ static struct scsi_host_template sdebug_driver_template = {
        .sg_tablesize =         256,
        .cmd_per_lun =          16,
        .max_sectors =          0xffff,
-       .unchecked_isa_dma =    0,
        .use_clustering =       DISABLE_CLUSTERING,
        .module =               THIS_MODULE,
 };