summaryrefslogtreecommitdiffstats
path: root/drivers/staging/hv
Commit message (Collapse)AuthorAgeFilesLines
* Staging: fix assorted typos all over the placeAndré Goddard Rosa2009-12-111-2/+2
| | | | | | Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: Fix some missing author namesHaiyang Zhang2009-11-305-0/+5
| | | | | | | | | | Fix some missing author names. They were accidentally removed by someone within Microsoft before the files were sent for inclusion in the kernel. Signed-off-by: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: Fix vmbus event handler bugHaiyang Zhang2009-11-302-13/+5
| | | | | | | | | | | | The flag ENABLE_POLLING is always enabled in original Makefile, but accidently removed during porting to mainline kernel. The patch fixes this bug which can cause stalled network communication. Credit needs to go to Eric Sesterhenn <eric.sesterhenn@lsexperts.de> For pointing out a typo in the original code as well. Signed-off-by: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: Fix argument order in incorrect memset invocations in hyperv ↵Dave Jones2009-11-301-5/+5
| | | | | | | | | | | driver. Nearly every invocation of memset in drivers/staging/hv/StorVsc.c has its arguments the wrong way around. Signed-off-by: Dave Jones <davej@redhat.com> Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: fix oops in vmbus - missing #includeMilan Dadok2009-10-302-0/+2
| | | | | | | | | | Add missing #includes to make hv module compile successfull. Signed-off-by: Milan Dadok <milan@dadok.name> Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: fix oops in vmbus - netvsc list_headMilan Dadok2009-10-301-6/+4
| | | | | | | | | | | Remove incorrect list_head usage. Variable of type list_head was used in some function's arguments as list item. Signed-off-by: Milan Dadok <milan@dadok.name> Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: fix oops in vmbus - udev eventsMilan Dadok2009-10-301-10/+4
| | | | | | | | | | Fix typos in udev event send and guid variables copy Signed-off-by: Milan Dadok <milan@dadok.name> Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: Fix vmbus load hang caused by faulty data packingHank Janssen2009-10-301-1/+1
| | | | | | | | | Fix vmbus load hang caused by wrong data packing. Signed-off-by: Hank Janssen<hjanssen@microsoft.com> Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: Fix null pointer error after vmbus loadingHaiyang Zhang2009-10-301-13/+1
| | | | | | | | | | | Fix null pointer error after vmbus loading. Remove code that checks for dev_name, the affected structure is kzalloc-ed prior to this routine, so it is always null at this stage. Signed-off-by: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv TODO patchesStephen Hemminger2009-10-301-0/+6
| | | | | | | | | | Update for more items Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com>. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: Complete sched.h removal from interrupt.hJeff Mahoney2009-10-141-0/+1
| | | | | | | | | Commit d43c36dc removed sched.h from interrupt.h and distributed sched.h to users which needed it. This finishes it up for staging. Signed-off-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: update the TODO fileGreg Kroah-Hartman2009-09-151-3/+1
| | | | | | | | | | Remove a few items that have already been resolved. There are only a few checkpatch issues, they need to be resolved by larger code logic changes that are not "simple" changes. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: Remove List.hBill Pemberton2009-09-153-265/+0
| | | | | | | | | List.h is no longer used and can be removed. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: remove use of internal list routines in RndisFilterBill Pemberton2009-09-151-11/+6
| | | | | | | | | | | The hv driver has it's own linked list routines. This removes them from RndisFilter.c Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: remove more usages of internal list routinesBill Pemberton2009-09-155-65/+55
| | | | | | | | | | | The hv driver has it's own linked list routines. This removes them from more places in hv. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: remove use of internal list routines in NetVscBill Pemberton2009-09-153-53/+32
| | | | | | | | | | | The hv driver has it's own linked list routines. This removes them from NetVsc and uses the kernels routines instead. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: Add Haiyang's email to the TODO fileHaiyang Zhang2009-09-151-2/+2
| | | | | | | | | Add Haiyang's email to the TODO file. Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: remove function pointer typedefs from vmbus.hGreg Kroah-Hartman2009-09-155-12/+8
| | | | | | | | | | | It's amazing the hoops that people go through to make code work when they don't opensource the whole thing. Passing these types of function pointers around for no good reason is a mess, this needs to be unwound as everything is now in the open. Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: remove PFN_CHANNEL_CALLBACKGreg Kroah-Hartman2009-09-153-6/+4
| | | | | | | | | | Come on people, it doesn't get simpler than this, why have a typedef for something so tiny... Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: remove function pointer typedefs from StorVscApi.hGreg Kroah-Hartman2009-09-151-12/+5
| | | | | | | | | | function pointer typedefs are allowed in the kernel, but only if they make sense, which they really do not here, as they are not passed around with any kind of frequency. So just spell them all out, it makes the code smaller and easier to understand overall. Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: remove function pointer typedefs from NetVscApi.hGreg Kroah-Hartman2009-09-152-25/+9
| | | | | | | | | | function pointer typedefs are allowed in the kernel, but only if they make sense, which they really do not here, as they are not passed around with any kind of frequency. So just spell them all out, it makes the code smaller and easier to understand overall. Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: remove function pointer typedefs from VmbusApi.hGreg Kroah-Hartman2009-09-152-99/+43
| | | | | | | | | | | function pointer typedefs are allowed in the kernel, but only if they make sense, which they really do not here, as they are not passed around with any kind of frequency. So just spell them all out, it makes the code smaller and easier to understand overall. Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: rename struct NETVSC_DEVICEGreg Kroah-Hartman2009-09-153-35/+35
| | | | | | | | | | | | | The Linux kernel doesn't have all caps structures, we don't like to shout at our programmers, it makes them grumpy. Instead, we like to sooth them with small, rounded letters, which puts them in a nice, compliant mood, and makes them more productive and happier, allowing them more fufilling lives overall. Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: coding style cleanup for NetVsc.cGreg Kroah-Hartman2009-09-151-655/+539
| | | | | | | Still a lot of long lines, but that's nothing I can fix up at this time Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: coding style cleanup for RndisFilter.cGreg Kroah-Hartman2009-09-151-400/+285
| | | | | | | | It's much better now. Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: coding style cleanup for storvsc_drv.cGreg Kroah-Hartman2009-09-151-464/+470
| | | | | | | | Where's the hazard pay for cleaning up this mess... Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: coding style cleanups for vmbus_drv.cGreg Kroah-Hartman2009-09-151-541/+405
| | | | | | | Almost clean. Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: warn the world of a bug in the release functionGreg Kroah-Hartman2009-09-151-0/+5
| | | | | | | | | | | | All device release functions need to do something, if not, it's a bug. By merely providing an "empty" release function, it gets the kernel to shut up, but that's not solving the problem at all. Stick a big fat WARN_ON(1); in there to get people's attention. Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: coding style cleanup for Channel.cGreg Kroah-Hartman2009-09-151-479/+345
| | | | | | | | All clean now. Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: coding style fixes for blkvsc_drv.cGreg Kroah-Hartman2009-09-151-532/+521
| | | | | | | | | There are still some very long lines, someone needs to unwind the logic there to resolve that. Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: reorg StorVsc.cGreg Kroah-Hartman2009-09-151-266/+249
| | | | | | | | This gets rid of all of the forward declarations. Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: coding style cleanups for StorVsc.cGreg Kroah-Hartman2009-09-151-424/+311
| | | | | | | | | Some one owes me a lot of beer, or a nice bottle of rum for all of this crud cleanup... Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: TODO: add some more itemsGreg Kroah-Hartman2009-09-151-0/+2
| | | | | | | Add List.h and RingBuffer.h removal items. Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: reorg ChannelMgmt a bitGreg Kroah-Hartman2009-09-151-37/+24
| | | | | | | | | This gets rid of the unneeded typedef and the forward declarations, saving a bit of code file size. Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: coding style cleanups for ChannelMgmt.cGreg Kroah-Hartman2009-09-151-347/+267
| | | | | | | | | There are still some too-long lines here, hopefully they will get resolved later. Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: reorganize netvsc_drv.cGreg Kroah-Hartman2009-09-151-171/+158
| | | | | | | Saves space by getting rid of the forward declarations. Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: coding style cleanups for netvsc_drv.cGreg Kroah-Hartman2009-09-151-262/+186
| | | | | | | | | | | There are still some horrible long lines in here, which some simple code reworking will make smaller and easier to understand. Also note the FIXME in struct netvsc_driver_context... Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: fix coding style issues in Hv.cGreg Kroah-Hartman2009-09-151-321/+243
| | | | | | | | | | | Lots of cleanups. Note, the use of volatile still needs to be resolved, and possibly the #ifdef could be done a bit "better". Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: code reduction from Vmbus.cGreg Kroah-Hartman2009-09-151-60/+49
| | | | | | | | Reorder some functions to get rid of all of the forward declarations. Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: coding style cleanups on Vmbus.cGreg Kroah-Hartman2009-09-151-306/+109
| | | | | | | | It's now much nicer and cleaner. Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: coding style cleanups for Connection.cGreg Kroah-Hartman2009-09-151-178/+90
| | | | | | | | | Everything is clean except for some very long lines that need a bit more code rework to resolve. That will have to be done by someone that can test the code. Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: remove typedefs from StorVsc.cGreg Kroah-Hartman2009-09-152-48/+45
| | | | | Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: remove typedefs from RndisFilter.cGreg Kroah-Hartman2009-09-151-86/+65
| | | | | Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: remove typedefs from ChannelMgmt.cGreg Kroah-Hartman2009-09-151-3/+3
| | | | | Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: coding style cleanups of ChannelInterface.cGreg Kroah-Hartman2009-09-151-156/+90
| | | | | Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: coding style cleanups of BlkVsc.cGreg Kroah-Hartman2009-09-151-55/+51
| | | | | Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: move VmbusPacketFormat.hGreg Kroah-Hartman2009-09-154-4/+3
| | | | | | | | | Move it out of the include subdirectory. No code changes here, just file movements. Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: move VmbusChannelInterface.hGreg Kroah-Hartman2009-09-153-2/+2
| | | | | | | | | Move it out of the include subdirectory. No code changes here, just file movements. Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: move VmbusApi.hGreg Kroah-Hartman2009-09-156-5/+5
| | | | | | | | | Move it out of the include subdirectory. No code changes here, just file movements. Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: move StorVscApi.hGreg Kroah-Hartman2009-09-154-5/+4
| | | | | | | | | Move it out of the include subdirectory. No code changes here, just file movements. Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
OpenPOWER on IntegriCloud