summaryrefslogtreecommitdiff
path: root/sys/src/cmd/nusb/ether/smsc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/src/cmd/nusb/ether/smsc.c')
-rw-r--r--sys/src/cmd/nusb/ether/smsc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/src/cmd/nusb/ether/smsc.c b/sys/src/cmd/nusb/ether/smsc.c
index 23bfc2af3..d0134529a 100644
--- a/sys/src/cmd/nusb/ether/smsc.c
+++ b/sys/src/cmd/nusb/ether/smsc.c
@@ -9,6 +9,7 @@
#include <auth.h>
#include <fcall.h>
#include <9p.h>
+#include <ip.h>
#include "usb.h"
#include "dat.h"
@@ -257,8 +258,6 @@ smscwrite(Dev *ep, uchar *p, int n)
int
smscinit(Dev *d)
{
- if(d->usb->vid != 0x0424)
- return -1;
if(!doreset(d, Hwcfg, Lrst) || !doreset(d, Pmctrl, Phyrst))
return -1;
if(!setmac)