diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2005-01-03 23:15:51 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2005-01-03 23:15:51 +0000 |
commit | bd436b28520b167820b38453b40300baae42b148 (patch) | |
tree | 23ae1ad1ac674b61b4952c6af06995922fca2460 /sys/dev/usb | |
parent | 6d3418427f877d989886a66246f4f83d5d85b785 (diff) |
Add support for the Vodafone Mobile Connect 3G adapter.
The MC3G is a cardbus device with an integrated OHCI usb
controller. The GRPS/UMTS modem is attached via an internal
Belkin serial adapter (ubsa(4)).
Thanks to sh at horzela dot com.
ok deraadt@ and dlg@
Diffstat (limited to 'sys/dev/usb')
-rw-r--r-- | sys/dev/usb/ubsa.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/usb/ubsa.c b/sys/dev/usb/ubsa.c index 0dae737f254..7988dbc1b48 100644 --- a/sys/dev/usb/ubsa.c +++ b/sys/dev/usb/ubsa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ubsa.c,v 1.6 2005/01/03 20:33:46 deraadt Exp $ */ +/* $OpenBSD: ubsa.c,v 1.7 2005/01/03 23:15:50 reyk Exp $ */ /* $NetBSD: ubsa.c,v 1.5 2002/11/25 00:51:33 fvdl Exp $ */ /*- * Copyright (c) 2002, Alexander Kabaev <kan.FreeBSD.org>. @@ -230,6 +230,8 @@ Static const struct usb_devno ubsa_devs[] = { { USB_VENDOR_GOHUBS, USB_PRODUCT_GOHUBS_GOCOM232 }, /* Peracom */ { USB_VENDOR_PERACOM, USB_PRODUCT_PERACOM_SERIAL1 }, + /* Vodafone */ + { USB_VENDOR_VODAFONE, USB_PRODUCT_VODAFONE_MOBILE_3G } }; #define ubsa_lookup(v, p) usb_lookup(ubsa_devs, v, p) @@ -343,6 +345,9 @@ USB_ATTACH(ubsa) goto error; } + /* keep interface for interrupt */ + sc->sc_intr_iface = sc->sc_iface; + if (uca.bulkin == -1) { printf("%s: Could not find data bulk in\n", devname); sc->sc_dying = 1; |