Deleted Added
full compact
ng_ubt.c (222055) ng_ubt.c (223486)
1/*
2 * ng_ubt.c
3 */
4
5/*-
6 * Copyright (c) 2001-2009 Maksim Yevmenkin <m_evmenkin@yahoo.com>
7 * All rights reserved.
8 *

--- 14 unchanged lines hidden (view full) ---

23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
29 *
30 * $Id: ng_ubt.c,v 1.16 2003/10/10 19:15:06 max Exp $
1/*
2 * ng_ubt.c
3 */
4
5/*-
6 * Copyright (c) 2001-2009 Maksim Yevmenkin <m_evmenkin@yahoo.com>
7 * All rights reserved.
8 *

--- 14 unchanged lines hidden (view full) ---

23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
29 *
30 * $Id: ng_ubt.c,v 1.16 2003/10/10 19:15:06 max Exp $
31 * $FreeBSD: head/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c 222055 2011-05-18 11:38:36Z avg $
31 * $FreeBSD: head/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c 223486 2011-06-24 02:30:02Z hselasky $
32 */
33
34/*
35 * NOTE: ng_ubt2 driver has a split personality. On one side it is
36 * a USB device driver and on the other it is a Netgraph node. This
37 * driver will *NOT* create traditional /dev/ enties, only Netgraph
38 * node.
39 *

--- 337 unchanged lines hidden (view full) ---

377 * VendorID/ProductID pair into the list below. The format is
378 * as follows:
379 *
380 * { USB_VPI(VENDOR_ID, PRODUCT_ID, 0) },
381 *
382 * where VENDOR_ID and PRODUCT_ID are hex numbers.
383 */
384
32 */
33
34/*
35 * NOTE: ng_ubt2 driver has a split personality. On one side it is
36 * a USB device driver and on the other it is a Netgraph node. This
37 * driver will *NOT* create traditional /dev/ enties, only Netgraph
38 * node.
39 *

--- 337 unchanged lines hidden (view full) ---

377 * VendorID/ProductID pair into the list below. The format is
378 * as follows:
379 *
380 * { USB_VPI(VENDOR_ID, PRODUCT_ID, 0) },
381 *
382 * where VENDOR_ID and PRODUCT_ID are hex numbers.
383 */
384
385static const struct usb_device_id ubt_ignore_devs[] =
385static const STRUCT_USB_HOST_ID ubt_ignore_devs[] =
386{
387 /* AVM USB Bluetooth-Adapter BlueFritz! v1.0 */
388 { USB_VPI(USB_VENDOR_AVM, 0x2200, 0) },
389};
390
391/* List of supported bluetooth devices */
386{
387 /* AVM USB Bluetooth-Adapter BlueFritz! v1.0 */
388 { USB_VPI(USB_VENDOR_AVM, 0x2200, 0) },
389};
390
391/* List of supported bluetooth devices */
392static const struct usb_device_id ubt_devs[] =
392static const STRUCT_USB_HOST_ID ubt_devs[] =
393{
394 /* Generic Bluetooth class devices */
395 { USB_IFACE_CLASS(UDCLASS_WIRELESS),
396 USB_IFACE_SUBCLASS(UDSUBCLASS_RF),
397 USB_IFACE_PROTOCOL(UDPROTO_BLUETOOTH) },
398
399 /* AVM USB Bluetooth-Adapter BlueFritz! v2.0 */
400 { USB_VPI(USB_VENDOR_AVM, 0x3800, 0) },

--- 1366 unchanged lines hidden ---
393{
394 /* Generic Bluetooth class devices */
395 { USB_IFACE_CLASS(UDCLASS_WIRELESS),
396 USB_IFACE_SUBCLASS(UDSUBCLASS_RF),
397 USB_IFACE_PROTOCOL(UDPROTO_BLUETOOTH) },
398
399 /* AVM USB Bluetooth-Adapter BlueFritz! v2.0 */
400 { USB_VPI(USB_VENDOR_AVM, 0x3800, 0) },

--- 1366 unchanged lines hidden ---