ref: 796e5e6000677a39577d545e4603ce251e7cbfe9
parent: 37dcb25eee726a6e207963e737e12cc5a95ca398
author: cinap_lenrek <[email protected]>
date: Sat Oct 20 15:53:57 EDT 2018
nusbrc: support for raspi3 ethernet
--- a/sys/src/9/boot/nusbrc
+++ b/sys/src/9/boot/nusbrc
@@ -51,8 +51,12 @@
}
case *
# Raspberry Pi ethernet will always appear as /net/etherU0
- if(~ $2 0424)
- nusb/ether -t smsc $etherargs $1:0
+ if(~ $2 0424){
+ if(~ $3 7800)
+ nusb/ether -t lan78xx $etherargs $1:0
+ if not
+ nusb/ether -t smsc $etherargs $1:0
+ }
}
}
}