On Thu, Apr 18, 2013 at 01:20:49PM +0400, K900 wrote:
> Hi,
> I've got a Logitech G710+ keyboard here, and it's not exactly 100%
> working ('normal' keys and media controls work, 'programmable' keys
> don't) out of the box. So I started playing with it, and I think I
> know how to implement all the
于 2013年04月19日 06:50, Samuel Ortiz 写道:
Hi Wei,
On Thu, Apr 11, 2013 at 10:43:40AM +0800, wei_w...@realsil.com.cn wrote:
From: Wei WANG
Support new model: RTS5249
Could you please provide me with a more detailled changelog (What's so
different with this model that the current driver does not s
Hi Wei,
On Thu, Apr 11, 2013 at 10:43:40AM +0800, wei_w...@realsil.com.cn wrote:
> From: Wei WANG
>
> Support new model: RTS5249
Could you please provide me with a more detailled changelog (What's so
different with this model that the current driver does not support ?) before I
apply it ?
Cheer
All the legacy comedi drivers now call comedi_legacy_detach()
either directly or as part of their (*detach). Move the free_irq()
into comedi_legacy_detach() so that the drivers don't have to
deal with it.
For drivers that then only call comedi_legacy_detach() in their
private (*detach), remove the
Use comedi_legacy_detach() to release the I/O region requested
by these drivers.
Signed-off-by: H Hartley Sweeten
Cc: Ian Abbott
Cc: Greg Kroah-Hartman
---
drivers/staging/comedi/drivers/aio_aio12_8.c| 3 +--
drivers/staging/comedi/drivers/amplc_pc236.c| 3 +--
drivers/staging/comedi/d
Use the new comedi_legacy_detach() helper in the (*detach) to release
the I/O region requested by these drivers.
Since the (*detach) for these drivers only releases the region, remove
the private (*detach) functions and use comedi_legacy_detach() directly
for the (*detach).
Signed-off-by: H Hartl
Update the skeleton driver to use the new comedi_legacy_detach()
helper in the (*detach) to release the I/O region. Also, update
the comment about it.
Signed-off-by: H Hartley Sweeten
Cc: Ian Abbott
Cc: Greg Kroah-Hartman
---
drivers/staging/comedi/drivers/skel.c | 9 +
1 file changed,
Use the new comedi_legacy_detach() helper in the (*detach) to release
the first I/O region requested by this driver.
An additional I/O region is requested for some of the boards this driver
supports. The iobase for that region is stored in the private data so
that the (*detach) knows it needs to b
The I/O region used by this driver is always requested using
comedi_request_region(). The devpriv->io union is only used by
the common code shared by the legacy and PCI drivers.
Use the new comedi_legacy_detach() helper in the (*detach) to
release the I/O region requested by this driver. That func
Make sure to check if subdev_8255_init() fails and propogate the
error code.
Signed-off-by: H Hartley Sweeten
Cc: Ian Abbott
Cc: Greg Kroah-Hartman
---
drivers/staging/comedi/drivers/das16m1.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/comedi/drivers
Use the new comedi_legacy_detach() helper in the (*detach) to release
the first I/O region requested by this driver.
An additional I/O region is requested by this driver for the 8255
device. Save the iobase for that region in the private data so that
the (*detach) knows it needs to be released.
S
This driver does not follow the standard (*attach) (*detach) flow of
the other drivers in comedi. Comedi drivers do not 'cleanup' any of
the allocations made during the (*attach) if failures are encountered.
If the (*attach) fails, the comedi core will call the (*detach) to
handle any clenaup.
In
Use the new comedi_legacy_detach() helper in the (*detach) to release
the first I/O region requested by this driver.
An additional I/O region is requested for some of the boards this driver
supports. Save the iobase for that region in the private data so that
the (*detach) knows it needs to be rel
This function is intended to be used by the comedi legacy (ISA) drivers
either directly as the (*detach) function or as a helper in the drivers
private (*detach) function.
Modify the comedi_request_region() helper so that it stores the 'len' of
the region as well as the 'start' after the region ha
Tidy up the (*detach) boilerplate code for comedi legacy drivers.
Introduce a common (*detach) function for the legacy drivers. This
function will automatically release the first I/O region that a
driver requests using the comedi_request_region() helper. It will
also automatically free any irq res
On Thursday, April 18, 2013 10:44 AM, Ian Abbott wrote:
> On 2013/04/18 04:51 PM, H Hartley Sweeten wrote:
>> On Thursday, April 18, 2013 5:06 AM, Ian Abbott wrote:
>>> On 2013-04-17 19:20, H Hartley Sweeten wrote:
All the PCI comedi drivers call comedi_pci_disable() either directly
or as
On Thursday, April 18, 2013 10:26 AM, Ian Abbott wrote:
> On 2013/04/18 04:35 PM, H Hartley Sweeten wrote:
>> On Thursday, April 18, 2013 3:37 AM, Ian Abbott wrote:
>>> On 2013-04-17 19:16, H Hartley Sweeten wrote:
This function is intended to be used by the comedi legacy (ISA) drivers
ei
On 2013/04/18 04:51 PM, H Hartley Sweeten wrote:
> On Thursday, April 18, 2013 5:06 AM, Ian Abbott wrote:
>> On 2013-04-17 19:20, H Hartley Sweeten wrote:
>>> All the PCI comedi drivers call comedi_pci_disable() either directly
>>> or as part of their (*detach). Move the free_irq() into comedi_pci_
On 2013/04/18 04:35 PM, H Hartley Sweeten wrote:
> On Thursday, April 18, 2013 3:37 AM, Ian Abbott wrote:
>> On 2013-04-17 19:16, H Hartley Sweeten wrote:
>>> This function is intended to be used by the comedi legacy (ISA) drivers
>>> either directly as the (*detach) function or as a helper in the
Hi!
- /*
- * Xen emulates Hyper-V to support enlightened Windows.
- * Check to see first if we are on a Xen Hypervisor.
- */
- if (xen_cpuid_base())
- return false;
. . .
void hv_register_vmbus_handler(int irq, irq_handler_t handler)
{
+ /*
+ * Setup the IDT for hypervisor callback.
+ *
On Thursday, April 18, 2013 5:06 AM, Ian Abbott wrote:
> On 2013-04-17 19:20, H Hartley Sweeten wrote:
>> All the PCI comedi drivers call comedi_pci_disable() either directly
>> or as part of their (*detach). Move the free_irq() into comedi_pci_disable()
>> so that the drivers don't have to deal wi
On Thursday, April 18, 2013 3:37 AM, Ian Abbott wrote:
> On 2013-04-17 19:16, H Hartley Sweeten wrote:
>> This function is intended to be used by the comedi legacy (ISA) drivers
>> either directly as the (*detach) function or as a helper in the drivers
>> private (*detach) function.
>>
>> Modify th
On Thu, Apr 18, 2013 at 08:44:46AM -0700, K. Y. Srinivasan wrote:
> Install the Hyper-V specific interrupt handler only when needed. This would
> permit us to get rid of the Xen check. Note that when the vmbus drivers
> invokes
> the call to register its handler, we are sure to be running on Hyper
Install the Hyper-V specific interrupt handler only when needed. This would
permit us to get rid of the Xen check. Note that when the vmbus drivers invokes
the call to register its handler, we are sure to be running on Hyper-V.
Signed-off-by: K. Y. Srinivasan
---
arch/x86/kernel/cpu/mshyperv.c |
> -Original Message-
> From: devel [mailto:devel-boun...@linuxdriverproject.org] On Behalf Of KY
> Srinivasan
> Sent: Thursday, April 18, 2013 9:23 AM
> To: Michael S. Tsirkin
> Cc: o...@aepfle.de; gre...@linuxfoundation.org; jasow...@redhat.com;
> x...@kernel.org; linux-ker...@vger.kerne
> -Original Message-
> From: Michael S. Tsirkin [mailto:m...@redhat.com]
> Sent: Thursday, April 18, 2013 3:48 AM
> To: KY Srinivasan
> Cc: Jan Beulich; o...@aepfle.de; b...@alien8.de; a...@canonical.com;
> x...@kernel.org; t...@linutronix.de; devel@linuxdriverproject.org;
> gre...@linuxf
On 2013-04-17 19:20, H Hartley Sweeten wrote:
All the PCI comedi drivers call comedi_pci_disable() either directly
or as part of their (*detach). Move the free_irq() into comedi_pci_disable()
so that the drivers don't have to deal with it.
For drivers that then only call comedi_pci_disable() in
On 2013-04-18 11:48, Ian Abbott wrote:
On 2013-04-18 11:36, Ian Abbott wrote:
An alternative implementation would be to leave
__comedi_request_region() alone, but change comedi_request_region() to
record the length in a new member dev->iolen at the same time that it
records the start address in
On 2013-04-18 11:36, Ian Abbott wrote:
An alternative implementation would be to leave
__comedi_request_region() alone, but change comedi_request_region() to
record the length in a new member dev->iolen at the same time that it
records the start address in dev->iobase. Then your
comedi_legacy_d
On 2013-04-17 19:16, H Hartley Sweeten wrote:
This function is intended to be used by the comedi legacy (ISA) drivers
either directly as the (*detach) function or as a helper in the drivers
private (*detach) function.
Modify the __comedi_request_region() helper so that it stores the first
struct
Hi,
I've got a Logitech G710+ keyboard here, and it's not exactly 100%
working ('normal' keys and media controls work, 'programmable' keys
don't) out of the box. So I started playing with it, and I think I
know how to implement all the features (spec wise). I have Python
proof-of-concept code here:
On Wed, Apr 17, 2013 at 04:28:36PM +, KY Srinivasan wrote:
>
>
> > -Original Message-
> > From: Jan Beulich [mailto:jbeul...@suse.com]
> > Sent: Wednesday, April 17, 2013 11:51 AM
> > To: KY Srinivasan; Michael S. Tsirkin
> > Cc: o...@aepfle.de; b...@alien8.de; a...@canonical.com; x..
On Thu, Apr 18, 2013 at 11:27:36AM +0300, Dan Carpenter wrote:
> On Wed, Apr 17, 2013 at 11:17:42AM -0700, H Hartley Sweeten wrote:
> > static int das16_cmd_test(struct comedi_device *dev, struct
> > comedi_subdevice *s,
> > @@ -1122,11 +1124,9 @@ static int das16_attach(struct comedi_device *dev
On Wed, Apr 17, 2013 at 11:17:42AM -0700, H Hartley Sweeten wrote:
> Use the new comedi_legacy_detach() helper in the (*detach) to release
> the first I/O region requested by this driver.
>
> An additional I/O region is requested for some of the boards this driver
> supports. Save the iobase for t
34 matches
Mail list logo