]> git.kernelconcepts.de Git - karo-tx-linux.git/log
karo-tx-linux.git
12 years agostaging: brcm80211: rename key endian conversion functions
Arend van Spriel [Fri, 26 Aug 2011 13:19:32 +0000 (15:19 +0200)]
staging: brcm80211: rename key endian conversion functions

The key endian conversion functions in wl_cfg80211.c have been
renamed as the old names were misleasing.

Reported-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com>
Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agostaging: brcm80211: remove macro definitions from brcmfmac Makefile
Arend van Spriel [Fri, 26 Aug 2011 13:19:31 +0000 (15:19 +0200)]
staging: brcm80211: remove macro definitions from brcmfmac Makefile

The Makefile for the brcmfmac driver contains macro definitions that
are always set. This patch removes those definitions from the Makefile
and source code.

Reported-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com>
Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agostaging: brcm80211: remove usage of macro WL11N_20MHZONLY
Arend van Spriel [Fri, 26 Aug 2011 13:19:30 +0000 (15:19 +0200)]
staging: brcm80211: remove usage of macro WL11N_20MHZONLY

The macro WL11N_20MHZONLY is never defined so code #ifdef'ed by
it has been removed.

Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com>
Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agostaging: brcm80211: remove macro definitions from brcmsmac Makefile
Arend van Spriel [Fri, 26 Aug 2011 13:19:29 +0000 (15:19 +0200)]
staging: brcm80211: remove macro definitions from brcmsmac Makefile

The Makefile for the brcmsmac driver contains macro definitions that
are always set and even some are not used in the source code anymore.
This patch removes those definitions from the Makefile and source code.

Reported-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com>
Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agostaging: brcm80211: remove unused definition flag from top Makefile
Arend van Spriel [Fri, 26 Aug 2011 13:19:28 +0000 (15:19 +0200)]
staging: brcm80211: remove unused definition flag from top Makefile

The use of the definition BCMDMA32 was already removed from the
source code, but it was still defined in the top-level Makefile.
This patch removes it.

Reported-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com>
Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoMerge git://git.kernel.org/pub/scm/linux/kernel/git/lwfinger/r8192E into staging...
Greg Kroah-Hartman [Fri, 26 Aug 2011 17:48:53 +0000 (10:48 -0700)]
Merge git://git.kernel.org/pub/scm/linux/kernel/git/lwfinger/r8192E into staging-next

* git://git.kernel.org/pub/scm/linux/kernel/git/lwfinger/r8192E: (25 commits)
  rtl8192e: update for ndo_set_multicast_list removal.
  staging: rtl8192e: Add endian checking switch to Makefile
  staging: rtl8192e: Fix sparse (non-endian) warnings - Part II
  staging: rtl8192e: Fix sparse (non-endian) messages - Part I
  staging: rtl8192e: Remove MAC_FMT and MAC_ARG for %pM
  staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XVIII
  staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XVII
  staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XVI
  staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XV
  staging: rtl8192e: Cleanup checkpatch -f errors - Part XIV
  staging: rtl8192e: Cleanup checkpatch -f errors - Part XIII
  staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XII
  staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XI
  staging: rtl8192e: Cleanup checkpatch -f errors - Part X
  staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part IX
  staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part VIII
  staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part VII
  staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part VI
  staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part V
  staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part IV
  ...

12 years agogma500: Fix up suspend/resume
Alan Cox [Fri, 26 Aug 2011 10:20:17 +0000 (11:20 +0100)]
gma500: Fix up suspend/resume

This isn't ideal as we could do with deferring the power on a lot more on
Oaktrail and Medfield. We can't however do that without fixing other things
first.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agogma500: Fix backlight crash
Alan Cox [Fri, 26 Aug 2011 10:19:34 +0000 (11:19 +0100)]
gma500: Fix backlight crash

Initial changes to get backlight behaviour we want and to fix backlight crashes
on suspend/resume paths.

[Note: on some boxes this will now produce a warning about the backlight, this
 isn't a regression it's an unfixed but non harmful case I still need to nail]

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agogma500: kill bogus code
Alan Cox [Fri, 26 Aug 2011 10:19:17 +0000 (11:19 +0100)]
gma500: kill bogus code

During the power split ups and work a chunk of code escaped into the
Poulsbo code path which it isn't for. On some devices such as the Dell
mini-10 this causes problems.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agogma500: Convert spaces to tabs in accel_2d.c.
Akshay Joshi [Fri, 26 Aug 2011 10:18:57 +0000 (11:18 +0100)]
gma500: Convert spaces to tabs in accel_2d.c.

Convert the spaces within the accel_2d.c file to tabs in order to comply
with the coding style of the kernel.

Signed-off-by: Akshay Joshi <me@akshayjoshi.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agogma500: do a pass over the FIXME tags
Alan Cox [Fri, 26 Aug 2011 10:18:41 +0000 (11:18 +0100)]
gma500: do a pass over the FIXME tags

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agogma500: Add VBLANK support for Poulsbo hardware
Patrik Jakobsson [Fri, 26 Aug 2011 10:18:13 +0000 (11:18 +0100)]
gma500: Add VBLANK support for Poulsbo hardware

Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agogma500: Don't enable MSI on Poulsbo
Patrik Jakobsson [Fri, 26 Aug 2011 10:17:57 +0000 (11:17 +0100)]
gma500: Don't enable MSI on Poulsbo

Chipset reports MSI capabilities for Poulsbo even though it isn't really there.

Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agogma500: Only register interrupt handler for poulsbo hardware
Patrik Jakobsson [Fri, 26 Aug 2011 10:17:42 +0000 (11:17 +0100)]
gma500: Only register interrupt handler for poulsbo hardware

First step in adding proper irq handling. We'll start with poulsbo support so
make sure other chips don't touch drm_irq_install().

Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agortl8192e: update for ndo_set_multicast_list removal.
Stephen Rothwell [Thu, 25 Aug 2011 05:02:09 +0000 (15:02 +1000)]
rtl8192e: update for ndo_set_multicast_list removal.

After merging the staging tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/staging/rtl8192e/rtl_core.c:2917:2: error: unknown field 'ndo_set_multicast_list' specified in initializer

Caused by commit 94a799425eee ("From: wlanfae <wlanfae@realtek.com>" -
really "[PATCH 1/8] rtl8192e: Import new version of driver from realtek"

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
12 years agostaging: Add module.h to drivers/staging users
Paul Gortmaker [Sun, 3 Jul 2011 19:49:50 +0000 (15:49 -0400)]
staging: Add module.h to drivers/staging users

Lots of people expect module.h to just "be there" without
any #include effort.  But we are crushing that.  So fix those
files in staging relying on implicit module.h presence.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: hv_mouse: fix up remove() function
Greg Kroah-Hartman [Thu, 25 Aug 2011 23:51:28 +0000 (16:51 -0700)]
Staging: hv: hv_mouse: fix up remove() function

This function obviously never worked, it was a cut-and-paste from the
probe() function.  Rewrite it to do what it is supposed to do at least
in theory.  As to if it works yet, well, it's not worse than it was
before, so this can't hurt.

Cc: K. Y. Srinivasan <kys@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: hv_mouse: remove a forward declaration
Greg Kroah-Hartman [Thu, 25 Aug 2011 23:47:43 +0000 (16:47 -0700)]
Staging: hv: hv_mouse: remove a forward declaration

This moves some functions around to remove a forward declaration.

Cc: K. Y. Srinivasan <kys@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: hv_mouse: remove inputreport_callback function
Greg Kroah-Hartman [Thu, 25 Aug 2011 23:41:06 +0000 (16:41 -0700)]
Staging: hv: hv_mouse: remove inputreport_callback function

It's not needed, so just inline the two lines.

Cc: K. Y. Srinivasan <kys@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: hv_mouse: remove deviceinfo_callback function
Greg Kroah-Hartman [Thu, 25 Aug 2011 23:36:52 +0000 (16:36 -0700)]
Staging: hv: hv_mouse: remove deviceinfo_callback function

It's not needed, so just inline the two lines.

Cc: K. Y. Srinivasan <kys@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agostaging: rtl8192e: Add endian checking switch to Makefile
Larry Finger [Thu, 25 Aug 2011 19:07:06 +0000 (14:07 -0500)]
staging: rtl8192e: Add endian checking switch to Makefile

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agostaging: rtl8192e: Fix sparse (non-endian) warnings - Part II
Larry Finger [Thu, 25 Aug 2011 19:07:05 +0000 (14:07 -0500)]
staging: rtl8192e: Fix sparse (non-endian) warnings - Part II

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agostaging: rtl8192e: Fix sparse (non-endian) messages - Part I
Larry Finger [Thu, 25 Aug 2011 19:07:04 +0000 (14:07 -0500)]
staging: rtl8192e: Fix sparse (non-endian) messages - Part I

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agostaging: rtl8192e: Remove MAC_FMT and MAC_ARG for %pM
Larry Finger [Thu, 25 Aug 2011 19:07:03 +0000 (14:07 -0500)]
staging: rtl8192e: Remove MAC_FMT and MAC_ARG for %pM

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: mouse: Get rid of the unused PCI signature
K. Y. Srinivasan [Thu, 25 Aug 2011 16:49:23 +0000 (09:49 -0700)]
Staging: hv: mouse: Get rid of the unused PCI signature

Get rid of  the unused  PCI signature in the mouse driver.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: netvsc: Change the jump label Exit to exit
K. Y. Srinivasan [Thu, 25 Aug 2011 16:49:25 +0000 (09:49 -0700)]
Staging: hv: netvsc: Change the jump label Exit to exit

Change the jump lable "Exit" to "exit".

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: netvsc: Change the jump label Cleanup to cleanup
K. Y. Srinivasan [Thu, 25 Aug 2011 16:49:24 +0000 (09:49 -0700)]
Staging: hv: netvsc: Change the jump label Cleanup to cleanup

Change the jump label "Cleanup" to "cleanup".

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: mouse: Change the jump label Cleanup to cleanup
K. Y. Srinivasan [Thu, 25 Aug 2011 16:49:22 +0000 (09:49 -0700)]
Staging: hv: mouse: Change the jump label Cleanup to cleanup

Change the jump label "Cleanup" to "cleanup".

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: netvsc: Cleanup error code in rndis_filter_device_add()
K. Y. Srinivasan [Thu, 25 Aug 2011 16:49:21 +0000 (09:49 -0700)]
Staging: hv: netvsc: Cleanup error code in rndis_filter_device_add()

Use standard Linux error codes.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: netvsc: Cleanup error returns in rndis_filter_init_device()
K. Y. Srinivasan [Thu, 25 Aug 2011 16:49:20 +0000 (09:49 -0700)]
Staging: hv: netvsc: Cleanup error returns in rndis_filter_init_device()

Use standard Linux error codes.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: netvsc: Cleanup error return values in rndis_filter_set_packet_filter()
K. Y. Srinivasan [Thu, 25 Aug 2011 16:49:19 +0000 (09:49 -0700)]
Staging: hv: netvsc: Cleanup error return values in rndis_filter_set_packet_filter()

Use standard Linux error codes and cleanup some error paths.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: netvsc: Cleanup error code in rndis_filter_query_device()
K. Y. Srinivasan [Thu, 25 Aug 2011 16:49:18 +0000 (09:49 -0700)]
Staging: hv: netvsc: Cleanup error code in rndis_filter_query_device()

Use standard Linux error codes.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: netvsc: Cleanup error codes in rndis_filter_receive()
K. Y. Srinivasan [Thu, 25 Aug 2011 16:49:17 +0000 (09:49 -0700)]
Staging: hv: netvsc: Cleanup error codes in rndis_filter_receive()

Use standard Linux error codes.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: netvsc: Cleanup error return codes in netvsc_device_add()
K. Y. Srinivasan [Thu, 25 Aug 2011 16:49:16 +0000 (09:49 -0700)]
Staging: hv: netvsc: Cleanup error return codes in netvsc_device_add()

Use standard Linux error codes.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: netvsc: Cleanup error return values in netvsc_send()
K. Y. Srinivasan [Thu, 25 Aug 2011 16:49:15 +0000 (09:49 -0700)]
Staging: hv: netvsc: Cleanup error return values in netvsc_send()

Use standard Linux error codes.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: netvsc: Cleanup error returns in netvsc_connect_vsp()
K. Y. Srinivasan [Thu, 25 Aug 2011 16:49:14 +0000 (09:49 -0700)]
Staging: hv: netvsc: Cleanup error returns in netvsc_connect_vsp()

Use standard Linux error codes.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: netvsc: Cleanup error return values in netvsc_init_recv_buf()
K. Y. Srinivasan [Thu, 25 Aug 2011 16:49:13 +0000 (09:49 -0700)]
Staging: hv: netvsc: Cleanup error return values in netvsc_init_recv_buf()

Use standard Linux error codes.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: netvsc: Cleanup error return codes in netvsc_destroy_recv_buf()
K. Y. Srinivasan [Thu, 25 Aug 2011 16:49:12 +0000 (09:49 -0700)]
Staging: hv: netvsc: Cleanup error return codes in netvsc_destroy_recv_buf()

Cleanup error return codes in netvsc_destroy_recv_buf().

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: netvsc: Cleanup the returned error code in netvsc_probe()
K. Y. Srinivasan [Thu, 25 Aug 2011 16:49:11 +0000 (09:49 -0700)]
Staging: hv: netvsc: Cleanup the returned error code in netvsc_probe()

Use standard Linux error codes.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: storvsc: Cleanup returned error code in storvsc_drv_init()
K. Y. Srinivasan [Thu, 25 Aug 2011 16:49:10 +0000 (09:49 -0700)]
Staging: hv: storvsc: Cleanup returned error code in storvsc_drv_init()

Use standard Linux error codes.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: storvsc: Cleanup error code returned in storvsc_probe()
K. Y. Srinivasan [Thu, 25 Aug 2011 16:49:09 +0000 (09:49 -0700)]
Staging: hv: storvsc: Cleanup error code returned in storvsc_probe()

Use standard Linux error codes.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: storvsc: Cleanup returned error code in storvsc_host_reset()
K. Y. Srinivasan [Thu, 25 Aug 2011 16:49:08 +0000 (09:49 -0700)]
Staging: hv: storvsc: Cleanup returned error code in storvsc_host_reset()

Use standard Linux error codes.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: storvsc: Fix/cleanup some dated comments in storvsc.c
K. Y. Srinivasan [Thu, 25 Aug 2011 16:49:07 +0000 (09:49 -0700)]
Staging: hv: storvsc: Fix/cleanup some dated comments in storvsc.c

Fix/cleanup some dated comments in storvsc.c.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStorage: hv: storvsc: Get rid of some unnecessary DPRINTs from storvsc.c
K. Y. Srinivasan [Thu, 25 Aug 2011 16:49:06 +0000 (09:49 -0700)]
Storage: hv: storvsc: Get rid of some unnecessary DPRINTs from storvsc.c

Get rid of some unnecessary DPRINTs from storvsc.c.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: storvsc: Cleanup error handling in storvsc_do_io()
K. Y. Srinivasan [Thu, 25 Aug 2011 16:49:05 +0000 (09:49 -0700)]
Staging: hv: storvsc: Cleanup error handling in storvsc_do_io()

Use standard Linux error codes.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: storvsc: Cleanup error handling in storvsc_connect_to_vsp()
K. Y. Srinivasan [Thu, 25 Aug 2011 16:49:04 +0000 (09:49 -0700)]
Staging: hv: storvsc: Cleanup error handling in storvsc_connect_to_vsp()

Cleanup error handling in storvsc_connect_to_vsp().

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: storvsc: Cleanup error handling in storvsc_channel_init()
K. Y. Srinivasan [Thu, 25 Aug 2011 16:49:03 +0000 (09:49 -0700)]
Staging: hv: storvsc: Cleanup error handling in storvsc_channel_init()

Use standard Linux error codes.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: storvsc: Cleanup error handling in storvsc_dev_add()
K. Y. Srinivasan [Thu, 25 Aug 2011 16:49:02 +0000 (09:49 -0700)]
Staging: hv: storvsc: Cleanup error handling in storvsc_dev_add()

Use standard Linux error values and cleanup error handling. I would like
to acknowledge Andre Bartke (andre.bartke@gmail.com) for highlighting this
problem.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: vmbus: Retry vmbus_post_msg() before giving up
K. Y. Srinivasan [Thu, 25 Aug 2011 16:49:01 +0000 (09:49 -0700)]
Staging: hv: vmbus: Retry vmbus_post_msg() before giving up

The function hv_post_msg() can fail because of transient resource
conditions. It may be useful to retry the operation.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: netvsc: Get rid of an unnecessary print statement in netvsc_probe()
K. Y. Srinivasan [Thu, 25 Aug 2011 16:49:00 +0000 (09:49 -0700)]
Staging: hv: netvsc: Get rid of an unnecessary print statement in netvsc_probe()

Get rid of an unnecessary print statement in netvsc_probe(). Furthermore,
this fixes a bug since netdev_err is being invoked after the device has
been freed.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: vmbus: Cleanup the error return value in vmbus_recvpacket_raw()
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:59 +0000 (09:48 -0700)]
Staging: hv: vmbus: Cleanup the error return value in vmbus_recvpacket_raw()

Use standard Linux errno values.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: vmbus: Cleanup error values in ringbuffer.c
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:58 +0000 (09:48 -0700)]
Staging: hv: vmbus: Cleanup error values in ringbuffer.c

Use standard Linux errno values in ringbuffer.c and do the associated
cleanup in the clients.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: vmbus: Change the variable name openInfo to open_info in channel.c
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:57 +0000 (09:48 -0700)]
Staging: hv: vmbus: Change the variable name openInfo to open_info in channel.c

Change the variable name openInfo to open_info in channel.c.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: vmbus: Get rid of unnecessary comments in channel.c
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:56 +0000 (09:48 -0700)]
Staging: hv: vmbus: Get rid of unnecessary comments in channel.c

Get rid of unnecessary comments in channel.c.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: vmbus: Rename openMsg to open_msg in channel.c
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:55 +0000 (09:48 -0700)]
Staging: hv: vmbus: Rename openMsg to open_msg in channel.c

Rename openMsg to open_msg in channel.c.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: vmbus: Get rid of the function dump_gpadl_header()
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:54 +0000 (09:48 -0700)]
Staging: hv: vmbus: Get rid of the function dump_gpadl_header()

Get rid of the function dump_gpadl_header() as this adds no value.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: vmbus: Get rid of the function dump_gpadl_body()
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:53 +0000 (09:48 -0700)]
Staging: hv: vmbus: Get rid of the function dump_gpadl_body()

Get rid of the function dump_gpadl_body() since it adds no value and actually is
in the data path.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: vmbus: Get rid of unnecessay comments in connection.c
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:52 +0000 (09:48 -0700)]
Staging: hv: vmbus: Get rid of unnecessay comments in connection.c

Get rid of unnecessay comments in connection.c.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: vmbus: Cleanup error handling in hv_init()
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:51 +0000 (09:48 -0700)]
Staging: hv: vmbus: Cleanup error handling in hv_init()

Use standard Linux error codes.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: vmbus: Cleanup unnecessary comments in hv.c
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:50 +0000 (09:48 -0700)]
Staging: hv: vmbus: Cleanup unnecessary comments in hv.c

Cleanup unnecessary comments in hv.c.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: vmbus: Get rid of some unnecessary comments
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:49 +0000 (09:48 -0700)]
Staging: hv: vmbus: Get rid of some unnecessary comments

Get rid of some unnecessary comments.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: fix up driver registering mess
Greg Kroah-Hartman [Thu, 25 Aug 2011 22:07:32 +0000 (15:07 -0700)]
Staging: hv: fix up driver registering mess

Individual drivers should never be touching the 'struct device' field,
so if that is a requirement to pass to the vmbus core, you know
something is wrong.

This patch fixes that all up, and resolves the problem where the module
reference counting was not happening properly for the individual drivers
as well.  Overall, it reduces the lines of code the individual drivers
have to have, which tells you that this is the correct thing to do.

Also, somehow the _GPL marking for the functions got removed on an older
patch.  As the name of the function was changing, properly change the
_GPL marking as well at the same time.

Cc: K. Y. Srinivasan <kys@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: util: Get rid of the PCI signature in hv_util.c
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:45 +0000 (09:48 -0700)]
Staging: hv: util: Get rid of the PCI signature in hv_util.c

Now that we have implemented a vmbus specific mechanism for auto-loading,
get rid of the PCI signature.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: util: Get rid of the DMI signature in hv_util.c
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:44 +0000 (09:48 -0700)]
Staging: hv: util: Get rid of the DMI signature in hv_util.c

Now that we have implemented a vmbus specific mechanism for auto-loading,
get rid of the DMI signature.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: netvsc: Get rid of the DMI signature in netvsc_drv.c
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:43 +0000 (09:48 -0700)]
Staging: hv: netvsc: Get rid of the DMI signature in netvsc_drv.c

Now that we have implemented a vmbus specific mechanism for auto-loading,
get rid of the DMI signature.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: netvsc: Get rid of the PCI signature
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:42 +0000 (09:48 -0700)]
Staging: hv: netvsc: Get rid of the PCI signature

Now that we have implemented a vmbus specific mechanism for auto-loading,
get rid of the PCI signature.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: storvsc: Get rid of the DMI signature
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:41 +0000 (09:48 -0700)]
Staging: hv: storvsc: Get rid of the DMI signature

Now that we have implemented a vmbus specific mechanism for auto-loading,
get rid of the DMI signature.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: vmbus: Get rid of an unnecessary include line in vmbus_drv.c
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:40 +0000 (09:48 -0700)]
Staging: hv: vmbus: Get rid of an unnecessary include line in vmbus_drv.c

Get rid of an unnecessary include line in vmbus_drv.c.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: vmbus: Support the notion of id tables in vmbus_match()
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:39 +0000 (09:48 -0700)]
Staging: hv: vmbus: Support the notion of id tables in vmbus_match()

Introduce code to handle driver specific id tables to the vmbus core
(vmbus_match). This would allow us to handle more than one device type
with a given driver.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: vmbus: Cleanup vmbus_uevent() code
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:38 +0000 (09:48 -0700)]
Staging: hv: vmbus: Cleanup vmbus_uevent() code

Now generate appropriate uevent based on the modalias string. As part of this,
cleanup the existing uevent code.

[gregkh - fixed code to handle driver_data portion of struct
hv_vmbus_device_id]

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: vmbus: Cleanup vmbus_match()
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:37 +0000 (09:48 -0700)]
Staging: hv: vmbus: Cleanup vmbus_match()

Use the preferred mechanism to compare guids in vmbus_match().

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: create VMBUS_DEVICE macro and use it.
Greg Kroah-Hartman [Thu, 25 Aug 2011 18:41:33 +0000 (11:41 -0700)]
Staging: hv: create VMBUS_DEVICE macro and use it.

This is to be used to be able to write hv_vmbus_device_id tables easier.

This patch also converts all hv drivers to use the macro, saving some
lines of code and making things easier to read overall.

Cc: K. Y. Srinivasan <kys@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: util: Make hv_utils a vmbus device driver
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:36 +0000 (09:48 -0700)]
Staging: hv: util: Make hv_utils a vmbus device driver

In preperation for supporting auto-loading the util driver, make
the util driver a vmbus driver.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: mousevsc: Use the newly introduced vmbus ID in mouse driver
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:35 +0000 (09:48 -0700)]
Staging: hv: mousevsc: Use the newly introduced vmbus ID in mouse driver

Use the newly introduced vmbus ID in mouse driver. Also, do the associated
cleanup. Since the mouse driver is not functional, we disable the
autoloading of this driver.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: netvsc: Use the newly introduced vmbus ID in netvsc driver
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:34 +0000 (09:48 -0700)]
Staging: hv: netvsc: Use the newly introduced vmbus ID in netvsc driver

Use the newly introduced vmbus ID in netvsc driver. Also, do the associated
cleanup.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: storvsc: Use the newly introduced vmbus ID in storvsc driver
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:33 +0000 (09:48 -0700)]
Staging: hv: storvsc: Use the newly introduced vmbus ID in storvsc driver

Use the newly introduced vmbus ID in storvsc driver. Also, do the
assciated cleanup.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: blkvsc: Use the newly introduced vmbus ID in the blockvsc driver
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:32 +0000 (09:48 -0700)]
Staging: hv: blkvsc: Use the newly introduced vmbus ID in the blockvsc driver

Use the newly introduced vmbus ID in the blockvsc driver. Also, do
the associated cleanup.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: file2alias: fix up alias creation logic for hv_vmbus_device_id
Greg Kroah-Hartman [Thu, 25 Aug 2011 18:28:11 +0000 (11:28 -0700)]
Staging: hv: file2alias: fix up alias creation logic for hv_vmbus_device_id

When I added the driver_data field to hv_vmbus_device_id, I forgot to
take into the account how the alias was created, so it would append the
kernel pointer to the end of the alias, which is not correct.

This changes how the hv_vmbus_device_id alias is created to proper
account for the driver_data field.  As no module yet uses this alias, it
is safe to fix this up at this point in the commit stream.

Cc: K. Y. Srinivasan <kys@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: vmbus: Introduce vmbus ID space in struct hv_driver
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:31 +0000 (09:48 -0700)]
Staging: hv: vmbus: Introduce vmbus ID space in struct hv_driver

In preparation for supporting auto-loading Hyper-V drivers
using vmbus specific aliases, introduce vmbus ID space in struct hv_driver.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: Add code to parse struct hv_vmbus_device_id table
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:30 +0000 (09:48 -0700)]
Staging: hv: Add code to parse struct hv_vmbus_device_id table

Add code to parse struct hv_vmbus_device_id table.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agostaging: rtl8192e: Add endian checking switch to Makefile
Larry Finger [Fri, 12 Aug 2011 20:42:43 +0000 (15:42 -0500)]
staging: rtl8192e: Add endian checking switch to Makefile

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
12 years agostaging: rtl8192e: Fix sparse (non-endian) warnings - Part II
Larry Finger [Fri, 12 Aug 2011 17:55:23 +0000 (12:55 -0500)]
staging: rtl8192e: Fix sparse (non-endian) warnings - Part II

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
12 years agostaging: rtl8192e: Fix sparse (non-endian) messages - Part I
Larry Finger [Fri, 12 Aug 2011 12:31:47 +0000 (07:31 -0500)]
staging: rtl8192e: Fix sparse (non-endian) messages - Part I

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
12 years agostaging: rtl8192e: Remove MAC_FMT and MAC_ARG for %pM
Larry Finger [Fri, 12 Aug 2011 03:31:50 +0000 (22:31 -0500)]
staging: rtl8192e: Remove MAC_FMT and MAC_ARG for %pM

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
12 years agoStaging: hv: add driver_data to hv_vmbus_device_id
Greg Kroah-Hartman [Thu, 25 Aug 2011 17:25:37 +0000 (10:25 -0700)]
Staging: hv: add driver_data to hv_vmbus_device_id

This is going to be needed by some drivers that handle more than one
device, like all other bus types do, so prepare for that in advance
before the user/kernel api is used.

Cc: K. Y. Srinivasan <kys@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: Add struct hv_vmbus_device_id to mod_devicetable.h
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:29 +0000 (09:48 -0700)]
Staging: hv: Add struct hv_vmbus_device_id to mod_devicetable.h

In preparation for implementing vmbus aliases for auto-loading
Hyper-V drivers, define vmbus specific device ID.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: Replace struct hv_guid with the uuid type already defined in Linux
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:28 +0000 (09:48 -0700)]
Staging: hv: Replace struct hv_guid with the uuid type already defined in Linux

Replace struct hv_guid with the uuid type already defined in Linux.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agoStaging: hv: vmbus: VMBUS is an ACPI enumerated device, get rid of the PCI signature
K. Y. Srinivasan [Thu, 25 Aug 2011 16:48:27 +0000 (09:48 -0700)]
Staging: hv: vmbus: VMBUS is an ACPI enumerated device, get rid of the PCI signature

VMBUS is an ACPI enumerated device, get rid of the PCI signature.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agostaging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XVIII
Larry Finger [Thu, 25 Aug 2011 16:48:30 +0000 (11:48 -0500)]
staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XVIII

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agostaging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XVII
Larry Finger [Thu, 25 Aug 2011 16:48:29 +0000 (11:48 -0500)]
staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XVII

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agostaging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XVI
Larry Finger [Thu, 25 Aug 2011 16:48:28 +0000 (11:48 -0500)]
staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XVI

This patch removes all the errors and most of the warnings generated by
checkpatch -f for rtllib_softmac_tx.c..

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agostaging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XV
Larry Finger [Thu, 25 Aug 2011 16:48:27 +0000 (11:48 -0500)]
staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XV

This patch removes all the errors and warnings generated by
checkpatch -f for rtllib_softmac_wx.c..

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agostaging: rtl8192e: Cleanup checkpatch -f errors - Part XIV
Larry Finger [Thu, 25 Aug 2011 16:48:26 +0000 (11:48 -0500)]
staging: rtl8192e: Cleanup checkpatch -f errors - Part XIV

With this patch, all of the checkpatch errors are fixed; however, only
some of the lines that are too long were fixed. To complete the fixing
of these warnings, the file rtllib_softmac.c will need refactoring. In addition,
some of the variables may need renaming. Those changes can be deferred.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agostaging: rtl8192e: Cleanup checkpatch -f errors - Part XIII
Larry Finger [Thu, 25 Aug 2011 16:48:25 +0000 (11:48 -0500)]
staging: rtl8192e: Cleanup checkpatch -f errors - Part XIII

With this patch, all of the checkpatch errors are fixed; however, only
some of the lines that are too long were fixed. To complete the fixing
of these warnings, the file rtl_dm.c will need refactoring. In addition,
some of the variables will need renaming. Those changes can be deferred.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agostaging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XII
Larry Finger [Thu, 25 Aug 2011 16:48:24 +0000 (11:48 -0500)]
staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XII

This patch removes all the errors and most of the warnings generated by
checkpatch -f.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agostaging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XI
Larry Finger [Thu, 25 Aug 2011 16:48:23 +0000 (11:48 -0500)]
staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XI

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agostaging: rtl8192e: Cleanup checkpatch -f errors - Part X
Larry Finger [Thu, 25 Aug 2011 16:48:22 +0000 (11:48 -0500)]
staging: rtl8192e: Cleanup checkpatch -f errors - Part X

With this patch, all of the checkpatch errors are fixed; however, only
some of the lines that are too long were fixed. To complete the fixing
of these warnings, the file rtl_dm.c will need refactoring. In addition,
some of the variables will need renaming. Those changes can be deferred.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agostaging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part IX
Larry Finger [Thu, 25 Aug 2011 16:48:21 +0000 (11:48 -0500)]
staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part IX

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agostaging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part VIII
Larry Finger [Thu, 25 Aug 2011 16:48:20 +0000 (11:48 -0500)]
staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part VIII

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
12 years agostaging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part VII
Larry Finger [Thu, 25 Aug 2011 16:48:19 +0000 (11:48 -0500)]
staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part VII

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>