Re: [RFC PATCH 1/6] V4L menu: move USB drivers section to the top.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 31, 2011 at 9:46 AM, Guennadi Liakhovetski
<g.liakhovetski@xxxxxx> wrote:
> On Wed, 31 Aug 2011, Hans Verkuil wrote:
>
>> From: Hans Verkuil <hans.verkuil@xxxxxxxxx>
>>
>> USB webcams are some of the most used V4L devices, so move it to a more
>> prominent place in the menu instead of being at the end.
>>
>> Signed-off-by: Hans Verkuil <hans.verkuil@xxxxxxxxx>
>> ---
>>  drivers/media/video/Kconfig |  141 ++++++++++++++++++++++---------------------
>>  1 files changed, 71 insertions(+), 70 deletions(-)
>>
>> diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig
>> index f574dc0..336251f 100644
>> --- a/drivers/media/video/Kconfig
>> +++ b/drivers/media/video/Kconfig
>> @@ -545,6 +545,77 @@ config VIDEO_M52790
>>
>>  endmenu # encoder / decoder chips
>>
>> +#
>> +# USB Multimedia device configuration
>> +#
>> +
>> +menuconfig V4L_USB_DRIVERS
>> +     bool "V4L USB devices"
>> +     depends on USB
>> +     default y
>> +
>> +if V4L_USB_DRIVERS && USB
>
> is "&& USB" needed? V4L_USB_DRIVERS already depends on USB

I think this is a nice cleanup, and it will make things a little
easier for kernel builders to find their USB devices.  I do not
believe that "&& USB" is needed anymore - seems to be a relic from the
past, perhaps we forgot to make V4L_USB_DRIVERS depend on USB at some
point in the past -- we don't need it anymore.

-Mike


> Thanks
> Guennadi
>
>> +
>> +source "drivers/media/video/uvc/Kconfig"
>> +
>> +source "drivers/media/video/gspca/Kconfig"
>> +
>> +source "drivers/media/video/pvrusb2/Kconfig"
>> +
>> +source "drivers/media/video/hdpvr/Kconfig"
>> +
>> +source "drivers/media/video/em28xx/Kconfig"
>> +
>> +source "drivers/media/video/tlg2300/Kconfig"
>> +
>> +source "drivers/media/video/cx231xx/Kconfig"
>> +
>> +source "drivers/media/video/usbvision/Kconfig"
>> +
>> +source "drivers/media/video/et61x251/Kconfig"
>> +
>> +source "drivers/media/video/sn9c102/Kconfig"
>> +
>> +source "drivers/media/video/pwc/Kconfig"
>> +
>> +config USB_ZR364XX
>> +     tristate "USB ZR364XX Camera support"
>> +     depends on VIDEO_V4L2
>> +     select VIDEOBUF_GEN
>> +     select VIDEOBUF_VMALLOC
>> +     ---help---
>> +       Say Y here if you want to connect this type of camera to your
>> +       computer's USB port.
>> +       See <file:Documentation/video4linux/zr364xx.txt> for more info
>> +       and list of supported cameras.
>> +
>> +       To compile this driver as a module, choose M here: the
>> +       module will be called zr364xx.
>> +
>> +config USB_STKWEBCAM
>> +     tristate "USB Syntek DC1125 Camera support"
>> +     depends on VIDEO_V4L2 && EXPERIMENTAL
>> +     ---help---
>> +       Say Y here if you want to use this type of camera.
>> +       Supported devices are typically found in some Asus laptops,
>> +       with USB id 174f:a311 and 05e1:0501. Other Syntek cameras
>> +       may be supported by the stk11xx driver, from which this is
>> +       derived, see <http://sourceforge.net/projects/syntekdriver/>
>> +
>> +       To compile this driver as a module, choose M here: the
>> +       module will be called stkwebcam.
>> +
>> +config USB_S2255
>> +     tristate "USB Sensoray 2255 video capture device"
>> +     depends on VIDEO_V4L2
>> +     select VIDEOBUF_VMALLOC
>> +     default n
>> +     help
>> +       Say Y here if you want support for the Sensoray 2255 USB device.
>> +       This driver can be compiled as a module, called s2255drv.
>> +
>> +endif # V4L_USB_DRIVERS
>> +
>>  config VIDEO_SH_VOU
>>       tristate "SuperH VOU video output driver"
>>       depends on VIDEO_DEV && ARCH_SHMOBILE
>> @@ -979,76 +1050,6 @@ config VIDEO_S5P_MIPI_CSIS
>>
>>  source "drivers/media/video/s5p-tv/Kconfig"
>>
>> -#
>> -# USB Multimedia device configuration
>> -#
>> -
>> -menuconfig V4L_USB_DRIVERS
>> -     bool "V4L USB devices"
>> -     depends on USB
>> -     default y
>> -
>> -if V4L_USB_DRIVERS && USB
>> -
>> -source "drivers/media/video/uvc/Kconfig"
>> -
>> -source "drivers/media/video/gspca/Kconfig"
>> -
>> -source "drivers/media/video/pvrusb2/Kconfig"
>> -
>> -source "drivers/media/video/hdpvr/Kconfig"
>> -
>> -source "drivers/media/video/em28xx/Kconfig"
>> -
>> -source "drivers/media/video/tlg2300/Kconfig"
>> -
>> -source "drivers/media/video/cx231xx/Kconfig"
>> -
>> -source "drivers/media/video/usbvision/Kconfig"
>> -
>> -source "drivers/media/video/et61x251/Kconfig"
>> -
>> -source "drivers/media/video/sn9c102/Kconfig"
>> -
>> -source "drivers/media/video/pwc/Kconfig"
>> -
>> -config USB_ZR364XX
>> -     tristate "USB ZR364XX Camera support"
>> -     depends on VIDEO_V4L2
>> -     select VIDEOBUF_GEN
>> -     select VIDEOBUF_VMALLOC
>> -     ---help---
>> -       Say Y here if you want to connect this type of camera to your
>> -       computer's USB port.
>> -       See <file:Documentation/video4linux/zr364xx.txt> for more info
>> -       and list of supported cameras.
>> -
>> -       To compile this driver as a module, choose M here: the
>> -       module will be called zr364xx.
>> -
>> -config USB_STKWEBCAM
>> -     tristate "USB Syntek DC1125 Camera support"
>> -     depends on VIDEO_V4L2 && EXPERIMENTAL
>> -     ---help---
>> -       Say Y here if you want to use this type of camera.
>> -       Supported devices are typically found in some Asus laptops,
>> -       with USB id 174f:a311 and 05e1:0501. Other Syntek cameras
>> -       may be supported by the stk11xx driver, from which this is
>> -       derived, see <http://sourceforge.net/projects/syntekdriver/>
>> -
>> -       To compile this driver as a module, choose M here: the
>> -       module will be called stkwebcam.
>> -
>> -config USB_S2255
>> -     tristate "USB Sensoray 2255 video capture device"
>> -     depends on VIDEO_V4L2
>> -     select VIDEOBUF_VMALLOC
>> -     default n
>> -     help
>> -       Say Y here if you want support for the Sensoray 2255 USB device.
>> -       This driver can be compiled as a module, called s2255drv.
>> -
>> -endif # V4L_USB_DRIVERS
>>  endif # VIDEO_CAPTURE_DRIVERS
>>
>>  menuconfig V4L_MEM2MEM_DRIVERS
>> --
>> 1.7.5.4
>>
>
> ---
> Guennadi Liakhovetski, Ph.D.
> Freelance Open-Source Software Developer
> http://www.open-technology.de/
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux