summaryrefslogtreecommitdiff
path: root/sys/dev/usb/uhidev.c
diff options
context:
space:
mode:
authorTodd T. Fries <todd@cvs.openbsd.org>2008-06-14 02:40:24 +0000
committerTodd T. Fries <todd@cvs.openbsd.org>2008-06-14 02:40:24 +0000
commit7482c496042dba774110ded951cd990f4879b5f5 (patch)
treec85cdbfb9e217944cc3f516e9db086a4c076c8a8 /sys/dev/usb/uhidev.c
parent64e9ac8f3fef68e3707444bb5c84c1fb26762dd8 (diff)
remove #ifdef __macppc__ due to a misunderstanding:
- the wskbd/wsmouse is not phantom, but actually is pre-paired keyboard/mice talking wskbd/wsmouse to the os this permits the bluetooth device to attach as wskbd/wsmouse using bluetooth keyboards for ddb> and in general if you have paired them in an os that supports flipping the funny bluetooth device into full bluetooth mode ok drahn@
Diffstat (limited to 'sys/dev/usb/uhidev.c')
-rw-r--r--sys/dev/usb/uhidev.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/sys/dev/usb/uhidev.c b/sys/dev/usb/uhidev.c
index 85d65d895f2..6057b47c8b4 100644
--- a/sys/dev/usb/uhidev.c
+++ b/sys/dev/usb/uhidev.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uhidev.c,v 1.31 2007/11/12 04:18:09 deraadt Exp $ */
+/* $OpenBSD: uhidev.c,v 1.32 2008/06/14 02:40:23 todd Exp $ */
/* $NetBSD: uhidev.c,v 1.14 2003/03/11 16:44:00 augustss Exp $ */
/*
@@ -113,18 +113,6 @@ uhidev_match(struct device *parent, void *match, void *aux)
if (uaa->matchlvl)
return (uaa->matchlvl);
-#ifdef __macppc__
- /*
- * Some Apple laptops have USB phantom devices which match
- * the ADB devices. We want to ignore them to avoid
- * confusing users, as the real hardware underneath is adb
- * and has already attached.
- */
- if (uaa->vendor == USB_VENDOR_APPLE &&
- uaa->product == USB_PRODUCT_APPLE_ADB)
- return (UMATCH_NONE);
-#endif
-
return (UMATCH_IFACECLASS_GENERIC);
}