From: Andrew Morton Signed-off-by: Andrew Morton --- drivers/scsi/sata_sil24.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -puN drivers/scsi/sata_sil24.c~revert-sata_sil24-sii3124-sata-driver-endian-problem drivers/scsi/sata_sil24.c --- devel/drivers/scsi/sata_sil24.c~revert-sata_sil24-sii3124-sata-driver-endian-problem 2006-06-09 15:17:13.000000000 -0700 +++ devel-akpm/drivers/scsi/sata_sil24.c 2006-06-09 15:17:13.000000000 -0700 @@ -454,7 +454,7 @@ static int sil24_softreset(struct ata_po */ msleep(10); - prb->ctrl = cpu_to_le16(PRB_CTRL_SRST); + prb->ctrl = PRB_CTRL_SRST; prb->fis[1] = 0; /* no PM yet */ writel((u32)paddr, port + PORT_CMD_ACTIVATE); @@ -551,9 +551,9 @@ static void sil24_qc_prep(struct ata_que if (qc->tf.protocol != ATA_PROT_ATAPI_NODATA) { if (qc->tf.flags & ATA_TFLAG_WRITE) - prb->ctrl = cpu_to_le16(PRB_CTRL_PACKET_WRITE); + prb->ctrl = PRB_CTRL_PACKET_WRITE; else - prb->ctrl = cpu_to_le16(PRB_CTRL_PACKET_READ); + prb->ctrl = PRB_CTRL_PACKET_READ; } else prb->ctrl = 0; _