ulpt.c (192499) | ulpt.c (192502) |
---|---|
1#include <sys/cdefs.h> | 1#include <sys/cdefs.h> |
2__FBSDID("$FreeBSD: head/sys/dev/usb/serial/ulpt.c 192499 2009-05-21 00:04:17Z thompsa $"); | 2__FBSDID("$FreeBSD: head/sys/dev/usb/serial/ulpt.c 192502 2009-05-21 01:48:42Z thompsa $"); |
3 4/* $NetBSD: ulpt.c,v 1.60 2003/10/04 21:19:50 augustss Exp $ */ 5 6/*- 7 * Copyright (c) 1998, 2003 The NetBSD Foundation, Inc. 8 * All rights reserved. 9 * 10 * This code is derived from software contributed to The NetBSD Foundation --- 52 unchanged lines hidden (view full) --- 63#include <dev/usb/usb_dev.h> 64#include <dev/usb/usb_parse.h> 65 66#include <sys/syslog.h> 67 68#if USB_DEBUG 69static int ulpt_debug = 0; 70 | 3 4/* $NetBSD: ulpt.c,v 1.60 2003/10/04 21:19:50 augustss Exp $ */ 5 6/*- 7 * Copyright (c) 1998, 2003 The NetBSD Foundation, Inc. 8 * All rights reserved. 9 * 10 * This code is derived from software contributed to The NetBSD Foundation --- 52 unchanged lines hidden (view full) --- 63#include <dev/usb/usb_dev.h> 64#include <dev/usb/usb_parse.h> 65 66#include <sys/syslog.h> 67 68#if USB_DEBUG 69static int ulpt_debug = 0; 70 |
71SYSCTL_NODE(_hw_usb2, OID_AUTO, ulpt, CTLFLAG_RW, 0, "USB ulpt"); 72SYSCTL_INT(_hw_usb2_ulpt, OID_AUTO, debug, CTLFLAG_RW, | 71SYSCTL_NODE(_hw_usb, OID_AUTO, ulpt, CTLFLAG_RW, 0, "USB ulpt"); 72SYSCTL_INT(_hw_usb_ulpt, OID_AUTO, debug, CTLFLAG_RW, |
73 &ulpt_debug, 0, "Debug level"); 74#endif 75 76#define ULPT_BSIZE (1<<15) /* bytes */ 77#define ULPT_IFQ_MAXLEN 2 /* units */ 78 79#define UR_GET_DEVICE_ID 0x00 80#define UR_GET_PORT_STATUS 0x01 --- 642 unchanged lines hidden --- | 73 &ulpt_debug, 0, "Debug level"); 74#endif 75 76#define ULPT_BSIZE (1<<15) /* bytes */ 77#define ULPT_IFQ_MAXLEN 2 /* units */ 78 79#define UR_GET_DEVICE_ID 0x00 80#define UR_GET_PORT_STATUS 0x01 --- 642 unchanged lines hidden --- |