aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndi Kleen <andi@firstfloor.org>2008-02-24 18:35:21 -0500
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-04-07 13:15:40 -0400
commit9924a781f3e746ba5aa54cf96ca462b8d0915221 (patch)
tree19efc3e550cbc5635c4093cf05701862f430b19b
parentb271f1c881ff301ba1fbb52698d4f2b91858f421 (diff)
[SCSI] Remove random noop unchecked_isa_dma users
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>
-rw-r--r--drivers/scsi/arm/acornscsi.c1
-rw-r--r--drivers/scsi/arm/cumana_1.c1
-rw-r--r--drivers/scsi/dc395x.c1
-rw-r--r--drivers/scsi/eata_pio.c2
-rw-r--r--drivers/scsi/hptiop.c1
-rw-r--r--drivers/scsi/ips.c1
-rw-r--r--drivers/scsi/mac_scsi.c1
-rw-r--r--drivers/scsi/scsi_debug.c1
8 files changed, 0 insertions, 9 deletions
diff --git a/drivers/scsi/arm/acornscsi.c b/drivers/scsi/arm/acornscsi.c
index 3bedf2466bd1..8e53f02cc311 100644
--- a/drivers/scsi/arm/acornscsi.c
+++ b/drivers/scsi/arm/acornscsi.c
@@ -2983,7 +2983,6 @@ static struct scsi_host_template acornscsi_template = {
2983 .this_id = 7, 2983 .this_id = 7,
2984 .sg_tablesize = SG_ALL, 2984 .sg_tablesize = SG_ALL,
2985 .cmd_per_lun = 2, 2985 .cmd_per_lun = 2,
2986 .unchecked_isa_dma = 0,
2987 .use_clustering = DISABLE_CLUSTERING, 2986 .use_clustering = DISABLE_CLUSTERING,
2988 .proc_name = "acornscsi", 2987 .proc_name = "acornscsi",
2989}; 2988};
diff --git a/drivers/scsi/arm/cumana_1.c b/drivers/scsi/arm/cumana_1.c
index 49d838e90a24..a3398fe70a9c 100644
--- a/drivers/scsi/arm/cumana_1.c
+++ b/drivers/scsi/arm/cumana_1.c
@@ -222,7 +222,6 @@ static struct scsi_host_template cumanascsi_template = {
222 .this_id = 7, 222 .this_id = 7,
223 .sg_tablesize = SG_ALL, 223 .sg_tablesize = SG_ALL,
224 .cmd_per_lun = 2, 224 .cmd_per_lun = 2,
225 .unchecked_isa_dma = 0,
226 .use_clustering = DISABLE_CLUSTERING, 225 .use_clustering = DISABLE_CLUSTERING,
227 .proc_name = "CumanaSCSI-1", 226 .proc_name = "CumanaSCSI-1",
228}; 227};
diff --git a/drivers/scsi/dc395x.c b/drivers/scsi/dc395x.c
index e351db6c0077..075e2397273c 100644
--- a/drivers/scsi/dc395x.c
+++ b/drivers/scsi/dc395x.c
@@ -4761,7 +4761,6 @@ static struct scsi_host_template dc395x_driver_template = {
4761 .cmd_per_lun = DC395x_MAX_CMD_PER_LUN, 4761 .cmd_per_lun = DC395x_MAX_CMD_PER_LUN,
4762 .eh_abort_handler = dc395x_eh_abort, 4762 .eh_abort_handler = dc395x_eh_abort,
4763 .eh_bus_reset_handler = dc395x_eh_bus_reset, 4763 .eh_bus_reset_handler = dc395x_eh_bus_reset,
4764 .unchecked_isa_dma = 0,
4765 .use_clustering = DISABLE_CLUSTERING, 4764 .use_clustering = DISABLE_CLUSTERING,
4766}; 4765};
4767 4766
diff --git a/drivers/scsi/eata_pio.c b/drivers/scsi/eata_pio.c
index b5a60926e556..952505c006df 100644
--- a/drivers/scsi/eata_pio.c
+++ b/drivers/scsi/eata_pio.c
@@ -815,8 +815,6 @@ static int register_pio_HBA(long base, struct get_conf *gc, struct pci_dev *pdev
815 else 815 else
816 hd->primary = 1; 816 hd->primary = 1;
817 817
818 sh->unchecked_isa_dma = 0; /* We can only do PIO */
819
820 hd->next = NULL; /* build a linked list of all HBAs */ 818 hd->next = NULL; /* build a linked list of all HBAs */
821 hd->prev = last_HBA; 819 hd->prev = last_HBA;
822 if (hd->prev != NULL) 820 if (hd->prev != NULL)
diff --git a/drivers/scsi/hptiop.c b/drivers/scsi/hptiop.c
index ff149ad6bc4e..44dccf2b6c8e 100644
--- a/drivers/scsi/hptiop.c
+++ b/drivers/scsi/hptiop.c
@@ -903,7 +903,6 @@ static struct scsi_host_template driver_template = {
903 .eh_device_reset_handler = hptiop_reset, 903 .eh_device_reset_handler = hptiop_reset,
904 .eh_bus_reset_handler = hptiop_reset, 904 .eh_bus_reset_handler = hptiop_reset,
905 .info = hptiop_info, 905 .info = hptiop_info,
906 .unchecked_isa_dma = 0,
907 .emulated = 0, 906 .emulated = 0,
908 .use_clustering = ENABLE_CLUSTERING, 907 .use_clustering = ENABLE_CLUSTERING,
909 .proc_name = driver_name, 908 .proc_name = driver_name,
diff --git a/drivers/scsi/ips.c b/drivers/scsi/ips.c
index e5467a4c225b..62640366845a 100644
--- a/drivers/scsi/ips.c
+++ b/drivers/scsi/ips.c
@@ -6844,7 +6844,6 @@ ips_register_scsi(int index)
6844 sh->sg_tablesize = sh->hostt->sg_tablesize; 6844 sh->sg_tablesize = sh->hostt->sg_tablesize;
6845 sh->can_queue = sh->hostt->can_queue; 6845 sh->can_queue = sh->hostt->can_queue;
6846 sh->cmd_per_lun = sh->hostt->cmd_per_lun; 6846 sh->cmd_per_lun = sh->hostt->cmd_per_lun;
6847 sh->unchecked_isa_dma = sh->hostt->unchecked_isa_dma;
6848 sh->use_clustering = sh->hostt->use_clustering; 6847 sh->use_clustering = sh->hostt->use_clustering;
6849 sh->max_sectors = 128; 6848 sh->max_sectors = 128;
6850 6849
diff --git a/drivers/scsi/mac_scsi.c b/drivers/scsi/mac_scsi.c
index 3b09ab21d701..0248919bc2df 100644
--- a/drivers/scsi/mac_scsi.c
+++ b/drivers/scsi/mac_scsi.c
@@ -592,7 +592,6 @@ static struct scsi_host_template driver_template = {
592 .this_id = 7, 592 .this_id = 7,
593 .sg_tablesize = SG_ALL, 593 .sg_tablesize = SG_ALL,
594 .cmd_per_lun = CMD_PER_LUN, 594 .cmd_per_lun = CMD_PER_LUN,
595 .unchecked_isa_dma = 0,
596 .use_clustering = DISABLE_CLUSTERING 595 .use_clustering = DISABLE_CLUSTERING
597}; 596};
598 597
diff --git a/drivers/scsi/scsi_debug.c b/drivers/scsi/scsi_debug.c
index d1777a9a9625..d8a42d9a9fec 100644
--- a/drivers/scsi/scsi_debug.c
+++ b/drivers/scsi/scsi_debug.c
@@ -221,7 +221,6 @@ static struct scsi_host_template sdebug_driver_template = {
221 .sg_tablesize = 256, 221 .sg_tablesize = 256,
222 .cmd_per_lun = 16, 222 .cmd_per_lun = 16,
223 .max_sectors = 0xffff, 223 .max_sectors = 0xffff,
224 .unchecked_isa_dma = 0,
225 .use_clustering = DISABLE_CLUSTERING, 224 .use_clustering = DISABLE_CLUSTERING,
226 .module = THIS_MODULE, 225 .module = THIS_MODULE,
227}; 226};