aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-05-17staging: usbip: userspace: remove revision $Id$matt mooney5-9/+2
This is git not CVS! Signed-off-by: matt mooney <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17staging: usbip: userspace: set libusbip version in configure.acmatt mooney2-1/+6
Move libusbip version setting to configure.ac so that version numbers can be found in a single location. Signed-off-by: matt mooney <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17staging: usbip: userspace: cleanup makefilesmatt mooney3-30/+18
Remove unneeded comments; change deprecated flag INCLUDE to AM_CPPFLAGS and put -D option in *_CPPFLAGS; and use "simply expanded variables" in assignments. Signed-off-by: matt mooney <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17staging: usbip: userspace: configure.ac: major overhaulmatt mooney1-70/+74
All parameters have been quoted; and autoscan was rerun so new headers, types, and functions were added. The deprecated macros AM_CONFIG_HEADER and AM_PROG_LIBTOOL were changed to AC_CONFIG_HEADERS and LT_INIT, respectively. The AS_HELP_STRING macro is used to avoid arbitrary spacing for proper help menu alignment, and AS_CASE to avoid quoting issues. And finally, the macros were realigned to allow mere mortals the ability to read them. Signed-off-by: matt mooney <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17staging: usbip: userspace: update module name referencesmatt mooney5-13/+13
Change all references to the kernel modules to correspond with the new names. Signed-off-by: matt mooney <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17staging: usbip: userspace: whitespace cleanupmatt mooney8-40/+40
Signed-off-by: matt mooney <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17staging: usbip: userspace: remove unused filesmatt mooney2-1/+0
Remove ChangeLog and NEWS. Signed-off-by: matt mooney <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17staging: usbip: userspace: rename source directoriesmatt mooney20-5/+6
Rename cmd/ to src/ and lib/ to libsrc/. Signed-off-by: matt mooney <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17staging: usbip: userspace: move manpages to separate directorymatt mooney5-2/+2
Signed-off-by: matt mooney <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17staging: usbip: add userspace codeTakahiro Hirofuchi32-0/+19318
Add userspace code from svn trunk revision 175. Located at https://usbip.svn.sourceforge.net/svnroot/usbip/linux/trunk/src. Signed-off-by: matt mooney <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: netvsc_drv: Make netvsc_drv_exit() the module exit functionK. Y. Srinivasan1-7/+2
Make netvsc_drv_exit() the module exit function. Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: netvsc_drv: Make netvsc_drv_init the module init functionK. Y. Srinivasan1-7/+2
Now make netvsc_drv_init the module init function. Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: netvsc_drv: Move the dmi_check code to netvsc_drv_init()K. Y. Srinivasan1-5/+6
In preparation to eliminating netvsc_init(), move the dmi_check code to netvsc_drv_init(). Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: netvsc_drv: Change the signature of netvsc_drv_init()K. Y. Srinivasan1-3/+3
Change the signature of netvsc_drv_init(). Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: netvsc_drv: Move the dmi table declaration to earlier in the fileK. Y. Srinivasan1-14/+15
Move the dmi table declaration to earlier in the file. Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: netvsc_drv: Get rid of the used type struct netvsc_driverK. Y. Srinivasan1-7/+0
Now, get rid of the unused type struct netvsc_driver. Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: netvsc_drv: Get rid of the unused function drv_to_netvscdrv()K. Y. Srinivasan1-7/+0
Get rid of the unused function drv_to_netvscdrv(). Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: netvsc_drv: Get rid of the empty function rndis_filter_init()K. Y. Srinivasan3-11/+0
Get rid of the empty function rndis_filter_init(). Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: netvsc_drv: Get rid of some unnecessary/dead code from ↵K. Y. Srinivasan1-16/+0
rndis_filter.c After the cleanup that has been done, some code in rndis_filter.c is no longer needed; get rid of it. Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: netvsc_drv: Make netvsc_drv an instance of struct hv_driverK. Y. Srinivasan1-8/+7
In preparation to getting rid of struct netvsc_driver, make the variable netvsc_drv an instance of struct hv_driver. Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: netvsc_drv: Get rid of the unnecessary state from struct ↵K. Y. Srinivasan1-2/+0
netvsc_driver Now get rid of unused state (ring_buf_size) from struct netvsc_driver. Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: netvsc_drv: Get rid of the unnecessary assignment of ring_buf_sizeK. Y. Srinivasan1-2/+0
Since we pass ring size information differently, this assignment is not needed. Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: netvsc_drv: Get the ring size information from struct ↵K. Y. Srinivasan2-4/+5
netvsc_device_info Get the ring size information from struct netvsc_device_info. Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: netvsc_drv: Add ring_size element to struct netvsc_device_infoK. Y. Srinivasan1-0/+1
Add ring_size element to struct netvsc_device_info. Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: netvsc_drv: Get rid of unused state in struct netvsc_driverK. Y. Srinivasan1-2/+0
Now, get rid of unused state (req_ext_size) from struct netvsc_driver. Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: netvsc_drv: Get rid of an unnecessary assignment in rndis_filter.cK. Y. Srinivasan1-1/+0
Now that we compute the size of struct rndis_filter_packet where it is needed, get rid of the unnecessary assignment. Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: netvsc_drv: Directly get the size of rndis_filter_packetK. Y. Srinivasan1-3/+1
Directly get the size of rndis_filter_packet. Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: netvsc_drv: Move the definition of struct rndis_filter_packet ↵K. Y. Srinivasan2-8/+7
to hyperv_net.h Move the definition of struct rndis_filter_packet to hyperv_net.h. Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: netvsc_drv: Get rid of unnecessary state in struct netvsc_driverK. Y. Srinivasan4-26/+0
Since the function pointers in struct netvsc_driver are no longer used (as these are invoked directly), get rid of this unused state. Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: netvsc_drv: Directly invoke the function rndis_filter_receive()K. Y. Srinivasan1-3/+1
Directly invoke the function rndis_filter_receive(). Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: netvsc_drv: Directly invoke the function netvsc_recv_callback()K. Y. Srinivasan1-2/+1
Directly invoke the function netvsc_recv_callback(). Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: netvsc_drv: Invoke netvsc_linkstatus_callback directlyK. Y. Srinivasan1-2/+2
Invoke netvsc_linkstatus_callback directly. Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: netvsc_drv: Invoke netvsc_send() directlyK. Y. Srinivasan1-2/+2
Invoke netvsc_send() directly. Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: netvsc_drv: Invoke rndis_filter_send() directlyK. Y. Srinivasan1-1/+1
In preparation to getting rid of struct netvsc_driver, make the function rndis_filter_send() non-static. Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: netvsc_drv: Make the function rndis_filter_send() non-staticK. Y. Srinivasan2-4/+4
In preparation to getting rid of struct netvsc_driver, make the function rndis_filter_send() non-static. Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: netvsc_drv: Make the function rndis_filter_receive() non-staticK. Y. Srinivasan2-2/+3
In preparation to getting rid of struct netvsc_driver, make the function rndis_filter_receive() non-static. Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: netvsc_drv: Make the function netvsc_recv_callback() non-staticK. Y. Srinivasan2-1/+3
In preparation to getting rid of struct netvsc_driver, make the function netvsc_recv_callback() non-static. Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: netvsc_drv: Make the function netvsc_linkstatus_callback() ↵K. Y. Srinivasan2-1/+3
non-static In preparation to getting rid of struct netvsc_driver, make the function netvsc_linkstatus_callback() non-static. Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: netvsc_drv: Make the function netvsc_send non-staticK. Y. Srinivasan2-1/+3
In preparation to getting rid of struct netvsc_driver, make the function netvsc_send non-static. Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: netvsc_drv: Get rid of unused state in struct netvsc_driverK. Y. Srinivasan1-1/+0
In preparation to getting rid of struct netvsc_driver, get rid of the unused state (void *ctx) in struct netvsc_driver. Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: netvsc_drv: Clean up the netvsc_drv_exit() functionK. Y. Srinivasan1-33/+1
To conform to the Linux device model, the device should persist even when there is no driver bound to it. Cleanup the netvsc_drv_exit() routine keeping this in mind. Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: mousevsc_drv: Cleanup mousevsc_drv_exit() functionK. Y. Srinivasan1-32/+1
To conform to the Linux device model, the device should persist even when there is no driver bound to it. Cleanup the mousevsc_drv_exit() routine keeping this in mind. Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: storvsc_drv: Cleanup storvsc_drv_exit() functionK. Y. Srinivasan1-29/+1
To conform to the Linux device model, the device should persist even when there is no driver bound to it. Cleanup the storvsc_drv_exit() routine keeping this in mind. Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: blkvsc_drv: Cleanup the blkvsc_drv_exit() functionK. Y. Srinivasan1-32/+1
To conform to the Linux device model, the device should persist even when there is no driver bound to it. Cleanup the blkvsc_drv_exit() routine keeping this in mind. Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: mouse_drv: Fix a sparse warningK. Y. Srinivasan1-1/+1
Most of the sparse warnings in the hv code are from the base kernel. This patch fixes the only sparse related issue in the Hyper-V coode. Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: netvsc: Cleanup hyperv_net.hK. Y. Srinivasan1-3/+1
Cleanup hyperv_net.h. Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: netvsc: Move the contents of rndis_filter.h to hyperv_net.hK. Y. Srinivasan4-55/+26
Move the contents of rndis_filter.h. Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: netvsc: Move the contents of rndis.h to hyperv_net.hK. Y. Srinivasan3-654/+627
Move the contents of rndis.h to hyperv_net.h. Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: netvsc: Move the contents of netvsc.h to hyperv_net.hK. Y. Srinivasan4-331/+302
Move the contents of netvsc.h to hyperv_net.h. Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-17Staging: hv: netvsc: Include the contents of netvsc_api.h into hyperv_net.hK. Y. Srinivasan5-132/+101
Include the contents of netvsc_api.h into hyperv_net.h. Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>