diff options
author | stanley lieber <stanley.lieber@gmail.com> | 2014-06-29 14:58:03 -0400 |
---|---|---|
committer | stanley lieber <stanley.lieber@gmail.com> | 2014-06-29 14:58:03 -0400 |
commit | 6a182d56b738f36e32427b8696c8ab03794ec9a2 (patch) | |
tree | b95314094b834ef39df00588880d0ce8b7013dc0 | |
parent | 4ad63a4c561b2eb4c759da5f29648a499c659c9e (diff) | |
download | plan9front-6a182d56b738f36e32427b8696c8ab03794ec9a2.tar.xz |
nusbrc: ensure rpi ethernet always appears as /net/etherU0
-rwxr-xr-x | sys/src/9/boot/nusbrc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/src/9/boot/nusbrc b/sys/src/9/boot/nusbrc index 29a2d8b56..28e467a71 100755 --- a/sys/src/9/boot/nusbrc +++ b/sys/src/9/boot/nusbrc @@ -48,8 +48,9 @@ if(! nusb/usbd) } }&} case * + # Raspberry Pi ethernet will always appear as /net/etherU0 if(~ $2 0424) - nusb/ether -t smsc $etherargs $id + nusb/ether -t smsc $etherargs $1:0 } } } |