set_features() is now called from ata_power_on()

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4309 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2004-02-17 01:30:25 +00:00
parent 7bd92239ca
commit 867415b3f8

View file

@ -757,11 +757,15 @@ static int ata_power_on(void)
if( ata_hard_reset() )
return -1;
rc = set_features();
if (rc)
return rc * 10 - 2;
if (set_multiple_mode(multisectors))
return -2;
return -3;
if (freeze_lock())
return -3;
return -4;
return 0;
}