summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2023-11-04 18:58:46 +0000
committercinap_lenrek <cinap_lenrek@felloff.net>2023-11-04 18:58:46 +0000
commitdc0f1ae1028206a548cc5fad15631d79c212e48a (patch)
tree6a0d9e725262c876e4d84a06ff82ed35c1eea07d
parent6022f37f0adc50c75ca2867bafbe95ad884801e6 (diff)
pi3, pi4: change the order of emmc and sdhc for ether4330
Keep emmc as sdM and sdhc as sdN (pi4 only), so ether4330 works in both pi3 and pi4 configurations. ether4330 is commented out in pi3 config as we'r currenly lacking a sdhost driver so we loose the sdcard if we use it.
-rw-r--r--sys/src/9/bcm64/pi32
-rw-r--r--sys/src/9/bcm64/pi44
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/src/9/bcm64/pi3 b/sys/src/9/bcm64/pi3
index 31186639e..79cd132bd 100644
--- a/sys/src/9/bcm64/pi3
+++ b/sys/src/9/bcm64/pi3
@@ -13,6 +13,7 @@ dev
tls
cap
fs
+ ether netif
bridge log
ip arp chandial ip ipv6 ipaux iproute netlog nullmedium pktmedium inferno
draw screen swcursor
@@ -27,6 +28,7 @@ dev
link
archbcm3
usbdwc
+# ether4330
ethermedium
loopbackmedium
netdevmedium
diff --git a/sys/src/9/bcm64/pi4 b/sys/src/9/bcm64/pi4
index cfd3004d8..ab0592c2a 100644
--- a/sys/src/9/bcm64/pi4
+++ b/sys/src/9/bcm64/pi4
@@ -38,8 +38,8 @@ link
netdevmedium
# i2cbcm devi2c
i2cgpio devi2c gpio
- sdhc
emmc
+ sdhc
ip
tcp
@@ -54,7 +54,7 @@ ip
misc
uartmini
uartpl011
- sdmmc sdhc emmc
+ sdmmc emmc sdhc
dma
gic
vcore