sdiahci: force Hudson SATA Controller to AHCI mode

This commit is contained in:
cinap_lenrek 2019-10-08 13:53:57 +02:00
parent 6716e9ba20
commit db911d4fef
2 changed files with 3 additions and 2 deletions

View file

@ -2102,8 +2102,10 @@ didtype(Pcidev *p)
break;
case 0x1022:
/* Hudson SATA Controller [AHCI mode] */
if(p->did == 0x7801)
if((p->did & 0xfffe) == 0x7800){
sbsetupahci(p);
return Tahci;
}
break;
case 0x10de:
case 0x1039:

View file

@ -1990,7 +1990,6 @@ atapnp(void)
*/
break;
case (0x7441<<16)|0x1022: /* AMD 768 */
case (0x7800<<16)|0x1022:
/*
* Set:
* 0x41 prefetch, postwrite;