Line
Link Here
|
0 |
-- a/tools/usb/usbip/libsrc/usbip_common.c |
0 |
++ b/tools/usb/usbip/libsrc/usbip_common.c |
Lines 14-20
Link Here
|
14 |
int usbip_use_stderr; |
14 |
int usbip_use_stderr; |
15 |
int usbip_use_debug; |
15 |
int usbip_use_debug; |
16 |
|
16 |
|
17 |
extern struct udev *udev_context; |
17 |
struct udev *udev_context; |
18 |
|
18 |
|
19 |
struct speed_string { |
19 |
struct speed_string { |
20 |
int num; |
20 |
int num; |
21 |
-- a/tools/usb/usbip/libsrc/usbip_common.h |
21 |
++ b/tools/usb/usbip/libsrc/usbip_common.h |
Lines 53-58
Link Here
|
53 |
#define ST_NODEV 0x04 |
53 |
#define ST_NODEV 0x04 |
54 |
#define ST_ERROR 0x05 |
54 |
#define ST_ERROR 0x05 |
55 |
|
55 |
|
|
|
56 |
extern struct udev *udev_context; |
57 |
|
56 |
extern int usbip_use_syslog; |
58 |
extern int usbip_use_syslog; |
57 |
extern int usbip_use_stderr; |
59 |
extern int usbip_use_stderr; |
58 |
extern int usbip_use_debug ; |
60 |
extern int usbip_use_debug ; |
59 |
-- a/tools/usb/usbip/libsrc/usbip_host_common.c |
61 |
++ b/tools/usb/usbip/libsrc/usbip_host_common.c |
Lines 23-30
Link Here
|
23 |
#include "list.h" |
23 |
#include "list.h" |
24 |
#include "sysfs_utils.h" |
24 |
#include "sysfs_utils.h" |
25 |
|
25 |
|
26 |
struct udev *udev_context; |
|
|
27 |
|
28 |
static int32_t read_attr_usbip_status(struct usbip_usb_device *udev) |
26 |
static int32_t read_attr_usbip_status(struct usbip_usb_device *udev) |
29 |
{ |
27 |
{ |
30 |
char status_attr_path[SYSFS_PATH_MAX]; |
28 |
char status_attr_path[SYSFS_PATH_MAX]; |
31 |
-- a/tools/usb/usbip/libsrc/vhci_driver.c |
29 |
++ b/tools/usb/usbip/libsrc/vhci_driver.c |
Lines 15-21
Link Here
|
15 |
#define PROGNAME "libusbip" |
15 |
#define PROGNAME "libusbip" |
16 |
|
16 |
|
17 |
struct usbip_vhci_driver *vhci_driver; |
17 |
struct usbip_vhci_driver *vhci_driver; |
18 |
struct udev *udev_context; |
|
|
19 |
|
18 |
|
20 |
static struct usbip_imported_device * |
19 |
static struct usbip_imported_device * |
21 |
imported_device_init(struct usbip_imported_device *idev, char *busid) |
20 |
imported_device_init(struct usbip_imported_device *idev, char *busid) |