diff options
Diffstat (limited to 'drivers/ata/pata_serverworks.c')
-rw-r--r-- | drivers/ata/pata_serverworks.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ata/pata_serverworks.c b/drivers/ata/pata_serverworks.c index 9524d54035f7..43ea389df2b3 100644 --- a/drivers/ata/pata_serverworks.c +++ b/drivers/ata/pata_serverworks.c | |||
@@ -198,7 +198,7 @@ static unsigned long serverworks_osb4_filter(struct ata_device *adev, unsigned l | |||
198 | { | 198 | { |
199 | if (adev->class == ATA_DEV_ATA) | 199 | if (adev->class == ATA_DEV_ATA) |
200 | mask &= ~ATA_MASK_UDMA; | 200 | mask &= ~ATA_MASK_UDMA; |
201 | return ata_bmdma_mode_filter(adev, mask); | 201 | return mask; |
202 | } | 202 | } |
203 | 203 | ||
204 | 204 | ||
@@ -218,7 +218,7 @@ static unsigned long serverworks_csb_filter(struct ata_device *adev, unsigned lo | |||
218 | 218 | ||
219 | /* Disk, UDMA */ | 219 | /* Disk, UDMA */ |
220 | if (adev->class != ATA_DEV_ATA) | 220 | if (adev->class != ATA_DEV_ATA) |
221 | return ata_bmdma_mode_filter(adev, mask); | 221 | return mask; |
222 | 222 | ||
223 | /* Actually do need to check */ | 223 | /* Actually do need to check */ |
224 | ata_id_c_string(adev->id, model_num, ATA_ID_PROD, sizeof(model_num)); | 224 | ata_id_c_string(adev->id, model_num, ATA_ID_PROD, sizeof(model_num)); |
@@ -227,7 +227,7 @@ static unsigned long serverworks_csb_filter(struct ata_device *adev, unsigned lo | |||
227 | if (!strcmp(p, model_num)) | 227 | if (!strcmp(p, model_num)) |
228 | mask &= ~(0xE0 << ATA_SHIFT_UDMA); | 228 | mask &= ~(0xE0 << ATA_SHIFT_UDMA); |
229 | } | 229 | } |
230 | return ata_bmdma_mode_filter(adev, mask); | 230 | return mask; |
231 | } | 231 | } |
232 | 232 | ||
233 | /** | 233 | /** |