summaryrefslogtreecommitdiff
path: root/sys/src/cmd/nusb/ether/ether.c
diff options
context:
space:
mode:
authorftrvxmtrx <devnull@localhost>2014-04-22 23:34:52 +0200
committerftrvxmtrx <devnull@localhost>2014-04-22 23:34:52 +0200
commit99c0abc76db4e534a6e2dd76ef57c37f297bf735 (patch)
treeb3bc2c13cbbfeb585de475f72f88f95557116324 /sys/src/cmd/nusb/ether/ether.c
parent0f98415f99948880cd25190a2aee8f5bbefcdfcb (diff)
nusb/ether: add RNDIS support (tested on Nexus 5)
Diffstat (limited to 'sys/src/cmd/nusb/ether/ether.c')
-rw-r--r--sys/src/cmd/nusb/ether/ether.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/src/cmd/nusb/ether/ether.c b/sys/src/cmd/nusb/ether/ether.c
index 2c9a9121a..4b8b61845 100644
--- a/sys/src/cmd/nusb/ether/ether.c
+++ b/sys/src/cmd/nusb/ether/ether.c
@@ -763,6 +763,7 @@ extern int a88772init(Dev *);
extern int smscinit(Dev *);
extern int cdcinit(Dev *);
extern int urlinit(Dev *);
+extern int rndisinit(Dev *);
static struct {
char *name;
@@ -772,8 +773,9 @@ static struct {
"smsc", smscinit,
"a88178", a88178init,
"a88772", a88772init,
- "aue", aueinit,
- "url", urlinit,
+ "aue", aueinit,
+ "url", urlinit,
+ "rndis", rndisinit,
};
void