diff options
Diffstat (limited to 'drivers/ata/pata_ali.c')
-rw-r--r-- | drivers/ata/pata_ali.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/pata_ali.c b/drivers/ata/pata_ali.c index 0e0415ecfce7..8448ee6e0eed 100644 --- a/drivers/ata/pata_ali.c +++ b/drivers/ata/pata_ali.c | |||
@@ -184,7 +184,7 @@ static void ali_fifo_control(struct ata_port *ap, struct ata_device *adev, int o | |||
184 | /* ATA - FIFO on set nibble to 0x05, ATAPI - FIFO off, set nibble to | 184 | /* ATA - FIFO on set nibble to 0x05, ATAPI - FIFO off, set nibble to |
185 | 0x00. Not all the docs agree but the behaviour we now use is the | 185 | 0x00. Not all the docs agree but the behaviour we now use is the |
186 | one stated in the BIOS Programming Guide */ | 186 | one stated in the BIOS Programming Guide */ |
187 | 187 | ||
188 | pci_read_config_byte(pdev, pio_fifo, &fifo); | 188 | pci_read_config_byte(pdev, pio_fifo, &fifo); |
189 | fifo &= ~(0x0F << shift); | 189 | fifo &= ~(0x0F << shift); |
190 | if (on) | 190 | if (on) |
@@ -526,7 +526,7 @@ static int ali_init_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
526 | .sht = &ali_sht, | 526 | .sht = &ali_sht, |
527 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST | ATA_FLAG_PIO_LBA48, | 527 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST | ATA_FLAG_PIO_LBA48, |
528 | .pio_mask = 0x1f, | 528 | .pio_mask = 0x1f, |
529 | .mwdma_mask = 0x07, | 529 | .mwdma_mask = 0x07, |
530 | .udma_mask = 0x07, /* UDMA33 */ | 530 | .udma_mask = 0x07, /* UDMA33 */ |
531 | .port_ops = &ali_20_port_ops | 531 | .port_ops = &ali_20_port_ops |
532 | }; | 532 | }; |