diff options
author | 2008-06-14 02:40:23 +0000 | |
---|---|---|
committer | 2008-06-14 02:40:23 +0000 | |
commit | bbdbd44d8f63aa7ed1cde9f853a0ffbd9adfac8b (patch) | |
tree | bf140632a186bf20129a64c38fa5082a7d5d9659 /sys/dev/usb/ugen.c | |
parent | No need to add \n at the end of format string for a fatal call. (diff) | |
download | wireguard-openbsd-bbdbd44d8f63aa7ed1cde9f853a0ffbd9adfac8b.tar.xz wireguard-openbsd-bbdbd44d8f63aa7ed1cde9f853a0ffbd9adfac8b.zip |
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/ugen.c')
-rw-r--r-- | sys/dev/usb/ugen.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/dev/usb/ugen.c b/sys/dev/usb/ugen.c index 355e3b15d87..7f946ce33b3 100644 --- a/sys/dev/usb/ugen.c +++ b/sys/dev/usb/ugen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ugen.c,v 1.52 2007/10/20 22:44:01 fgsch Exp $ */ +/* $OpenBSD: ugen.c,v 1.53 2008/06/14 02:40:23 todd Exp $ */ /* $NetBSD: ugen.c,v 1.63 2002/11/26 18:49:48 christos Exp $ */ /* $FreeBSD: src/sys/dev/usb/ugen.c,v 1.26 1999/11/17 22:33:41 n_hibma Exp $ */ @@ -157,17 +157,6 @@ ugen_match(struct device *parent, void *match, void *aux) return (uaa->matchlvl); #endif if (uaa->usegeneric) { -#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_GENERIC); } else return (UMATCH_NONE); |