uslcom.c (192499) | uslcom.c (192502) |
---|---|
1/* $OpenBSD: uslcom.c,v 1.17 2007/11/24 10:52:12 jsg Exp $ */ 2 3#include <sys/cdefs.h> | 1/* $OpenBSD: uslcom.c,v 1.17 2007/11/24 10:52:12 jsg Exp $ */ 2 3#include <sys/cdefs.h> |
4__FBSDID("$FreeBSD: head/sys/dev/usb/serial/uslcom.c 192499 2009-05-21 00:04:17Z thompsa $"); | 4__FBSDID("$FreeBSD: head/sys/dev/usb/serial/uslcom.c 192502 2009-05-21 01:48:42Z thompsa $"); |
5 6/* 7 * Copyright (c) 2006 Jonathan Gray <jsg@openbsd.org> 8 * 9 * Permission to use, copy, modify, and distribute this software for any 10 * purpose with or without fee is hereby granted, provided that the above 11 * copyright notice and this permission notice appear in all copies. 12 * --- 21 unchanged lines hidden (view full) --- 34#include <dev/usb/usb_util.h> 35#include <dev/usb/usb_busdma.h> 36 37#include <dev/usb/serial/usb_serial.h> 38 39#if USB_DEBUG 40static int uslcom_debug = 0; 41 | 5 6/* 7 * Copyright (c) 2006 Jonathan Gray <jsg@openbsd.org> 8 * 9 * Permission to use, copy, modify, and distribute this software for any 10 * purpose with or without fee is hereby granted, provided that the above 11 * copyright notice and this permission notice appear in all copies. 12 * --- 21 unchanged lines hidden (view full) --- 34#include <dev/usb/usb_util.h> 35#include <dev/usb/usb_busdma.h> 36 37#include <dev/usb/serial/usb_serial.h> 38 39#if USB_DEBUG 40static int uslcom_debug = 0; 41 |
42SYSCTL_NODE(_hw_usb2, OID_AUTO, uslcom, CTLFLAG_RW, 0, "USB uslcom"); 43SYSCTL_INT(_hw_usb2_uslcom, OID_AUTO, debug, CTLFLAG_RW, | 42SYSCTL_NODE(_hw_usb, OID_AUTO, uslcom, CTLFLAG_RW, 0, "USB uslcom"); 43SYSCTL_INT(_hw_usb_uslcom, OID_AUTO, debug, CTLFLAG_RW, |
44 &uslcom_debug, 0, "Debug level"); 45#endif 46 47#define USLCOM_BULK_BUF_SIZE 1024 48#define USLCOM_CONFIG_INDEX 0 49#define USLCOM_IFACE_INDEX 0 50 51#define USLCOM_SET_DATA_BITS(x) ((x) << 8) --- 492 unchanged lines hidden --- | 44 &uslcom_debug, 0, "Debug level"); 45#endif 46 47#define USLCOM_BULK_BUF_SIZE 1024 48#define USLCOM_CONFIG_INDEX 0 49#define USLCOM_IFACE_INDEX 0 50 51#define USLCOM_SET_DATA_BITS(x) ((x) << 8) --- 492 unchanged lines hidden --- |