From 6a182d56b738f36e32427b8696c8ab03794ec9a2 Mon Sep 17 00:00:00 2001 From: stanley lieber Date: Sun, 29 Jun 2014 14:58:03 -0400 Subject: [PATCH] nusbrc: ensure rpi ethernet always appears as /net/etherU0 --- sys/src/9/boot/nusbrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 } } } -- 2.44.0