Deleted Added
full compact
umoscom.c (223486) umoscom.c (227309)
1/* $FreeBSD: head/sys/dev/usb/serial/umoscom.c 223486 2011-06-24 02:30:02Z hselasky $ */
1/* $FreeBSD: head/sys/dev/usb/serial/umoscom.c 227309 2011-11-07 15:43:11Z ed $ */
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.

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

45#include <dev/usb/usb_debug.h>
46#include <dev/usb/usb_process.h>
47
48#include <dev/usb/serial/usb_serial.h>
49
50#ifdef USB_DEBUG
51static int umoscom_debug = 0;
52
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.

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

45#include <dev/usb/usb_debug.h>
46#include <dev/usb/usb_process.h>
47
48#include <dev/usb/serial/usb_serial.h>
49
50#ifdef USB_DEBUG
51static int umoscom_debug = 0;
52
53SYSCTL_NODE(_hw_usb, OID_AUTO, umoscom, CTLFLAG_RW, 0, "USB umoscom");
53static SYSCTL_NODE(_hw_usb, OID_AUTO, umoscom, CTLFLAG_RW, 0, "USB umoscom");
54SYSCTL_INT(_hw_usb_umoscom, OID_AUTO, debug, CTLFLAG_RW,
55 &umoscom_debug, 0, "Debug level");
56#endif
57
58#define UMOSCOM_BUFSIZE 1024 /* bytes */
59
60#define UMOSCOM_CONFIG_INDEX 0
61#define UMOSCOM_IFACE_INDEX 0

--- 646 unchanged lines hidden ---
54SYSCTL_INT(_hw_usb_umoscom, OID_AUTO, debug, CTLFLAG_RW,
55 &umoscom_debug, 0, "Debug level");
56#endif
57
58#define UMOSCOM_BUFSIZE 1024 /* bytes */
59
60#define UMOSCOM_CONFIG_INDEX 0
61#define UMOSCOM_IFACE_INDEX 0

--- 646 unchanged lines hidden ---