diff options
| author | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-10-20 19:53:57 +0200 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-10-20 19:53:57 +0200 |
| commit | 796e5e6000677a39577d545e4603ce251e7cbfe9 (patch) | |
| tree | 1ac9ee3fa520c13a26a708169b6b1023af1a76c8 | |
| parent | 37dcb25eee726a6e207963e737e12cc5a95ca398 (diff) | |
| download | plan9front-796e5e6000677a39577d545e4603ce251e7cbfe9.tar.xz | |
nusbrc: support for raspi3 ethernet
| -rwxr-xr-x | sys/src/9/boot/nusbrc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/src/9/boot/nusbrc b/sys/src/9/boot/nusbrc index a5969656f..c92ca3a8d 100755 --- a/sys/src/9/boot/nusbrc +++ b/sys/src/9/boot/nusbrc @@ -51,8 +51,12 @@ if(! nusb/usbd) } 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 + } } } } |
