diff options
author | James Bottomley <jejb@titanic.(none)> | 2005-11-10 09:29:07 -0500 |
---|---|---|
committer | James Bottomley <jejb@titanic.(none)> | 2005-11-10 09:29:07 -0500 |
commit | 8a87a0b6313109d2fea87b1271d497c954ce2ca8 (patch) | |
tree | 1b7ae51ff681e27118590e9cab4bf0ce38f5d80e /drivers/scsi | |
parent | e6a04466ba965875a6132700fabb2f2c0249c41a (diff) | |
parent | 3b44f137b9a846c5452d9e6e1271b79b1dbcc942 (diff) |
Merge by hand (whitespace conflicts in libata.h)
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi')
37 files changed, 17 insertions, 56 deletions
diff --git a/drivers/scsi/3w-xxxx.h b/drivers/scsi/3w-xxxx.h index 98bad773f240..4f81fc39ec57 100644 --- a/drivers/scsi/3w-xxxx.h +++ b/drivers/scsi/3w-xxxx.h | |||
@@ -54,7 +54,6 @@ | |||
54 | #ifndef _3W_XXXX_H | 54 | #ifndef _3W_XXXX_H |
55 | #define _3W_XXXX_H | 55 | #define _3W_XXXX_H |
56 | 56 | ||
57 | #include <linux/version.h> | ||
58 | #include <linux/types.h> | 57 | #include <linux/types.h> |
59 | 58 | ||
60 | /* AEN strings */ | 59 | /* AEN strings */ |
diff --git a/drivers/scsi/a2091.c b/drivers/scsi/a2091.c index 1589007e5a2a..54996eaae979 100644 --- a/drivers/scsi/a2091.c +++ b/drivers/scsi/a2091.c | |||
@@ -2,7 +2,6 @@ | |||
2 | #include <linux/mm.h> | 2 | #include <linux/mm.h> |
3 | #include <linux/blkdev.h> | 3 | #include <linux/blkdev.h> |
4 | #include <linux/sched.h> | 4 | #include <linux/sched.h> |
5 | #include <linux/version.h> | ||
6 | #include <linux/init.h> | 5 | #include <linux/init.h> |
7 | #include <linux/interrupt.h> | 6 | #include <linux/interrupt.h> |
8 | 7 | ||
diff --git a/drivers/scsi/ahci.c b/drivers/scsi/ahci.c index 10f90d39374a..10c470e7d316 100644 --- a/drivers/scsi/ahci.c +++ b/drivers/scsi/ahci.c | |||
@@ -42,8 +42,8 @@ | |||
42 | #include <linux/sched.h> | 42 | #include <linux/sched.h> |
43 | #include <linux/dma-mapping.h> | 43 | #include <linux/dma-mapping.h> |
44 | #include <linux/device.h> | 44 | #include <linux/device.h> |
45 | #include "scsi.h" | ||
46 | #include <scsi/scsi_host.h> | 45 | #include <scsi/scsi_host.h> |
46 | #include <scsi/scsi_cmnd.h> | ||
47 | #include <linux/libata.h> | 47 | #include <linux/libata.h> |
48 | #include <asm/io.h> | 48 | #include <asm/io.h> |
49 | 49 | ||
diff --git a/drivers/scsi/aic7xxx/aic79xx_osm.h b/drivers/scsi/aic7xxx/aic79xx_osm.h index 052c6619accc..bc44222d6cc3 100644 --- a/drivers/scsi/aic7xxx/aic79xx_osm.h +++ b/drivers/scsi/aic7xxx/aic79xx_osm.h | |||
@@ -49,7 +49,6 @@ | |||
49 | #include <linux/ioport.h> | 49 | #include <linux/ioport.h> |
50 | #include <linux/pci.h> | 50 | #include <linux/pci.h> |
51 | #include <linux/smp_lock.h> | 51 | #include <linux/smp_lock.h> |
52 | #include <linux/version.h> | ||
53 | #include <linux/interrupt.h> | 52 | #include <linux/interrupt.h> |
54 | #include <linux/module.h> | 53 | #include <linux/module.h> |
55 | #include <linux/slab.h> | 54 | #include <linux/slab.h> |
diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm.h b/drivers/scsi/aic7xxx/aic7xxx_osm.h index be9edbe26dbe..f2a95447142c 100644 --- a/drivers/scsi/aic7xxx/aic7xxx_osm.h +++ b/drivers/scsi/aic7xxx/aic7xxx_osm.h | |||
@@ -66,7 +66,6 @@ | |||
66 | #include <linux/ioport.h> | 66 | #include <linux/ioport.h> |
67 | #include <linux/pci.h> | 67 | #include <linux/pci.h> |
68 | #include <linux/smp_lock.h> | 68 | #include <linux/smp_lock.h> |
69 | #include <linux/version.h> | ||
70 | #include <linux/interrupt.h> | 69 | #include <linux/interrupt.h> |
71 | #include <linux/module.h> | 70 | #include <linux/module.h> |
72 | #include <linux/slab.h> | 71 | #include <linux/slab.h> |
diff --git a/drivers/scsi/amiga7xx.c b/drivers/scsi/amiga7xx.c index e02db80cab33..c0844fa32c5d 100644 --- a/drivers/scsi/amiga7xx.c +++ b/drivers/scsi/amiga7xx.c | |||
@@ -11,7 +11,6 @@ | |||
11 | #include <linux/mm.h> | 11 | #include <linux/mm.h> |
12 | #include <linux/blkdev.h> | 12 | #include <linux/blkdev.h> |
13 | #include <linux/sched.h> | 13 | #include <linux/sched.h> |
14 | #include <linux/version.h> | ||
15 | #include <linux/config.h> | 14 | #include <linux/config.h> |
16 | #include <linux/zorro.h> | 15 | #include <linux/zorro.h> |
17 | #include <linux/stat.h> | 16 | #include <linux/stat.h> |
diff --git a/drivers/scsi/ata_piix.c b/drivers/scsi/ata_piix.c index 7fc8873de0b6..a1bd8d95623c 100644 --- a/drivers/scsi/ata_piix.c +++ b/drivers/scsi/ata_piix.c | |||
@@ -46,7 +46,6 @@ | |||
46 | #include <linux/blkdev.h> | 46 | #include <linux/blkdev.h> |
47 | #include <linux/delay.h> | 47 | #include <linux/delay.h> |
48 | #include <linux/device.h> | 48 | #include <linux/device.h> |
49 | #include "scsi.h" | ||
50 | #include <scsi/scsi_host.h> | 49 | #include <scsi/scsi_host.h> |
51 | #include <linux/libata.h> | 50 | #include <linux/libata.h> |
52 | 51 | ||
diff --git a/drivers/scsi/bvme6000.c b/drivers/scsi/bvme6000.c index 3c43928ab402..2958b8c2bfb7 100644 --- a/drivers/scsi/bvme6000.c +++ b/drivers/scsi/bvme6000.c | |||
@@ -7,7 +7,6 @@ | |||
7 | #include <linux/mm.h> | 7 | #include <linux/mm.h> |
8 | #include <linux/blkdev.h> | 8 | #include <linux/blkdev.h> |
9 | #include <linux/sched.h> | 9 | #include <linux/sched.h> |
10 | #include <linux/version.h> | ||
11 | #include <linux/zorro.h> | 10 | #include <linux/zorro.h> |
12 | 11 | ||
13 | #include <asm/setup.h> | 12 | #include <asm/setup.h> |
diff --git a/drivers/scsi/gvp11.c b/drivers/scsi/gvp11.c index 4b310cb7c93a..5b154498056d 100644 --- a/drivers/scsi/gvp11.c +++ b/drivers/scsi/gvp11.c | |||
@@ -2,7 +2,6 @@ | |||
2 | #include <linux/mm.h> | 2 | #include <linux/mm.h> |
3 | #include <linux/blkdev.h> | 3 | #include <linux/blkdev.h> |
4 | #include <linux/sched.h> | 4 | #include <linux/sched.h> |
5 | #include <linux/version.h> | ||
6 | #include <linux/init.h> | 5 | #include <linux/init.h> |
7 | #include <linux/interrupt.h> | 6 | #include <linux/interrupt.h> |
8 | 7 | ||
diff --git a/drivers/scsi/ibmmca.c b/drivers/scsi/ibmmca.c index 05ecc911e94c..b60c1b9270f1 100644 --- a/drivers/scsi/ibmmca.c +++ b/drivers/scsi/ibmmca.c | |||
@@ -18,12 +18,6 @@ | |||
18 | */ | 18 | */ |
19 | 19 | ||
20 | #include <linux/config.h> | 20 | #include <linux/config.h> |
21 | #ifndef LINUX_VERSION_CODE | ||
22 | #include <linux/version.h> | ||
23 | #endif | ||
24 | #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,45) | ||
25 | #error "This driver works only with kernel 2.5.45 or higher!" | ||
26 | #endif | ||
27 | #include <linux/module.h> | 21 | #include <linux/module.h> |
28 | #include <linux/kernel.h> | 22 | #include <linux/kernel.h> |
29 | #include <linux/types.h> | 23 | #include <linux/types.h> |
diff --git a/drivers/scsi/ips.h b/drivers/scsi/ips.h index 179140f48a91..f46c382e5599 100644 --- a/drivers/scsi/ips.h +++ b/drivers/scsi/ips.h | |||
@@ -50,6 +50,7 @@ | |||
50 | #ifndef _IPS_H_ | 50 | #ifndef _IPS_H_ |
51 | #define _IPS_H_ | 51 | #define _IPS_H_ |
52 | 52 | ||
53 | #include <linux/version.h> | ||
53 | #include <asm/uaccess.h> | 54 | #include <asm/uaccess.h> |
54 | #include <asm/io.h> | 55 | #include <asm/io.h> |
55 | 56 | ||
diff --git a/drivers/scsi/libata-core.c b/drivers/scsi/libata-core.c index 1c1a7caf785e..a74b4071a662 100644 --- a/drivers/scsi/libata-core.c +++ b/drivers/scsi/libata-core.c | |||
@@ -51,8 +51,8 @@ | |||
51 | #include <linux/jiffies.h> | 51 | #include <linux/jiffies.h> |
52 | #include <linux/scatterlist.h> | 52 | #include <linux/scatterlist.h> |
53 | #include <scsi/scsi.h> | 53 | #include <scsi/scsi.h> |
54 | #include "scsi.h" | ||
55 | #include "scsi_priv.h" | 54 | #include "scsi_priv.h" |
55 | #include <scsi/scsi_cmnd.h> | ||
56 | #include <scsi/scsi_host.h> | 56 | #include <scsi/scsi_host.h> |
57 | #include <linux/libata.h> | 57 | #include <linux/libata.h> |
58 | #include <asm/io.h> | 58 | #include <asm/io.h> |
@@ -1144,7 +1144,7 @@ retry: | |||
1144 | * ATA software reset (SRST, the default) does not appear | 1144 | * ATA software reset (SRST, the default) does not appear |
1145 | * to have this problem. | 1145 | * to have this problem. |
1146 | */ | 1146 | */ |
1147 | if ((using_edd) && (qc->tf.command == ATA_CMD_ID_ATA)) { | 1147 | if ((using_edd) && (dev->class == ATA_DEV_ATA)) { |
1148 | u8 err = qc->tf.feature; | 1148 | u8 err = qc->tf.feature; |
1149 | if (err & ATA_ABORTED) { | 1149 | if (err & ATA_ABORTED) { |
1150 | dev->class = ATA_DEV_ATAPI; | 1150 | dev->class = ATA_DEV_ATAPI; |
@@ -2713,7 +2713,7 @@ static int ata_sg_setup(struct ata_queued_cmd *qc) | |||
2713 | /** | 2713 | /** |
2714 | * ata_poll_qc_complete - turn irq back on and finish qc | 2714 | * ata_poll_qc_complete - turn irq back on and finish qc |
2715 | * @qc: Command to complete | 2715 | * @qc: Command to complete |
2716 | * @drv_stat: ATA status register content | 2716 | * @err_mask: ATA status register content |
2717 | * | 2717 | * |
2718 | * LOCKING: | 2718 | * LOCKING: |
2719 | * None. (grabs host lock) | 2719 | * None. (grabs host lock) |
@@ -2747,7 +2747,6 @@ static unsigned long ata_pio_poll(struct ata_port *ap) | |||
2747 | u8 status; | 2747 | u8 status; |
2748 | unsigned int poll_state = HSM_ST_UNKNOWN; | 2748 | unsigned int poll_state = HSM_ST_UNKNOWN; |
2749 | unsigned int reg_state = HSM_ST_UNKNOWN; | 2749 | unsigned int reg_state = HSM_ST_UNKNOWN; |
2750 | const unsigned int tmout_state = HSM_ST_TMOUT; | ||
2751 | 2750 | ||
2752 | switch (ap->hsm_task_state) { | 2751 | switch (ap->hsm_task_state) { |
2753 | case HSM_ST: | 2752 | case HSM_ST: |
@@ -2768,7 +2767,7 @@ static unsigned long ata_pio_poll(struct ata_port *ap) | |||
2768 | status = ata_chk_status(ap); | 2767 | status = ata_chk_status(ap); |
2769 | if (status & ATA_BUSY) { | 2768 | if (status & ATA_BUSY) { |
2770 | if (time_after(jiffies, ap->pio_task_timeout)) { | 2769 | if (time_after(jiffies, ap->pio_task_timeout)) { |
2771 | ap->hsm_task_state = tmout_state; | 2770 | ap->hsm_task_state = HSM_ST_TMOUT; |
2772 | return 0; | 2771 | return 0; |
2773 | } | 2772 | } |
2774 | ap->hsm_task_state = poll_state; | 2773 | ap->hsm_task_state = poll_state; |
@@ -3478,7 +3477,7 @@ void ata_qc_free(struct ata_queued_cmd *qc) | |||
3478 | /** | 3477 | /** |
3479 | * ata_qc_complete - Complete an active ATA command | 3478 | * ata_qc_complete - Complete an active ATA command |
3480 | * @qc: Command to complete | 3479 | * @qc: Command to complete |
3481 | * @drv_stat: ATA Status register contents | 3480 | * @err_mask: ATA Status register contents |
3482 | * | 3481 | * |
3483 | * Indicate to the mid and upper layers that an ATA | 3482 | * Indicate to the mid and upper layers that an ATA |
3484 | * command has completed, with either an ok or not-ok status. | 3483 | * command has completed, with either an ok or not-ok status. |
diff --git a/drivers/scsi/libata-scsi.c b/drivers/scsi/libata-scsi.c index eb604b0a8990..bb30fcdc9297 100644 --- a/drivers/scsi/libata-scsi.c +++ b/drivers/scsi/libata-scsi.c | |||
@@ -37,9 +37,9 @@ | |||
37 | #include <linux/blkdev.h> | 37 | #include <linux/blkdev.h> |
38 | #include <linux/spinlock.h> | 38 | #include <linux/spinlock.h> |
39 | #include <scsi/scsi.h> | 39 | #include <scsi/scsi.h> |
40 | #include "scsi.h" | ||
41 | #include <scsi/scsi_host.h> | 40 | #include <scsi/scsi_host.h> |
42 | #include <scsi/scsi_device.h> | 41 | #include <scsi/scsi_device.h> |
42 | #include <scsi/scsi_request.h> | ||
43 | #include <linux/libata.h> | 43 | #include <linux/libata.h> |
44 | #include <linux/hdreg.h> | 44 | #include <linux/hdreg.h> |
45 | #include <asm/uaccess.h> | 45 | #include <asm/uaccess.h> |
@@ -131,7 +131,7 @@ int ata_std_bios_param(struct scsi_device *sdev, struct block_device *bdev, | |||
131 | 131 | ||
132 | /** | 132 | /** |
133 | * ata_cmd_ioctl - Handler for HDIO_DRIVE_CMD ioctl | 133 | * ata_cmd_ioctl - Handler for HDIO_DRIVE_CMD ioctl |
134 | * @dev: Device to whom we are issuing command | 134 | * @scsidev: Device to which we are issuing command |
135 | * @arg: User provided data for issuing command | 135 | * @arg: User provided data for issuing command |
136 | * | 136 | * |
137 | * LOCKING: | 137 | * LOCKING: |
@@ -217,7 +217,7 @@ error: | |||
217 | 217 | ||
218 | /** | 218 | /** |
219 | * ata_task_ioctl - Handler for HDIO_DRIVE_TASK ioctl | 219 | * ata_task_ioctl - Handler for HDIO_DRIVE_TASK ioctl |
220 | * @dev: Device to whom we are issuing command | 220 | * @scsidev: Device to which we are issuing command |
221 | * @arg: User provided data for issuing command | 221 | * @arg: User provided data for issuing command |
222 | * | 222 | * |
223 | * LOCKING: | 223 | * LOCKING: |
@@ -416,6 +416,7 @@ void ata_dump_status(unsigned id, struct ata_taskfile *tf) | |||
416 | 416 | ||
417 | /** | 417 | /** |
418 | * ata_to_sense_error - convert ATA error to SCSI error | 418 | * ata_to_sense_error - convert ATA error to SCSI error |
419 | * @id: ATA device number | ||
419 | * @drv_stat: value contained in ATA status register | 420 | * @drv_stat: value contained in ATA status register |
420 | * @drv_err: value contained in ATA error register | 421 | * @drv_err: value contained in ATA error register |
421 | * @sk: the sense key we'll fill out | 422 | * @sk: the sense key we'll fill out |
@@ -2231,7 +2232,7 @@ ata_scsi_map_proto(u8 byte1) | |||
2231 | /** | 2232 | /** |
2232 | * ata_scsi_pass_thru - convert ATA pass-thru CDB to taskfile | 2233 | * ata_scsi_pass_thru - convert ATA pass-thru CDB to taskfile |
2233 | * @qc: command structure to be initialized | 2234 | * @qc: command structure to be initialized |
2234 | * @cmd: SCSI command to convert | 2235 | * @scsicmd: SCSI command to convert |
2235 | * | 2236 | * |
2236 | * Handles either 12 or 16-byte versions of the CDB. | 2237 | * Handles either 12 or 16-byte versions of the CDB. |
2237 | * | 2238 | * |
diff --git a/drivers/scsi/megaraid/mega_common.h b/drivers/scsi/megaraid/mega_common.h index 5accdee9bbfb..4675343228ad 100644 --- a/drivers/scsi/megaraid/mega_common.h +++ b/drivers/scsi/megaraid/mega_common.h | |||
@@ -25,7 +25,6 @@ | |||
25 | #include <linux/delay.h> | 25 | #include <linux/delay.h> |
26 | #include <linux/blkdev.h> | 26 | #include <linux/blkdev.h> |
27 | #include <linux/list.h> | 27 | #include <linux/list.h> |
28 | #include <linux/version.h> | ||
29 | #include <linux/moduleparam.h> | 28 | #include <linux/moduleparam.h> |
30 | #include <linux/dma-mapping.h> | 29 | #include <linux/dma-mapping.h> |
31 | #include <asm/semaphore.h> | 30 | #include <asm/semaphore.h> |
diff --git a/drivers/scsi/megaraid/megaraid_mm.h b/drivers/scsi/megaraid/megaraid_mm.h index 7e36c46e7c43..eb8c390a0fa3 100644 --- a/drivers/scsi/megaraid/megaraid_mm.h +++ b/drivers/scsi/megaraid/megaraid_mm.h | |||
@@ -18,7 +18,6 @@ | |||
18 | #include <linux/spinlock.h> | 18 | #include <linux/spinlock.h> |
19 | #include <linux/fs.h> | 19 | #include <linux/fs.h> |
20 | #include <asm/uaccess.h> | 20 | #include <asm/uaccess.h> |
21 | #include <linux/version.h> | ||
22 | #include <linux/module.h> | 21 | #include <linux/module.h> |
23 | #include <linux/moduleparam.h> | 22 | #include <linux/moduleparam.h> |
24 | #include <linux/pci.h> | 23 | #include <linux/pci.h> |
diff --git a/drivers/scsi/megaraid/megaraid_sas.c b/drivers/scsi/megaraid/megaraid_sas.c index 2463f47adfda..3c32e69afcd9 100644 --- a/drivers/scsi/megaraid/megaraid_sas.c +++ b/drivers/scsi/megaraid/megaraid_sas.c | |||
@@ -26,7 +26,6 @@ | |||
26 | #include <linux/types.h> | 26 | #include <linux/types.h> |
27 | #include <linux/pci.h> | 27 | #include <linux/pci.h> |
28 | #include <linux/list.h> | 28 | #include <linux/list.h> |
29 | #include <linux/version.h> | ||
30 | #include <linux/moduleparam.h> | 29 | #include <linux/moduleparam.h> |
31 | #include <linux/module.h> | 30 | #include <linux/module.h> |
32 | #include <linux/spinlock.h> | 31 | #include <linux/spinlock.h> |
diff --git a/drivers/scsi/mvme147.c b/drivers/scsi/mvme147.c index c44382d6ae5d..cb367c2c5c78 100644 --- a/drivers/scsi/mvme147.c +++ b/drivers/scsi/mvme147.c | |||
@@ -2,7 +2,6 @@ | |||
2 | #include <linux/mm.h> | 2 | #include <linux/mm.h> |
3 | #include <linux/blkdev.h> | 3 | #include <linux/blkdev.h> |
4 | #include <linux/sched.h> | 4 | #include <linux/sched.h> |
5 | #include <linux/version.h> | ||
6 | #include <linux/interrupt.h> | 5 | #include <linux/interrupt.h> |
7 | 6 | ||
8 | #include <asm/page.h> | 7 | #include <asm/page.h> |
diff --git a/drivers/scsi/mvme16x.c b/drivers/scsi/mvme16x.c index 9b43dc4148f5..890e9e232dab 100644 --- a/drivers/scsi/mvme16x.c +++ b/drivers/scsi/mvme16x.c | |||
@@ -7,7 +7,6 @@ | |||
7 | #include <linux/mm.h> | 7 | #include <linux/mm.h> |
8 | #include <linux/blkdev.h> | 8 | #include <linux/blkdev.h> |
9 | #include <linux/sched.h> | 9 | #include <linux/sched.h> |
10 | #include <linux/version.h> | ||
11 | 10 | ||
12 | #include <asm/page.h> | 11 | #include <asm/page.h> |
13 | #include <asm/pgtable.h> | 12 | #include <asm/pgtable.h> |
diff --git a/drivers/scsi/nsp32.h b/drivers/scsi/nsp32.h index 5664398fa0ad..5addf9fb1e15 100644 --- a/drivers/scsi/nsp32.h +++ b/drivers/scsi/nsp32.h | |||
@@ -16,6 +16,7 @@ | |||
16 | #ifndef _NSP32_H | 16 | #ifndef _NSP32_H |
17 | #define _NSP32_H | 17 | #define _NSP32_H |
18 | 18 | ||
19 | #include <linux/version.h> | ||
19 | //#define NSP32_DEBUG 9 | 20 | //#define NSP32_DEBUG 9 |
20 | 21 | ||
21 | /* | 22 | /* |
diff --git a/drivers/scsi/pci2000.h b/drivers/scsi/pci2000.h index f945a4232e5d..0ebd8ce9e1de 100644 --- a/drivers/scsi/pci2000.h +++ b/drivers/scsi/pci2000.h | |||
@@ -26,9 +26,6 @@ | |||
26 | #ifndef PSI_EIDE_SCSIOP | 26 | #ifndef PSI_EIDE_SCSIOP |
27 | #define PSI_EIDE_SCSIOP 1 | 27 | #define PSI_EIDE_SCSIOP 1 |
28 | 28 | ||
29 | #ifndef LINUX_VERSION_CODE | ||
30 | #include <linux/version.h> | ||
31 | #endif | ||
32 | #define LINUXVERSION(v,p,s) (((v)<<16) + ((p)<<8) + (s)) | 29 | #define LINUXVERSION(v,p,s) (((v)<<16) + ((p)<<8) + (s)) |
33 | 30 | ||
34 | /************************************************/ | 31 | /************************************************/ |
diff --git a/drivers/scsi/pdc_adma.c b/drivers/scsi/pdc_adma.c index 340ef38b4521..78b4ff117af6 100644 --- a/drivers/scsi/pdc_adma.c +++ b/drivers/scsi/pdc_adma.c | |||
@@ -41,7 +41,6 @@ | |||
41 | #include <linux/interrupt.h> | 41 | #include <linux/interrupt.h> |
42 | #include <linux/sched.h> | 42 | #include <linux/sched.h> |
43 | #include <linux/device.h> | 43 | #include <linux/device.h> |
44 | #include "scsi.h" | ||
45 | #include <scsi/scsi_host.h> | 44 | #include <scsi/scsi_host.h> |
46 | #include <asm/io.h> | 45 | #include <asm/io.h> |
47 | #include <linux/libata.h> | 46 | #include <linux/libata.h> |
diff --git a/drivers/scsi/sata_mv.c b/drivers/scsi/sata_mv.c index 1066c2610eb4..93d55233af7b 100644 --- a/drivers/scsi/sata_mv.c +++ b/drivers/scsi/sata_mv.c | |||
@@ -30,8 +30,8 @@ | |||
30 | #include <linux/sched.h> | 30 | #include <linux/sched.h> |
31 | #include <linux/dma-mapping.h> | 31 | #include <linux/dma-mapping.h> |
32 | #include <linux/device.h> | 32 | #include <linux/device.h> |
33 | #include "scsi.h" | ||
34 | #include <scsi/scsi_host.h> | 33 | #include <scsi/scsi_host.h> |
34 | #include <scsi/scsi_cmnd.h> | ||
35 | #include <linux/libata.h> | 35 | #include <linux/libata.h> |
36 | #include <asm/io.h> | 36 | #include <asm/io.h> |
37 | 37 | ||
diff --git a/drivers/scsi/sata_nv.c b/drivers/scsi/sata_nv.c index f57aa2607918..37a4fae95ed4 100644 --- a/drivers/scsi/sata_nv.c +++ b/drivers/scsi/sata_nv.c | |||
@@ -62,7 +62,6 @@ | |||
62 | #include <linux/delay.h> | 62 | #include <linux/delay.h> |
63 | #include <linux/interrupt.h> | 63 | #include <linux/interrupt.h> |
64 | #include <linux/device.h> | 64 | #include <linux/device.h> |
65 | #include "scsi.h" | ||
66 | #include <scsi/scsi_host.h> | 65 | #include <scsi/scsi_host.h> |
67 | #include <linux/libata.h> | 66 | #include <linux/libata.h> |
68 | 67 | ||
diff --git a/drivers/scsi/sata_promise.c b/drivers/scsi/sata_promise.c index 0bfb82b669d5..9edc9d91efc3 100644 --- a/drivers/scsi/sata_promise.c +++ b/drivers/scsi/sata_promise.c | |||
@@ -39,8 +39,8 @@ | |||
39 | #include <linux/interrupt.h> | 39 | #include <linux/interrupt.h> |
40 | #include <linux/sched.h> | 40 | #include <linux/sched.h> |
41 | #include <linux/device.h> | 41 | #include <linux/device.h> |
42 | #include "scsi.h" | ||
43 | #include <scsi/scsi_host.h> | 42 | #include <scsi/scsi_host.h> |
43 | #include <scsi/scsi_cmnd.h> | ||
44 | #include <linux/libata.h> | 44 | #include <linux/libata.h> |
45 | #include <asm/io.h> | 45 | #include <asm/io.h> |
46 | #include "sata_promise.h" | 46 | #include "sata_promise.h" |
diff --git a/drivers/scsi/sata_qstor.c b/drivers/scsi/sata_qstor.c index c9aed15c8f4d..d274ab235781 100644 --- a/drivers/scsi/sata_qstor.c +++ b/drivers/scsi/sata_qstor.c | |||
@@ -36,7 +36,6 @@ | |||
36 | #include <linux/interrupt.h> | 36 | #include <linux/interrupt.h> |
37 | #include <linux/sched.h> | 37 | #include <linux/sched.h> |
38 | #include <linux/device.h> | 38 | #include <linux/device.h> |
39 | #include "scsi.h" | ||
40 | #include <scsi/scsi_host.h> | 39 | #include <scsi/scsi_host.h> |
41 | #include <asm/io.h> | 40 | #include <asm/io.h> |
42 | #include <linux/libata.h> | 41 | #include <linux/libata.h> |
diff --git a/drivers/scsi/sata_sil.c b/drivers/scsi/sata_sil.c index 6c986a0824b1..d0e3c3c6c25f 100644 --- a/drivers/scsi/sata_sil.c +++ b/drivers/scsi/sata_sil.c | |||
@@ -42,7 +42,6 @@ | |||
42 | #include <linux/delay.h> | 42 | #include <linux/delay.h> |
43 | #include <linux/interrupt.h> | 43 | #include <linux/interrupt.h> |
44 | #include <linux/device.h> | 44 | #include <linux/device.h> |
45 | #include "scsi.h" | ||
46 | #include <scsi/scsi_host.h> | 45 | #include <scsi/scsi_host.h> |
47 | #include <linux/libata.h> | 46 | #include <linux/libata.h> |
48 | 47 | ||
diff --git a/drivers/scsi/sata_sil24.c b/drivers/scsi/sata_sil24.c index 0c2d2fd0ec76..4682a50650b4 100644 --- a/drivers/scsi/sata_sil24.c +++ b/drivers/scsi/sata_sil24.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #include <linux/dma-mapping.h> | 37 | #include <linux/dma-mapping.h> |
38 | #include <linux/device.h> | 38 | #include <linux/device.h> |
39 | #include <scsi/scsi_host.h> | 39 | #include <scsi/scsi_host.h> |
40 | #include "scsi.h" | 40 | #include <scsi/scsi_cmnd.h> |
41 | #include <linux/libata.h> | 41 | #include <linux/libata.h> |
42 | #include <asm/io.h> | 42 | #include <asm/io.h> |
43 | 43 | ||
diff --git a/drivers/scsi/sata_sis.c b/drivers/scsi/sata_sis.c index 223c835842e0..42d7c4e92501 100644 --- a/drivers/scsi/sata_sis.c +++ b/drivers/scsi/sata_sis.c | |||
@@ -39,7 +39,6 @@ | |||
39 | #include <linux/delay.h> | 39 | #include <linux/delay.h> |
40 | #include <linux/interrupt.h> | 40 | #include <linux/interrupt.h> |
41 | #include <linux/device.h> | 41 | #include <linux/device.h> |
42 | #include "scsi.h" | ||
43 | #include <scsi/scsi_host.h> | 42 | #include <scsi/scsi_host.h> |
44 | #include <linux/libata.h> | 43 | #include <linux/libata.h> |
45 | 44 | ||
diff --git a/drivers/scsi/sata_svw.c b/drivers/scsi/sata_svw.c index 86644f91f898..9895d1caefcf 100644 --- a/drivers/scsi/sata_svw.c +++ b/drivers/scsi/sata_svw.c | |||
@@ -45,7 +45,6 @@ | |||
45 | #include <linux/delay.h> | 45 | #include <linux/delay.h> |
46 | #include <linux/interrupt.h> | 46 | #include <linux/interrupt.h> |
47 | #include <linux/device.h> | 47 | #include <linux/device.h> |
48 | #include "scsi.h" | ||
49 | #include <scsi/scsi_host.h> | 48 | #include <scsi/scsi_host.h> |
50 | #include <linux/libata.h> | 49 | #include <linux/libata.h> |
51 | 50 | ||
diff --git a/drivers/scsi/sata_sx4.c b/drivers/scsi/sata_sx4.c index 8e79745e4e9f..d5a38784352b 100644 --- a/drivers/scsi/sata_sx4.c +++ b/drivers/scsi/sata_sx4.c | |||
@@ -39,8 +39,8 @@ | |||
39 | #include <linux/interrupt.h> | 39 | #include <linux/interrupt.h> |
40 | #include <linux/sched.h> | 40 | #include <linux/sched.h> |
41 | #include <linux/device.h> | 41 | #include <linux/device.h> |
42 | #include "scsi.h" | ||
43 | #include <scsi/scsi_host.h> | 42 | #include <scsi/scsi_host.h> |
43 | #include <scsi/scsi_cmnd.h> | ||
44 | #include <linux/libata.h> | 44 | #include <linux/libata.h> |
45 | #include <asm/io.h> | 45 | #include <asm/io.h> |
46 | #include "sata_promise.h" | 46 | #include "sata_promise.h" |
diff --git a/drivers/scsi/sata_uli.c b/drivers/scsi/sata_uli.c index 8c1d71495bd5..cf0baaa4e045 100644 --- a/drivers/scsi/sata_uli.c +++ b/drivers/scsi/sata_uli.c | |||
@@ -33,7 +33,6 @@ | |||
33 | #include <linux/delay.h> | 33 | #include <linux/delay.h> |
34 | #include <linux/interrupt.h> | 34 | #include <linux/interrupt.h> |
35 | #include <linux/device.h> | 35 | #include <linux/device.h> |
36 | #include "scsi.h" | ||
37 | #include <scsi/scsi_host.h> | 36 | #include <scsi/scsi_host.h> |
38 | #include <linux/libata.h> | 37 | #include <linux/libata.h> |
39 | 38 | ||
diff --git a/drivers/scsi/sata_via.c b/drivers/scsi/sata_via.c index 09d3d96de0c3..ab19d2ba2a4b 100644 --- a/drivers/scsi/sata_via.c +++ b/drivers/scsi/sata_via.c | |||
@@ -42,7 +42,6 @@ | |||
42 | #include <linux/blkdev.h> | 42 | #include <linux/blkdev.h> |
43 | #include <linux/delay.h> | 43 | #include <linux/delay.h> |
44 | #include <linux/device.h> | 44 | #include <linux/device.h> |
45 | #include "scsi.h" | ||
46 | #include <scsi/scsi_host.h> | 45 | #include <scsi/scsi_host.h> |
47 | #include <linux/libata.h> | 46 | #include <linux/libata.h> |
48 | #include <asm/io.h> | 47 | #include <asm/io.h> |
diff --git a/drivers/scsi/sata_vsc.c b/drivers/scsi/sata_vsc.c index bbc3d8abbd64..ce8a2fd7da84 100644 --- a/drivers/scsi/sata_vsc.c +++ b/drivers/scsi/sata_vsc.c | |||
@@ -43,7 +43,6 @@ | |||
43 | #include <linux/interrupt.h> | 43 | #include <linux/interrupt.h> |
44 | #include <linux/dma-mapping.h> | 44 | #include <linux/dma-mapping.h> |
45 | #include <linux/device.h> | 45 | #include <linux/device.h> |
46 | #include "scsi.h" | ||
47 | #include <scsi/scsi_host.h> | 46 | #include <scsi/scsi_host.h> |
48 | #include <linux/libata.h> | 47 | #include <linux/libata.h> |
49 | 48 | ||
diff --git a/drivers/scsi/scsi_debug.c b/drivers/scsi/scsi_debug.c index 9eb08b15c0b1..3ded9daaf4a0 100644 --- a/drivers/scsi/scsi_debug.c +++ b/drivers/scsi/scsi_debug.c | |||
@@ -48,10 +48,6 @@ | |||
48 | 48 | ||
49 | #include <linux/stat.h> | 49 | #include <linux/stat.h> |
50 | 50 | ||
51 | #ifndef LINUX_VERSION_CODE | ||
52 | #include <linux/version.h> | ||
53 | #endif | ||
54 | |||
55 | #include "scsi_logging.h" | 51 | #include "scsi_logging.h" |
56 | #include "scsi_debug.h" | 52 | #include "scsi_debug.h" |
57 | 53 | ||
diff --git a/drivers/scsi/sg.c b/drivers/scsi/sg.c index 62e3f340cc52..72ec59456e69 100644 --- a/drivers/scsi/sg.c +++ b/drivers/scsi/sg.c | |||
@@ -68,10 +68,6 @@ static int sg_proc_init(void); | |||
68 | static void sg_proc_cleanup(void); | 68 | static void sg_proc_cleanup(void); |
69 | #endif | 69 | #endif |
70 | 70 | ||
71 | #ifndef LINUX_VERSION_CODE | ||
72 | #include <linux/version.h> | ||
73 | #endif /* LINUX_VERSION_CODE */ | ||
74 | |||
75 | #define SG_ALLOW_DIO_DEF 0 | 71 | #define SG_ALLOW_DIO_DEF 0 |
76 | #define SG_ALLOW_DIO_CODE /* compile out by commenting this define */ | 72 | #define SG_ALLOW_DIO_CODE /* compile out by commenting this define */ |
77 | 73 | ||
diff --git a/drivers/scsi/sgiwd93.c b/drivers/scsi/sgiwd93.c index 0a0d8a908c74..bf2ceb54354c 100644 --- a/drivers/scsi/sgiwd93.c +++ b/drivers/scsi/sgiwd93.c | |||
@@ -15,7 +15,6 @@ | |||
15 | #include <linux/types.h> | 15 | #include <linux/types.h> |
16 | #include <linux/mm.h> | 16 | #include <linux/mm.h> |
17 | #include <linux/blkdev.h> | 17 | #include <linux/blkdev.h> |
18 | #include <linux/version.h> | ||
19 | #include <linux/delay.h> | 18 | #include <linux/delay.h> |
20 | #include <linux/dma-mapping.h> | 19 | #include <linux/dma-mapping.h> |
21 | #include <linux/spinlock.h> | 20 | #include <linux/spinlock.h> |
diff --git a/drivers/scsi/wd33c93.c b/drivers/scsi/wd33c93.c index 5754445fb36a..fd63add6a577 100644 --- a/drivers/scsi/wd33c93.c +++ b/drivers/scsi/wd33c93.c | |||
@@ -77,7 +77,6 @@ | |||
77 | #include <linux/sched.h> | 77 | #include <linux/sched.h> |
78 | #include <linux/string.h> | 78 | #include <linux/string.h> |
79 | #include <linux/delay.h> | 79 | #include <linux/delay.h> |
80 | #include <linux/version.h> | ||
81 | #include <linux/init.h> | 80 | #include <linux/init.h> |
82 | #include <linux/blkdev.h> | 81 | #include <linux/blkdev.h> |
83 | #include <asm/irq.h> | 82 | #include <asm/irq.h> |