shithub: riscv

Download patch

ref: 6d99096136278f06f6333f927da34105a8dfe0bf
parent: 23b6f7ffcce1a1e81670283cd5503222cd0ee424
author: cinap_lenrek <[email protected]>
date: Sun Dec 30 22:58:01 EST 2012

sdiahci: add pci did for 82801fbm (ich6) SATA controller

--- a/sys/src/9/pc/sdiahci.c
+++ b/sys/src/9/pc/sdiahci.c
@@ -2061,6 +2061,8 @@
 	default:
 		return -1;
 	case 0x8086:
+		if((p->did & 0xffff) == 0x2653)
+			return Tich;		/* 82801fbm */
 		if((p->did & 0xfffc) == 0x2680)
 			return Tesb;
 		if((p->did & 0xfffb) == 0x27c1)