summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2011-05-05 17:00:44 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2011-05-05 17:00:44 +0000
commitbdf87b739d23476f67a5c97ad91de8a96a704f60 (patch)
tree71e78915e7850709478a962b0cedb371ee95d43b /sys/dev
parent32cd441dbf73d73ac2ded357352b0e5b2210bab7 (diff)
Attach to Samsung Galaxy S, from Erik Mugele. ok jsg@ mk@
It may be possible to use better heuristics to detect compatible devices (Linux driver appears to hand over from CDC to urndis) which would avoid listing IDs, but this gets tethering working on this phone for now.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/if_urndis.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/usb/if_urndis.c b/sys/dev/usb/if_urndis.c
index 61637c717d2..fa585550335 100644
--- a/sys/dev/usb/if_urndis.c
+++ b/sys/dev/usb/if_urndis.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_urndis.c,v 1.29 2011/01/25 20:03:35 jakemsr Exp $ */
+/* $OpenBSD: if_urndis.c,v 1.30 2011/05/05 17:00:43 sthen Exp $ */
/*
* Copyright (c) 2010 Jonathan Armani <armani@openbsd.org>
@@ -135,7 +135,8 @@ struct cfattach urndis_ca = {
* Supported devices that we can't match by class IDs.
*/
static const struct usb_devno urndis_devs[] = {
- { USB_VENDOR_HTC, USB_PRODUCT_HTC_ANDROID }
+ { USB_VENDOR_HTC, USB_PRODUCT_HTC_ANDROID },
+ { USB_VENDOR_SAMSUNG2, USB_PRODUCT_SAMSUNG2_ANDROID }
};
usbd_status