Deleted Added
full compact
umodem.c (192499) umodem.c (192502)
1/* $NetBSD: umodem.c,v 1.45 2002/09/23 05:51:23 simonb Exp $ */
2
3#include <sys/cdefs.h>
1/* $NetBSD: umodem.c,v 1.45 2002/09/23 05:51:23 simonb Exp $ */
2
3#include <sys/cdefs.h>
4__FBSDID("$FreeBSD: head/sys/dev/usb/serial/umodem.c 192499 2009-05-21 00:04:17Z thompsa $");
4__FBSDID("$FreeBSD: head/sys/dev/usb/serial/umodem.c 192502 2009-05-21 01:48:42Z thompsa $");
5
6/*-
7 * Copyright (c) 2003, M. Warner Losh <imp@FreeBSD.org>.
8 * All rights reserved.
9 *
10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted provided that the following conditions
12 * are met:

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

98#include <dev/usb/usb_busdma.h>
99#include <dev/usb/usb_device.h>
100
101#include <dev/usb/serial/usb_serial.h>
102
103#if USB_DEBUG
104static int umodem_debug = 0;
105
5
6/*-
7 * Copyright (c) 2003, M. Warner Losh <imp@FreeBSD.org>.
8 * All rights reserved.
9 *
10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted provided that the following conditions
12 * are met:

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

98#include <dev/usb/usb_busdma.h>
99#include <dev/usb/usb_device.h>
100
101#include <dev/usb/serial/usb_serial.h>
102
103#if USB_DEBUG
104static int umodem_debug = 0;
105
106SYSCTL_NODE(_hw_usb2, OID_AUTO, umodem, CTLFLAG_RW, 0, "USB umodem");
107SYSCTL_INT(_hw_usb2_umodem, OID_AUTO, debug, CTLFLAG_RW,
106SYSCTL_NODE(_hw_usb, OID_AUTO, umodem, CTLFLAG_RW, 0, "USB umodem");
107SYSCTL_INT(_hw_usb_umodem, OID_AUTO, debug, CTLFLAG_RW,
108 &umodem_debug, 0, "Debug level");
109#endif
110
111static const struct usb2_device_id umodem_devs[] = {
112 /* Generic Modem class match */
113 {USB_IFACE_CLASS(UICLASS_CDC),
114 USB_IFACE_SUBCLASS(UISUBCLASS_ABSTRACT_CONTROL_MODEL),
115 USB_IFACE_PROTOCOL(UIPROTO_CDC_AT)},

--- 671 unchanged lines hidden ---
108 &umodem_debug, 0, "Debug level");
109#endif
110
111static const struct usb2_device_id umodem_devs[] = {
112 /* Generic Modem class match */
113 {USB_IFACE_CLASS(UICLASS_CDC),
114 USB_IFACE_SUBCLASS(UISUBCLASS_ABSTRACT_CONTROL_MODEL),
115 USB_IFACE_PROTOCOL(UIPROTO_CDC_AT)},

--- 671 unchanged lines hidden ---