Fix support for HPT controllers they where always left in PIO mode.
Amazing what a ';' can do :/
This commit is contained in:
parent
1fa4dd2f14
commit
638914f17d
@ -697,7 +697,7 @@ ata_highpoint_setmode(struct ata_device *atadev, int mode)
|
||||
|
||||
mode = ata_limit_mode(atadev, mode, ctlr->chip->max_dma);
|
||||
|
||||
if (ctlr->chip->cfg1 == HPT366 && ATAPI_DEVICE(atadev));
|
||||
if (ctlr->chip->cfg1 == HPT366 && ATAPI_DEVICE(atadev))
|
||||
mode = ata_limit_mode(atadev, mode, ATA_PIO_MAX);
|
||||
|
||||
mode = ata_highpoint_check_80pin(atadev, mode);
|
||||
|
Loading…
Reference in New Issue
Block a user