diff options
Diffstat (limited to 'drivers/ata/pata_sis.c')
-rw-r--r-- | drivers/ata/pata_sis.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/ata/pata_sis.c b/drivers/ata/pata_sis.c index 74a021124f3c..9a829a7cbc60 100644 --- a/drivers/ata/pata_sis.c +++ b/drivers/ata/pata_sis.c | |||
@@ -149,6 +149,9 @@ static int sis_pre_reset(struct ata_port *ap, unsigned long deadline) | |||
149 | if (!pci_test_config_bits(pdev, &sis_enable_bits[ap->port_no])) | 149 | if (!pci_test_config_bits(pdev, &sis_enable_bits[ap->port_no])) |
150 | return -ENOENT; | 150 | return -ENOENT; |
151 | 151 | ||
152 | /* Clear the FIFO settings. We can't enable the FIFO until | ||
153 | we know we are poking at a disk */ | ||
154 | pci_write_config_byte(pdev, 0x4B, 0); | ||
152 | return ata_std_prereset(ap, deadline); | 155 | return ata_std_prereset(ap, deadline); |
153 | } | 156 | } |
154 | 157 | ||