uchcom.c (223486) | uchcom.c (227309) |
---|---|
1/* $NetBSD: uchcom.c,v 1.1 2007/09/03 17:57:37 tshiozak Exp $ */ 2 3/*- 4 * Copyright (c) 2007, Takanori Watanabe 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 49 unchanged lines hidden (view full) --- 58 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 59 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 60 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 61 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 62 * POSSIBILITY OF SUCH DAMAGE. 63 */ 64 65#include <sys/cdefs.h> | 1/* $NetBSD: uchcom.c,v 1.1 2007/09/03 17:57:37 tshiozak Exp $ */ 2 3/*- 4 * Copyright (c) 2007, Takanori Watanabe 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 49 unchanged lines hidden (view full) --- 58 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 59 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 60 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 61 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 62 * POSSIBILITY OF SUCH DAMAGE. 63 */ 64 65#include <sys/cdefs.h> |
66__FBSDID("$FreeBSD: head/sys/dev/usb/serial/uchcom.c 223486 2011-06-24 02:30:02Z hselasky $"); | 66__FBSDID("$FreeBSD: head/sys/dev/usb/serial/uchcom.c 227309 2011-11-07 15:43:11Z ed $"); |
67 68/* 69 * Driver for WinChipHead CH341/340, the worst USB-serial chip in the 70 * world. 71 */ 72 73#include <sys/stdint.h> 74#include <sys/stddef.h> --- 23 unchanged lines hidden (view full) --- 98#include <dev/usb/usb_debug.h> 99#include <dev/usb/usb_process.h> 100 101#include <dev/usb/serial/usb_serial.h> 102 103#ifdef USB_DEBUG 104static int uchcom_debug = 0; 105 | 67 68/* 69 * Driver for WinChipHead CH341/340, the worst USB-serial chip in the 70 * world. 71 */ 72 73#include <sys/stdint.h> 74#include <sys/stddef.h> --- 23 unchanged lines hidden (view full) --- 98#include <dev/usb/usb_debug.h> 99#include <dev/usb/usb_process.h> 100 101#include <dev/usb/serial/usb_serial.h> 102 103#ifdef USB_DEBUG 104static int uchcom_debug = 0; 105 |
106SYSCTL_NODE(_hw_usb, OID_AUTO, uchcom, CTLFLAG_RW, 0, "USB uchcom"); | 106static SYSCTL_NODE(_hw_usb, OID_AUTO, uchcom, CTLFLAG_RW, 0, "USB uchcom"); |
107SYSCTL_INT(_hw_usb_uchcom, OID_AUTO, debug, CTLFLAG_RW, 108 &uchcom_debug, 0, "uchcom debug level"); 109#endif 110 111#define UCHCOM_IFACE_INDEX 0 112#define UCHCOM_CONFIG_INDEX 0 113 114#define UCHCOM_REV_CH340 0x0250 --- 745 unchanged lines hidden --- | 107SYSCTL_INT(_hw_usb_uchcom, OID_AUTO, debug, CTLFLAG_RW, 108 &uchcom_debug, 0, "uchcom debug level"); 109#endif 110 111#define UCHCOM_IFACE_INDEX 0 112#define UCHCOM_CONFIG_INDEX 0 113 114#define UCHCOM_REV_CH340 0x0250 --- 745 unchanged lines hidden --- |