shithub: riscv

Download patch

ref: 019a935f6b8961b8a8fab3916f1e529c36f261e2
parent: dc0f1ae1028206a548cc5fad15631d79c212e48a
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat Nov 4 15:02:08 EDT 2023

ether4330: annex sdM for emmc (changed order)

--- a/sys/src/9/bcm/ether4330.c
+++ b/sys/src/9/bcm/ether4330.c
@@ -451,8 +451,8 @@
 	int i;
 
 	if(ctl->sdio == nil){
-		/* take over /dev/sdN (emmc) */
-		ctl->sdio = annexsdio("N");
+		/* take over /dev/sdM (emmc) */
+		ctl->sdio = annexsdio("M");
 
 		/* disconnect emmc from SD card (connect sdhost instead) */
 		for(i = 48; i <= 53; i++)