Match various Apple USB Bluetooth controllers.

From mlelstv.
This commit is contained in:
riastradh 2016-02-17 00:49:28 +00:00
parent bb2b89402e
commit 0cbde2cd73
1 changed files with 15 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ubt.c,v 1.51 2014/05/20 18:25:54 rmind Exp $ */
/* $NetBSD: ubt.c,v 1.52 2016/02/17 00:49:28 riastradh Exp $ */
/*-
* Copyright (c) 2006 Itronix Inc.
@ -67,7 +67,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ubt.c,v 1.51 2014/05/20 18:25:54 rmind Exp $");
__KERNEL_RCSID(0, "$NetBSD: ubt.c,v 1.52 2016/02/17 00:49:28 riastradh Exp $");
#include <sys/param.h>
#include <sys/device.h>
@ -309,7 +309,19 @@ const struct ubt_devno {
} ubt_dev[] = {
{ { USB_VENDOR_BROADCOM, USB_PRODUCT_BROADCOM_BCM2033NF },
UMATCH_NONE },
{ { USB_VENDOR_APPLE, USB_PRODUCT_APPLE_BLUETOOTH_HOST_C },
{ { USB_VENDOR_APPLE, USB_PRODUCT_APPLE_BLUETOOTH_HOST_1 },
UMATCH_VENDOR_PRODUCT },
{ { USB_VENDOR_APPLE, USB_PRODUCT_APPLE_BLUETOOTH_HOST_2 },
UMATCH_VENDOR_PRODUCT },
{ { USB_VENDOR_APPLE, USB_PRODUCT_APPLE_BLUETOOTH_HOST_3 },
UMATCH_VENDOR_PRODUCT },
{ { USB_VENDOR_APPLE, USB_PRODUCT_APPLE_BLUETOOTH_HOST_4 },
UMATCH_VENDOR_PRODUCT },
{ { USB_VENDOR_APPLE, USB_PRODUCT_APPLE_BLUETOOTH_HOST_5 },
UMATCH_VENDOR_PRODUCT },
{ { USB_VENDOR_APPLE, USB_PRODUCT_APPLE_BLUETOOTH_HOST_6 },
UMATCH_VENDOR_PRODUCT },
{ { USB_VENDOR_APPLE, USB_PRODUCT_APPLE_BLUETOOTH_HOST_7 },
UMATCH_VENDOR_PRODUCT },
};
#define ubt_lookup(vendor, product) \