diff options
author | hselasky <hselasky@FreeBSD.org> | 2014-02-06 08:47:14 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2014-02-06 08:47:14 +0000 |
commit | 4a51eb79394a0fc7fc01cc2d6b16d989adc815c1 (patch) | |
tree | 724e6cf074baf21ceff872b8b9864a24e1159e91 /sys/conf | |
parent | a6a173909d79f12a0c86dcc0d1be7164392c427f (diff) | |
download | FreeBSD-src-4a51eb79394a0fc7fc01cc2d6b16d989adc815c1.zip FreeBSD-src-4a51eb79394a0fc7fc01cc2d6b16d989adc815c1.tar.gz |
Import USB RNDIS driver to FreeBSD from OpenBSD.
Useful for so-called USB tethering.
- Imported code from OpenBSD
- Adapted code to FreeBSD
- Removed some unused functions
- Fixed some buffer encoding and decoding issues
- Optimised data transport path a bit, by sending multiple packets at a time
- Increased receive buffer to 16K
Obtained from: OpenBSD
Requested by: eadler @
MFC after: 2 weeks
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/NOTES | 2 | ||||
-rw-r--r-- | sys/conf/files | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES index 8095c0e..92a183c 100644 --- a/sys/conf/NOTES +++ b/sys/conf/NOTES @@ -2746,6 +2746,8 @@ device upgt # Ralink Technology RT2500USB wireless driver device ural # +# RNDIS USB ethernet driver +device urndis # Realtek RTL8187B/L wireless driver device urtw # diff --git a/sys/conf/files b/sys/conf/files index dba13a7..75e1fe6 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -2293,9 +2293,11 @@ dev/usb/net/if_rue.c optional rue dev/usb/net/if_smsc.c optional smsc dev/usb/net/if_udav.c optional udav dev/usb/net/if_usie.c optional usie +dev/usb/net/if_urndis.c optional urndis dev/usb/net/ruephy.c optional rue dev/usb/net/usb_ethernet.c optional aue | axe | axge | cdce | cue | kue | \ - mos | rue | smsc | udav | ipheth + mos | rue | smsc | udav | ipheth | \ + urndis dev/usb/net/uhso.c optional uhso # # USB WLAN drivers |