summaryrefslogtreecommitdiffstats
path: root/drivers
Commit message (Collapse)AuthorAgeFilesLines
...
* Staging: hv: osd: remove GetTickCount and GetTimestamp wrappersGreg Kroah-Hartman2009-09-152-15/+0
| | | | | | | | No one was even using them. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: fix up printk warningsGreg Kroah-Hartman2009-09-154-18/+18
| | | | | | | | | | After LogMsg was converted to printk, lots of build warnings showed up as no one was checking the arguments to LogMsg. This patch fixes them all. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: osd: remove PrintBytes wrapperGreg Kroah-Hartman2009-09-154-26/+6
| | | | | | | | Use the "real" print_hex_dump_bytes call instead of a wrapper function. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: osd: remove LogMsg wrapperGreg Kroah-Hartman2009-09-153-38/+31
| | | | | | | | Use the "real" printk call instead of a wrapper function. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: osd: remove MemoryFence wrapperGreg Kroah-Hartman2009-09-154-10/+3
| | | | | | | | Use the "real" mb call instead of a wrapper function. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: osd: remove Sleep wrapperGreg Kroah-Hartman2009-09-154-14/+9
| | | | | | | | | Use the "real" udelay call instead of a wrapper function. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: osd: remove spinlock wrapper functionsGreg Kroah-Hartman2009-09-152-42/+0
| | | | | | | | | Now that there are no users of the wrapper functions for spinlocks, remove them. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: make gVmbusConnection.ChannelLock a real spinlockGreg Kroah-Hartman2009-09-154-13/+16
| | | | | | | | | | | | | Don't use the wrapper functions for this lock, make it a real lock so that we know what is going on. I don't think we really want to be doing a irqsave for this code, but I left it alone to preserve the original codepath. It should be reviewed later. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: make gVmbusConnection.ChannelMsgLock a real spinlockGreg Kroah-Hartman2009-09-154-27/+32
| | | | | | | | | | | | | Don't use the wrapper functions for this lock, make it a real lock so that we know what is going on. I don't think we really want to be doing a irqsave for this code, but I left it alone to preserve the original codepath. It should be reviewed later. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: make netDevice->ReceivePacketListLock a real spinlockGreg Kroah-Hartman2009-09-152-11/+10
| | | | | | | | | | | | | Don't use the wrapper functions for this lock, make it a real lock so that we know what is going on. I don't think we really want to be doing a irqsave for this code, but I left it alone to preserve the original codepath. It should be reviewed later. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: make Device->RequestLock a real spinlockGreg Kroah-Hartman2009-09-151-14/+12
| | | | | | | | | | | | | Don't use the wrapper functions for this lock, make it a real lock so that we know what is going on. I don't think we really want to be doing a irqsave for this code, but I left it alone to preserve the original codepath. It should be reviewed later. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: make RingInfo->RingLock a real spinlockGreg Kroah-Hartman2009-09-152-12/+14
| | | | | | | | | | | | | Don't use the wrapper functions for this lock, make it a real lock so that we know what is going on. I don't think we really want to be doing a irqsave for this code, but I left it alone to preserve the original codepath. It should be reviewed later. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: make Channel->InboundLock a real spinlockGreg Kroah-Hartman2009-09-153-18/+12
| | | | | | | | | | | | | Don't use the wrapper functions for this lock, make it a real lock so that we know what is going on. I don't think we really want to be doing a irqsave for this code, but I left it alone to preserve the original codepath. It should be reviewed later. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: osd: remove MemFree wrapperGreg Kroah-Hartman2009-09-159-33/+27
| | | | | | | | Use the "real" kfree call instead of a wrapper function. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: osd: remove MemAllocAtomic wrapperGreg Kroah-Hartman2009-09-156-11/+4
| | | | | | | | Use the "real" kmalloc call instead of a wrapper function. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: osd: remove MemAllocZeroed wrapperGreg Kroah-Hartman2009-09-157-19/+11
| | | | | | | | Use the "real" kzalloc call instead of a wrapper function. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: osd: remove MemAlloc wrapperGreg Kroah-Hartman2009-09-157-17/+6
| | | | | | | | Use the "real" kmalloc call instead of a wrapper function. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: remove TRUE, FALSE, and NULL usageGreg Kroah-Hartman2009-09-155-27/+13
| | | | | | | | | Don't define things that are either already provided (like NULL), or you shouldn't use (like TRUE and FALSE). Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: remove FIELD_OFFSET usageGreg Kroah-Hartman2009-09-152-11/+0
| | | | | | | | This isn't needed, or even used, at all. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: remove UNUSED_VAR usageGreg Kroah-Hartman2009-09-152-3/+1
| | | | | | | | This isn't needed at all. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: remove STRUCT_PACKED and STRUCT_ALIGNED definesGreg Kroah-Hartman2009-09-152-4/+1
| | | | | | | | Use the correct __attribute__((packed)) one if it's really needed. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: remove PAGE_SIZE and PAGE_SHIFT and __builtin functionsGreg Kroah-Hartman2009-09-156-28/+6
| | | | | | | | | The kernel provides all of this, and actually gets it correct, so don't try to redefine these types of things. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: remove MIN and MAX usagesGreg Kroah-Hartman2009-09-152-5/+2
| | | | | | | | The kernel has the "correct" min() and max() functions, so use those. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: remove #defines from osd.cGreg Kroah-Hartman2009-09-151-42/+0
| | | | | | | | Remove the unneeded #defines from osd.c Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: remove BOOL and BOOLEAN typedefsGreg Kroah-Hartman2009-09-159-13/+11
| | | | | | | | | | The BOOL and BOOLEAN typedefs are now removed from the Hyper-V driver code. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: remove DWORD and BYTE typedefsGreg Kroah-Hartman2009-09-151-2/+0
| | | | | | | | | No one was even using them... Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: remove SIZE_T typedefGreg Kroah-Hartman2009-09-156-7/+6
| | | | | | | | | The SIZE_T typedef is now removed from the Hyper-V driver code. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: remove ULONG and LONG typedefsGreg Kroah-Hartman2009-09-154-18/+8
| | | | | | | | | | The ULONG and LONG typedefs are now removed from the Hyper-V driver code. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: remove ULONG_PTR typedefGreg Kroah-Hartman2009-09-159-54/+52
| | | | | | | | | The ULONG_PTR typedef is now removed from the Hyper-V driver code. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: remove ULONGLONG and LONGLONG typedefsGreg Kroah-Hartman2009-09-153-5/+2
| | | | | | | | | | The ULONGLONG and LONGLONG typedefs are now removed from the Hyper-V driver code. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: remove USHORT typedefGreg Kroah-Hartman2009-09-152-5/+4
| | | | | | | | | The USHORT typedef is now removed from the Hyper-V driver code. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: remove UINT64 and INT64 and UCHAR typedefsGreg Kroah-Hartman2009-09-1526-186/+172
| | | | | | | | | | The UINT64 and INT64 and UCHAR typedefs are now removed from the Hyper-V driver code. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: remove UINT32 and INT32 typedefsGreg Kroah-Hartman2009-09-1528-452/+450
| | | | | | | | | | The UINT32 and INT32 typedefs are now removed from the Hyper-V driver code. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: remove UINT16 and INT16 typedefsGreg Kroah-Hartman2009-09-1510-36/+34
| | | | | | | | | | The UINT16 and INT16 typedefs are now removed from the Hyper-V driver code. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: remove UINT8 and INT8 typedefsGreg Kroah-Hartman2009-09-1514-25/+26
| | | | | | | | | | | | | The UINT8 and INT8 typedefs are now removed from the Hyper-V driver code. Had to include <linux/kernel.h> in a few places to get the build to work properly as well. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: remove VOID typedefGreg Kroah-Hartman2009-09-1512-40/+39
| | | | | | | | | The VOID typedef is now removed from the Hyper-V driver code. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: remove PVOID typedefGreg Kroah-Hartman2009-09-1521-83/+82
| | | | | | | | | The PVOID typedef is now removed from the Hyper-V driver code. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: remove INTERNAL typedefGreg Kroah-Hartman2009-09-157-58/+54
| | | | | | | | | The INTERNAL typedef is now removed from the Hyper-V driver code. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: netvsc: fix up driver_data usageGreg Kroah-Hartman2009-09-151-5/+5
| | | | | | | | | | | | driver_data is gone now from struct device, so use the proper functions to access it instead. Thanks to Bill Pemberton for pointing out this build error. Cc: Bill Pemberton <wfp5p@viridian.itc.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 the Hyper-V virtual network driver to the buildGreg Kroah-Hartman2009-09-152-0/+9
| | | | | | | | | Add the Hyper-V virtual network driver to the kernel build system. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: make the Hyper-V virtual network driver buildGreg Kroah-Hartman2009-09-156-18/+25
| | | | | | | | | | | | | | | The #define KERNEL_2_6_27 needs to be set, and I adjusted the include directories a bit to get things to build properly. The driver was changed to use net_device_ops, as that is needed to build and operate properly now. The hv_netvsc code should now build with no errors. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: blkvsc: fix up driver_data usageGreg Kroah-Hartman2009-09-151-3/+3
| | | | | | | | | | | | | driver_data is gone now from struct device, so use the proper functions to access it instead. Thanks to Bill Pemberton for pointing out this build error. Cc: Bill Pemberton <wfp5p@viridian.itc.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 the Hyper-V virtual block driver to the buildGreg Kroah-Hartman2009-09-152-0/+9
| | | | | | | | | | Add the Hyper-V virtual block driver to the kernel build system. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: make the Hyper-V virtual block driver buildGreg Kroah-Hartman2009-09-152-12/+13
| | | | | | | | | | | | | | | | | | The #define KERNEL_2_6_27 needs to be set, and I adjusted the include directories a bit to get things to build properly. I also fixed up the direct access of bus_id, as that field is now gone. Lots of block api changes were needed, and I don't think I got it all correct. It would be great of someone who knows the block api better could review it. The hv_blkvsc code should now build, with no errors. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: storvsc: fix up driver_data usageGreg Kroah-Hartman2009-09-151-4/+4
| | | | | | | | | | | | | driver_data is gone now from struct device, so use the proper functions to access it instead. Thanks to Bill Pemberton for pointing out this build error. Cc: Bill Pemberton <wfp5p@viridian.itc.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 the Hyper-V virtual scsi driver to the buildGreg Kroah-Hartman2009-09-152-0/+8
| | | | | | | | | Add the Hyper-V virtual scsi driver to the kernel build system. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: make the Hyper-V virtual storage driver buildGreg Kroah-Hartman2009-09-152-9/+11
| | | | | | | | | | | | | | | The #define KERNEL_2_6_27 needs to be set, and I adjusted the include directories a bit to get things to build properly. I also fixed up the direct access of bus_id, as that field is now gone. Some minor scsi api changes were needed as well. The hv_storvsc code should now build properly, with no errors. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: add the Hyper-V virtual bus to the buildGreg Kroah-Hartman2009-09-154-0/+14
| | | | | | | | | Add the Hyper-V virtual bus to the kernel build system. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: use the correct #ifdef for x86-64Greg Kroah-Hartman2009-09-151-1/+1
| | | | | | | | | | x86-64 needs a different config check. Thanks to Hank for the debugging to determine the fix for this. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: hv: make the Hyper-V virtual bus code buildGreg Kroah-Hartman2009-09-1516-34/+37
| | | | | | | | | | | | | | The #define KERNEL_2_6_27 needs to be set, and I adjusted the include directories a bit to get things to build properly. I also fixed up the direct access of bus_id, as that field is now gone. The hv_vmbus code should now build properly, with no errors. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
OpenPOWER on IntegriCloud