summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsys/src/9/boot/nusbrc8
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
+ }
}
}
}