View | Details | Raw Unified | Return to bug 29183
Collapse All | Expand All

(-)a/usbip-svn/drivers/README (-1 / +1 lines)
Lines 25-28 This directory contains the source code of usbip drivers for mainline kernel. Link Here
25
	To disable debug output temporaly, write 0 to usbip_debug.
25
	To disable debug output temporaly, write 0 to usbip_debug.
26
	If you use ZSH,
26
	If you use ZSH,
27
	   echo 0 >| /sys/bus/platform/drivers/vhci_hcd/vhci_hcd/usbip_debug
27
	   echo 0 >| /sys/bus/platform/drivers/vhci_hcd/vhci_hcd/usbip_debug
28
	   echo 0 >| /sys/bus/usb/drivers/usbip/*/usbip_debug
28
	   echo 0 >| /sys/bus/usb/drivers/usbip-host/*/usbip_debug
(-)a/usbip-svn/src/README (-1 / +1 lines)
Lines 114-120 Mark the device of busid 3-3.2 as exportable. Link Here
114
114
115
   trois:# bind_driver --usbip 3-3.2
115
   trois:# bind_driver --usbip 3-3.2
116
   ** (process:24621): DEBUG:  3-3.2:1.0   -> none 
116
   ** (process:24621): DEBUG:  3-3.2:1.0   -> none 
117
   ** (process:24621): DEBUG: write "add 3-3.2" to /sys/bus/usb/drivers/usbip/match_busid
117
   ** (process:24621): DEBUG: write "add 3-3.2" to /sys/bus/usb/drivers/usbip-host/match_busid
118
   ** Message: bind 3-3.2 to usbip, complete!
118
   ** Message: bind 3-3.2 to usbip, complete!
119
   
119
   
120
   trois:# bind_driver --list
120
   trois:# bind_driver --list
(-)a/usbip-svn/src/cmd/bind-driver.c (-6 / +6 lines)
Lines 28-34 static const struct option longopts[] = { Link Here
28
	{NULL,		0,			NULL,  0}
28
	{NULL,		0,			NULL,  0}
29
};
29
};
30
30
31
static const char match_busid_path[] = "/sys/bus/usb/drivers/usbip/match_busid";
31
static const char match_busid_path[] = "/sys/bus/usb/drivers/usbip-host/match_busid";
32
32
33
33
34
static void show_help(void)
34
static void show_help(void)
Lines 227-235 static int bind_to_usbip(char *busid) Link Here
227
 	for (i = 0; i < ninterface; i++) {
227
 	for (i = 0; i < ninterface; i++) {
228
		int ret;
228
		int ret;
229
229
230
		ret = bind_interface(busid, configvalue, i, "usbip");
230
		ret = bind_interface(busid, configvalue, i, "usbip-host");
231
		if (ret < 0) {
231
		if (ret < 0) {
232
			g_warning("bind usbip at %s:%d.%d, failed",
232
			g_warning("bind usbip-host at %s:%d.%d, failed",
233
					busid, configvalue, i);
233
					busid, configvalue, i);
234
			failed = 1;
234
			failed = 1;
235
			/* need to contine binding at other interfaces */
235
			/* need to contine binding at other interfaces */
Lines 261-272 static int use_device_by_usbip(char *busid) Link Here
261
261
262
	ret = bind_to_usbip(busid);
262
	ret = bind_to_usbip(busid);
263
	if (ret < 0) {
263
	if (ret < 0) {
264
		g_warning("bind usbip to %s, failed", busid);
264
		g_warning("bind usbip-host to %s, failed", busid);
265
		modify_match_busid(busid, 0);
265
		modify_match_busid(busid, 0);
266
		return -1;
266
		return -1;
267
	}
267
	}
268
268
269
	g_message("bind %s to usbip, complete!", busid);
269
	g_message("bind %s to usbip-host, complete!", busid);
270
270
271
	return 0;
271
	return 0;
272
}
272
}
Lines 297-303 static int use_device_by_other(char *busid) Link Here
297
		return -1;
297
		return -1;
298
	}
298
	}
299
299
300
	g_message("bind %s to other drivers than usbip, complete!", busid);
300
	g_message("bind %s to other drivers than usbip-host, complete!", busid);
301
301
302
	return 0;
302
	return 0;
303
}
303
}
(-)a/usbip-svn/src/lib/stub_driver.c (-1 / +1 lines)
Lines 4-10 Link Here
4
4
5
#include "usbip.h"
5
#include "usbip.h"
6
6
7
static const char *usbip_stub_driver_name = "usbip";
7
static const char *usbip_stub_driver_name = "usbip-host";
8
8
9
9
10
struct usbip_stub_driver *stub_driver;
10
struct usbip_stub_driver *stub_driver;

Return to bug 29183