9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] patch for USB RNDIS
@ 2021-04-17 23:43 unobe
  0 siblings, 0 replies; only message in thread
From: unobe @ 2021-04-17 23:43 UTC (permalink / raw)
  To: 9front

changeset:   8412:1bfadf461fd3
branch:      mbp-2011
tag:         tip
user:        Romano <unobe@cpan.org>
date:        Sat Apr 17 14:38:28 2021 -0700
files:       rc/bin/nusbrc sys/src/9/boot/nusbrc
description:
Per https://www.usb.org/defined-class-codes , any class-subclass of
ef04 is RNDIS.


diff -r 19f6a88ea241 -r 1bfadf461fd3 rc/bin/nusbrc
--- a/rc/bin/nusbrc	Sat Apr 17 14:35:21 2021 -0700
+++ b/rc/bin/nusbrc	Sat Apr 17 14:38:28 2021 -0700
@@ -13,7 +13,7 @@
 		switch($4){
 		case *01
 			nusb/audio $id
-		case ff0202
+		case ff0202 *04ef
 			# RNDIS; handled by /sys/src/9/boot/nusbrc
 		case *02
 			# handled /sys/src/9/boot/nusbrc
diff -r 19f6a88ea241 -r 1bfadf461fd3 sys/src/9/boot/nusbrc
--- a/sys/src/9/boot/nusbrc	Sat Apr 17 14:35:21 2021 -0700
+++ b/sys/src/9/boot/nusbrc	Sat Apr 17 14:38:28 2021 -0700
@@ -33,7 +33,7 @@
 			switch($4){
 			case *03
 				nusb/kb $id
-			case ff0202
+			case ff0202 *04ef
 				nusb/ether -t rndis $etherargs $id
 			case *02
 				# CDC ethernet



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-18  1:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-17 23:43 [9front] patch for USB RNDIS unobe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).