Deleted Added
full compact
umoscom.c (192499) umoscom.c (192502)
1/* $FreeBSD: head/sys/dev/usb/serial/umoscom.c 192499 2009-05-21 00:04:17Z thompsa $ */
1/* $FreeBSD: head/sys/dev/usb/serial/umoscom.c 192502 2009-05-21 01:48:42Z thompsa $ */
2/* $OpenBSD: umoscom.c,v 1.2 2006/10/26 06:02:43 jsg Exp $ */
3
4/*
5 * Copyright (c) 2006 Jonathan Gray <jsg@openbsd.org>
6 *
7 * Permission to use, copy, modify, and distribute this software for any
8 * purpose with or without fee is hereby granted, provided that the above
9 * copyright notice and this permission notice appear in all copies.

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

33#include <dev/usb/usb_util.h>
34#include <dev/usb/usb_busdma.h>
35
36#include <dev/usb/serial/usb_serial.h>
37
38#if USB_DEBUG
39static int umoscom_debug = 0;
40
2/* $OpenBSD: umoscom.c,v 1.2 2006/10/26 06:02:43 jsg Exp $ */
3
4/*
5 * Copyright (c) 2006 Jonathan Gray <jsg@openbsd.org>
6 *
7 * Permission to use, copy, modify, and distribute this software for any
8 * purpose with or without fee is hereby granted, provided that the above
9 * copyright notice and this permission notice appear in all copies.

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

33#include <dev/usb/usb_util.h>
34#include <dev/usb/usb_busdma.h>
35
36#include <dev/usb/serial/usb_serial.h>
37
38#if USB_DEBUG
39static int umoscom_debug = 0;
40
41SYSCTL_NODE(_hw_usb2, OID_AUTO, umoscom, CTLFLAG_RW, 0, "USB umoscom");
42SYSCTL_INT(_hw_usb2_umoscom, OID_AUTO, debug, CTLFLAG_RW,
41SYSCTL_NODE(_hw_usb, OID_AUTO, umoscom, CTLFLAG_RW, 0, "USB umoscom");
42SYSCTL_INT(_hw_usb_umoscom, OID_AUTO, debug, CTLFLAG_RW,
43 &umoscom_debug, 0, "Debug level");
44#endif
45
46#define UMOSCOM_BUFSIZE 1024 /* bytes */
47
48#define UMOSCOM_CONFIG_INDEX 0
49#define UMOSCOM_IFACE_INDEX 0
50

--- 623 unchanged lines hidden ---
43 &umoscom_debug, 0, "Debug level");
44#endif
45
46#define UMOSCOM_BUFSIZE 1024 /* bytes */
47
48#define UMOSCOM_CONFIG_INDEX 0
49#define UMOSCOM_IFACE_INDEX 0
50

--- 623 unchanged lines hidden ---