From: unobe@cpan.org
To: 9front@9front.org
Subject: [9front] patch for USB RNDIS
Date: Sat, 17 Apr 2021 16:43:35 -0700 [thread overview]
Message-ID: <8DA8B6371161FAD4BC57BD44CE99AAC7@smtp.pobox.com> (raw)
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
reply other threads:[~2021-04-18 1:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8DA8B6371161FAD4BC57BD44CE99AAC7@smtp.pobox.com \
--to=unobe@cpan.org \
--cc=9front@9front.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).