diff options
Diffstat (limited to 'drivers/ata/pata_cmd64x.c')
-rw-r--r-- | drivers/ata/pata_cmd64x.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/ata/pata_cmd64x.c b/drivers/ata/pata_cmd64x.c index 3167d8fed2f2..f98dffedf4bc 100644 --- a/drivers/ata/pata_cmd64x.c +++ b/drivers/ata/pata_cmd64x.c | |||
@@ -299,40 +299,40 @@ static int cmd64x_init_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
299 | static const struct ata_port_info cmd_info[6] = { | 299 | static const struct ata_port_info cmd_info[6] = { |
300 | { /* CMD 643 - no UDMA */ | 300 | { /* CMD 643 - no UDMA */ |
301 | .flags = ATA_FLAG_SLAVE_POSS, | 301 | .flags = ATA_FLAG_SLAVE_POSS, |
302 | .pio_mask = 0x1f, | 302 | .pio_mask = ATA_PIO4, |
303 | .mwdma_mask = 0x07, | 303 | .mwdma_mask = ATA_MWDMA2, |
304 | .port_ops = &cmd64x_port_ops | 304 | .port_ops = &cmd64x_port_ops |
305 | }, | 305 | }, |
306 | { /* CMD 646 with broken UDMA */ | 306 | { /* CMD 646 with broken UDMA */ |
307 | .flags = ATA_FLAG_SLAVE_POSS, | 307 | .flags = ATA_FLAG_SLAVE_POSS, |
308 | .pio_mask = 0x1f, | 308 | .pio_mask = ATA_PIO4, |
309 | .mwdma_mask = 0x07, | 309 | .mwdma_mask = ATA_MWDMA2, |
310 | .port_ops = &cmd64x_port_ops | 310 | .port_ops = &cmd64x_port_ops |
311 | }, | 311 | }, |
312 | { /* CMD 646 with working UDMA */ | 312 | { /* CMD 646 with working UDMA */ |
313 | .flags = ATA_FLAG_SLAVE_POSS, | 313 | .flags = ATA_FLAG_SLAVE_POSS, |
314 | .pio_mask = 0x1f, | 314 | .pio_mask = ATA_PIO4, |
315 | .mwdma_mask = 0x07, | 315 | .mwdma_mask = ATA_MWDMA2, |
316 | .udma_mask = ATA_UDMA2, | 316 | .udma_mask = ATA_UDMA2, |
317 | .port_ops = &cmd64x_port_ops | 317 | .port_ops = &cmd64x_port_ops |
318 | }, | 318 | }, |
319 | { /* CMD 646 rev 1 */ | 319 | { /* CMD 646 rev 1 */ |
320 | .flags = ATA_FLAG_SLAVE_POSS, | 320 | .flags = ATA_FLAG_SLAVE_POSS, |
321 | .pio_mask = 0x1f, | 321 | .pio_mask = ATA_PIO4, |
322 | .mwdma_mask = 0x07, | 322 | .mwdma_mask = ATA_MWDMA2, |
323 | .port_ops = &cmd646r1_port_ops | 323 | .port_ops = &cmd646r1_port_ops |
324 | }, | 324 | }, |
325 | { /* CMD 648 */ | 325 | { /* CMD 648 */ |
326 | .flags = ATA_FLAG_SLAVE_POSS, | 326 | .flags = ATA_FLAG_SLAVE_POSS, |
327 | .pio_mask = 0x1f, | 327 | .pio_mask = ATA_PIO4, |
328 | .mwdma_mask = 0x07, | 328 | .mwdma_mask = ATA_MWDMA2, |
329 | .udma_mask = ATA_UDMA4, | 329 | .udma_mask = ATA_UDMA4, |
330 | .port_ops = &cmd648_port_ops | 330 | .port_ops = &cmd648_port_ops |
331 | }, | 331 | }, |
332 | { /* CMD 649 */ | 332 | { /* CMD 649 */ |
333 | .flags = ATA_FLAG_SLAVE_POSS, | 333 | .flags = ATA_FLAG_SLAVE_POSS, |
334 | .pio_mask = 0x1f, | 334 | .pio_mask = ATA_PIO4, |
335 | .mwdma_mask = 0x07, | 335 | .mwdma_mask = ATA_MWDMA2, |
336 | .udma_mask = ATA_UDMA5, | 336 | .udma_mask = ATA_UDMA5, |
337 | .port_ops = &cmd648_port_ops | 337 | .port_ops = &cmd648_port_ops |
338 | } | 338 | } |