Commit 220973dd authored by matt mooney's avatar matt mooney Committed by Greg Kroah-Hartman

staging: usbip: userspace: update module name references

Change all references to the kernel modules to correspond with the new
names.
Signed-off-by: default avatarmatt mooney <mfm@muteddisk.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 9abec452
...@@ -34,8 +34,8 @@ ...@@ -34,8 +34,8 @@
[Usage] [Usage]
server:# (Attach your USB device physically.) server:# (Attach your USB device physically.)
server:# insmod usbip_common_mod.ko server:# insmod usbip-core.ko
server:# insmod usbip.ko server:# insmod usbip-host.ko
- It was formerly named as stub.ko. - It was formerly named as stub.ko.
server:# usbipd -D server:# usbipd -D
...@@ -45,13 +45,13 @@ ...@@ -45,13 +45,13 @@
- List driver assignments for usb devices. - List driver assignments for usb devices.
server:# usbip_bind_driver --usbip 1-2 server:# usbip_bind_driver --usbip 1-2
- Bind usbip.ko to the device of busid 1-2. - Bind usbip-host.ko to the device of busid 1-2.
- A usb device 1-2 is now exportable to other hosts! - A usb device 1-2 is now exportable to other hosts!
- Use 'usbip_bind_driver --other 1-2' when you want to shutdown exporting - Use 'usbip_bind_driver --other 1-2' when you want to shutdown exporting
and use the device locally. and use the device locally.
client:# insmod usbip_common_mod.ko client:# insmod usbip-core.ko
client:# insmod vhci-hcd.ko client:# insmod vhci-hcd.ko
- It was formerly named as vhci.ko. - It was formerly named as vhci.ko.
...@@ -72,8 +72,8 @@ ...@@ -72,8 +72,8 @@
-------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------
- SERVER SIDE (physically attach your USB devices to this host) ---------------------------------------- - SERVER SIDE (physically attach your USB devices to this host) ----------------------------------------
-------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------
trois:# insmod (somewhere)/usbip_common_mod.ko trois:# insmod (somewhere)/usbip-core.ko
trois:# insmod (somewhere)/usbip.ko trois:# insmod (somewhere)/usbip-host.ko
trois:# usbipd -D trois:# usbipd -D
-------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------
...@@ -132,7 +132,7 @@ Iterate the above operation for other devices if you like. ...@@ -132,7 +132,7 @@ Iterate the above operation for other devices if you like.
First, let's list available remote devices which are marked as exportable in First, let's list available remote devices which are marked as exportable in
the server host. the server host.
deux:# insmod (somewhere)/usbip_common_mod.ko deux:# insmod (somewhere)/usbip-core.ko
deux:# insmod (somewhere)/vhci_hcd.ko deux:# insmod (somewhere)/vhci_hcd.ko
deux:# usbip --list 10.0.0.3 deux:# usbip --list 10.0.0.3
...@@ -200,7 +200,7 @@ Detach the imported device. ...@@ -200,7 +200,7 @@ Detach the imported device.
[Check List] [Check List]
- See Debug Tips in the project wiki. - See Debug Tips in the project wiki.
- http://usbip.wiki.sourceforge.net/how-to-debug-usbip - http://usbip.wiki.sourceforge.net/how-to-debug-usbip
- usbip.ko must be bound to the target device. - usbip-host.ko must be bound to the target device.
- See /proc/bus/usb/devices and find "Driver=..." lines of the device. - See /proc/bus/usb/devices and find "Driver=..." lines of the device.
- Shutdown firewall. - Shutdown firewall.
- usbip now uses TCP port 3240. - usbip now uses TCP port 3240.
......
...@@ -31,7 +31,7 @@ Print usb devices and their drivers in parseable mode ...@@ -31,7 +31,7 @@ Print usb devices and their drivers in parseable mode
- List driver assignments for usb devices. - List driver assignments for usb devices.
server:# usbip_bind_driver --usbip 1-2 server:# usbip_bind_driver --usbip 1-2
- Bind usbip.ko to the device of busid 1-2. - Bind usbip-host.ko to the device of busid 1-2.
- A usb device 1-2 is now exportable to other hosts! - A usb device 1-2 is now exportable to other hosts!
server:# usbip_bind_driver --other 1-2 server:# usbip_bind_driver --other 1-2
......
...@@ -52,7 +52,7 @@ USB/IP client can connect and use exported devices. ...@@ -52,7 +52,7 @@ USB/IP client can connect and use exported devices.
- List driver assignments for usb devices. - List driver assignments for usb devices.
server:# usbip_bind_driver --usbip 1-2 server:# usbip_bind_driver --usbip 1-2
- Bind usbip.ko to the device of busid 1-2. - Bind usbip-host.ko to the device of busid 1-2.
- A usb device 1-2 is now exportable to other hosts! - A usb device 1-2 is now exportable to other hosts!
- Use 'usbip_bind_driver --other 1-2' when you want to shutdown exporting and use the device locally. - Use 'usbip_bind_driver --other 1-2' when you want to shutdown exporting and use the device locally.
......
...@@ -34,7 +34,7 @@ static struct sysfs_driver *open_sysfs_stub_driver(void) ...@@ -34,7 +34,7 @@ static struct sysfs_driver *open_sysfs_stub_driver(void)
stub_driver = sysfs_open_driver_path(stub_driver_path); stub_driver = sysfs_open_driver_path(stub_driver_path);
if (!stub_driver) { if (!stub_driver) {
err("usbip_common_mod.ko and usbip.ko must be loaded"); err("usbip-core.ko and usbip-host.ko must be loaded");
return NULL; return NULL;
} }
...@@ -199,7 +199,7 @@ static int refresh_exported_devices(void) ...@@ -199,7 +199,7 @@ static int refresh_exported_devices(void)
suinf_list = sysfs_get_driver_devices(stub_driver->sysfs_driver); suinf_list = sysfs_get_driver_devices(stub_driver->sysfs_driver);
if (!suinf_list) { if (!suinf_list) {
printf("Bind usbip.ko to a usb device to be exportable!\n"); printf("Bind usbip-host.ko to a usb device to be exportable!\n");
goto bye; goto bye;
} }
......
...@@ -282,7 +282,7 @@ static int get_hc_busid(char *sysfs_mntpath, char *hc_busid) ...@@ -282,7 +282,7 @@ static int get_hc_busid(char *sysfs_mntpath, char *hc_busid)
sdriver = sysfs_open_driver_path(sdriver_path); sdriver = sysfs_open_driver_path(sdriver_path);
if (!sdriver) { if (!sdriver) {
info("%s is not found", sdriver_path); info("%s is not found", sdriver_path);
info("load usbip_common_mod.ko and vhci-hcd.ko !"); info("load usbip-core.ko and vhci-hcd.ko !");
return -1; return -1;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment