git: 9front

Download patch

ref: c49dbadab6ac831ce5bf6b62ef3e43f03fdbf199
parent: eec04530e5836ca9af169be3908431af8ee95904
author: cinap_lenrek <cinap_lenrek@gmx.de>
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)
--