linux-2.6
18 years agoV4L/DVB (3326): Adding support for Terratec Prodigy XS
Markus Rechberger [Tue, 7 Feb 2006 05:14:16 +0000 (06:14 +0100)] 
V4L/DVB (3326): Adding support for Terratec Prodigy XS

Adding support for Terratec Prodigy XS

Signed-off-by: Markus Rechberger <mrechberger@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3325): Disabled debug on by default in tvp5150
Markus Rechberger [Tue, 7 Feb 2006 03:01:19 +0000 (04:01 +0100)] 
V4L/DVB (3325): Disabled debug on by default in tvp5150

disabled debug on by default in tvp5150

Signed-off-by: Markus Rechberger <mrechberger@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3324): Fix Samsung tuner frequency ranges
Hans Verkuil [Mon, 6 Feb 2006 21:52:24 +0000 (23:52 +0200)] 
V4L/DVB (3324): Fix Samsung tuner frequency ranges

Forgot to take the NTSC frequency offset into account.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3318e): DVB: remove the at76c651/tda80xx frontends
Adrian Bunk [Tue, 7 Feb 2006 08:49:15 +0000 (06:49 -0200)] 
V4L/DVB (3318e): DVB: remove the at76c651/tda80xx frontends

The at76c651 and tda80xx frontends are currently completely unused, IOW
their only effect is making the kernel larger for people accitentially
enabling them.

The current in-kernel drivers differ from the drivers at cvs.tuxbox.org,
and re-adding them when parts of the dbox2 project get merged should be
trivial.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3318c): fix saa7146 kobject register failure
Dave Jones [Tue, 7 Feb 2006 08:49:15 +0000 (06:49 -0200)] 
V4L/DVB (3318c): fix saa7146 kobject register failure

Whoops.

kobject_register failed for hexium HV-PCI6/Orion (-13)
[<c01d3eb6>] kobject_register+0x31/0x47
[<c023a996>] bus_add_driver+0x4a/0xfd
[<c01de3c1>] __pci_register_driver+0x82/0xa4
[<d083400a>] hexium_init_module+0xa/0x47 [hexium_orion]
[<c013bdae>] sys_init_module+0x167b/0x1822
[<c01633f7>] do_sync_read+0xb8/0xf3
[<c0133fa3>] autoremove_wake_function+0x0/0x2d
[<c0145390>] audit_syscall_entry+0x118/0x13f
[<c0106ae2>] do_syscall_trace+0x104/0x14a
[<c0103d21>] syscall_call+0x7/0xb

slashes in kobject names aren't allowed.

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3318b): sem2mutex: drivers/media/, #2
Ingo Molnar [Tue, 7 Feb 2006 08:49:14 +0000 (06:49 -0200)] 
V4L/DVB (3318b): sem2mutex: drivers/media/, #2

Semaphore to mutex conversion.

The conversion was generated via scripts, and the result was validated
automatically via a script as well.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3318a): Makes Some symbols static.
Mauro Carvalho Chehab [Tue, 7 Feb 2006 08:49:14 +0000 (06:49 -0200)] 
V4L/DVB (3318a): Makes Some symbols static.

Some symbols at cx88-alsa were global. Making those static.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3316): Add initial support for KWorld HardwareMpegTV XPert
Michael Krufky [Tue, 7 Feb 2006 08:49:14 +0000 (06:49 -0200)] 
V4L/DVB (3316): Add initial support for KWorld HardwareMpegTV XPert

- Add initial support for KWorld HardwareMpegTV XPert.
- uses silicon tuner: tda8290 + tda8275
- standard video using cx88 broadcast decoder is working.
- blackbird mpeg encoder support (cx23416) not yet working.
- FM radio untested.
- audio is only working correctly in television mode,
  all other modes disabled.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3315): Added support for the Tevion DVB-T 220RF card
Peter Hartshorn [Tue, 7 Feb 2006 08:49:13 +0000 (06:49 -0200)] 
V4L/DVB (3315): Added support for the Tevion DVB-T 220RF card

This is an analog / digital hybrid card.

Signed-off-by: Peter Hartshorn <p3r@users.sourceforge.net>
Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3314): Fixed em28xx based system lockup
Markus Rechberger [Tue, 7 Feb 2006 08:49:13 +0000 (06:49 -0200)] 
V4L/DVB (3314): Fixed em28xx based system lockup

Fixed em28xx based system lockup, device needs to be initialized
before starting the isoc transfer otherwise the system will completly lock up.

Signed-off-by: Markus Rechberger <mrechberger@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3313): FIX: Check if FW was downloaded or not + new firmware file
Patrick Boettcher [Tue, 7 Feb 2006 08:49:12 +0000 (06:49 -0200)] 
V4L/DVB (3313): FIX: Check if FW was downloaded or not + new firmware file

- When a firmware was downloaded dvb_usb_device_init returns NULL for the
  dvb_usb_device, then nothing should be done with that pointer and device,
  because it will re-enumerate.
- A new firmware should be used with digitv devices.
- It should make "slave"-devices work and others, too.

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3312): FIX: Multiple usage of VP7045-based devices
Patrick Boettcher [Tue, 7 Feb 2006 08:49:12 +0000 (06:49 -0200)] 
V4L/DVB (3312): FIX: Multiple usage of VP7045-based devices

Reassigning function pointers in a static led to infinite loops when using
multiple VP7045-based device at the same time on one system. Using kmalloc'd
copies for reassignments is better.

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3310): Use MT352 parallel transport function for all Bluebird FusionHDTV...
Michael Krufky [Tue, 7 Feb 2006 08:49:12 +0000 (06:49 -0200)] 
V4L/DVB (3310): Use MT352 parallel transport function for all Bluebird FusionHDTV DVB-T boxes.

Use the parallel transport function of the MT352 demodulator in
TH7579 and LGZ201 -based FusionHDTV Bluebird usb boxes.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3308): Use parallel transport for FusionHDTV Dual Digital USB
Chris Pascoe [Tue, 7 Feb 2006 08:49:11 +0000 (06:49 -0200)] 
V4L/DVB (3308): Use parallel transport for FusionHDTV Dual Digital USB

Use the parallel transport function of the MT352 in USB demodulator of the
Dual Digital board.

Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3307): Support for Galaxis DVB-S rev1.3
Oliver Endriss [Tue, 7 Feb 2006 08:49:11 +0000 (06:49 -0200)] 
V4L/DVB (3307): Support for Galaxis DVB-S rev1.3

support for Galaxis DVB-S rev1.3 (subsystem 13c2:0004)

Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3306): Fixed i2c return value, conversion mdelay to msleep
Markus Rechberger [Tue, 7 Feb 2006 08:49:11 +0000 (06:49 -0200)] 
V4L/DVB (3306): Fixed i2c return value, conversion mdelay to msleep

fixed i2c return value, conversion mdelay to msleep

Signed-off-by: Markus Rechberger <mrechberger@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3305): Added support for the ADS Instant TV DUO Cardbus PTV331
Hartmut Hackmann [Tue, 7 Feb 2006 08:49:10 +0000 (06:49 -0200)] 
V4L/DVB (3305): Added support for the ADS Instant TV DUO Cardbus PTV331

Analog and DVB-T are working, Remote not yet.
This card is based on the new LifeView design, there should be many variants.

Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3304): TDA10046 Driver update
Hartmut Hackmann [Tue, 7 Feb 2006 08:49:10 +0000 (06:49 -0200)] 
V4L/DVB (3304): TDA10046 Driver update

- Set outputs to tristate in sleep mode
- Reduce dangerously high firmware download speed with 16MHz xtal
- added tda827x configuration with GPIOs low
- added comments to stupid looking IIC reads that work around bugs in
  the tda10046.
- some minor updates

Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3303): TDA8290 update
Hartmut Hackmann [Tue, 7 Feb 2006 08:49:09 +0000 (06:49 -0200)] 
V4L/DVB (3303): TDA8290 update

This patch
- works around a bug in the I2C bridge that makes the initialization
  of the TDA10046 fail on recent LifeView cards
- puts the AGC output to tristate in sleep mode. This is necessary for
  recent hybrid cards that switch the AGC via tristateing.

Signed-off-by: Hartmut Hackmann<hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3302): Added support for the LifeView FlyDVB-T LR301 card
Giampiero Giancipoli [Tue, 7 Feb 2006 08:49:09 +0000 (06:49 -0200)] 
V4L/DVB (3302): Added support for the LifeView FlyDVB-T LR301 card

Additionally to the card support, this changeset adds the option
tda10046lifeview to get_dvb_firmware to download tda10046 firmware
from LifeView's site.

Signed-off-by: Giampiero Giancipoli <gianci@libero.it>
Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3300): Add standard for South Korean NTSC-M using A2 audio.
Hans Verkuil [Tue, 7 Feb 2006 08:48:40 +0000 (06:48 -0200)] 
V4L/DVB (3300): Add standard for South Korean NTSC-M using A2 audio.

South Korea uses NTSC-M but with A2 audio instead of BTSC. Several audio
chips need this information in order to set the correct audio processing
registers.

Acked-by: Mauro Carvalho Chehab <mauro_chehab@yahoo.com.br>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3299): Kconfig: DVB_USB_CXUSB depends on DVB_LGDT330X and DVB_MT352
Michael Krufky [Tue, 7 Feb 2006 08:45:33 +0000 (06:45 -0200)] 
V4L/DVB (3299): Kconfig: DVB_USB_CXUSB depends on DVB_LGDT330X and DVB_MT352

- rename DVB_USB_CXUSB one-liner description to:
  Conexant USB2.0 hybrid reference design support.
- with the addition of bluebird support to dvb-usb-cxusb,
  it now depends on lgdt330x and mt352 modules.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3297): Add IR support to KWorld DVB-T (cx22702-based)
Marco Manenti [Tue, 7 Feb 2006 08:45:33 +0000 (06:45 -0200)] 
V4L/DVB (3297): Add IR support to KWorld DVB-T (cx22702-based)

add IR support to KWorld DVB-T (cx22702-based)

Signed-off-by: Marco Manenti <marco_manenti@colman.it>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3294): Fix [Bug 5895] to correct snd_87x autodetect
Manu Abraham [Tue, 7 Feb 2006 08:45:30 +0000 (06:45 -0200)] 
V4L/DVB (3294): Fix [Bug 5895] to correct snd_87x autodetect

With DVB drivers enabled snd_87x (ALSA) don't detect.

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3281): Added signal detection support to tvp5150
Markus Rechberger [Tue, 7 Feb 2006 08:38:24 +0000 (06:38 -0200)] 
V4L/DVB (3281): Added signal detection support to tvp5150

- added signal detection support to tvp5150

Signed-off-by: Markus Rechberger <mrechberger@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3280): Changed description of KWorld PVR TV 2800RF
Markus Rechberger [Tue, 7 Feb 2006 08:25:41 +0000 (06:25 -0200)] 
V4L/DVB (3280): Changed description of KWorld PVR TV 2800RF

Changed description of KWorld PVR TV 2800RF

Signed-off-by: Markus Rechberger <mrechberger@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3278): Show debug for tuners trying to use unsupported video standards
Michael Krufky [Tue, 7 Feb 2006 08:25:40 +0000 (06:25 -0200)] 
V4L/DVB (3278): Show debug for tuners trying to use unsupported video standards

With tuner_debug enabled, if a tuner tries to use a video standard that doesn't
have a matching tuner_params defined, the IFPCoff value and tuner number will
be displayed, and the default tuner_params entry will be used.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3277): Use default tuner_params if desired_type not available
Michael Krufky [Tue, 7 Feb 2006 08:25:39 +0000 (06:25 -0200)] 
V4L/DVB (3277): Use default tuner_params if desired_type not available

If a given tuner definition contains more than one tuner_params array members,
it will try to select the appropriate tuner_params based on the video standard
in use. If there is no tuner_params defined for the current video standard, it
will select the default, tuner_params[0]

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3276): Added terratec hybrid xs and kworld 2800rf support
Markus Rechberger [Tue, 7 Feb 2006 08:25:39 +0000 (06:25 -0200)] 
V4L/DVB (3276): Added terratec hybrid xs and kworld 2800rf support

- Added terratec hybrid xs product/vendorid
- Added gpio audio initialization for kworld pvr 2800rf

Signed-off-by: Markus Rechberger <mrechberger@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3275): Allow SAA7134 to fall back to AM sound when there is NICAM-L
Hartmut Hackmann [Tue, 7 Feb 2006 08:25:37 +0000 (06:25 -0200)] 
V4L/DVB (3275): Allow SAA7134 to fall back to AM sound when there is NICAM-L

This patch allows to select AM sound even if NICAM is detected.
Proposed by Alain Frappin

Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3271): Update tuner comments
Michael Krufky [Tue, 7 Feb 2006 08:25:36 +0000 (06:25 -0200)] 
V4L/DVB (3271): Update tuner comments

Right now, all tuners are using the first tuner_params[]
array element for analog mode. We are now ready to begin merging
similar tuner definitions together, such that each tuner definition
will have a tuner_params struct for each available video standard.
The tuner_params[] array element will be chosen based on the video
standard in use.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3270): Tuner_dbg will show tuner param and range selected
Michael Krufky [Tue, 7 Feb 2006 08:25:35 +0000 (06:25 -0200)] 
V4L/DVB (3270): Tuner_dbg will show tuner param and range selected

- tuner_dbg will show tuner param and range selected

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3269): Allow multiple tuner params in each tuner definition
Michael Krufky [Tue, 7 Feb 2006 08:25:34 +0000 (06:25 -0200)] 
V4L/DVB (3269): Allow multiple tuner params in each tuner definition

- allow multiple tuner params in each tuner definition.
- the correct tuner_params element will be chosen based on
  current video standard.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3268): Move video std detection to top of set_tv_freq function
Michael Krufky [Tue, 7 Feb 2006 08:25:33 +0000 (06:25 -0200)] 
V4L/DVB (3268): Move video std detection to top of set_tv_freq function

- move video std detection to top of set_tv_freq function
- we must detect video std first, so that we can choose the correct
  tuner_params

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3267): Add support for the Avermedia 777 DVB-T card
Jose Alberto Reguero [Tue, 7 Feb 2006 08:25:14 +0000 (06:25 -0200)] 
V4L/DVB (3267): Add support for the Avermedia 777 DVB-T card

Signed-off-by: Jose Alberto Reguero <jareguero@telefonica.net>
Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3266): Fix NICAM buzz on analog sound
Marcin Rudowski [Mon, 6 Feb 2006 11:15:14 +0000 (09:15 -0200)] 
V4L/DVB (3266): Fix NICAM buzz on analog sound

Apparently, having the number of lines fixed at 4 reduces (or even kills)
the buzz found in NICAM stereo with analog sound.

Signed-off-by: Marcin Rudowski <mar_rud@poczta.onet.pl>
Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3265): Add count to tunertype struct
Michael Krufky [Mon, 6 Feb 2006 11:15:11 +0000 (09:15 -0200)] 
V4L/DVB (3265): Add count to tunertype struct

The tuner_params element is an array of undefined length,
with each array member being a set of parameters for each
video standard type.
The number of members in the tuner_params array
will be stored in tuners[]->count

Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3453a): Alters MAINTAINERS file to point to newer v4l-dvb email
Mauro Carvalho Chehab [Fri, 27 Jan 2006 18:32:02 +0000 (16:32 -0200)] 
V4L/DVB (3453a): Alters MAINTAINERS file to point to newer v4l-dvb email

- V4L/DVB Maintainers list changed. This patch alters the email to the
  new address.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Acked-By: Johannes Stezenbach <js@linuxtv.org>
18 years agoV4L/DVB (3442): Allow tristate build for cx88-vp3054-i2c
Michael Krufky [Thu, 26 Jan 2006 06:37:19 +0000 (04:37 -0200)] 
V4L/DVB (3442): Allow tristate build for cx88-vp3054-i2c

- allow tristate build for cx88-vp3054-i2c

Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3439a): media video stradis memory fix
Jiri Slaby [Tue, 24 Jan 2006 21:15:06 +0000 (13:15 -0800)] 
V4L/DVB (3439a): media video stradis memory fix

memset clears once set structure, there is actually no need for memset,
because configure function do it for us.  Next, vfree(NULL) is legal, so
avoid useless labels.

Thanks Dave Jones for reporting this.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3439): removed duplicated tuner_ranges
Michael Krufky [Mon, 23 Jan 2006 19:11:11 +0000 (17:11 -0200)] 
V4L/DVB (3439): removed duplicated tuner_ranges

- removed duplicated tuner_ranges

Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3436): move config byte from tuner_params to tuner_range struct.
Michael Krufky [Mon, 23 Jan 2006 19:11:11 +0000 (17:11 -0200)] 
V4L/DVB (3436): move config byte from tuner_params to tuner_range struct.

- Move config byte from tuner_params to tuner_range struct.
- dvb tuners must be able to set different config byte for each range.

Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3435): rename cb variable names in tuner structures for global consistency
Michael Krufky [Mon, 23 Jan 2006 19:11:11 +0000 (17:11 -0200)] 
V4L/DVB (3435): rename cb variable names in tuner structures for global consistency

- rename cb variable names in tuner structures for global consistency

Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3434): changed comment in tuner-core.c
Markus Rechberger [Mon, 23 Jan 2006 19:11:11 +0000 (17:11 -0200)] 
V4L/DVB (3434): changed comment in tuner-core.c

- changed comment in tuner-core.c

Signed-off-by: Markus Rechberger <mrechberger@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3433): Fix printk type warning
Randy Dunlap [Mon, 23 Jan 2006 19:11:10 +0000 (17:11 -0200)] 
V4L/DVB (3433): Fix printk type warning

- Fix printk type warning:
drivers/media/dvb/b2c2/flexcop-pci.c:164: warning:
format '%08x' expects type 'unsigned int', but argument 4 has type 'dma_addr_t'

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3432): Hauppauge HVR 900 Composite support
Markus Rechberger [Mon, 23 Jan 2006 19:11:10 +0000 (17:11 -0200)] 
V4L/DVB (3432): Hauppauge HVR 900 Composite support

- Hauppauge HVR 900 Composite support

Signed-off-by: Markus Rechberger <mrechberger@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3431): fixed spelling error, exectuted --> executed.
Michael Krufky [Mon, 23 Jan 2006 19:11:10 +0000 (17:11 -0200)] 
V4L/DVB (3431): fixed spelling error, exectuted --> executed.

- fixed spelling error, exectuted --> executed.

Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3430): Add new internal VIDIOC_INT commands
Hans Verkuil [Mon, 23 Jan 2006 19:11:10 +0000 (17:11 -0200)] 
V4L/DVB (3430): Add new internal VIDIOC_INT commands

- Add new internal VIDIOC_INT commands for setting the tuner mode,
for putting a chip into standby mode and to set/get the routing
of inputs/outputs of audio or video of a chip. These new commands
will replace older commands that are no longer up to the task.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3429): Missing break statement on tuner-core
Markus Rechberger [Mon, 23 Jan 2006 19:11:09 +0000 (17:11 -0200)] 
V4L/DVB (3429): Missing break statement on tuner-core

- default_tuner_init was called twice due to a missing break statement.

Signed-off-by: Markus Rechberger <mrechberger@gmail.com>
Acked-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3428): drivers/media/dvb/ possible cleanups
Adrian Bunk [Mon, 23 Jan 2006 19:11:09 +0000 (17:11 -0200)] 
V4L/DVB (3428): drivers/media/dvb/ possible cleanups

- Make needlessly global code static
- #if 0 the following unused global functions:
- b2c2/flexcop-dma.c: flexcop_dma_control_packet_irq()
- b2c2/flexcop-dma.c: flexcop_dma_config_packet_count()

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3427): audmode and rxsubchans fixes (VIDIOC_G/S_TUNER)
Hans Verkuil [Mon, 23 Jan 2006 19:11:09 +0000 (17:11 -0200)] 
V4L/DVB (3427): audmode and rxsubchans fixes (VIDIOC_G/S_TUNER)

- Audmode and rxsubchans fixes in msp3400, tuner, tvaudio and cx25840.
- msp3400 cleanups

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3423): CodingStyle fixes.
Mauro Carvalho Chehab [Mon, 23 Jan 2006 19:11:09 +0000 (17:11 -0200)] 
V4L/DVB (3423): CodingStyle fixes.

- CodingStyle fixes.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3422): Implemented VIDIOC_G_FMT/S_FMT for sliced VBI
Mauro Carvalho Chehab [Mon, 23 Jan 2006 19:11:08 +0000 (17:11 -0200)] 
V4L/DVB (3422): Implemented VIDIOC_G_FMT/S_FMT for sliced VBI

- Implemented VIDIOC_G_FMT/S_FMT for sliced VBI
- VIDIOC_S_FMT now calls a function

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3421): Several fixes to prepare for VBI
Mauro Carvalho Chehab [Mon, 23 Jan 2006 19:11:08 +0000 (17:11 -0200)] 
V4L/DVB (3421): Several fixes to prepare for VBI

- Fixed VBI compilation.
- Included capacity to specify vbi and video number.
- Added a better control for using more than one em28xx device.
- VIDIOC_G_FMT now calls a function.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3420): Added iocls to configure VBI on tvp5150
Mauro Carvalho Chehab [Mon, 23 Jan 2006 19:11:08 +0000 (17:11 -0200)] 
V4L/DVB (3420): Added iocls to configure VBI on tvp5150

- Added iocls to configure VBI on tvp5150

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3419): added some VBI macros and moved minor definitions to header file
Mauro Carvalho Chehab [Mon, 23 Jan 2006 19:11:07 +0000 (17:11 -0200)] 
V4L/DVB (3419): added some VBI macros and moved minor definitions to header file

- Moved some hardcoded minor numbers to videodev2.h
- Included more comments for sliced VBI standards
- Included some VBI macros to group similar standards

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3418): Cause tda9887 to use I2C_DRIVERID_TDA9887
Mike Isely [Mon, 23 Jan 2006 19:11:07 +0000 (17:11 -0200)] 
V4L/DVB (3418): Cause tda9887 to use I2C_DRIVERID_TDA9887

- The tda9887 has an I2C id reserved for it, but it hasn't been using
it.  Probably an oversight.  Fixed with this patch.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3417): make VP-3054 Secondary I2C Bus Support a Kconfig option.
Michael Krufky [Mon, 23 Jan 2006 19:11:07 +0000 (17:11 -0200)] 
V4L/DVB (3417): make VP-3054 Secondary I2C Bus Support a Kconfig option.

- make VP-3054 Secondary I2C Bus Support a Kconfig option.

Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3416): Recognise Hauppauge card #34519
Ian Pickworth [Mon, 23 Jan 2006 19:11:07 +0000 (17:11 -0200)] 
V4L/DVB (3416): Recognise Hauppauge card #34519

- Recognise Hauppauge card #34519

Signed-off-by: Ian Pickworth <ian@pickworth.me.uk>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3414): rename dvb_pll_tbmv30111in to dvb_pll_samsung_tbmv
Michael Krufky [Mon, 23 Jan 2006 19:11:07 +0000 (17:11 -0200)] 
V4L/DVB (3414): rename dvb_pll_tbmv30111in to dvb_pll_samsung_tbmv

- rename dvb_pll_tbmv30111in to dvb_pll_samsung_tbmv

Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3413): Kill nxt2002 in favor of the nxt200x module
Michael Krufky [Mon, 23 Jan 2006 19:11:06 +0000 (17:11 -0200)] 
V4L/DVB (3413): Kill nxt2002 in favor of the nxt200x module

- Kill nxt2002 module in favor of nxt200x.
- Repair broken nxt2002 support in the nxt200x module.
- Make the flexcop driver use nxt200x instead of the nxt2002 module for the
  Air2PC 2nd generation PCI card.
- Remove the nxt2002 module from cvs and kernel build.

Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3411): group dvb-bt8xx Subsystem ID's together, in order.
Michael Krufky [Mon, 23 Jan 2006 19:11:06 +0000 (17:11 -0200)] 
V4L/DVB (3411): group dvb-bt8xx Subsystem ID's together, in order.

- group dvb-bt8xx Subsystem ID's together, in order.

Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3410): Implemented sliced VBI set on VIDIOC_S_FMT
Mauro Carvalho Chehab [Mon, 23 Jan 2006 19:11:06 +0000 (17:11 -0200)] 
V4L/DVB (3410): Implemented sliced VBI set on VIDIOC_S_FMT

- Implemented sliced VBI set on VIDIOC_S_FMT

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3409): Mark Typhoon cards as Lifeview OEM's
Peter Missel [Mon, 23 Jan 2006 19:11:06 +0000 (17:11 -0200)] 
V4L/DVB (3409): Mark Typhoon cards as Lifeview OEM's

- Mark Typhoon cards as OEM of Lifeview.

Signed-off-by: Peter Missel <peter.missel@onlinehome.de>
Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3408): Included new sliced VBI types to videodev2.h and tvp5150
Mauro Carvalho Chehab [Mon, 23 Jan 2006 19:11:05 +0000 (17:11 -0200)] 
V4L/DVB (3408): Included new sliced VBI types to videodev2.h and tvp5150

- Added other sliced VBI types to videodev2.h
- tvp5150 now uses standard V4L2 API codes from videodev2.h
- Implemented VIDIOC_G_SLICED_VBI_CAP for tvp5150. This is
dynamically filled based on defined VDP C-RAM values filled
by the driver.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3407): added some code for VBI processing and cleanup debug dump
Mauro Carvalho Chehab [Mon, 23 Jan 2006 19:11:05 +0000 (17:11 -0200)] 
V4L/DVB (3407): added some code for VBI processing and cleanup debug dump

- Renamed some registers and improved register debug message
- Some cleanups at register dump
- Added code to set VBI processor (VDP)
- VBI code still incomplete

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3406): Added credits for em28xx-video.c
Mauro Carvalho Chehab [Mon, 23 Jan 2006 19:10:54 +0000 (17:10 -0200)] 
V4L/DVB (3406): Added credits for em28xx-video.c

- Added credits for sn9c102 kernel module and his author as
some parts of em28xx-video were based.

Acked-by: Luca Risolia <luca.risolia@studio.unibo.it>
Acked-by: Markus Rechberger <mrechberger@gmail.com>
Acked-by: Ludovico Cavedon <cavedon@sssup.it>
Acked-by: Sascha Sommer <saschasommer@freenet.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3405): Fixes tvp5150a/am1 detection.
Mauro Carvalho Chehab [Mon, 23 Jan 2006 11:48:34 +0000 (09:48 -0200)] 
V4L/DVB (3405): Fixes tvp5150a/am1 detection.

- Tvp5150 type were determined by a secondary register instead of
  using ROM code.
- tvp5150am1 have ROM=4.0, while tvp5150a have ROM=3.33 (decimal).
  All other ROM versions are reported as unknown tvp5150.
- Except for reporting, current code doesn't enable any special feature
  for tvp5150am1 or tvp5150a. Code should work for both models (but were
  tested only for tvp5150am1).

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoVIDEO_CX88_ALSA must select SND_PCM
Adrian Bunk [Mon, 23 Jan 2006 11:48:02 +0000 (09:48 -0200)] 
VIDEO_CX88_ALSA must select SND_PCM

- VIDEO_CX88_ALSA must select SND_PCM

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3403): Add probe check for the tda9840.
Hans Verkuil [Mon, 23 Jan 2006 11:47:40 +0000 (09:47 -0200)] 
V4L/DVB (3403): Add probe check for the tda9840.

- Add probe check for the tda9840 to prevent misdetection of a Micronas
  dpl3518a as a tda9840.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3402): Fix handling of VIDIOC_G_TUNER audmode in msp3400
Hans Verkuil [Mon, 23 Jan 2006 11:46:02 +0000 (09:46 -0200)] 
V4L/DVB (3402): Fix handling of VIDIOC_G_TUNER audmode in msp3400

- Fix handling of VIDIOC_G_TUNER audmode in msp3400: audmode
is only changed by the user with S_TUNER, never by the driver.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3400): Remove duplicated keymaps and add keymap for KWorld LTV883IR.
Nickolay V. Shmyrev [Mon, 23 Jan 2006 11:44:10 +0000 (09:44 -0200)] 
V4L/DVB (3400): Remove duplicated keymaps and add keymap for KWorld LTV883IR.

- Remove duplicated keymaps and add keymap for KWorld LTV883IR.
Thanks to Jon Ferguson <jon@sd-6.org>.

Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3393): Move all IR keymaps to ir-common module
Ricardo Cerqueira [Mon, 23 Jan 2006 11:42:06 +0000 (09:42 -0200)] 
V4L/DVB (3393): Move all IR keymaps to ir-common module

- All the keymaps have the same structure, and can be shared between different
chips, so it makes no sense having them scattered between the input files.
This aggregates them all at ir-common module.
- Added new Hauppauge remote (Hauppauge grey), contributed by J.O. Aho
  <trizt@iname.com> (with some small changes)
  Changed KEY_KPx (keypad numerals) references to KEY_x, to avoid problems
  when NumLock is off (suggested by Peter Missel <peter.missel@onlinehome.de>)
- Some cleanups at IR code

Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3395): Hauppauge Grey Remote support
J.O. Aho [Mon, 23 Jan 2006 11:34:06 +0000 (09:34 -0200)] 
V4L/DVB (3395): Hauppauge Grey Remote support

- For the Hauppauge PVR cards there are at least two different remotes, one
  completly black and one that is Grey and black, they keys differ in values
  eg Black remotes 'mute' has the same value as Grey remotes 'menu'.
- This enables the user to select which keymapping to use by using the
  hauppauge parm. Unlike to the black remote keys, all keys are
  mapped for the grey remote and the ATi usb remote mappings has been
  followed.

Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3392): Add PCI ID for DigitalNow DVB-T Dual, rebranded DViCO FusionHDTV...
Michael Krufky [Tue, 17 Jan 2006 05:50:23 +0000 (03:50 -0200)] 
V4L/DVB (3392): Add PCI ID for DigitalNow DVB-T Dual, rebranded DViCO FusionHDTV DVB-T Dual.

- Add PCI ID for DigitalNow DVB-T Dual,
rebranded DViCO FusionHDTV DVB-T Dual.

Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years ago[SPARC64]: Use compat_sys_futimesat in 32-bit syscall table.
David S. Miller [Fri, 20 Jan 2006 09:49:15 +0000 (01:49 -0800)] 
[SPARC64]: Use compat_sys_futimesat in 32-bit syscall table.

Signed-off-by: David S. Miller <davem@davemloft.net>
18 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Linus Torvalds [Fri, 20 Jan 2006 06:19:26 +0000 (22:19 -0800)] 
Merge /pub/scm/linux/kernel/git/davem/net-2.6

18 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
Linus Torvalds [Fri, 20 Jan 2006 06:17:38 +0000 (22:17 -0800)] 
Merge /pub/scm/linux/kernel/git/davem/sparc-2.6

18 years agoMerge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
Linus Torvalds [Fri, 20 Jan 2006 06:16:58 +0000 (22:16 -0800)] 
Merge branch 'release' of git://git./linux/kernel/git/aegl/linux-2.6

18 years ago[PATCH] Fix regression added by ppoll/pselect code.
David S. Miller [Fri, 20 Jan 2006 00:40:42 +0000 (16:40 -0800)] 
[PATCH] Fix regression added by ppoll/pselect code.

The compat layer timeout handling changes in:

9f72949f679df06021c9e43886c9191494fdb007

are busted.  This is most easily seen with an X application
that uses sub-second select/poll timeout such as emacs.  You
hit a key and it takes a second or so before the app responds.

The two ROUND_UP() calls upon entry are using {tv,ts}_sec where it
should instead be using {tv_usec,ts_nsec}, which perfectly explains
the observed incorrect behavior.

Another bug shot down with git bisect.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[NETFILTER] x_tables: Make XT_ALIGN align as strictly as necessary.
David S. Miller [Fri, 20 Jan 2006 00:58:37 +0000 (16:58 -0800)] 
[NETFILTER] x_tables: Make XT_ALIGN align as strictly as necessary.

Or else we break on ppc32 and other 32-bit platforms.

Based upon a patch from Harald Welte.

Signed-off-by: David S. Miller <davem@davemloft.net>
18 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/sridhar/lksctp-2.6
David S. Miller [Fri, 20 Jan 2006 00:53:02 +0000 (16:53 -0800)] 
Merge /pub/scm/linux/kernel/git/sridhar/lksctp-2.6

18 years ago[IA64] eliminate softlockup warning
John Hawkes [Thu, 19 Jan 2006 07:46:53 +0000 (23:46 -0800)] 
[IA64] eliminate softlockup warning

Fix an unnecessary softlockup watchdog warning in the ia64
uncached_build_memmap() that occurs occasionally at 256p and always at
512p.  The problem occurs at boot time.

Signed-off-by: John Hawkes <hawkes@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
18 years ago[IA64] sem2mutex: arch/ia64/kernel/perfmon.c
Jes Sorensen [Thu, 19 Jan 2006 07:46:52 +0000 (23:46 -0800)] 
[IA64] sem2mutex: arch/ia64/kernel/perfmon.c

Migrate perfmon from using an old semaphore to a completion handler.

Signed-off-by: Jes Sorensen <jes@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
18 years ago[IA64] sem2mutex: arch/ia64/ia32/sys_ia32.c
Jes Sorensen [Thu, 19 Jan 2006 07:46:51 +0000 (23:46 -0800)] 
[IA64] sem2mutex: arch/ia64/ia32/sys_ia32.c

Migrate arch/ia64/ia32/sys_ia32 to using a mutex for mmap protection.

Signed-off-by: Jes Sorensen <jes@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
18 years ago[SPARC]: Add support for *at(), ppoll, and pselect syscalls.
David S. Miller [Thu, 19 Jan 2006 10:42:49 +0000 (02:42 -0800)] 
[SPARC]: Add support for *at(), ppoll, and pselect syscalls.

This also includes by necessity _TIF_RESTORE_SIGMASK support,
which actually resulted in a lot of cleanups.

The sparc signal handling code is quite a mess and I should
clean it up some day.

Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[SPARC]: sparc32 needs PROMDEV_{I,O}RSC defines too.
David S. Miller [Thu, 19 Jan 2006 05:57:37 +0000 (21:57 -0800)] 
[SPARC]: sparc32 needs PROMDEV_{I,O}RSC defines too.

Signed-off-by: David S. Miller <davem@davemloft.net>
18 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/sfrench/cifs-2.6
Linus Torvalds [Thu, 19 Jan 2006 03:37:57 +0000 (19:37 -0800)] 
Merge /pub/scm/linux/kernel/git/sfrench/cifs-2.6

18 years ago[PATCH] tlclk driver update
mark gross [Mon, 16 Jan 2006 01:37:30 +0000 (17:37 -0800)] 
[PATCH] tlclk driver update

some driver clean ups, and a re-posting of changes that are needed

to match the updated TPS.

Signed-off-by: Mark Gross <mark.gross@intel.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] EDAC: core EDAC support code
Alan Cox [Thu, 19 Jan 2006 01:44:13 +0000 (17:44 -0800)] 
[PATCH] EDAC: core EDAC support code

This is a subset of the bluesmoke project core code, stripped of the NMI work
which isn't ready to merge and some of the "interesting" proc functionality
that needs reworking or just has no place in kernel.  It requires no core
kernel changes except the added scrub functions already posted.

The goal is to merge further functionality only after the core code is
accepted and proven in the base kernel, and only at the point the upstream
extras are really ready to merge.

From: doug thompson <norsk5@xmission.com>

  This converts EDAC to sysfs and is the final chunk neccessary before EDAC
  has a stable user space API and can be considered for submission into the
  base kernel.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: doug thompson <norsk5@xmission.com>
Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] EDAC: drivers for Radisys 82600
Alan Cox [Thu, 19 Jan 2006 01:44:12 +0000 (17:44 -0800)] 
[PATCH] EDAC: drivers for Radisys 82600

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] EDAC: drivers for Intel i82860, i82875
Alan Cox [Thu, 19 Jan 2006 01:44:10 +0000 (17:44 -0800)] 
[PATCH] EDAC: drivers for Intel i82860, i82875

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] EDAC: drivers for AMD 76x and Intel E750x, E752x
Alan Cox [Thu, 19 Jan 2006 01:44:08 +0000 (17:44 -0800)] 
[PATCH] EDAC: drivers for AMD 76x and Intel E750x, E752x

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] EDAC: atomic scrub operations
Alan Cox [Thu, 19 Jan 2006 01:44:07 +0000 (17:44 -0800)] 
[PATCH] EDAC: atomic scrub operations

EDAC requires a way to scrub memory if an ECC error is found and the chipset
does not do the work automatically.  That means rewriting memory locations
atomically with respect to all CPUs _and_ bus masters.  That means we can't
use atomic_add(foo, 0) as it gets optimised for non-SMP

This adds a function to include/asm-foo/atomic.h for the platforms currently
supported which implements a scrub of a mapped block.

It also adjusts a few other files include order where atomic.h is included
before types.h as this now causes an error as atomic_scrub uses u32.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] Add pselect/ppoll system calls on i386
David Woodhouse [Thu, 19 Jan 2006 01:44:06 +0000 (17:44 -0800)] 
[PATCH] Add pselect/ppoll system calls on i386

Add the sys_pselect6() and sys_poll() calls to the i386 syscall table.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] Add pselect/ppoll system call implementation
David Woodhouse [Thu, 19 Jan 2006 01:44:05 +0000 (17:44 -0800)] 
[PATCH] Add pselect/ppoll system call implementation

The following implementation of ppoll() and pselect() system calls
depends on the architecture providing a TIF_RESTORE_SIGMASK flag in the
thread_info.

These system calls have to change the signal mask during their
operation, and signal handlers must be invoked using the new, temporary
signal mask. The old signal mask must be restored either upon successful
exit from the system call, or upon returning from the invoked signal
handler if the system call is interrupted. We can't simply restore the
original signal mask and return to userspace, since the restored signal
mask may actually block the signal which interrupted the system call.

The TIF_RESTORE_SIGMASK flag deals with this by causing the syscall exit
path to trap into do_signal() just as TIF_SIGPENDING does, and by
causing do_signal() to use the saved signal mask instead of the current
signal mask when setting up the stack frame for the signal handler -- or
by causing do_signal() to simply restore the saved signal mask in the
case where there is no handler to be invoked.

The first patch implements the sys_pselect() and sys_ppoll() system
calls, which are present only if TIF_RESTORE_SIGMASK is defined. That
#ifdef should go away in time when all architectures have implemented
it. The second patch implements TIF_RESTORE_SIGMASK for the PowerPC
kernel (in the -mm tree), and the third patch then removes the
arch-specific implementations of sys_rt_sigsuspend() and replaces them
with generic versions using the same trick.

The fourth and fifth patches, provided by David Howells, implement
TIF_RESTORE_SIGMASK for FR-V and i386 respectively, and the sixth patch
adds the syscalls to the i386 syscall table.

This patch:

Add the pselect() and ppoll() system calls, providing core routines usable by
the original select() and poll() system calls and also the new calls (with
their semantics w.r.t timeouts).

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Cc: Michael Kerrisk <mtk-manpages@gmx.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] uml: use generic sys_rt_sigsuspend
Jeff Dike [Thu, 19 Jan 2006 01:44:03 +0000 (17:44 -0800)] 
[PATCH] uml: use generic sys_rt_sigsuspend

Use the generic sys_rt_sigsuspend.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] uml: add TIF_RESTORE_SIGMASK support
Jeff Dike [Thu, 19 Jan 2006 01:44:02 +0000 (17:44 -0800)] 
[PATCH] uml: add TIF_RESTORE_SIGMASK support

Add support for TIF_RESTORE_SIGMASK.  I copy the i386 handling of the flag.
sys_sigsuspend is also changed to follow i386.
Also a bit of cleanup -
   turn an if into a switch
   get rid of a couple more emacs formatting comments

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] TIF_RESTORE_SIGMASK support for arch/powerpc
David Woodhouse [Thu, 19 Jan 2006 01:44:01 +0000 (17:44 -0800)] 
[PATCH] TIF_RESTORE_SIGMASK support for arch/powerpc

Implement the TIF_RESTORE_SIGMASK flag in the new arch/powerpc kernel, for
both 32-bit and 64-bit system call paths.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] Handle TIF_RESTORE_SIGMASK for i386
David Howells [Thu, 19 Jan 2006 01:44:00 +0000 (17:44 -0800)] 
[PATCH] Handle TIF_RESTORE_SIGMASK for i386

Handle TIF_RESTORE_SIGMASK as added by David Woodhouse's patch entitled:

        [PATCH] 2/3 Add TIF_RESTORE_SIGMASK support for arch/powerpc
        [PATCH] 3/3 Generic sys_rt_sigsuspend

It does the following:

 (1) Declares TIF_RESTORE_SIGMASK for i386.

 (2) Invokes it over to do_signal() when TIF_RESTORE_SIGMASK is set.

 (3) Makes do_signal() support TIF_RESTORE_SIGMASK, using the signal mask saved
     in current->saved_sigmask.

 (4) Discards sys_rt_sigsuspend() from the arch, using the generic one instead.

 (5) Makes sys_sigsuspend() save the signal mask and set TIF_RESTORE_SIGMASK
     rather than attempting to fudge the return registers.

 (6) Makes sys_sigsuspend() return -ERESTARTNOHAND rather than looping
     intrinsically.

 (7) Makes setup_frame(), setup_rt_frame() and handle_signal() return 0 or
     -EFAULT rather than true/false to be consistent with the rest of the
     kernel.

Due to the fact do_signal() is then only called from one place:

 (8) Makes do_signal() no longer have a return value is it was just being
     ignored; force_sig() takes care of this.

 (9) Discards the old sigmask argument to do_signal() as it's no longer
     necessary.

(10) Makes do_signal() static.

(11) Marks the second argument to do_notify_resume() as unused. The unused
     argument should remain in the middle as the arguments are passed in as
     registers, and the ordering is specific in entry.S

Given the way do_signal() is now no longer called from sys_{,rt_}sigsuspend(),
they no longer need access to the exception frame, and so can just take
arguments normally.

This patch depends on sys_rt_sigsuspend patch.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>