summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_sil680.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-02-26 11:51:33 +0100
committerJeff Garzik <jeff@garzik.org>2007-02-26 11:51:33 +0100
commita84471fe269c38ea3725345c43ad64e5f489bea2 (patch)
tree0f07513cb4c072cd867292b389b50393b3ebe093 /drivers/ata/pata_sil680.c
parent[libata] sata_mv: Fix 50xx irq mask (diff)
downloadlinux-a84471fe269c38ea3725345c43ad64e5f489bea2.tar.xz
linux-a84471fe269c38ea3725345c43ad64e5f489bea2.zip
[libata] Trim trailing whitespace.
No code changes. Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/pata_sil680.c')
-rw-r--r--drivers/ata/pata_sil680.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/pata_sil680.c b/drivers/ata/pata_sil680.c
index 5f10a33f92f5..1cb67b221c28 100644
--- a/drivers/ata/pata_sil680.c
+++ b/drivers/ata/pata_sil680.c
@@ -157,10 +157,10 @@ static void sil680_set_piomode(struct ata_port *ap, struct ata_device *adev)
pci_read_config_word(pdev, tfaddr-2, &reg);
pci_read_config_byte(pdev, addr_mask, &mode);
-
+
reg &= ~0x0200; /* Clear IORDY */
mode &= ~(3 << port_shift); /* Clear IORDY and DMA bits */
-
+
if (ata_pio_need_iordy(adev)) {
reg |= 0x0200; /* Enable IORDY */
mode |= 1 << port_shift;