summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/man/man4/ubsa.43
-rw-r--r--sys/dev/usb/ubsa.c7
2 files changed, 8 insertions, 2 deletions
diff --git a/share/man/man4/ubsa.4 b/share/man/man4/ubsa.4
index 2fed5db0959..d233626ac1d 100644
--- a/share/man/man4/ubsa.4
+++ b/share/man/man4/ubsa.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ubsa.4,v 1.2 2004/09/15 22:34:17 jmc Exp $
+.\" $OpenBSD: ubsa.4,v 1.3 2005/01/03 23:15:50 reyk Exp $
.\" $NetBSD: ubsa.4,v 1.1 2002/10/08 13:18:42 augustss Exp $
.\"
.\" Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -55,6 +55,7 @@ driver supports the following adapters:
.It e-Tek Labs Kwik232
.It GoHubs GoCOM232
.It Peracom single port serial adapter
+.It Vodafone Mobile Connect 3G
.El
.Sh DESCRIPTION
The
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;