Introduces mask-allocator-patches from Andi Kleen
[lcapit-linux-patches.git] / mask-allocator-patches / scsi-misc-zero
blob3b0b3f6903f5ee5e269c3ba4fe7e6e85b0705275
1 Remove random noop unchecked_isa_dma users
3 Lots of drivers set it to 0. Remove that. Patch should be a nop.
5 Signed-off-by: Andi Kleen <ak@suse.de>
7 ---
8  drivers/scsi/arm/acornscsi.c |    1 -
9  drivers/scsi/arm/cumana_1.c  |    1 -
10  drivers/scsi/dc395x.c        |    1 -
11  drivers/scsi/eata_pio.c      |    2 --
12  drivers/scsi/hptiop.c        |    1 -
13  drivers/scsi/ips.c           |    1 -
14  drivers/scsi/mac_scsi.c      |    1 -
15  drivers/scsi/scsi_debug.c    |    1 -
16  8 files changed, 9 deletions(-)
18 Index: linux/drivers/scsi/arm/acornscsi.c
19 ===================================================================
20 --- linux.orig/drivers/scsi/arm/acornscsi.c
21 +++ linux/drivers/scsi/arm/acornscsi.c
22 @@ -2983,7 +2983,6 @@ static struct scsi_host_template acornsc
23         .this_id                = 7,
24         .sg_tablesize           = SG_ALL,
25         .cmd_per_lun            = 2,
26 -       .unchecked_isa_dma      = 0,
27         .use_clustering         = DISABLE_CLUSTERING,
28         .proc_name              = "acornscsi",
29  };
30 Index: linux/drivers/scsi/arm/cumana_1.c
31 ===================================================================
32 --- linux.orig/drivers/scsi/arm/cumana_1.c
33 +++ linux/drivers/scsi/arm/cumana_1.c
34 @@ -222,7 +222,6 @@ static struct scsi_host_template cumanas
35         .this_id                = 7,
36         .sg_tablesize           = SG_ALL,
37         .cmd_per_lun            = 2,
38 -       .unchecked_isa_dma      = 0,
39         .use_clustering         = DISABLE_CLUSTERING,
40         .proc_name              = "CumanaSCSI-1",
41  };
42 Index: linux/drivers/scsi/dc395x.c
43 ===================================================================
44 --- linux.orig/drivers/scsi/dc395x.c
45 +++ linux/drivers/scsi/dc395x.c
46 @@ -4761,7 +4761,6 @@ static struct scsi_host_template dc395x_
47         .cmd_per_lun            = DC395x_MAX_CMD_PER_LUN,
48         .eh_abort_handler       = dc395x_eh_abort,
49         .eh_bus_reset_handler   = dc395x_eh_bus_reset,
50 -       .unchecked_isa_dma      = 0,
51         .use_clustering         = DISABLE_CLUSTERING,
52  };
54 Index: linux/drivers/scsi/eata_pio.c
55 ===================================================================
56 --- linux.orig/drivers/scsi/eata_pio.c
57 +++ linux/drivers/scsi/eata_pio.c
58 @@ -815,8 +815,6 @@ static int register_pio_HBA(long base, s
59         else
60                 hd->primary = 1;
62 -       sh->unchecked_isa_dma = 0;      /* We can only do PIO */
64         hd->next = NULL;        /* build a linked list of all HBAs */
65         hd->prev = last_HBA;
66         if (hd->prev != NULL)
67 Index: linux/drivers/scsi/hptiop.c
68 ===================================================================
69 --- linux.orig/drivers/scsi/hptiop.c
70 +++ linux/drivers/scsi/hptiop.c
71 @@ -903,7 +903,6 @@ static struct scsi_host_template driver_
72         .eh_device_reset_handler    = hptiop_reset,
73         .eh_bus_reset_handler       = hptiop_reset,
74         .info                       = hptiop_info,
75 -       .unchecked_isa_dma          = 0,
76         .emulated                   = 0,
77         .use_clustering             = ENABLE_CLUSTERING,
78         .proc_name                  = driver_name,
79 Index: linux/drivers/scsi/ips.c
80 ===================================================================
81 --- linux.orig/drivers/scsi/ips.c
82 +++ linux/drivers/scsi/ips.c
83 @@ -6842,7 +6842,6 @@ ips_register_scsi(int index)
84         sh->sg_tablesize = sh->hostt->sg_tablesize;
85         sh->can_queue = sh->hostt->can_queue;
86         sh->cmd_per_lun = sh->hostt->cmd_per_lun;
87 -       sh->unchecked_isa_dma = sh->hostt->unchecked_isa_dma;
88         sh->use_clustering = sh->hostt->use_clustering;
89         sh->max_sectors = 128;
91 Index: linux/drivers/scsi/mac_scsi.c
92 ===================================================================
93 --- linux.orig/drivers/scsi/mac_scsi.c
94 +++ linux/drivers/scsi/mac_scsi.c
95 @@ -592,7 +592,6 @@ static struct scsi_host_template driver_
96         .this_id                        = 7,
97         .sg_tablesize                   = SG_ALL,
98         .cmd_per_lun                    = CMD_PER_LUN,
99 -       .unchecked_isa_dma              = 0,
100         .use_clustering                 = DISABLE_CLUSTERING
101  };
103 Index: linux/drivers/scsi/scsi_debug.c
104 ===================================================================
105 --- linux.orig/drivers/scsi/scsi_debug.c
106 +++ linux/drivers/scsi/scsi_debug.c
107 @@ -221,7 +221,6 @@ static struct scsi_host_template sdebug_
108         .sg_tablesize =         256,
109         .cmd_per_lun =          16,
110         .max_sectors =          0xffff,
111 -       .unchecked_isa_dma =    0,
112         .use_clustering =       DISABLE_CLUSTERING,
113         .module =               THIS_MODULE,
114  };