[PATCH 2/2] drivers/mmc: Add realtek pcie sdmmc host driver

2012-08-13 Thread wei_wang
From: Wei WANG Realtek PCI-E SD/MMC card host driver is used to access SD/MMC card, with the help of Realtek PCI-E card reader MFD driver. Signed-off-by: Wei WANG --- drivers/mmc/host/Kconfig |7 + drivers/mmc/host/Makefile |2 + drivers/mmc/host/rtsx_pci_sdmmc.c | 134

RE: [PATCH V2 18/18] Tools: hv: Properly manage open streams

2012-08-13 Thread KY Srinivasan
> -Original Message- > From: Ben Hutchings [mailto:b...@decadent.org.uk] > Sent: Monday, August 13, 2012 9:58 PM > To: KY Srinivasan > Cc: gre...@linuxfoundation.org; linux-ker...@vger.kernel.org; > devel@linuxdriverproject.org; virtualizat...@lists.osdl.org; o...@aepfle.de; > a...@canoni

RE: [PATCH V2 06/18] Tools: hv: Further refactor kvp_get_ip_address()

2012-08-13 Thread KY Srinivasan
> -Original Message- > From: Ben Hutchings [mailto:b...@decadent.org.uk] > Sent: Monday, August 13, 2012 9:46 PM > To: KY Srinivasan > Cc: gre...@linuxfoundation.org; linux-ker...@vger.kernel.org; > devel@linuxdriverproject.org; virtualizat...@lists.osdl.org; o...@aepfle.de; > a...@canoni

RE: [PATCH V2 02/18] Drivers: hv: Add KVP definitions for IP address injection

2012-08-13 Thread KY Srinivasan
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Monday, August 13, 2012 9:38 PM > To: KY Srinivasan > Cc: linux-ker...@vger.kernel.org; devel@linuxdriverproject.org; > virtualizat...@lists.osdl.org; o...@aepfle.de; a...@canonical.com; > b...@decadent.org.u

Re: [PATCH V2] staging: sm7xxfb: copy name of the device before calling smtc_alloc_fb_info

2012-08-13 Thread Greg Kroah-Hartman
On Sat, Aug 04, 2012 at 11:10:20PM +0545, Devendra Naga wrote: > as we do a strcpy(smdrv_ptr->fb_struct->fix->id, name), and the name here in > sm7xxx_probe is not having any assignment, and which leads to copying of the > garbage value > into the id field of the fix struct of fb interface struct.

Re: [PATCH 0/5] staging/csr: cleanup patches

2012-08-13 Thread Greg Kroah-Hartman
On Sat, Aug 04, 2012 at 01:00:08PM +0545, Devendra Naga wrote: > Actually i have a question about the dbg macros, unifi_warning, > unifi_error, and unifi_trace, > > I think these can be implemented using dev_warn, dev_dbg, functions, > i mean we can remove these unifi_warning and unifi_error and u

Re: [PATCH V2 18/18] Tools: hv: Properly manage open streams

2012-08-13 Thread Ben Hutchings
On Mon, 2012-08-13 at 10:07 -0700, K. Y. Srinivasan wrote: > Close the open streams properly. > > Signed-off-by: K. Y. Srinivasan > Reviewed-by: Haiyang Zhang > Reviewed-by: Olaf Hering > Reviewed-by: Ben Hutchings This isn't reviewed by me, I'm the author! Ben. > --- > tools/hv/hv_kvp_dae

Re: [PATCH V2 02/18] Drivers: hv: Add KVP definitions for IP address injection

2012-08-13 Thread Ben Hutchings
On Mon, 2012-08-13 at 18:38 -0700, Greg KH wrote: > On Mon, Aug 13, 2012 at 10:06:51AM -0700, K. Y. Srinivasan wrote: > > Add the necessary definitions for supporting the IP injection functionality. [...] > > --- a/include/linux/hyperv.h > > +++ b/include/linux/hyperv.h > > @@ -122,12 +122,53 @@ >

Re: [PATCH] VME: Provide access to VME bus enumeration and fix vme_user match function

2012-08-13 Thread Greg Kroah-Hartman
On Fri, Jul 20, 2012 at 09:48:03AM +0100, Martyn Welch wrote: > On 19/07/12 23:39, Greg Kroah-Hartman wrote: > > On Thu, Jul 19, 2012 at 08:08:50PM +0100, Martyn Welch wrote: > >> The match function for vme_user is completely wrong. It will blindly bind > >> against the first VME slot on each bus (

Re: [PATCH V2 06/18] Tools: hv: Further refactor kvp_get_ip_address()

2012-08-13 Thread Ben Hutchings
On Mon, 2012-08-13 at 10:06 -0700, K. Y. Srinivasan wrote: > In preparation for making kvp_get_ip_address() more generic, factor out > the code for handling IP addresses. > > Signed-off-by: K. Y. Srinivasan > Reviewed-by: Haiyang Zhang > Reviewed-by: Olaf Hering > Reviewed-by: Ben Hutchings I

Re: [PATCH V2 02/18] Drivers: hv: Add KVP definitions for IP address injection

2012-08-13 Thread Greg KH
On Mon, Aug 13, 2012 at 10:06:51AM -0700, K. Y. Srinivasan wrote: > Add the necessary definitions for supporting the IP injection functionality. > > Signed-off-by: K. Y. Srinivasan > Reviewed-by: Haiyang Zhang > Reviewed-by: Olaf Hering > Reviewed-by: Ben Hutchings > --- > drivers/hv/hv_util.

RE: [PATCH 1/2 v2] staging: comedi: new adl_pci7x3x driver

2012-08-13 Thread H Hartley Sweeten
On Monday, August 13, 2012 6:30 PM, Greg KH wrote: > On Fri, Aug 03, 2012 at 10:28:18AM -0700, H Hartley Sweeten wrote: >> Currently the ADLink PCI-7230 and PCI-7432 Isolated Digital >> I/O Boards are supported using two drivers (adl_pci7230 and >> adl_pci7432). These drivers are very similar and o

Re: [PATCH 1/2 v2] staging: comedi: new adl_pci7x3x driver

2012-08-13 Thread Greg KH
On Fri, Aug 03, 2012 at 10:28:18AM -0700, H Hartley Sweeten wrote: > Currently the ADLink PCI-7230 and PCI-7432 Isolated Digital > I/O Boards are supported using two drivers (adl_pci7230 and > adl_pci7432). These drivers are very similar and only differ > in the total number of di/do channels provi

Re: [PATCH 1/3] drivers/misc: Add realtek card reader core driver

2012-08-13 Thread Maxim Levitsky
On Wed, 2012-08-01 at 14:31 +, Arnd Bergmann wrote: > On Wednesday 01 August 2012, wwang wrote: > > 于 2012年07月31日 19:23, Arnd Bergmann 写道: > > > > > > You posted the sdmmc host driver and the pci card reader driver. > > > I assume that the USB card reader and the memstick host > > > will also

[PATCH V2 01/18] Drivers: hv: vmbus: Use the standard format string to format GUIDs

2012-08-13 Thread K. Y. Srinivasan
Format GUIDS as per MSFT standard. This makes interacting with MSFT tool stack easier. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang Reviewed-by: Olaf Hering Reviewed-by: Ben Hutchings --- drivers/hv/vmbus_drv.c | 38 ++ 1 files changed, 2 in

[PATCH v2]staging "vme" Fix typos.

2012-08-13 Thread Justin P. Mattock
From: "Justin P. Mattock" Signed-off-by: Justin P. Mattock --- Note:resend with minor adjustments. The below patch fixes typos found while reading through staging "vme" drivers/staging/vme/devices/vme_user.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drive

[PATCH V2 06/18] Tools: hv: Further refactor kvp_get_ip_address()

2012-08-13 Thread K. Y. Srinivasan
In preparation for making kvp_get_ip_address() more generic, factor out the code for handling IP addresses. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang Reviewed-by: Olaf Hering Reviewed-by: Ben Hutchings --- tools/hv/hv_kvp_daemon.c | 94 --

[PATCH V2 17/18] Tools: hv: Correctly type string variables

2012-08-13 Thread K. Y. Srinivasan
Correctly type character strings. I would like to thank Ben Hutchings for pointing out the issue (b...@decadent.org.uk). Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang Reviewed-by: Olaf Hering Reviewed-by: Ben Hutchings --- tools/hv/hv_kvp_daemon.c |8 1 files changed

[PATCH V2 10/18] Tools: hv: Gather ipv[4,6] gateway information

2012-08-13 Thread K. Y. Srinivasan
Gather information on the default gateways - ipv4/ipv6. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang Reviewed-by: Olaf Hering Reviewed-by: Ben Hutchings --- tools/hv/hv_kvp_daemon.c | 68 ++ 1 files changed, 68 insertions(+), 0 delet

[PATCH V2 00/18] drivers: hv: kvp

2012-08-13 Thread K. Y. Srinivasan
This patchset expands the KVP (Key Value Pair) functionality to implement the mechanism to GET/SET IP addresses in the guest. This functionality is used in Windows Server 2012 to implement VM replication functionality. The way IP configuration information is managed is distro specific. Based on the

[PATCH V2 13/18] Tools: hv: Implement the KVP verb - KVP_OP_SET_IP_INFO

2012-08-13 Thread K. Y. Srinivasan
Implement the KVP verb - KVP_OP_SET_IP_INFO. This operation configures the specified interface based on the given configuration. Since configuring an interface is very distro specific, we invoke an external script to configure the interface. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zh

[PATCH V2 03/18] Drivers: hv: kvp: Cleanup error handling in KVP

2012-08-13 Thread K. Y. Srinivasan
In preparation to implementing IP injection, cleanup the way we propagate and handle errors both in the driver as well as in the user level daemon. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang Reviewed-by: Olaf Hering Reviewed-by: Ben Hutchings --- drivers/hv/hv_kvp.c | 11

[PATCH V2 02/18] Drivers: hv: Add KVP definitions for IP address injection

2012-08-13 Thread K. Y. Srinivasan
Add the necessary definitions for supporting the IP injection functionality. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang Reviewed-by: Olaf Hering Reviewed-by: Ben Hutchings --- drivers/hv/hv_util.c |4 +- include/linux/hyperv.h | 76 +

[PATCH V2 14/18] Tools: hv: Rename the function kvp_get_ip_address()

2012-08-13 Thread K. Y. Srinivasan
Rename the function kvp_get_ip_address() to better reflect the functionality being implemented. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang Reviewed-by: Olaf Hering Reviewed-by: Ben Hutchings --- tools/hv/hv_kvp_daemon.c |6 +++--- 1 files changed, 3 insertions(+), 3 deleti

[PATCH V2 18/18] Tools: hv: Properly manage open streams

2012-08-13 Thread K. Y. Srinivasan
Close the open streams properly. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang Reviewed-by: Olaf Hering Reviewed-by: Ben Hutchings --- tools/hv/hv_kvp_daemon.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/hv/hv_kvp_daemon.c b/tools/hv/hv_kvp_d

[PATCH V2 09/18] Tools: hv: Represent the ipv6 mask using CIDR notation

2012-08-13 Thread K. Y. Srinivasan
Transform ipv6 subnet information to CIDR notation. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang Reviewed-by: Olaf Hering Reviewed-by: Ben Hutchings --- tools/hv/hv_kvp_daemon.c | 46 -- 1 files changed, 36 insertions(+), 10 deletion

[PATCH V2 07/18] Tools: hv: Gather address family information

2012-08-13 Thread K. Y. Srinivasan
Now, gather address family information for the specified interface. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang Reviewed-by: Olaf Hering Reviewed-by: Ben Hutchings --- tools/hv/hv_kvp_daemon.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/t

[PATCH V2 12/18] Tools: hv: Gather DHCP information

2012-08-13 Thread K. Y. Srinivasan
Collect information on dhcp setting for the specified interface. We invoke an external script to get this information. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang Reviewed-by: Olaf Hering Reviewed-by: Ben Hutchings --- tools/hv/hv_kvp_daemon.c | 31 +++

[PATCH V2 15/18] Tools: hv: Implement the KVP verb - KVP_OP_GET_IP_INFO

2012-08-13 Thread K. Y. Srinivasan
Now implement the KVP verb - KVP_OP_GET_IP_INFO. This operation retrieves IP information for the specified interface. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang Reviewed-by: Olaf Hering Reviewed-by: Ben Hutchings --- tools/hv/hv_kvp_daemon.c | 93

[PATCH V2 11/18] Tools: hv: Gather DNS information

2012-08-13 Thread K. Y. Srinivasan
Now, gather DNS information. Invoke an external script (that can be distro dependent) to gather the DNS information. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang Reviewed-by: Olaf Hering Reviewed-by: Ben Hutchings --- tools/hv/hv_kvp_daemon.c | 23 +++ 1 fi

[PATCH V2 05/18] Tools: hv: Prepare to expand kvp_get_ip_address() functionality

2012-08-13 Thread K. Y. Srinivasan
kvp_get_ip_address() implemented the functionality to retrieve IP address info. Make this function more generic so that we could retrieve additional per-interface information. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang Reviewed-by: Olaf Hering Reviewed-by: Ben Hutchings --- to

[PATCH V2 08/18] Tools: hv: Gather subnet information

2012-08-13 Thread K. Y. Srinivasan
Now, gather sub-net information for the specified interface. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang Reviewed-by: Olaf Hering Reviewed-by: Ben Hutchings --- tools/hv/hv_kvp_daemon.c | 31 +-- 1 files changed, 29 insertions(+), 2 deletions(-) d

[PATCH V2 16/18] Tools: hv: Get rid of some unused variables

2012-08-13 Thread K. Y. Srinivasan
Get rid of unused variables. I would like to thank Ben Hutchings for pointing out the issue (b...@decadent.org.uk). Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang Reviewed-by: Olaf Hering Reviewed-by: Ben Hutchings --- tools/hv/hv_kvp_daemon.c |3 +-- 1 files changed, 1 insert

[PATCH V2 04/18] Drivers: hv: kvp: Support the new IP injection messages

2012-08-13 Thread K. Y. Srinivasan
Implement support for the new IP injection messages in the driver code. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang Reviewed-by: Olaf Hering Reviewed-by: Ben Hutchings --- drivers/hv/hv_kvp.c | 143 -- 1 files changed, 137 insert

Re: [PATCH]staging "vme" Fix typos.

2012-08-13 Thread Martyn Welch
On 13/08/12 16:58, Justin P. Mattock wrote: > From: "Justin P. Mattock" > > Signed-off-by: Justin P. Mattock > > --- > > The below patch fixes typos found while reading through staging "vme" > > drivers/staging/vme/devices/Kconfig|2 +- > drivers/staging/vme/devices/vme_user.c |6

[PATCH]staging "vme" Fix typos.

2012-08-13 Thread Justin P. Mattock
From: "Justin P. Mattock" Signed-off-by: Justin P. Mattock --- The below patch fixes typos found while reading through staging "vme" drivers/staging/vme/devices/Kconfig|2 +- drivers/staging/vme/devices/vme_user.c |6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff

RE: [PATCH] drivers: hv: use Linux version in guest ID

2012-08-13 Thread KY Srinivasan
> -Original Message- > From: Bjørn Mork [mailto:bj...@mork.no] > Sent: Monday, August 13, 2012 9:33 AM > To: KY Srinivasan > Cc: Greg KH; Paolo Bonzini; devel@linuxdriverproject.org; linux- > ker...@vger.kernel.org > Subject: Re: [PATCH] drivers: hv: use Linux version in guest ID > > KY

Re: [PATCH] drivers: hv: use Linux version in guest ID

2012-08-13 Thread Bjørn Mork
KY Srinivasan writes: > In the interim, I have submitted a patch that conforms to the MSFT guidelines > for generating guest IDs for non-MSFT operating systems on Hyper-V. Oh, sorry. I missed that. Found it now. Thanks Including distro info in a driver interface looks a bit weird to me, but

Re: [PATCH 2/2] drivers/mmc: Add realtek pcie sdmmc host driver

2012-08-13 Thread Arnd Bergmann
On Monday 13 August 2012, wei_w...@realsil.com.cn wrote: > From: Wei WANG > > Realtek PCI-E SD/MMC card host driver is used to access SD/MMC card, > with the help of Realtek PCI-E card reader MFD driver. > > Signed-off-by: Wei WANG Acked-by: Arnd Bergmann _

Re: [PATCH 1/2] drivers/mfd: Add realtek pcie card reader driver

2012-08-13 Thread Arnd Bergmann
On Monday 13 August 2012, wei_w...@realsil.com.cn wrote: > From: Wei WANG > > Realtek PCI-E card reader driver adapts requests from upper-level > sdmmc/memstick layer to the real physical card reader. > > Signed-off-by: Wei WANG Hi, This looks pretty good overall, I'm generally happy with how

RE: [PATCH] drivers: hv: use Linux version in guest ID

2012-08-13 Thread KY Srinivasan
> -Original Message- > From: Bjørn Mork [mailto:bj...@mork.no] > Sent: Monday, August 13, 2012 9:00 AM > To: Greg KH > Cc: KY Srinivasan; Paolo Bonzini; devel@linuxdriverproject.org; linux- > ker...@vger.kernel.org > Subject: Re: [PATCH] drivers: hv: use Linux version in guest ID > > Gre

Re: [PATCH] drivers: hv: use Linux version in guest ID

2012-08-13 Thread Bjørn Mork
Greg KH writes: > On Fri, Jul 20, 2012 at 04:02:44PM +, KY Srinivasan wrote: >> > On Fri, Jul 20, 2012 at 10:03:08AM +0200, Bjørn Mork wrote: >> > >> > > +/* Linux vendor ID allocated by Microsoft */ >> > > +#define HV_LINUX_GUEST_ID_VENDOR0xB16B >> > > + >> > > +/* Creating a guest ID

[PATCH] staging: vt6656: Fix typo in vt6656

2012-08-13 Thread Masanari Iida
Correct spelling typo in staging/vt6656 Signed-off-by: Masanari Iida --- drivers/staging/vt6656/rf.c | 4 ++-- drivers/staging/vt6656/rxtx.c | 4 ++-- drivers/staging/vt6656/wcmd.c | 2 +- drivers/staging/vt6656/wmgr.c | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/

Re: [PATCH 1/2] drivers/mfd: Add realtek pcie card reader driver

2012-08-13 Thread Dan Carpenter
On Mon, Aug 13, 2012 at 03:10:50PM +0800, wwang wrote: > 于 2012年08月13日 14:40, Dan Carpenter 写道: > > Looks like bitwise OR was intended here. > Hi Dan: > > Thank you. I will resend the patches. > It's always best to hold off a day on resending, in case there are other comments. regards, dan carp

Re: [PATCH 1/2] drivers/mfd: Add realtek pcie card reader driver

2012-08-13 Thread wwang
于 2012年08月13日 14:40, Dan Carpenter 写道: > Looks like bitwise OR was intended here. Hi Dan: Thank you. I will resend the patches. BR, wwang ___ devel mailing list devel@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/devel