1/*- 2 * Copyright (c) 2002, Alexander Kabaev <kan.FreeBSD.org>. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> |
28__FBSDID("$FreeBSD: head/sys/dev/usb/serial/ubsa.c 192502 2009-05-21 01:48:42Z thompsa $"); |
29/*- 30 * Copyright (c) 2001 The NetBSD Foundation, Inc. 31 * All rights reserved. 32 * 33 * This code is derived from software contributed to The NetBSD Foundation 34 * by Ichiro FUKUHARA (ichiro@ichiro.org). 35 * 36 * Redistribution and use in source and binary forms, with or without --- 41 unchanged lines hidden (view full) --- 78#include <dev/usb/usb_util.h> 79#include <dev/usb/usb_busdma.h> 80 81#include <dev/usb/serial/usb_serial.h> 82 83#if USB_DEBUG 84static int ubsa_debug = 0; 85 |
86SYSCTL_NODE(_hw_usb, OID_AUTO, ubsa, CTLFLAG_RW, 0, "USB ubsa"); 87SYSCTL_INT(_hw_usb_ubsa, OID_AUTO, debug, CTLFLAG_RW, |
88 &ubsa_debug, 0, "ubsa debug level"); 89#endif 90 91#define UBSA_BSIZE 1024 /* bytes */ 92 93#define UBSA_CONFIG_INDEX 0 94#define UBSA_IFACE_INDEX 0 95 --- 543 unchanged lines hidden --- |