Deleted Added
full compact
if_kue.c (192499) if_kue.c (192502)
1/*-
2 * Copyright (c) 1997, 1998, 1999, 2000
3 * Bill Paul <wpaul@ee.columbia.edu>. 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

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

26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30 * THE POSSIBILITY OF SUCH DAMAGE.
31 */
32
33#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1997, 1998, 1999, 2000
3 * Bill Paul <wpaul@ee.columbia.edu>. 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

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

26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30 * THE POSSIBILITY OF SUCH DAMAGE.
31 */
32
33#include <sys/cdefs.h>
34__FBSDID("$FreeBSD: head/sys/dev/usb/net/if_kue.c 192499 2009-05-21 00:04:17Z thompsa $");
34__FBSDID("$FreeBSD: head/sys/dev/usb/net/if_kue.c 192502 2009-05-21 01:48:42Z thompsa $");
35
36/*
37 * Kawasaki LSI KL5KUSB101B USB to ethernet adapter driver.
38 *
39 * Written by Bill Paul <wpaul@ee.columbia.edu>
40 * Electrical Engineering Department
41 * Columbia University, New York City
42 */

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

146static int kue_ctl(struct kue_softc *, uint8_t, uint8_t, uint16_t,
147 void *, int);
148static int kue_load_fw(struct kue_softc *);
149static void kue_reset(struct kue_softc *);
150
151#if USB_DEBUG
152static int kue_debug = 0;
153
35
36/*
37 * Kawasaki LSI KL5KUSB101B USB to ethernet adapter driver.
38 *
39 * Written by Bill Paul <wpaul@ee.columbia.edu>
40 * Electrical Engineering Department
41 * Columbia University, New York City
42 */

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

146static int kue_ctl(struct kue_softc *, uint8_t, uint8_t, uint16_t,
147 void *, int);
148static int kue_load_fw(struct kue_softc *);
149static void kue_reset(struct kue_softc *);
150
151#if USB_DEBUG
152static int kue_debug = 0;
153
154SYSCTL_NODE(_hw_usb2, OID_AUTO, kue, CTLFLAG_RW, 0, "USB kue");
155SYSCTL_INT(_hw_usb2_kue, OID_AUTO, debug, CTLFLAG_RW, &kue_debug, 0,
154SYSCTL_NODE(_hw_usb, OID_AUTO, kue, CTLFLAG_RW, 0, "USB kue");
155SYSCTL_INT(_hw_usb_kue, OID_AUTO, debug, CTLFLAG_RW, &kue_debug, 0,
156 "Debug level");
157#endif
158
159static const struct usb2_config kue_config[KUE_N_TRANSFER] = {
160
161 [KUE_BULK_DT_WR] = {
162 .type = UE_BULK,
163 .endpoint = UE_ADDR_ANY,

--- 525 unchanged lines hidden ---
156 "Debug level");
157#endif
158
159static const struct usb2_config kue_config[KUE_N_TRANSFER] = {
160
161 [KUE_BULK_DT_WR] = {
162 .type = UE_BULK,
163 .endpoint = UE_ADDR_ANY,

--- 525 unchanged lines hidden ---