ref: dc0f1ae1028206a548cc5fad15631d79c212e48a
parent: 6022f37f0adc50c75ca2867bafbe95ad884801e6
author: cinap_lenrek <[email protected]>
date: Sat Nov 4 14:58:46 EDT 2023
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.
--- a/sys/src/9/bcm64/pi3
+++ b/sys/src/9/bcm64/pi3
@@ -13,6 +13,7 @@
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 @@
link
archbcm3
usbdwc
+# ether4330
ethermedium
loopbackmedium
netdevmedium
--- a/sys/src/9/bcm64/pi4
+++ b/sys/src/9/bcm64/pi4
@@ -38,8 +38,8 @@
netdevmedium
# i2cbcm devi2c
i2cgpio devi2c gpio
- sdhc
emmc
+ sdhc
ip
tcp
@@ -54,7 +54,7 @@
misc
uartmini
uartpl011
- sdmmc sdhc emmc
+ sdmmc emmc sdhc
dma
gic
vcore