summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorn_hibma <n_hibma@FreeBSD.org>2008-10-09 21:25:01 +0000
committern_hibma <n_hibma@FreeBSD.org>2008-10-09 21:25:01 +0000
commit02c7a0e7d14dce736fd134c83820f2df3a3fc5e3 (patch)
tree22658f0e471df90f49da4b95cb1b6e3b123e5288 /sys/modules
parent952a69a4c81ad852111260496bccd3edde38e4d8 (diff)
downloadFreeBSD-src-02c7a0e7d14dce736fd134c83820f2df3a3fc5e3.zip
FreeBSD-src-02c7a0e7d14dce736fd134c83820f2df3a3fc5e3.tar.gz
Say hello to the u3g driver, implementing support for 3G modems.
This was located in the ubsa driver, but should be moved into a separate driver: - 3G modems provide multiple serial ports to allow AT commands while the PPP connection is up. - 3G modems do not provide baud rate or other serial port settings. - Huawei cards need specific initialisation. - ubsa is for Belkin adapters, an Linuxy choice for another device like 3G. Speeds achieved here with a weak signal at best is ~40kb/s (UMTS). No spooky STALLED messages as well. Next: Move over all entries for Sierra and Novatel cards once I have found testers, and implemented serial port enumeration for Sierra (or rather have Andrea Guzzo do it). They list all endpoints in 1 iface instead of 4 ifaces. Submitted by: aguzzo@anywi.com MFC after: 3 weeks
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/Makefile1
-rw-r--r--sys/modules/u3g/Makefile8
2 files changed, 9 insertions, 0 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 8660824..3e43be8 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -269,6 +269,7 @@ SUBDIR= ${_3dfx} \
twe \
tx \
txp \
+ u3g \
uark \
uart \
ubsa \
diff --git a/sys/modules/u3g/Makefile b/sys/modules/u3g/Makefile
new file mode 100644
index 0000000..e8d3aee
--- /dev/null
+++ b/sys/modules/u3g/Makefile
@@ -0,0 +1,8 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../dev/usb
+
+KMOD= u3g
+SRCS= u3g.c ucomvar.h opt_usb.h device_if.h bus_if.h usbdevs.h
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud