Re: linux-next: Tree for July 28 (lirc #2)

2010-07-29 Thread Randy Dunlap
On 07/29/10 05:39, Janne Grunau wrote:
> On Thu, Jul 29, 2010 at 12:27:01AM -0400, Jarod Wilson wrote:
>> On Wed, Jul 28, 2010 at 6:27 PM, Jarod Wilson  wrote:
>>> On Wed, Jul 28, 2010 at 6:16 PM, Randy Dunlap  
>>> wrote:
 On 07/28/10 15:04, Janne Grunau wrote:
> On Wed, Jul 28, 2010 at 10:24:17AM -0700, Randy Dunlap wrote:
>> On Wed, 28 Jul 2010 16:28:55 +1000 Stephen Rothwell wrote:
>>
>>> Hi all,
>>>
>>> Changes since 20100727:
>>
>>
>> When USB_SUPPORT is not enabled and MEDIA_SUPPORT is not enabled:
>>
>
> following patch should fix it
>
> Janne

 Acked-by: Randy Dunlap 

 Thanks.
>>>
>>> Acked-by: Jarod Wilson 
>>>
>>> Indeed, thanks much, Janne!
>>
>> D'oh, I should have looked a bit closer... What if instead of making
>> all the drivers depend on both LIRC && LIRC_STAGING, LIRC_STAGING just
>> depends on LIRC?
> 
> I started adding LIRC to each driver by one. Adding LIRC as LIRC_STAGING
> dependency is simpler. See updated patch.
> 
>> And there are a few depends lines with duplicate
>> USB's in them and LIRC_IMON should have USB added to it (technically,
> 
> D'oh, I've must have stopped reading after LIRC_STAG...
> 
> fixed and added additional dependencies
> 
> Janne

Yes, this one works also.  Thanks for the update.

> 
> From 45d384de90e3709a986700db14888eff77bb7e1f Mon Sep 17 00:00:00 2001
> From: Janne Grunau 
> Date: Wed, 28 Jul 2010 23:53:35 +0200
> Subject: [PATCH 1/2] V4L/DVB: staging/lirc: fix Kconfig dependencies
> 
> Signed-off-by: Janne Grunau 
> ---
>  drivers/staging/lirc/Kconfig |   19 ++-
>  1 files changed, 10 insertions(+), 9 deletions(-)
> 
> diff --git a/drivers/staging/lirc/Kconfig b/drivers/staging/lirc/Kconfig
> index 968c2ade..ab30a09 100644
> --- a/drivers/staging/lirc/Kconfig
> +++ b/drivers/staging/lirc/Kconfig
> @@ -3,6 +3,7 @@
>  #
>  menuconfig LIRC_STAGING
>   bool "Linux Infrared Remote Control IR receiver/transmitter drivers"
> + depends on LIRC
>   help
> Say Y here, and all supported Linux Infrared Remote Control IR and
> RF receiver and transmitter drivers will be displayed. When paired
> @@ -13,13 +14,13 @@ if LIRC_STAGING
>  
>  config LIRC_BT829
>  tristate "BT829 based hardware"
> - depends on LIRC_STAGING
> + depends on LIRC_STAGING && PCI
>   help
> Driver for the IR interface on BT829-based hardware
>  
>  config LIRC_ENE0100
>   tristate "ENE KB3924/ENE0100 CIR Port Reciever"
> - depends on LIRC_STAGING
> + depends on LIRC_STAGING && PNP
>   help
> This is a driver for CIR port handled by ENE KB3924 embedded
> controller found on some notebooks.
> @@ -27,7 +28,7 @@ config LIRC_ENE0100
>  
>  config LIRC_I2C
>   tristate "I2C Based IR Receivers"
> - depends on LIRC_STAGING
> + depends on LIRC_STAGING && I2C
>   help
> Driver for I2C-based IR receivers, such as those commonly
> found onboard Hauppauge PVR-150/250/350 video capture cards
> @@ -40,7 +41,7 @@ config LIRC_IGORPLUGUSB
>  
>  config LIRC_IMON
>   tristate "Legacy SoundGraph iMON Receiver and Display"
> - depends on LIRC_STAGING
> + depends on LIRC_STAGING && USB
>   help
> Driver for the original SoundGraph iMON IR Receiver and Display
>  
> @@ -48,7 +49,7 @@ config LIRC_IMON
>  
>  config LIRC_IT87
>   tristate "ITE IT87XX CIR Port Receiver"
> - depends on LIRC_STAGING
> + depends on LIRC_STAGING && PNP
>   help
> Driver for the ITE IT87xx IR Receiver
>  
> @@ -60,13 +61,13 @@ config LIRC_ITE8709
>  
>  config LIRC_PARALLEL
>   tristate "Homebrew Parallel Port Receiver"
> - depends on LIRC_STAGING && !SMP
> + depends on LIRC_STAGING && PARPORT && !SMP
>   help
> Driver for Homebrew Parallel Port Receivers
>  
>  config LIRC_SASEM
>   tristate "Sasem USB IR Remote"
> - depends on LIRC_STAGING
> + depends on LIRC_STAGING && USB
>   help
> Driver for the Sasem OnAir Remocon-V or Dign HV5 HTPC IR/VFD Module
>  
> @@ -91,7 +92,7 @@ config LIRC_SIR
>  
>  config LIRC_STREAMZAP
>   tristate "Streamzap PC Receiver"
> - depends on LIRC_STAGING
> + depends on LIRC_STAGING && USB
>   help
> Driver for the Streamzap PC Receiver
>  
> @@ -103,7 +104,7 @@ config LIRC_TTUSBIR
>  
>  config LIRC_ZILOG
>   tristate "Zilog/Hauppauge IR Transmitter"
> - depends on LIRC_STAGING
> + depends on LIRC_STAGING && I2C
>   help
> Driver for the Zilog/Hauppauge IR Transmitter, found on
> PVR-150/500, HVR-1200/1250/1700/1800, HD-PVR and other cards


-- 
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: linux-next: Tree for July 28 (lirc #2)

2010-07-29 Thread Jarod Wilson
On Thu, Jul 29, 2010 at 8:39 AM, Janne Grunau  wrote:
> On Thu, Jul 29, 2010 at 12:27:01AM -0400, Jarod Wilson wrote:
>> On Wed, Jul 28, 2010 at 6:27 PM, Jarod Wilson  wrote:
>> > On Wed, Jul 28, 2010 at 6:16 PM, Randy Dunlap  
>> > wrote:
>> >> On 07/28/10 15:04, Janne Grunau wrote:
>> >>> On Wed, Jul 28, 2010 at 10:24:17AM -0700, Randy Dunlap wrote:
>>  On Wed, 28 Jul 2010 16:28:55 +1000 Stephen Rothwell wrote:
>> 
>> > Hi all,
>> >
>> > Changes since 20100727:
>> 
>> 
>>  When USB_SUPPORT is not enabled and MEDIA_SUPPORT is not enabled:
>> 
>> >>>
>> >>> following patch should fix it
>> >>>
>> >>> Janne
>> >>
>> >> Acked-by: Randy Dunlap 
>> >>
>> >> Thanks.
>> >
>> > Acked-by: Jarod Wilson 
>> >
>> > Indeed, thanks much, Janne!
>>
>> D'oh, I should have looked a bit closer... What if instead of making
>> all the drivers depend on both LIRC && LIRC_STAGING, LIRC_STAGING just
>> depends on LIRC?
>
> I started adding LIRC to each driver by one. Adding LIRC as LIRC_STAGING
> dependency is simpler. See updated patch.
>
>> And there are a few depends lines with duplicate
>> USB's in them and LIRC_IMON should have USB added to it (technically,
>
> D'oh, I've must have stopped reading after LIRC_STAG...
>
> fixed and added additional dependencies

Yeah, that looks better, thanks! (And this time I looked more carefully).

Acked-by: Jarod Wilson 

-- 
Jarod Wilson
ja...@wilsonet.com
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: linux-next: Tree for July 28 (lirc #2)

2010-07-29 Thread Janne Grunau
On Thu, Jul 29, 2010 at 12:27:01AM -0400, Jarod Wilson wrote:
> On Wed, Jul 28, 2010 at 6:27 PM, Jarod Wilson  wrote:
> > On Wed, Jul 28, 2010 at 6:16 PM, Randy Dunlap  
> > wrote:
> >> On 07/28/10 15:04, Janne Grunau wrote:
> >>> On Wed, Jul 28, 2010 at 10:24:17AM -0700, Randy Dunlap wrote:
>  On Wed, 28 Jul 2010 16:28:55 +1000 Stephen Rothwell wrote:
> 
> > Hi all,
> >
> > Changes since 20100727:
> 
> 
>  When USB_SUPPORT is not enabled and MEDIA_SUPPORT is not enabled:
> 
> >>>
> >>> following patch should fix it
> >>>
> >>> Janne
> >>
> >> Acked-by: Randy Dunlap 
> >>
> >> Thanks.
> >
> > Acked-by: Jarod Wilson 
> >
> > Indeed, thanks much, Janne!
> 
> D'oh, I should have looked a bit closer... What if instead of making
> all the drivers depend on both LIRC && LIRC_STAGING, LIRC_STAGING just
> depends on LIRC?

I started adding LIRC to each driver by one. Adding LIRC as LIRC_STAGING
dependency is simpler. See updated patch.

> And there are a few depends lines with duplicate
> USB's in them and LIRC_IMON should have USB added to it (technically,

D'oh, I've must have stopped reading after LIRC_STAG...

fixed and added additional dependencies

Janne


>From 45d384de90e3709a986700db14888eff77bb7e1f Mon Sep 17 00:00:00 2001
From: Janne Grunau 
Date: Wed, 28 Jul 2010 23:53:35 +0200
Subject: [PATCH 1/2] V4L/DVB: staging/lirc: fix Kconfig dependencies

Signed-off-by: Janne Grunau 
---
 drivers/staging/lirc/Kconfig |   19 ++-
 1 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/drivers/staging/lirc/Kconfig b/drivers/staging/lirc/Kconfig
index 968c2ade..ab30a09 100644
--- a/drivers/staging/lirc/Kconfig
+++ b/drivers/staging/lirc/Kconfig
@@ -3,6 +3,7 @@
 #
 menuconfig LIRC_STAGING
bool "Linux Infrared Remote Control IR receiver/transmitter drivers"
+   depends on LIRC
help
  Say Y here, and all supported Linux Infrared Remote Control IR and
  RF receiver and transmitter drivers will be displayed. When paired
@@ -13,13 +14,13 @@ if LIRC_STAGING
 
 config LIRC_BT829
 tristate "BT829 based hardware"
-   depends on LIRC_STAGING
+   depends on LIRC_STAGING && PCI
help
  Driver for the IR interface on BT829-based hardware
 
 config LIRC_ENE0100
tristate "ENE KB3924/ENE0100 CIR Port Reciever"
-   depends on LIRC_STAGING
+   depends on LIRC_STAGING && PNP
help
  This is a driver for CIR port handled by ENE KB3924 embedded
  controller found on some notebooks.
@@ -27,7 +28,7 @@ config LIRC_ENE0100
 
 config LIRC_I2C
tristate "I2C Based IR Receivers"
-   depends on LIRC_STAGING
+   depends on LIRC_STAGING && I2C
help
  Driver for I2C-based IR receivers, such as those commonly
  found onboard Hauppauge PVR-150/250/350 video capture cards
@@ -40,7 +41,7 @@ config LIRC_IGORPLUGUSB
 
 config LIRC_IMON
tristate "Legacy SoundGraph iMON Receiver and Display"
-   depends on LIRC_STAGING
+   depends on LIRC_STAGING && USB
help
  Driver for the original SoundGraph iMON IR Receiver and Display
 
@@ -48,7 +49,7 @@ config LIRC_IMON
 
 config LIRC_IT87
tristate "ITE IT87XX CIR Port Receiver"
-   depends on LIRC_STAGING
+   depends on LIRC_STAGING && PNP
help
  Driver for the ITE IT87xx IR Receiver
 
@@ -60,13 +61,13 @@ config LIRC_ITE8709
 
 config LIRC_PARALLEL
tristate "Homebrew Parallel Port Receiver"
-   depends on LIRC_STAGING && !SMP
+   depends on LIRC_STAGING && PARPORT && !SMP
help
  Driver for Homebrew Parallel Port Receivers
 
 config LIRC_SASEM
tristate "Sasem USB IR Remote"
-   depends on LIRC_STAGING
+   depends on LIRC_STAGING && USB
help
  Driver for the Sasem OnAir Remocon-V or Dign HV5 HTPC IR/VFD Module
 
@@ -91,7 +92,7 @@ config LIRC_SIR
 
 config LIRC_STREAMZAP
tristate "Streamzap PC Receiver"
-   depends on LIRC_STAGING
+   depends on LIRC_STAGING && USB
help
  Driver for the Streamzap PC Receiver
 
@@ -103,7 +104,7 @@ config LIRC_TTUSBIR
 
 config LIRC_ZILOG
tristate "Zilog/Hauppauge IR Transmitter"
-   depends on LIRC_STAGING
+   depends on LIRC_STAGING && I2C
help
  Driver for the Zilog/Hauppauge IR Transmitter, found on
  PVR-150/500, HVR-1200/1250/1700/1800, HD-PVR and other cards
-- 
1.7.2

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: linux-next: Tree for July 28 (lirc #2)

2010-07-28 Thread Jarod Wilson
On Wed, Jul 28, 2010 at 6:27 PM, Jarod Wilson  wrote:
> On Wed, Jul 28, 2010 at 6:16 PM, Randy Dunlap  wrote:
>> On 07/28/10 15:04, Janne Grunau wrote:
>>> On Wed, Jul 28, 2010 at 10:24:17AM -0700, Randy Dunlap wrote:
 On Wed, 28 Jul 2010 16:28:55 +1000 Stephen Rothwell wrote:

> Hi all,
>
> Changes since 20100727:


 When USB_SUPPORT is not enabled and MEDIA_SUPPORT is not enabled:

>>>
>>> following patch should fix it
>>>
>>> Janne
>>
>> Acked-by: Randy Dunlap 
>>
>> Thanks.
>
> Acked-by: Jarod Wilson 
>
> Indeed, thanks much, Janne!

D'oh, I should have looked a bit closer... What if instead of making
all the drivers depend on both LIRC && LIRC_STAGING, LIRC_STAGING just
depends on LIRC? And there are a few depends lines with duplicate
USB's in them and LIRC_IMON should have USB added to it (technically,
I think ene0100 should also have a PNP, but we already have patches
pending that move it from staging to an ir-core driver).

-- 
Jarod Wilson
ja...@wilsonet.com
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: linux-next: Tree for July 28 (lirc #2)

2010-07-28 Thread Jarod Wilson
On Wed, Jul 28, 2010 at 6:16 PM, Randy Dunlap  wrote:
> On 07/28/10 15:04, Janne Grunau wrote:
>> On Wed, Jul 28, 2010 at 10:24:17AM -0700, Randy Dunlap wrote:
>>> On Wed, 28 Jul 2010 16:28:55 +1000 Stephen Rothwell wrote:
>>>
 Hi all,

 Changes since 20100727:
>>>
>>>
>>> When USB_SUPPORT is not enabled and MEDIA_SUPPORT is not enabled:
>>>
>>
>> following patch should fix it
>>
>> Janne
>
> Acked-by: Randy Dunlap 
>
> Thanks.

Acked-by: Jarod Wilson 

Indeed, thanks much, Janne!


>> From 7d1cc98c19a6c27dd74a28f04dfe4248a0b335ce Mon Sep 17 00:00:00 2001
>> From: Janne Grunau 
>> Date: Wed, 28 Jul 2010 23:53:35 +0200
>> Subject: [PATCH 1/2] staging/lirc: fix Kconfig dependencies
>>
>> Signed-off-by: Janne Grunau 
>> ---
>>  drivers/staging/lirc/Kconfig |   28 ++--
>>  1 files changed, 14 insertions(+), 14 deletions(-)
>>
>> diff --git a/drivers/staging/lirc/Kconfig b/drivers/staging/lirc/Kconfig
>> index 968c2ade..3981a4a 100644
>> --- a/drivers/staging/lirc/Kconfig
>> +++ b/drivers/staging/lirc/Kconfig
>> @@ -13,13 +13,13 @@ if LIRC_STAGING
>>
>>  config LIRC_BT829
>>          tristate "BT829 based hardware"
>> -     depends on LIRC_STAGING
>> +     depends on LIRC && LIRC_STAGING
>>       help
>>         Driver for the IR interface on BT829-based hardware
>>
>>  config LIRC_ENE0100
>>       tristate "ENE KB3924/ENE0100 CIR Port Reciever"
>> -     depends on LIRC_STAGING
>> +     depends on LIRC && LIRC_STAGING
>>       help
>>         This is a driver for CIR port handled by ENE KB3924 embedded
>>         controller found on some notebooks.
>> @@ -27,20 +27,20 @@ config LIRC_ENE0100
>>
>>  config LIRC_I2C
>>       tristate "I2C Based IR Receivers"
>> -     depends on LIRC_STAGING
>> +     depends on I2C && LIRC && LIRC_STAGING
>>       help
>>         Driver for I2C-based IR receivers, such as those commonly
>>         found onboard Hauppauge PVR-150/250/350 video capture cards
>>
>>  config LIRC_IGORPLUGUSB
>>       tristate "Igor Cesko's USB IR Receiver"
>> -     depends on LIRC_STAGING && USB
>> +     depends on USB && LIRC && LIRC_STAGING && USB
>>       help
>>         Driver for Igor Cesko's USB IR Receiver
>>
>>  config LIRC_IMON
>>       tristate "Legacy SoundGraph iMON Receiver and Display"
>> -     depends on LIRC_STAGING
>> +     depends on LIRC && LIRC_STAGING
>>       help
>>         Driver for the original SoundGraph iMON IR Receiver and Display
>>
>> @@ -48,31 +48,31 @@ config LIRC_IMON
>>
>>  config LIRC_IT87
>>       tristate "ITE IT87XX CIR Port Receiver"
>> -     depends on LIRC_STAGING
>> +     depends on LIRC && LIRC_STAGING
>>       help
>>         Driver for the ITE IT87xx IR Receiver
>>
>>  config LIRC_ITE8709
>>       tristate "ITE8709 CIR Port Receiver"
>> -     depends on LIRC_STAGING && PNP
>> +     depends on LIRC && LIRC_STAGING && PNP
>>       help
>>         Driver for the ITE8709 IR Receiver
>>
>>  config LIRC_PARALLEL
>>       tristate "Homebrew Parallel Port Receiver"
>> -     depends on LIRC_STAGING && !SMP
>> +     depends on LIRC && LIRC_STAGING && !SMP
>>       help
>>         Driver for Homebrew Parallel Port Receivers
>>
>>  config LIRC_SASEM
>>       tristate "Sasem USB IR Remote"
>> -     depends on LIRC_STAGING
>> +     depends on USB && LIRC && LIRC_STAGING
>>       help
>>         Driver for the Sasem OnAir Remocon-V or Dign HV5 HTPC IR/VFD Module
>>
>>  config LIRC_SERIAL
>>       tristate "Homebrew Serial Port Receiver"
>> -     depends on LIRC_STAGING
>> +     depends on LIRC && LIRC_STAGING
>>       help
>>         Driver for Homebrew Serial Port Receivers
>>
>> @@ -85,25 +85,25 @@ config LIRC_SERIAL_TRANSMITTER
>>
>>  config LIRC_SIR
>>       tristate "Built-in SIR IrDA port"
>> -     depends on LIRC_STAGING
>> +     depends on LIRC && LIRC_STAGING
>>       help
>>         Driver for the SIR IrDA port
>>
>>  config LIRC_STREAMZAP
>>       tristate "Streamzap PC Receiver"
>> -     depends on LIRC_STAGING
>> +     depends on USB && LIRC && LIRC_STAGING
>>       help
>>         Driver for the Streamzap PC Receiver
>>
>>  config LIRC_TTUSBIR
>>       tristate "Technotrend USB IR Receiver"
>> -     depends on LIRC_STAGING && USB
>> +     depends on USB && LIRC && LIRC_STAGING && USB
>>       help
>>         Driver for the Technotrend USB IR Receiver
>>
>>  config LIRC_ZILOG
>>       tristate "Zilog/Hauppauge IR Transmitter"
>> -     depends on LIRC_STAGING
>> +     depends on I2C && LIRC && LIRC_STAGING
>>       help
>>         Driver for the Zilog/Hauppauge IR Transmitter, found on
>>         PVR-150/500, HVR-1200/1250/1700/1800, HD-PVR and other cards
>
>
> --
> ~Randy
> *** Remember to use Documentation/SubmitChecklist when testing your code ***
>



-- 
Jarod Wilson
ja...@wilsonet.com
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: linux-next: Tree for July 28 (lirc #2)

2010-07-28 Thread Randy Dunlap
On 07/28/10 15:04, Janne Grunau wrote:
> On Wed, Jul 28, 2010 at 10:24:17AM -0700, Randy Dunlap wrote:
>> On Wed, 28 Jul 2010 16:28:55 +1000 Stephen Rothwell wrote:
>>
>>> Hi all,
>>>
>>> Changes since 20100727:
>>
>>
>> When USB_SUPPORT is not enabled and MEDIA_SUPPORT is not enabled:
>>
> 
> following patch should fix it
> 
> Janne

Acked-by: Randy Dunlap 

Thanks.


> 
> From 7d1cc98c19a6c27dd74a28f04dfe4248a0b335ce Mon Sep 17 00:00:00 2001
> From: Janne Grunau 
> Date: Wed, 28 Jul 2010 23:53:35 +0200
> Subject: [PATCH 1/2] staging/lirc: fix Kconfig dependencies
> 
> Signed-off-by: Janne Grunau 
> ---
>  drivers/staging/lirc/Kconfig |   28 ++--
>  1 files changed, 14 insertions(+), 14 deletions(-)
> 
> diff --git a/drivers/staging/lirc/Kconfig b/drivers/staging/lirc/Kconfig
> index 968c2ade..3981a4a 100644
> --- a/drivers/staging/lirc/Kconfig
> +++ b/drivers/staging/lirc/Kconfig
> @@ -13,13 +13,13 @@ if LIRC_STAGING
>  
>  config LIRC_BT829
>  tristate "BT829 based hardware"
> - depends on LIRC_STAGING
> + depends on LIRC && LIRC_STAGING
>   help
> Driver for the IR interface on BT829-based hardware
>  
>  config LIRC_ENE0100
>   tristate "ENE KB3924/ENE0100 CIR Port Reciever"
> - depends on LIRC_STAGING
> + depends on LIRC && LIRC_STAGING
>   help
> This is a driver for CIR port handled by ENE KB3924 embedded
> controller found on some notebooks.
> @@ -27,20 +27,20 @@ config LIRC_ENE0100
>  
>  config LIRC_I2C
>   tristate "I2C Based IR Receivers"
> - depends on LIRC_STAGING
> + depends on I2C && LIRC && LIRC_STAGING
>   help
> Driver for I2C-based IR receivers, such as those commonly
> found onboard Hauppauge PVR-150/250/350 video capture cards
>  
>  config LIRC_IGORPLUGUSB
>   tristate "Igor Cesko's USB IR Receiver"
> - depends on LIRC_STAGING && USB
> + depends on USB && LIRC && LIRC_STAGING && USB
>   help
> Driver for Igor Cesko's USB IR Receiver
>  
>  config LIRC_IMON
>   tristate "Legacy SoundGraph iMON Receiver and Display"
> - depends on LIRC_STAGING
> + depends on LIRC && LIRC_STAGING
>   help
> Driver for the original SoundGraph iMON IR Receiver and Display
>  
> @@ -48,31 +48,31 @@ config LIRC_IMON
>  
>  config LIRC_IT87
>   tristate "ITE IT87XX CIR Port Receiver"
> - depends on LIRC_STAGING
> + depends on LIRC && LIRC_STAGING
>   help
> Driver for the ITE IT87xx IR Receiver
>  
>  config LIRC_ITE8709
>   tristate "ITE8709 CIR Port Receiver"
> - depends on LIRC_STAGING && PNP
> + depends on LIRC && LIRC_STAGING && PNP
>   help
> Driver for the ITE8709 IR Receiver
>  
>  config LIRC_PARALLEL
>   tristate "Homebrew Parallel Port Receiver"
> - depends on LIRC_STAGING && !SMP
> + depends on LIRC && LIRC_STAGING && !SMP
>   help
> Driver for Homebrew Parallel Port Receivers
>  
>  config LIRC_SASEM
>   tristate "Sasem USB IR Remote"
> - depends on LIRC_STAGING
> + depends on USB && LIRC && LIRC_STAGING
>   help
> Driver for the Sasem OnAir Remocon-V or Dign HV5 HTPC IR/VFD Module
>  
>  config LIRC_SERIAL
>   tristate "Homebrew Serial Port Receiver"
> - depends on LIRC_STAGING
> + depends on LIRC && LIRC_STAGING
>   help
> Driver for Homebrew Serial Port Receivers
>  
> @@ -85,25 +85,25 @@ config LIRC_SERIAL_TRANSMITTER
>  
>  config LIRC_SIR
>   tristate "Built-in SIR IrDA port"
> - depends on LIRC_STAGING
> + depends on LIRC && LIRC_STAGING
>   help
> Driver for the SIR IrDA port
>  
>  config LIRC_STREAMZAP
>   tristate "Streamzap PC Receiver"
> - depends on LIRC_STAGING
> + depends on USB && LIRC && LIRC_STAGING
>   help
> Driver for the Streamzap PC Receiver
>  
>  config LIRC_TTUSBIR
>   tristate "Technotrend USB IR Receiver"
> - depends on LIRC_STAGING && USB
> + depends on USB && LIRC && LIRC_STAGING && USB
>   help
> Driver for the Technotrend USB IR Receiver
>  
>  config LIRC_ZILOG
>   tristate "Zilog/Hauppauge IR Transmitter"
> - depends on LIRC_STAGING
> + depends on I2C && LIRC && LIRC_STAGING
>   help
> Driver for the Zilog/Hauppauge IR Transmitter, found on
> PVR-150/500, HVR-1200/1250/1700/1800, HD-PVR and other cards


-- 
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: linux-next: Tree for July 28 (lirc #2)

2010-07-28 Thread Janne Grunau
On Wed, Jul 28, 2010 at 10:24:17AM -0700, Randy Dunlap wrote:
> On Wed, 28 Jul 2010 16:28:55 +1000 Stephen Rothwell wrote:
> 
> > Hi all,
> > 
> > Changes since 20100727:
> 
> 
> When USB_SUPPORT is not enabled and MEDIA_SUPPORT is not enabled:
> 

following patch should fix it

Janne


>From 7d1cc98c19a6c27dd74a28f04dfe4248a0b335ce Mon Sep 17 00:00:00 2001
From: Janne Grunau 
Date: Wed, 28 Jul 2010 23:53:35 +0200
Subject: [PATCH 1/2] staging/lirc: fix Kconfig dependencies

Signed-off-by: Janne Grunau 
---
 drivers/staging/lirc/Kconfig |   28 ++--
 1 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/drivers/staging/lirc/Kconfig b/drivers/staging/lirc/Kconfig
index 968c2ade..3981a4a 100644
--- a/drivers/staging/lirc/Kconfig
+++ b/drivers/staging/lirc/Kconfig
@@ -13,13 +13,13 @@ if LIRC_STAGING
 
 config LIRC_BT829
 tristate "BT829 based hardware"
-   depends on LIRC_STAGING
+   depends on LIRC && LIRC_STAGING
help
  Driver for the IR interface on BT829-based hardware
 
 config LIRC_ENE0100
tristate "ENE KB3924/ENE0100 CIR Port Reciever"
-   depends on LIRC_STAGING
+   depends on LIRC && LIRC_STAGING
help
  This is a driver for CIR port handled by ENE KB3924 embedded
  controller found on some notebooks.
@@ -27,20 +27,20 @@ config LIRC_ENE0100
 
 config LIRC_I2C
tristate "I2C Based IR Receivers"
-   depends on LIRC_STAGING
+   depends on I2C && LIRC && LIRC_STAGING
help
  Driver for I2C-based IR receivers, such as those commonly
  found onboard Hauppauge PVR-150/250/350 video capture cards
 
 config LIRC_IGORPLUGUSB
tristate "Igor Cesko's USB IR Receiver"
-   depends on LIRC_STAGING && USB
+   depends on USB && LIRC && LIRC_STAGING && USB
help
  Driver for Igor Cesko's USB IR Receiver
 
 config LIRC_IMON
tristate "Legacy SoundGraph iMON Receiver and Display"
-   depends on LIRC_STAGING
+   depends on LIRC && LIRC_STAGING
help
  Driver for the original SoundGraph iMON IR Receiver and Display
 
@@ -48,31 +48,31 @@ config LIRC_IMON
 
 config LIRC_IT87
tristate "ITE IT87XX CIR Port Receiver"
-   depends on LIRC_STAGING
+   depends on LIRC && LIRC_STAGING
help
  Driver for the ITE IT87xx IR Receiver
 
 config LIRC_ITE8709
tristate "ITE8709 CIR Port Receiver"
-   depends on LIRC_STAGING && PNP
+   depends on LIRC && LIRC_STAGING && PNP
help
  Driver for the ITE8709 IR Receiver
 
 config LIRC_PARALLEL
tristate "Homebrew Parallel Port Receiver"
-   depends on LIRC_STAGING && !SMP
+   depends on LIRC && LIRC_STAGING && !SMP
help
  Driver for Homebrew Parallel Port Receivers
 
 config LIRC_SASEM
tristate "Sasem USB IR Remote"
-   depends on LIRC_STAGING
+   depends on USB && LIRC && LIRC_STAGING
help
  Driver for the Sasem OnAir Remocon-V or Dign HV5 HTPC IR/VFD Module
 
 config LIRC_SERIAL
tristate "Homebrew Serial Port Receiver"
-   depends on LIRC_STAGING
+   depends on LIRC && LIRC_STAGING
help
  Driver for Homebrew Serial Port Receivers
 
@@ -85,25 +85,25 @@ config LIRC_SERIAL_TRANSMITTER
 
 config LIRC_SIR
tristate "Built-in SIR IrDA port"
-   depends on LIRC_STAGING
+   depends on LIRC && LIRC_STAGING
help
  Driver for the SIR IrDA port
 
 config LIRC_STREAMZAP
tristate "Streamzap PC Receiver"
-   depends on LIRC_STAGING
+   depends on USB && LIRC && LIRC_STAGING
help
  Driver for the Streamzap PC Receiver
 
 config LIRC_TTUSBIR
tristate "Technotrend USB IR Receiver"
-   depends on LIRC_STAGING && USB
+   depends on USB && LIRC && LIRC_STAGING && USB
help
  Driver for the Technotrend USB IR Receiver
 
 config LIRC_ZILOG
tristate "Zilog/Hauppauge IR Transmitter"
-   depends on LIRC_STAGING
+   depends on I2C && LIRC && LIRC_STAGING
help
  Driver for the Zilog/Hauppauge IR Transmitter, found on
  PVR-150/500, HVR-1200/1250/1700/1800, HD-PVR and other cards
-- 
1.7.2

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: linux-next: Tree for July 28 (lirc #2)

2010-07-28 Thread Randy Dunlap
On Wed, 28 Jul 2010 16:28:55 +1000 Stephen Rothwell wrote:

> Hi all,
> 
> Changes since 20100727:


When USB_SUPPORT is not enabled and MEDIA_SUPPORT is not enabled:


ERROR: "lirc_dev_fop_close" [drivers/staging/lirc/lirc_streamzap.ko] undefined!
ERROR: "lirc_dev_fop_open" [drivers/staging/lirc/lirc_streamzap.ko] undefined!
ERROR: "lirc_dev_fop_poll" [drivers/staging/lirc/lirc_streamzap.ko] undefined!
ERROR: "lirc_dev_fop_write" [drivers/staging/lirc/lirc_streamzap.ko] undefined!
ERROR: "lirc_dev_fop_read" [drivers/staging/lirc/lirc_streamzap.ko] undefined!
ERROR: "usb_register_driver" [drivers/staging/lirc/lirc_streamzap.ko] undefined!
ERROR: "lirc_register_driver" [drivers/staging/lirc/lirc_streamzap.ko] 
undefined!
ERROR: "usb_string" [drivers/staging/lirc/lirc_streamzap.ko] undefined!
ERROR: "usb_alloc_urb" [drivers/staging/lirc/lirc_streamzap.ko] undefined!
ERROR: "usb_alloc_coherent" [drivers/staging/lirc/lirc_streamzap.ko] undefined!
ERROR: "lirc_dev_fop_ioctl" [drivers/staging/lirc/lirc_streamzap.ko] undefined!
ERROR: "lirc_get_pdata" [drivers/staging/lirc/lirc_streamzap.ko] undefined!
ERROR: "usb_free_coherent" [drivers/staging/lirc/lirc_streamzap.ko] undefined!
ERROR: "usb_free_urb" [drivers/staging/lirc/lirc_streamzap.ko] undefined!
ERROR: "lirc_unregister_driver" [drivers/staging/lirc/lirc_streamzap.ko] 
undefined!
ERROR: "usb_kill_urb" [drivers/staging/lirc/lirc_streamzap.ko] undefined!
ERROR: "usb_submit_urb" [drivers/staging/lirc/lirc_streamzap.ko] undefined!
ERROR: "usb_deregister" [drivers/staging/lirc/lirc_streamzap.ko] undefined!
ERROR: "lirc_dev_fop_close" [drivers/staging/lirc/lirc_sir.ko] undefined!
ERROR: "lirc_dev_fop_open" [drivers/staging/lirc/lirc_sir.ko] undefined!
ERROR: "lirc_register_driver" [drivers/staging/lirc/lirc_sir.ko] undefined!
ERROR: "lirc_unregister_driver" [drivers/staging/lirc/lirc_sir.ko] undefined!

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: linux-next: Tree for July 28 (lirc)

2010-07-28 Thread Randy Dunlap
On Wed, 28 Jul 2010 16:28:55 +1000 Stephen Rothwell wrote:

> Hi all,
> 
> Changes since 20100727:


when CONFIG_MODULES is not enabled:

drivers/staging/lirc/lirc_parallel.c:243: error: implicit declaration of 
function 'module_refcount'
drivers/staging/lirc/lirc_it87.c:150: error: implicit declaration of function 
'module_refcount'
drivers/built-in.o: In function `it87_probe':
lirc_it87.c:(.text+0x4079b0): undefined reference to `init_chrdev'
lirc_it87.c:(.text+0x4079cc): undefined reference to `drop_chrdev'
drivers/built-in.o: In function `lirc_it87_exit':
lirc_it87.c:(.exit.text+0x38a5): undefined reference to `drop_chrdev'

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html