sdiahci: force Hudson SATA Controller to AHCI mode
This commit is contained in:
parent
6716e9ba20
commit
db911d4fef
2 changed files with 3 additions and 2 deletions
|
@ -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:
|
||||
|
|
|
@ -1990,7 +1990,6 @@ atapnp(void)
|
|||
*/
|
||||
break;
|
||||
case (0x7441<<16)|0x1022: /* AMD 768 */
|
||||
case (0x7800<<16)|0x1022:
|
||||
/*
|
||||
* Set:
|
||||
* 0x41 prefetch, postwrite;
|
||||
|
|
Loading…
Reference in a new issue