ref: 869ddb3e052d5be3afe7c5b339e37e7ca152ed7a
parent: b68841fcc46d1cfd5f21fd2215e7331f0e5ee0bc
author: cinap_lenrek <cinap_lenrek@felloff.net>
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
--
⑨