plusb.c (58e16d792a6a8c6b750f637a4649967fcac853dc) plusb.c (efe3e6b5aeefaabed9ad5dcb3682b581bf34c187)
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * PL-2301/2302 USB host-to-host link cables
4 * Copyright (C) 2000-2005 by David Brownell
5 */
6
7// #define DEBUG // error path messages, extra info
8// #define VERBOSE // more; success messages

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

13#include <linux/ethtool.h>
14#include <linux/workqueue.h>
15#include <linux/mii.h>
16#include <linux/usb.h>
17#include <linux/usb/usbnet.h>
18
19
20/*
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * PL-2301/2302 USB host-to-host link cables
4 * Copyright (C) 2000-2005 by David Brownell
5 */
6
7// #define DEBUG // error path messages, extra info
8// #define VERBOSE // more; success messages

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

13#include <linux/ethtool.h>
14#include <linux/workqueue.h>
15#include <linux/mii.h>
16#include <linux/usb.h>
17#include <linux/usb/usbnet.h>
18
19
20/*
21 * Prolific PL-2301/PL-2302 driver ... http://www.prolific.com.tw/
21 * Prolific PL-2301/PL-2302 driver ... http://www.prolific.com.tw/
22 *
23 * The protocol and handshaking used here should be bug-compatible
24 * with the Linux 2.2 "plusb" driver, by Deti Fliegl.
25 *
26 * HEADS UP: this handshaking isn't all that robust. This driver
27 * gets confused easily if you unplug one end of the cable then
28 * try to connect it again; you'll need to restart both ends. The
29 * "naplink" software (used by some PlayStation/2 developers) does

--- 132 unchanged lines hidden ---
22 *
23 * The protocol and handshaking used here should be bug-compatible
24 * with the Linux 2.2 "plusb" driver, by Deti Fliegl.
25 *
26 * HEADS UP: this handshaking isn't all that robust. This driver
27 * gets confused easily if you unplug one end of the cable then
28 * try to connect it again; you'll need to restart both ends. The
29 * "naplink" software (used by some PlayStation/2 developers) does

--- 132 unchanged lines hidden ---