shithub: riscv

Download patch

ref: 3720af62db713a129a7fa9606e8037cabc6c862a
parent: efe875ef89e53bf932c704e19247d9e6d4028f27
author: cinap_lenrek <cinap_lenrek@centraldogma>
date: Sun Dec 4 07:45:56 EST 2011

sdiahci: add Hudson SATA controller

--- a/sys/src/9/pc/sdiahci.c
+++ b/sys/src/9/pc/sdiahci.c
@@ -2043,6 +2043,11 @@
 		if(p->did == 0x3349)
 			return Tahci;
 		break;
+	case 0x1022:
+		/* Hudson SATA Controller [AHCI mode] */
+		if(p->did == 0x7801)
+			return Tahci;
+		break;
 	case 0x10de:
 	case 0x1039:
 	case 0x1b4b: