diff options
Diffstat (limited to 'drivers/ide/pci/hpt366.c')
-rw-r--r-- | drivers/ide/pci/hpt366.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/pci/hpt366.c b/drivers/ide/pci/hpt366.c index d706eb6b8acd..9056e3acc78b 100644 --- a/drivers/ide/pci/hpt366.c +++ b/drivers/ide/pci/hpt366.c | |||
@@ -654,7 +654,7 @@ static u8 hpt3xx_udma_filter(ide_drive_t *drive) | |||
654 | case HPT372A: | 654 | case HPT372A: |
655 | case HPT372N: | 655 | case HPT372N: |
656 | case HPT374 : | 656 | case HPT374 : |
657 | if (ide_dev_is_sata(drive->id)) | 657 | if (ata_id_is_sata(drive->id)) |
658 | mask &= ~0x0e; | 658 | mask &= ~0x0e; |
659 | /* Fall thru */ | 659 | /* Fall thru */ |
660 | default: | 660 | default: |
@@ -674,7 +674,7 @@ static u8 hpt3xx_mdma_filter(ide_drive_t *drive) | |||
674 | case HPT372A: | 674 | case HPT372A: |
675 | case HPT372N: | 675 | case HPT372N: |
676 | case HPT374 : | 676 | case HPT374 : |
677 | if (ide_dev_is_sata(drive->id)) | 677 | if (ata_id_is_sata(drive->id)) |
678 | return 0x00; | 678 | return 0x00; |
679 | /* Fall thru */ | 679 | /* Fall thru */ |
680 | default: | 680 | default: |