Commit c57cd56b authored by Linus Torvalds's avatar Linus Torvalds

Merge bk://gkernel.bkbits.net/libata-2.6

into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents e7c0c64e 7896c90e
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
#include <linux/blkdev.h> #include <linux/blkdev.h>
#include <linux/delay.h> #include <linux/delay.h>
#include "scsi.h" #include "scsi.h"
#include "hosts.h" #include <scsi/scsi_host.h>
#include <linux/libata.h> #include <linux/libata.h>
#define DRV_NAME "ata_piix" #define DRV_NAME "ata_piix"
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
#include <linux/workqueue.h> #include <linux/workqueue.h>
#include <scsi/scsi.h> #include <scsi/scsi.h>
#include "scsi.h" #include "scsi.h"
#include "hosts.h" #include <scsi/scsi_host.h>
#include <linux/libata.h> #include <linux/libata.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/semaphore.h> #include <asm/semaphore.h>
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#include <linux/spinlock.h> #include <linux/spinlock.h>
#include <scsi/scsi.h> #include <scsi/scsi.h>
#include "scsi.h" #include "scsi.h"
#include "hosts.h" #include <scsi/scsi_host.h>
#include <linux/libata.h> #include <linux/libata.h>
#include "libata.h" #include "libata.h"
...@@ -1156,6 +1156,7 @@ static void ata_scsi_simulate(struct ata_port *ap, struct ata_device *dev, ...@@ -1156,6 +1156,7 @@ static void ata_scsi_simulate(struct ata_port *ap, struct ata_device *dev,
switch(scsicmd[0]) { switch(scsicmd[0]) {
/* no-op's, complete with success */ /* no-op's, complete with success */
case SYNCHRONIZE_CACHE: /* FIXME: temporary */
case REZERO_UNIT: case REZERO_UNIT:
case SEEK_6: case SEEK_6:
case SEEK_10: case SEEK_10:
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <linux/sched.h> #include <linux/sched.h>
#include "scsi.h" #include "scsi.h"
#include "hosts.h" #include <scsi/scsi_host.h>
#include <linux/libata.h> #include <linux/libata.h>
#include <asm/io.h> #include <asm/io.h>
#include "sata_promise.h" #include "sata_promise.h"
...@@ -457,14 +457,14 @@ static void pdc_dma_start(struct ata_queued_cmd *qc) ...@@ -457,14 +457,14 @@ static void pdc_dma_start(struct ata_queued_cmd *qc)
static void pdc_tf_load_mmio(struct ata_port *ap, struct ata_taskfile *tf) static void pdc_tf_load_mmio(struct ata_port *ap, struct ata_taskfile *tf)
{ {
if (tf->protocol == ATA_PROT_PIO) if (tf->protocol != ATA_PROT_DMA)
ata_tf_load_mmio(ap, tf); ata_tf_load_mmio(ap, tf);
} }
static void pdc_exec_command_mmio(struct ata_port *ap, struct ata_taskfile *tf) static void pdc_exec_command_mmio(struct ata_port *ap, struct ata_taskfile *tf)
{ {
if (tf->protocol == ATA_PROT_PIO) if (tf->protocol != ATA_PROT_DMA)
ata_exec_command_mmio(ap, tf); ata_exec_command_mmio(ap, tf);
} }
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include "scsi.h" #include "scsi.h"
#include "hosts.h" #include <scsi/scsi_host.h>
#include <linux/libata.h> #include <linux/libata.h>
#define DRV_NAME "sata_sil" #define DRV_NAME "sata_sil"
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include "scsi.h" #include "scsi.h"
#include "hosts.h" #include <scsi/scsi_host.h>
#include <linux/libata.h> #include <linux/libata.h>
#define DRV_NAME "sata_sis" #define DRV_NAME "sata_sis"
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include "scsi.h" #include "scsi.h"
#include "hosts.h" #include <scsi/scsi_host.h>
#include <linux/libata.h> #include <linux/libata.h>
#ifdef CONFIG_PPC_OF #ifdef CONFIG_PPC_OF
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <linux/sched.h> #include <linux/sched.h>
#include "scsi.h" #include "scsi.h"
#include "hosts.h" #include <scsi/scsi_host.h>
#include <linux/libata.h> #include <linux/libata.h>
#include <asm/io.h> #include <asm/io.h>
#include "sata_promise.h" #include "sata_promise.h"
...@@ -826,14 +826,14 @@ static void pdc_eng_timeout(struct ata_port *ap) ...@@ -826,14 +826,14 @@ static void pdc_eng_timeout(struct ata_port *ap)
static void pdc_tf_load_mmio(struct ata_port *ap, struct ata_taskfile *tf) static void pdc_tf_load_mmio(struct ata_port *ap, struct ata_taskfile *tf)
{ {
if (tf->protocol == ATA_PROT_PIO) if (tf->protocol != ATA_PROT_DMA)
ata_tf_load_mmio(ap, tf); ata_tf_load_mmio(ap, tf);
} }
static void pdc_exec_command_mmio(struct ata_port *ap, struct ata_taskfile *tf) static void pdc_exec_command_mmio(struct ata_port *ap, struct ata_taskfile *tf)
{ {
if (tf->protocol == ATA_PROT_PIO) if (tf->protocol != ATA_PROT_DMA)
ata_exec_command_mmio(ap, tf); ata_exec_command_mmio(ap, tf);
} }
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
#include <linux/blkdev.h> #include <linux/blkdev.h>
#include <linux/delay.h> #include <linux/delay.h>
#include "scsi.h" #include "scsi.h"
#include "hosts.h" #include <scsi/scsi_host.h>
#include <linux/libata.h> #include <linux/libata.h>
#include <asm/io.h> #include <asm/io.h>
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include "scsi.h" #include "scsi.h"
#include "hosts.h" #include <scsi/scsi_host.h>
#include <linux/libata.h> #include <linux/libata.h>
#define DRV_NAME "sata_vsc" #define DRV_NAME "sata_vsc"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment