[PATCH 06/22] Staging: hv: Get rid of blkvsc_do_read_capacity16()

2011-04-06 Thread K. Y. Srinivasan
Get rid of blkvsc_do_read_capacity16() and instead use the common function for retrieving capacity. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c | 81 +-- 1 files changed, 2 in

[PATCH 11/22] Staging: hv: Get rid of some DPRINT_INFO() statements

2011-04-06 Thread K. Y. Srinivasan
Get rid of some of the DPRINT_INFO() statements. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/drivers/staging/hv/blkvsc_drv.c b/drivers/sta

Re: [RFC][PATCH] bcmai: introduce AI driver

2011-04-06 Thread George Kashperko
> W dniu 7 kwietnia 2011 02:00 użytkownik George Kashperko > napisał: > > For PCI function description take a look at PCI specs or PCI > > configuration space description (e. g. > > http://en.wikipedia.org/wiki/PCI_configuration_space) > > > > Sorry for missleading short-ups, w11 - bcm80211 core,

Re: [RFC][PATCH] bcmai: introduce AI driver

2011-04-06 Thread Rafał Miłecki
W dniu 7 kwietnia 2011 02:00 użytkownik George Kashperko napisał: > For PCI function description take a look at PCI specs or PCI > configuration space description (e. g. > http://en.wikipedia.org/wiki/PCI_configuration_space) > > Sorry for missleading short-ups, w11 - bcm80211 core, under two-head

[PATCH 21/22] Staging: hv: Introduce a function to map channel properties onto block device info

2011-04-06 Thread K. Y. Srinivasan
In preparation for removing the IDE details from the block driver, implement a function that maps channel properties to block device information. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Hank Janssen --- drivers/staging/hv/storvsc.c | 68 +++

Re: [RFC][PATCH] bcmai: introduce AI driver

2011-04-06 Thread George Kashperko
> W dniu 6 kwietnia 2011 23:18 użytkownik George Kashperko > napisał: > >> We have 2 windows. I didn't try this, but let's assume they have no > >> limitations. We can use first window for one driver only, second > >> driver for second driver only. That gives us 2 drivers simultaneously > >> work

[PATCH 15/22] Staging: hv: Get rid of the code to manage removable media

2011-04-06 Thread K. Y. Srinivasan
The Hyper-V block driver does not handle removable media. Get rid of the code to manage removable media. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c |9 + 1 files changed, 1 insertions(+), 8 deletions(

[PATCH 12/22] Staging: hv: Get rid of some DPRINT_DBG() calls

2011-04-06 Thread K. Y. Srinivasan
Get rid of some of the DPRINT_DBG() statements. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c | 84 --- 1 files changed, 0 insertions(+), 84 deletions(-) diff --git a/drivers/s

[PATCH 09/22] Staging: hv: Get rid of the function blkvsc_revalidate_disk()

2011-04-06 Thread K. Y. Srinivasan
The block driver in Hyper-V does not support removable media, get rid of the blkvsc_revalidate_disk(). Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c | 17 - 1 files changed, 0 insertions(+), 17 del

[PATCH 17/22] Staging: hv: Get rid of an unnecessary check in blkvsc_probe()

2011-04-06 Thread K. Y. Srinivasan
It is never the case that the dev_add function pointer will not be set (we set it in this code!). Get rid of this meaningless check. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c |5 - 1 files changed, 0 ins

[PATCH 05/22] Staging: hv: Get rid of blkvsc_do_read_capacity()

2011-04-06 Thread K. Y. Srinivasan
Now that we have a common function for some of the operations on the device, use that and get rid of the function blkvsc_do_read_capacity(). Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c | 117 +

Re: [RFC][PATCH] bcmai: introduce AI driver

2011-04-06 Thread Rafał Miłecki
W dniu 6 kwietnia 2011 23:18 użytkownik George Kashperko napisał: >> We have 2 windows. I didn't try this, but let's assume they have no >> limitations. We can use first window for one driver only, second >> driver for second driver only. That gives us 2 drivers simultaneously >> working drivers.

RE: [PATCH 00/22] Staging: hv: Cleanup-storage-drivers-phase-III

2011-04-06 Thread KY Srinivasan
> -Original Message- > From: Greg KH [mailto:g...@kroah.com] > Sent: Tuesday, April 05, 2011 11:11 AM > To: KY Srinivasan > Cc: gre...@suse.de; linux-ker...@vger.kernel.org; > devel@linuxdriverproject.org; virtualizat...@lists.osdl.org > Subject: Re: [PATCH 00/22] Staging: hv: Cleanup-sto

[PATCH 16/22] Staging: hv: Get rid of some DPRINT_ERR() calls

2011-04-06 Thread K. Y. Srinivasan
Get rid of some DPRINT_ERR() calls. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c |9 +++-- 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/staging/hv/blkvsc_drv.c b/drivers/staging/hv

[PATCH 07/22] Staging: hv: Get rid of the function blkvsc_do_flush()

2011-04-06 Thread K. Y. Srinivasan
Get rid of the function blkvsc_do_flush() and instead use the common function to force a device flush. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c | 52 ++ 1 files changed, 14

[PATCH 18/22] Staging: hv: Cleanup blkvsc_open()

2011-04-06 Thread K. Y. Srinivasan
Given that we don't support removable media, cleanup blkvsc_open(). Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c | 10 +- 1 files changed, 1 insertions(+), 9 deletions(-) diff --git a/drivers/staging/hv/

[PATCH 22/22] Staging: hv: Get rid of IDE details from blkvsc_drv.c

2011-04-06 Thread K. Y. Srinivasan
Now get rid of IDE details from blkvsc_drv.c. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c | 55 +++--- drivers/staging/hv/storvsc.c| 18 ++-- 2 files changed, 25 ins

[PATCH 10/22] Staging: hv: Simplify blkvsc_init_rw()

2011-04-06 Thread K. Y. Srinivasan
Simplyfify blkvsc_init_rw() by using a single scsi command independent of the start sector. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c | 58 +-- 1 files changed, 13 insertion

[PATCH 04/22] Staging: hv: Introduce a common function for issuing commands to the device

2011-04-06 Thread K. Y. Srinivasan
There are multiple functions to either get info about the device (INQUIRY, CAPACITY etc) or to FLUSH the device cache. The majority of the code for these functions is identical. Introduce a common function for doing all these operations. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zha

[PATCH 03/22] Staging: hv: Simplify the code for blkvsc_getgeo()

2011-04-06 Thread K. Y. Srinivasan
We are making up the geometry anyway, keep it simple. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c | 84 +- 1 files changed, 11 insertions(+), 73 deletions(-) diff --git a/dri

[PATCH 19/22] Staging: hv: Fix a jump label (Cleanup) in blkvsc_drv

2011-04-06 Thread K. Y. Srinivasan
One of the goto labels was named Cleanup; change it to cleanup. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/hv/bl

[PATCH 01/22] Staging: hv: Get rid of blkvsc_check_events()

2011-04-06 Thread K. Y. Srinivasan
We don't support removable media in Hyper-V block driver. Get rid of blkvsc_check_events() as it is efectively "dead code". Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c |9 - 1 files changed, 0 inserti

[PATCH 20/22] Staging: hv: Fix a jump label (Remove) in blkvsc_drv.c

2011-04-06 Thread K. Y. Srinivasan
One of the jump labels was named Remove; change it to remove. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/hv/blkvsc_drv

[PATCH 14/22] Staging: hv: Cleanup storvsc_remove()

2011-04-06 Thread K. Y. Srinivasan
storvsc_remove() cannot fail, clean it up accordingly. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Hank Janssen --- drivers/staging/hv/storvsc_drv.c | 14 ++ 1 files changed, 2 insertions(+), 12 deletions(-) diff --git a/drivers/staging/hv/storvsc

[PATCH 13/22] Staging: hv: Cleanup blkvsc_remove()

2011-04-06 Thread K. Y. Srinivasan
blkvsc_remove() cannot fail. Clean it up accordingly. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c | 15 +++ 1 files changed, 3 insertions(+), 12 deletions(-) diff --git a/drivers/staging/hv/blkvsc_d

[PATCH 08/22] Staging: hv: Get rid of the state media_not_present

2011-04-06 Thread K. Y. Srinivasan
The block driver in Hyper-V does not handle removable media, get rid of the media_not_present state. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c |9 + 1 files changed, 1 insertions(+), 8 deletions(-)

[PATCH 02/22] Staging: hv: Enable blkvsc_ioctl()

2011-04-06 Thread K. Y. Srinivasan
We can support HDIO_GET_IDENTITY ioctl, enable blkvsc_ioctl(). Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c | 11 +++ 1 files changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/staging/hv/blkv

[RESEND][PATCH 00/22] Staging: hv: Cleanup storage drivers - Phase IV

2011-04-06 Thread K. Y. Srinivasan
The latest upstream merge changed struct block_device_operations: This merge got rid of blkvsc_media_changed and introduced the function blkvsc_check_events. This broke all the patches that were sent after the tree was closed the last time. This is a resend of this patch-set to account for this cha

Re: [PATCH] Enable async suspend/resume on industrial IO devices

2011-04-06 Thread Sonny Rao
On Wed, Apr 6, 2011 at 3:59 AM, Jonathan Cameron wrote: > On 04/06/11 03:45, Sonny Rao wrote: >> Industrial I/O devices can sometimes take a long time to resume, >> allowing them to be asynchronus saves 50ms on one light sensor >> > Hi Sonny, > > cc'd linux-iio > > I'm not particularly familiar wi

[PATCH 13/22] Staging: hv: Get rid of the forward declaration for blkvsc_do_read_capacity()

2011-04-06 Thread K. Y. Srinivasan
Get rid of the forward declaration for blkvsc_do_read_capacity() by moving the code around. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c | 152 +++---

[PATCH 17/22] Staging: hv: Get rid of the forward declaration for blkvsc_do_request()

2011-04-06 Thread K. Y. Srinivasan
Get rid of the forward declaration for blkvsc_do_request() by moving the code around. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c | 370 --- 1 fil

[PATCH] staging: hv: Fix GARP not sent after Quick Migration

2011-04-06 Thread Haiyang Zhang
After Quick Migration, the network is not immediately operational in the current context when receiving RNDIS_STATUS_MEDIA_CONNECT event. So, I added another netif_notify_peers() into a scheduled work, otherwise GARP packet will not be sent after quick migration, and cause network disconnection. T

[PATCH 12/22] Staging: hv: Get rid of the forward declaration for blkvsc_release()

2011-04-06 Thread K. Y. Srinivasan
Get rid of the forward declaration for blkvsc_release() by moving the code around. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c | 45 +++ 1 files

[PATCH 10/22] Staging: hv: Get rid of the forward declaration of blkvsc_remove()

2011-04-06 Thread K. Y. Srinivasan
Get rid of the forward declaration of blkvsc_remove() by moving the code around. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c | 130 +++--- 1 files cha

[PATCH 06/22] Staging: hv: Get rid of the forward declaration of blkvsc_ioctl()

2011-04-06 Thread K. Y. Srinivasan
Get rid of the forward declaration of blkvsc_ioctl() by moving the code around. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c | 56 ++ 1 files chan

[PATCH 21/22] Staging: hv: Move module parameter to earlier in the file

2011-04-06 Thread K. Y. Srinivasan
Move module parameter to be earlier in the file. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/stag

[PATCH 07/22] Staging: hv: Get rid of the forward declaration of blkvsc_cmd_completion()

2011-04-06 Thread K. Y. Srinivasan
Get rid of the forward declaration of blkvsc_cmd_completion() by moving the code around. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c | 48 +++--- 1

[PATCH 04/22] Staging: hv: Get rid of the forward declaration of blkvsc_getgeo()

2011-04-06 Thread K. Y. Srinivasan
Get rid of the forward declaration of blkvsc_getgeo() by moving the code around. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c | 162 +++--- 1 files cha

[PATCH 19/22] Staging: hv: Get rid of the forward declaration for blkvsc_request()

2011-04-06 Thread K. Y. Srinivasan
Get rid of the forward declaration for blkvsc_request() by moving the code around. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c | 86 +++--- 1 files c

Re: [RFC][PATCH] bcmai: introduce AI driver

2011-04-06 Thread George Kashperko
> W dniu 6 kwietnia 2011 23:08 użytkownik Michael Büsch > napisał: > > On Wed, 2011-04-06 at 23:01 +0200, Rafał Miłecki wrote: > >> W dniu 6 kwietnia 2011 22:57 użytkownik Michael Büsch > >> napisał: > >> > On Wed, 2011-04-06 at 22:42 +0200, Rafał Miłecki wrote: > >> >> 2011/4/6 Rafał Miłecki

[PATCH 03/22] Staging: hv: Get rid of the forward declaration of blkvsc_open()

2011-04-06 Thread K. Y. Srinivasan
Get rid of the forward declaration of blkvsc_open() by moving the code around. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c | 49 +++ 1 files chan

[PATCH 22/22] Staging: hv: Get rid of some dead code in blkvsc_drv.c

2011-04-06 Thread K. Y. Srinivasan
Get rid of some dead code in blkvsc_drv.c. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c | 26 -- 1 files changed, 0 insertions(+), 26 deletions(-) diff --git

[PATCH 09/22] Staging: hv: Get rid of the forward declaration of blkvsc_cancel_pending_reqs()

2011-04-06 Thread K. Y. Srinivasan
Get rid of the forward declaration of blkvsc_cancel_pending_reqs() by moving the code around. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c | 159 +++---

[PATCH 15/22] Staging: hv: Get rid of the forward declaration of blkvsc_revalidate_disk()

2011-04-06 Thread K. Y. Srinivasan
Get rid of the forward declaration of blkvsc_revalidate_disk() by moving the code around. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c | 31 +++ 1 files c

[PATCH 05/22] Staging: hv: Get rid of the forward declaration of blkvsc_init_rw()

2011-04-06 Thread K. Y. Srinivasan
Get rid of the forward declaration of blkvsc_init_rw() by moving the code around. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c | 117 --- 1 files c

[PATCH 16/22] Staging: hv: Get rid of the forward declaration for blkvsc_do_inquiry()

2011-04-06 Thread K. Y. Srinivasan
Get rid of the forward declaration for blkvsc_do_inquiry() by moving the code around. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c | 158 +++--- 1 file

[PATCH 01/22] Staging: hv: Get rid of the forward declaration of blkvsc_submit_request()

2011-04-06 Thread K. Y. Srinivasan
Get rid of the forward declaration of blkvsc_submit_request() by moving the code around. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c | 117 --- 1

[PATCH 20/22] Staging: hv: Move some definitions/declarations to be earlier in the file

2011-04-06 Thread K. Y. Srinivasan
Move some definitions/declarations to be earlier in the file. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c | 11 --- 1 files changed, 8 insertions(+), 3 deletions(-) diff --

[PATCH 14/22] Staging: hv: Get rid of the forward declaration of blkvsc_do_read_capacity16()

2011-04-06 Thread K. Y. Srinivasan
Get rid of the forward declaration of blkvsc_do_read_capacity16() by moving the code around. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c | 168 +++---

[PATCH 02/22] Staging: hv: Get rid of the forward declaration of blkvsc_check_events()

2011-04-06 Thread K. Y. Srinivasan
Get rid of the forward declaration of blkvsc_check_events() by moving the code around. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c | 17 - 1 files changed, 8 inse

[PATCH 18/22] Staging: hv: Get rid of the forward declaration for blkvsc_do_pending_reqs()

2011-04-06 Thread K. Y. Srinivasan
Get rid of the forward declaration for blkvsc_do_pending_reqs() by moving the code around. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c | 45 +++

[PATCH 11/22] Staging: hv: Get rid of the forward declaration of blkvsc_shutdown()

2011-04-06 Thread K. Y. Srinivasan
Get rid of the forward declaration of blkvsc_shutdown() by moving the code around. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c | 70 +++ 1 files

[PATCH 08/22] Staging: hv: Get rid of the forward declaration of blkvsc_do_flush()

2011-04-06 Thread K. Y. Srinivasan
Get rid of the forward declaration of blkvsc_do_flush() by moving the code around. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen --- drivers/staging/hv/blkvsc_drv.c | 71 +++ 1 files

[RESEND] [PATCH 00/22] Staging: hv: Cleanup-storage-drivers-phase-III

2011-04-06 Thread K. Y. Srinivasan
The latest upstream merge changed struct block_device_operations: This merge got rid of blkvsc_media_changed and introduced the function blkvsc_check_events. This broke all the patches that were sent after the tree was closed the last time. This is a resend of this patch-set to account for this cha

Re: [RFC][PATCH] bcmai: introduce AI driver

2011-04-06 Thread Michael Büsch
On Wed, 2011-04-06 at 22:42 +0200, Rafał Miłecki wrote: > 2011/4/6 Rafał Miłecki : > > If we want to have two drivers working on two (different) cores > > simultaneously, we will have to add trivial mutex to group core > > switching with core operation (read/write). > > With a little of work we c

Re: [RFC][PATCH] bcmai: introduce AI driver

2011-04-06 Thread Michael Büsch
On Wed, 2011-04-06 at 23:12 +0200, Rafał Miłecki wrote: > W dniu 6 kwietnia 2011 23:08 użytkownik Michael Büsch > napisał: > > On Wed, 2011-04-06 at 23:01 +0200, Rafał Miłecki wrote: > >> W dniu 6 kwietnia 2011 22:57 użytkownik Michael Büsch > >> napisał: > >> > On Wed, 2011-04-06 at 22:42 +02

Re: [RFC][PATCH] bcmai: introduce AI driver

2011-04-06 Thread Rafał Miłecki
W dniu 6 kwietnia 2011 23:08 użytkownik Michael Büsch napisał: > On Wed, 2011-04-06 at 23:01 +0200, Rafał Miłecki wrote: >> W dniu 6 kwietnia 2011 22:57 użytkownik Michael Büsch >> napisał: >> > On Wed, 2011-04-06 at 22:42 +0200, Rafał Miłecki wrote: >> >> 2011/4/6 Rafał Miłecki : >> >> > If we

Re: [RFC][PATCH] bcmai: introduce AI driver

2011-04-06 Thread Michael Büsch
On Wed, 2011-04-06 at 23:01 +0200, Rafał Miłecki wrote: > W dniu 6 kwietnia 2011 22:57 użytkownik Michael Büsch > napisał: > > On Wed, 2011-04-06 at 22:42 +0200, Rafał Miłecki wrote: > >> 2011/4/6 Rafał Miłecki : > >> > If we want to have two drivers working on two (different) cores > >> > simul

Re: [RFC][PATCH] bcmai: introduce AI driver

2011-04-06 Thread Rafał Miłecki
W dniu 6 kwietnia 2011 22:57 użytkownik Michael Büsch napisał: > On Wed, 2011-04-06 at 22:42 +0200, Rafał Miłecki wrote: >> 2011/4/6 Rafał Miłecki : >> > If we want to have two drivers working on two (different) cores >> > simultaneously, we will have to add trivial mutex to group core >> > switch

Re: [RFC][PATCH] bcmai: introduce AI driver

2011-04-06 Thread Rafał Miłecki
2011/4/6 Rafał Miłecki : > If we want to have two drivers working on two (different) cores > simultaneously, we will have to add trivial mutex to group core > switching with core operation (read/write). With a little of work we could avoid switching and mutexes on no-host boards. MMIO is not limit

Re: [RFC][PATCH] bcmai: introduce AI driver

2011-04-06 Thread Rafał Miłecki
2011/4/6 Arend van Spriel : > On Wed, 06 Apr 2011 20:02:20 +0200, Rafał Miłecki wrote: > >> 2011/4/6 Arend van Spriel : >>> >>> 1. Term Broadcom AI >>> >> >> I'm still little confused with that, let me read old mails, google a >> little, etc. I though AMBA AXI is AI on ARM host, give me some time

Re: [RFC][PATCH] bcmai: introduce AI driver

2011-04-06 Thread Arend van Spriel
On Wed, 06 Apr 2011 20:02:20 +0200, Rafał Miłecki wrote: 2011/4/6 Arend van Spriel : 1. Term Broadcom AI I'm still little confused with that, let me read old mails, google a little, etc. I though AMBA AXI is AI on ARM host, give me some time for this. It is the interconnect or backplane w

Re: [PATCH 4/4] Staging: iio: accel : sca3000_ring: Fixing code styling issues

2011-04-06 Thread Belisko Marek
On Wed, Apr 6, 2011 at 9:14 PM, wrote: > From: Michael Nijs > > Fixed code styling issue. > > Signed-off-by: Michael Nijs > --- >  drivers/staging/iio/accel/sca3000_ring.c |    2 +- >  1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/staging/iio/accel/sca3000_ring.c >

Re: [Fwd: Fwd: Re: Why is dynamic debug disabled for staging drivers ?]

2011-04-06 Thread Jason Baron
On Wed, Apr 06, 2011 at 11:55:25AM -0700, Greg KH wrote: > On Wed, Apr 06, 2011 at 02:41:59PM -0400, Jason Baron wrote: > > The concern I would have in allowing tainted modules is that we are > > relying on a specific format for the dynamic debug section in the > > compiled module. For example, if

[PATCH 4/4] Staging: iio: accel : sca3000_ring: Fixing code styling issues

2011-04-06 Thread nijs . michael
From: Michael Nijs Fixed code styling issue. Signed-off-by: Michael Nijs --- drivers/staging/iio/accel/sca3000_ring.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/staging/iio/accel/sca3000_ring.c b/drivers/staging/iio/accel/sca3000_ring.c index fd1c844..c8

Re: [Fwd: Fwd: Re: Why is dynamic debug disabled for staging drivers ?]

2011-04-06 Thread Greg KH
On Wed, Apr 06, 2011 at 02:41:59PM -0400, Jason Baron wrote: > The concern I would have in allowing tainted modules is that we are > relying on a specific format for the dynamic debug section in the > compiled module. For example, if a module was built with a format with an old > section, we could

Re: [Fwd: Fwd: Re: Why is dynamic debug disabled for staging drivers ?]

2011-04-06 Thread Jason Baron
On Wed, Apr 06, 2011 at 08:34:35AM -0700, Joe Perches wrote: > Adding Jason and LKML. to cc's... > > Forwarded Message > From: Roland Vossen > To: ru...@rustcorp.com.au > Cc: devel@linuxdriverproject.org , > gre...@suse.de > Subject: Fwd: Re: Why is dynamic debug disabled for s

[PATCH 0/2] Staging: hv: Fixup Phase II storage driver cleanup

2011-04-06 Thread K. Y. Srinivasan
This fixes a couple of bugs that was introduced in the patch-set titled: Staging: hv: Cleanup storage drivers phase II. A corrected version of this patch-set was sent out earlier, however the earlier (buggy) version of this patch-set was already applied. This patch set fixes this problem.. Re

[PATCH 2/2] Staging: hv: Zero out the request structure on allocation

2011-04-06 Thread K. Y. Srinivasan
As part of the cleanup of the I/O request structure, allocate them zeroed out. This fixes a bug that was introduced in the patch-set titled: Staging: hv: Cleanup-storage-drivers-phase-II. A corrected version of this patch-set was sent out earlier, however the earlier (buggy) version of this patch-s

[PATCH 1/2] Staging: hv: Properly capture the error state

2011-04-06 Thread K. Y. Srinivasan
Properly capture the error state after the completion of I/O. This fixes a bug that was introduced in the patch-set titled: Staging: hv: Cleanup-storage-drivers-phase-II. A corrected version of this patch-set was sent out earlier, however the earlier (buggy) version of this patch-set was already ap

Re: [RFC][PATCH] bcmai: introduce AI driver

2011-04-06 Thread Rafał Miłecki
2011/4/6 Arend van Spriel : > 1. Term Broadcom AI > > You are referring to this as Broadcom AI. However, there is nothing Broadcom > specific about this. Basically, this functionality (core enumeration and > generic core functions) is provided by ARM with the AMBA AXI and named > Device Management

[Fwd: Fwd: Re: Why is dynamic debug disabled for staging drivers ?]

2011-04-06 Thread Joe Perches
Adding Jason and LKML. to cc's... Forwarded Message From: Roland Vossen To: ru...@rustcorp.com.au Cc: devel@linuxdriverproject.org , gre...@suse.de Subject: Fwd: Re: Why is dynamic debug disabled for staging drivers ? Date: Wed, 6 Apr 2011 17:09:04 +0200 Hello Rusty, I would

Fwd: Re: Why is dynamic debug disabled for staging drivers ?

2011-04-06 Thread Roland Vossen
Hello Rusty, I would like to make a change to module.c and noticed with 'git blame' that you were the last person who touched these specific lines in module.c: http://lxr.linux.no/#linux+v2.6.38/kernel/module.c#L2792 = Corresponding commit for your reference: commit 811d66a0e1e99902d3654

[staging-next 3/3] staging/easycap: easycap_probe: drop unuzed variables

2011-04-06 Thread Tomas Winkler
Cc: Mike Thomas Signed-off-by: Tomas Winkler --- drivers/staging/easycap/easycap_main.c | 13 - 1 files changed, 0 insertions(+), 13 deletions(-) diff --git a/drivers/staging/easycap/easycap_main.c b/drivers/staging/easycap/easycap_main.c index 1845cce..74adfb0 100644 --- a/drive

[staging-next 2/3] staging/easycap: easycap_probe: take out duplicated code from ifdef - else

2011-04-06 Thread Tomas Winkler
Cc: Mike Thomas Signed-off-by: Tomas Winkler --- drivers/staging/easycap/easycap_main.c | 14 -- 1 files changed, 4 insertions(+), 10 deletions(-) diff --git a/drivers/staging/easycap/easycap_main.c b/drivers/staging/easycap/easycap_main.c index 68b1f4f..1845cce 100644 --- a/driv

[staging-next 1/3] staging/easycap: easycap_probe : rename usb variables to common names

2011-04-06 Thread Tomas Winkler
1. rename usb variables to more common names struct usb_device *pusb_device -> usbdev struct usb_host_interface *pusb_host_interface -> alt struct usb_endpoint_descriptor *pepd -> struct usb_interface_descriptor *pusb_interface_descriptor -> interface; 2. use usb_altnum_to_altsetting to access al

Re: [PATCH] staging: hv_mouse: Fix build error

2011-04-06 Thread Roedel, Joerg
On Wed, Apr 06, 2011 at 10:03:26AM -0400, Greg KH wrote: > On Wed, Apr 06, 2011 at 12:14:56PM +0200, Joerg Roedel wrote: > > The compiler argues about the implictly declared udelay > > function. Fix it by adding the appropriate include. > > > > Signed-off-by: Joerg Roedel > > Already queued up t

Re: Why is dynamic debug disabled for staging drivers ?

2011-04-06 Thread Greg KH
On Wed, Apr 06, 2011 at 03:54:37PM +0200, Roland Vossen wrote: > Hi, > > I want to replace the proprietary logging mechanism in brcm80211 > with a Linux mechanism. 'Dynamic debug' seemed to be a good fit. > But, to my disappointment, I discovered that dynamic debugging is > not supported for drive

Re: [PATCH] staging: hv_mouse: Fix build error

2011-04-06 Thread Greg KH
On Wed, Apr 06, 2011 at 12:14:56PM +0200, Joerg Roedel wrote: > The compiler argues about the implictly declared udelay > function. Fix it by adding the appropriate include. > > Signed-off-by: Joerg Roedel Already queued up to go to Linus in the linux-next tree. thanks, greg k-h __

Why is dynamic debug disabled for staging drivers ?

2011-04-06 Thread Roland Vossen
Hi, I want to replace the proprietary logging mechanism in brcm80211 with a Linux mechanism. 'Dynamic debug' seemed to be a good fit. But, to my disappointment, I discovered that dynamic debugging is not supported for drivers from the staging dir: - staging drivers are marked tainted (ref:

Re: [PATCH] staging: brcm80211: removed static ASSERTs

2011-04-06 Thread Roland Vossen
On 04/06/2011 02:50 PM, Jiri Slaby wrote: On 04/05/2011 09:11 PM, Roland Vossen wrote: Code cleanup. ASSERTs that check static (compile time) conditions have been removed. I'm missing why? Is it obvious that it can never happen or is it an optimization? By request from Greg. These ASSERTs ne

Re: [PATCH] staging: brcm80211: removed static ASSERTs

2011-04-06 Thread Jiri Slaby
On 04/05/2011 09:11 PM, Roland Vossen wrote: > Code cleanup. ASSERTs that check static (compile time) conditions > have been removed. I'm missing why? Is it obvious that it can never happen or is it an optimization? If the latter you should switch to BUILD_BUG_ON. > Signed-off-by: Roland Vossen

Re: [PATCH] Enable async suspend/resume on industrial IO devices

2011-04-06 Thread Jonathan Cameron
On 04/06/11 03:45, Sonny Rao wrote: > Industrial I/O devices can sometimes take a long time to resume, > allowing them to be asynchronus saves 50ms on one light sensor > Hi Sonny, cc'd linux-iio I'm not particularly familiar with this. Are there any disadvantages? I just wonder if it would be b

[PATCH] staging: hv_mouse: Fix build error

2011-04-06 Thread Joerg Roedel
The compiler argues about the implictly declared udelay function. Fix it by adding the appropriate include. Signed-off-by: Joerg Roedel --- drivers/staging/hv/hv_mouse.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/staging/hv/hv_mouse.c b/drivers/staging/hv/hv