safe/jmp/linux-2.6
18 years agoV4L/DVB (3670): Fix typo in comment
Adrian Bunk [Thu, 30 Mar 2006 01:46:12 +0000 (22:46 -0300)]
V4L/DVB (3670): Fix typo in comment

This patch fixes a typo in a comment.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3669): Configurable dma buffer size for saa7146-based budget dvb cards
Ingo Schneider [Thu, 30 Mar 2006 01:05:16 +0000 (22:05 -0300)]
V4L/DVB (3669): Configurable dma buffer size for saa7146-based budget dvb cards

- Issue a warning when more than 80% of the DMA buffer is being used
  (probably due to bad IRQ latency). Warnings are rate-limited.
- Introduce a new parameter 'bufsize' (in KByte) which increases the
  default DMA buffer of 188 KByte up to 1410 KByte (Activy: 564 KByte).

Signed-off-by: Ingo Schneider <mail@ingo-schneider.de>
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3653h): Move usb v4l docs into Documentation/video4linux
Michael Krufky [Sun, 2 Apr 2006 06:14:11 +0000 (03:14 -0300)]
V4L/DVB (3653h): Move usb v4l docs into Documentation/video4linux

- Move documentation for usb v4l devices from
  Documentation/usb to Documentation/video4linux.
- Removed trailing whitespace.
- Update Kconfig help text links to reflect the new file locations.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3667a): Fix SAP + stereo mode at msp3400
Mauro Carvalho Chehab [Wed, 29 Mar 2006 19:29:00 +0000 (16:29 -0300)]
V4L/DVB (3667a): Fix SAP + stereo mode at msp3400

It should be V4L2_TUNER_MODE_LANG1_LANG2. What the code does is check if
we are NTSC and a SAP channel is available. If so, then the msp3400
should switch to standard 0x21 if the user wants to hear the SAP
channel, which is for audio modes LANG2 (aka SAP) and LANG1_LANG2
(bilingual).

In the msp3400 driver STEREO is abused for bilingual in PAL. Bilingual
never worked with NTSC in the past and I decided that I'd better not
use the bad PAL example.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3666): Remove trailing newlines
Hans Verkuil [Wed, 29 Mar 2006 18:16:08 +0000 (15:16 -0300)]
V4L/DVB (3666): Remove trailing newlines

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3665): Add new NEC uPD64031A and uPD64083 i2c drivers
Hans Verkuil [Wed, 29 Mar 2006 17:56:17 +0000 (14:56 -0300)]
V4L/DVB (3665): Add new NEC uPD64031A and uPD64083 i2c drivers

- Add support for the uPD64031A NEC Electronics Ghost Reduction i2c device
- Add support for the uPD6408x NEC Electronics 3-Dimensional Y/C separation
  i2c device.

Signed-off-by: Takahiro Adachi <tadachi@tadachi-net.com>
Signed-off-by: Takeru Komoriya <komoriya@paken.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3663): Fix msp3400c wait time and better audio mode fallbacks
Hans Verkuil [Wed, 29 Mar 2006 17:31:44 +0000 (14:31 -0300)]
V4L/DVB (3663): Fix msp3400c wait time and better audio mode fallbacks

- The wait time until the first time the audio mode was detected was
  1+5=6 seconds instead of just 1 second (wrong statement order).
  msp3400c specific bug.
- Implemented audio mode fallback for msp3400c/d just like the msp3400g
  does automatically. E.g. fallback to stereo if no second language exists,
  etc.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3662): Don't set msp3400c-non-existent register
Hans Verkuil [Tue, 28 Mar 2006 21:32:52 +0000 (18:32 -0300)]
V4L/DVB (3662): Don't set msp3400c-non-existent register

The driver tried to set a register that is not present on msp3400c devices.
Add the missing test.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3661): Add wm8739 stereo audio ADC i2c driver
Hans Verkuil [Tue, 28 Mar 2006 21:23:48 +0000 (18:23 -0300)]
V4L/DVB (3661): Add wm8739 stereo audio ADC i2c driver

Add support for the Wolfson Microelectronics WM8739
stereo A/D converter from the ivtv driver.
Many thanks to Takahiro Adachi for writing the original driver.

Signed-off-by: Takahiro Adachi <tadachi@tadachi-net.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3658): Kconfig: Fix PCI ID typo in VIDEO_CX88_ALSA help text
Trent Piepho [Wed, 29 Mar 2006 16:53:49 +0000 (13:53 -0300)]
V4L/DVB (3658): Kconfig: Fix PCI ID typo in VIDEO_CX88_ALSA help text

- Fixed PCI ID typo in VIDEO_CX88_ALSA help text

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3657): Kconfig: Add firmware download comments for or51211 and or51132
Trent Piepho [Wed, 29 Mar 2006 16:53:15 +0000 (13:53 -0300)]
V4L/DVB (3657): Kconfig: Add firmware download comments for or51211 and or51132

- Added firmware download comments to or51211 and or51132 Kconfig help text.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3655): Support for a new revision of the WT220U-stick
Patrick Boettcher [Tue, 28 Mar 2006 19:15:05 +0000 (16:15 -0300)]
V4L/DVB (3655): Support for a new revision of the WT220U-stick

There seems to be a new version of the USB DVB-T stick from WideView with a new demod-revision inside and thus a new firwmare.
This patch enables support for that.
Thanks to Mikel Martin for early testing.

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3653g): put v4l encoder/decoder configuration into a separate menu
Michael Krufky [Wed, 29 Mar 2006 18:15:21 +0000 (15:15 -0300)]
V4L/DVB (3653g): put v4l encoder/decoder configuration into a separate menu

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3653f): usbvideo: fixed Kconfig menu and Makefile build configuration
Michael Krufky [Wed, 29 Mar 2006 18:15:21 +0000 (15:15 -0300)]
V4L/DVB (3653f): usbvideo: fixed Kconfig menu and Makefile build configuration

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3653e): pwc: fixed Kconfig menu and Makefile build configuration
Michael Krufky [Wed, 29 Mar 2006 18:15:17 +0000 (15:15 -0300)]
V4L/DVB (3653e): pwc: fixed Kconfig menu and Makefile build configuration

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3653d): sn9c102: fixed Kconfig menu and Makefile build configuration
Michael Krufky [Wed, 29 Mar 2006 18:10:02 +0000 (15:10 -0300)]
V4L/DVB (3653d): sn9c102: fixed Kconfig menu and Makefile build configuration

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3653c): zc0301: fixed Kconfig menu and Makefile build configuration
Michael Krufky [Wed, 29 Mar 2006 18:09:53 +0000 (15:09 -0300)]
V4L/DVB (3653c): zc0301: fixed Kconfig menu and Makefile build configuration

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3653b): et61x251: fixed Kconfig menu and Makefile build configuration
Michael Krufky [Wed, 29 Mar 2006 18:09:42 +0000 (15:09 -0300)]
V4L/DVB (3653b): et61x251: fixed Kconfig menu and Makefile build configuration

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3653a): Kconfig: clean up media/usb menus
Michael Krufky [Wed, 29 Mar 2006 18:09:27 +0000 (15:09 -0300)]
V4L/DVB (3653a): Kconfig: clean up media/usb menus

- removed redundant Video For Linux API help text
- fixed dependency / selection for USB_W9968CF

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3646): Added support for the new Lifeview hybrid cardbus modules
Hartmut Hackmann [Mon, 27 Mar 2006 22:39:30 +0000 (19:39 -0300)]
V4L/DVB (3646): Added support for the new Lifeview hybrid cardbus modules

There seem to be many variants of this cards with different
feature sets. This entry supports
analog TV, CVBS and s-video input, FM radio and DVB-T
if they are supported by the hardware.

Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3645): Corrected CVBS input for the AVERMEDIA 777 DVB-T
Hartmut Hackmann [Mon, 27 Mar 2006 22:15:47 +0000 (19:15 -0300)]
V4L/DVB (3645): Corrected CVBS input for the AVERMEDIA 777 DVB-T

The .vmux entry needs to be 1 instead of 0

Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3644): Added PCI IDs of 2 LifeView Cards
Hartmut Hackmann [Mon, 27 Mar 2006 22:04:48 +0000 (19:04 -0300)]
V4L/DVB (3644): Added PCI IDs of 2 LifeView Cards

Added ID entries for the Genius VideoWonder DVB-T
and the LifeView FlyTV Platinum Gold

Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3643): Fix default values for tvp5150 controls
Mauro Carvalho Chehab [Tue, 28 Mar 2006 13:02:28 +0000 (10:02 -0300)]
V4L/DVB (3643): Fix default values for tvp5150 controls

Default values were wrong. Fixing it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3639): Reduce FWSEND due to certain I2C bus adapter limits
Mike Isely [Sat, 25 Mar 2006 23:43:14 +0000 (20:43 -0300)]
V4L/DVB (3639): Reduce FWSEND due to certain I2C bus adapter limits

The FWSEND parameter controls the size of the firmware chunks sent
down the I2C bus to the chip.  Previously this had been set to 1024
but unfortunately some I2C implementations can't transfer data in such
big gulps.  Specifically, the pvrusb2 driver has a hard limit of
around 60 bytes, due to the encapsulation there of I2C traffic into
USB messages.  So we have to significantly reduce this parameter.
Acked-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3621): Fix camera key on FusionHDTV portable remote control
Michael Krufky [Sun, 26 Mar 2006 21:59:45 +0000 (18:59 -0300)]
V4L/DVB (3621): Fix camera key on FusionHDTV portable remote control

Thanks to: Andrew Cohen <cohen@andy.bu.edu>

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3620): Fix video-buf PCI wrappers
Ricardo Cerqueira [Mon, 27 Mar 2006 12:16:31 +0000 (09:16 -0300)]
V4L/DVB (3620): Fix video-buf PCI wrappers

After the recent video-buf "generic" adaptation, the PCI wrappers got
completely broken, and all of the DMA sound modules stopped working (and
failed with an oops)

Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3619): Whitespace cleanup
Mauro Carvalho Chehab [Sun, 26 Mar 2006 11:54:09 +0000 (08:54 -0300)]
V4L/DVB (3619): Whitespace cleanup

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3617): Cxusb: add support for FusionHDTV USB portable remote control
Michael Krufky [Sun, 26 Mar 2006 08:43:36 +0000 (05:43 -0300)]
V4L/DVB (3617): Cxusb: add support for FusionHDTV USB portable remote control

- Added keycodes for the DViCO FusionHDTV portable remote control.
- Enabled the remote control for both versions of FusionHDTV DVB-T USB
  and the FusionHDTV 5 USB Gold (ATSC)

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3616): Bt8xx: select FW_LOADER
maximilian attems [Sat, 25 Mar 2006 18:56:07 +0000 (15:56 -0300)]
V4L/DVB (3616): Bt8xx: select FW_LOADER

The bt8xx drivers uses request_firmware()
and thus needs to select FW_LOADER.

Signed-off-by: maximilian attems <maks@sternwelten.at>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3616a): cpia cleanups
Randy Dunlap [Mon, 27 Mar 2006 19:18:25 +0000 (16:18 -0300)]
V4L/DVB (3616a): cpia cleanups

one printk needs a newline at end;
better MODULE_PARM_DESC text formatting;
don't need to init static data to 0;

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3615): Saa7134: select FW_LOADER
maximilian attems [Sat, 25 Mar 2006 18:55:55 +0000 (15:55 -0300)]
V4L/DVB (3615): Saa7134: select FW_LOADER

The saa7134 drivers uses request_firmware()
and thus needs to select FW_LOADER.

Signed-off-by: maximilian attems <maks@sternwelten.at>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3614): Fix compilation warning at powerpc platform
Mauro Carvalho Chehab [Sat, 25 Mar 2006 18:53:38 +0000 (15:53 -0300)]
V4L/DVB (3614): Fix compilation warning at powerpc platform

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3610): Added the new routing commands to cx25840.
Hans Verkuil [Sat, 25 Mar 2006 13:26:09 +0000 (10:26 -0300)]
V4L/DVB (3610): Added the new routing commands to cx25840.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3609): Remove VIDIOC_S_AUDIO from tvaudio: no longer used.
Hans Verkuil [Sat, 25 Mar 2006 12:55:23 +0000 (09:55 -0300)]
V4L/DVB (3609): Remove VIDIOC_S_AUDIO from tvaudio: no longer used.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3608): Implement new routing commands in saa7127.c
Hans Verkuil [Sat, 25 Mar 2006 12:50:20 +0000 (09:50 -0300)]
V4L/DVB (3608): Implement new routing commands in saa7127.c

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3607): Implement routing command for saa7115.c
Hans Verkuil [Sat, 25 Mar 2006 12:20:28 +0000 (09:20 -0300)]
V4L/DVB (3607): Implement routing command for saa7115.c

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3606): Minor layout changes to make it consistent
Hans Verkuil [Sat, 25 Mar 2006 11:19:47 +0000 (08:19 -0300)]
V4L/DVB (3606): Minor layout changes to make it consistent

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3605): Add support for I2C_HW_B_CX2341X board adapter
Hans Verkuil [Sat, 25 Mar 2006 11:10:12 +0000 (08:10 -0300)]
V4L/DVB (3605): Add support for I2C_HW_B_CX2341X board adapter

- Add missing class check to tveeprom_attach_adapter.
- Add CX2341X specific IR probe address list.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoInput: add support for Braille devices
Samuel Thibault [Sun, 2 Apr 2006 05:10:28 +0000 (00:10 -0500)]
Input: add support for Braille devices

- Add KEY_BRL_* input keys and K_BRL_* keycodes;
- Add emulation of how braille keyboards usually combine braille dots
  to the console keyboard driver;
- Add handling of unicode U+28xy diacritics.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
18 years agoInput: synaptics - limit rate to 40pps on Toshiba Protege M300
Richard Thrippleton [Sun, 2 Apr 2006 05:10:18 +0000 (00:10 -0500)]
Input: synaptics - limit rate to 40pps on Toshiba Protege M300

Toshiba Protege M300 also requires the same workaround as Satellites
and Dynabooks - Synaptics report rate should be lowered to 40pps
(from 80), otherwise KBC starts losing keypresses.

Signed-off-by: Richard Thrippleton <ret28@cam.ac.uk>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
18 years agoInput: gamecon - add SNES mouse support
Raphael Assenat [Sun, 2 Apr 2006 05:10:05 +0000 (00:10 -0500)]
Input: gamecon - add SNES mouse support

SNES gamepads and mice share the same type of interface so they both can be
connected to the parallel port using a simple interface.  Adding mouse
support to a gamepad driver may sound funny at first, but doing so in this
case makes it possible to connect and SNES gamepads and mice at the same
time, on the same port.

Signed-off-by: Raphael Assenat <raph@raphnet.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
18 years agoInput: make modalias code respect allowed buffer size
Dmitry Torokhov [Sun, 2 Apr 2006 05:09:51 +0000 (00:09 -0500)]
Input: make modalias code respect allowed buffer size

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
18 years agoInput: convert /proc handling to seq_file
Dmitry Torokhov [Sun, 2 Apr 2006 05:09:34 +0000 (00:09 -0500)]
Input: convert /proc handling to seq_file

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
18 years agoInput: limit attributes' output to PAGE_SIZE
Dmitry Torokhov [Sun, 2 Apr 2006 05:09:26 +0000 (00:09 -0500)]
Input: limit attributes' output to PAGE_SIZE

sysfs can't handle more than PAGE_SIZE data coming from attributes'
show() methods; make sure we respect this limit.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
18 years agoManual merge with Linus.
Dmitry Torokhov [Sun, 2 Apr 2006 05:08:05 +0000 (00:08 -0500)]
Manual merge with Linus.

Conflicts:
arch/powerpc/kernel/setup-common.c
drivers/input/keyboard/hil_kbd.c
drivers/input/mouse/hil_ptr.c

18 years ago[PATCH] powerpc: iSeries needs slb_initialize to be called
Stephen Rothwell [Sat, 1 Apr 2006 16:45:04 +0000 (02:45 +1000)]
[PATCH] powerpc: iSeries needs slb_initialize to be called

Since the powerpc 64k pages patch went in, systems that have SLBs
(like Power4 iSeries) needed to have slb_initialize called to set up
some variables for the SLB miss handler.  This was not being called
on the boot processor on iSeries, so on single cpu iSeries machines,
we would get apparent memory curruption as soon as we entered user mode.

This patch fixes that by calling slb_initialize on the boot cpu if the
processor has an SLB.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
18 years ago[ARM] 3443/1: [S3C2410] Improve IRQ entry code
Ben Dooks [Sat, 1 Apr 2006 23:09:26 +0000 (00:09 +0100)]
[ARM] 3443/1: [S3C2410] Improve IRQ entry code

Patch from Ben Dooks

Remove the old debug from the IRQ entry code,
update the comments on the handling of the
IRQ registers.

The message "bad interrupt offset" is removed
as it is only helpful for debugging, and can
cause printk() flooding when under load.

Make the code to deal with GPIO interrupts
faster, and use the same path to deal with
unexplained results from the IRQ registers.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
18 years ago[ARM] 3439/2: xsc3: add I/O coherency support
Lennert Buytenhek [Sat, 1 Apr 2006 23:07:39 +0000 (00:07 +0100)]
[ARM] 3439/2: xsc3: add I/O coherency support

Patch from Lennert Buytenhek

This patch adds support for the I/O coherent cache available on the
xsc3.  The approach is to provide a simple API to determine whether the
chipset supports coherency by calling arch_is_coherent() and then
setting the appropriate system memory PTE and PMD bits.  In addition,
we call this API on dma_alloc_coherent() and dma_map_single() calls.
A generic version exists that will compile out all the coherency-related
code that is not needed on the majority of ARM systems.

Note that we do not check for coherency in the dma_alloc_writecombine()
function as that still requires a special PTE setting.  We also don't
touch dma_mmap_coherent() as that is a special ARM-only API that is by
definition only used on non-coherent system.

Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
18 years ago[NET]: Fully fix the memory leaks in sys_accept().
David S. Miller [Sat, 1 Apr 2006 20:48:36 +0000 (12:48 -0800)]
[NET]: Fully fix the memory leaks in sys_accept().

Andi Kleen was right, fput() on sock->file will end up calling
sock_release() if necessary.  So here is the rest of his version
of the fix for these leaks.

Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[ARM] 3440/1: [S3C2410] make SMDK2410 and SMDK2440 similarities common
Ben Dooks [Sat, 1 Apr 2006 17:33:42 +0000 (18:33 +0100)]
[ARM] 3440/1: [S3C2410] make SMDK2410 and SMDK2440 similarities common

Patch from Ben Dooks

The SMDK2410 and SMDK2440 boards have a number of items
in common, including the LEDs, Ethernet, PCMCIA. Make
a common SMDK support file.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
18 years ago[ARM] 3438/1: ixp23xx: add pci slave support
Lennert Buytenhek [Sat, 1 Apr 2006 17:33:35 +0000 (18:33 +0100)]
[ARM] 3438/1: ixp23xx: add pci slave support

Patch from Lennert Buytenhek

On the Double Espresso board, the IXP2350s are PCI slave devices and
we skip calling pci_common_init() as that enumerates the bus.  But even
though we are a PCI slave device, there is still some PCI-related setup
that has to be done.

Create ixp23xx_pci_common_init(), move the common initialisation bits
there, and have this function called from both the PCI master and the
PCI slave init path.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
18 years agopowerpc: hook up the splice syscall
Paul Mackerras [Sat, 1 Apr 2006 12:27:23 +0000 (23:27 +1100)]
powerpc: hook up the splice syscall

Signed-off-by: Paul Mackerras <paulus@samba.org>
18 years ago[PATCH] powerpc/cell: compile fixes
Dave Jones [Sat, 1 Apr 2006 04:53:09 +0000 (23:53 -0500)]
[PATCH] powerpc/cell: compile fixes

Missing include for __NR_syscalls, and missing sys_splice() that
causes build-time failure due to compile-time bounds check on
spu_syscall_table.

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
18 years ago[PATCH] powerpc: trivial spelling fixes in fault.c
Anton Blanchard [Sat, 1 Apr 2006 00:33:12 +0000 (11:33 +1100)]
[PATCH] powerpc: trivial spelling fixes in fault.c

This comment exceeded my bad spelling threshold :)

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
18 years ago[PATCH] powerpc/pseries: EEH Cleanup
Nathan Fontenot [Fri, 31 Mar 2006 18:04:52 +0000 (12:04 -0600)]
[PATCH] powerpc/pseries: EEH Cleanup

This patch removes unnecessary exports, marks functions as static when
possible, and simplifies some list-related code.

Signed-off-by: Nathan Fontenot <nfont@austin.ibm.com>
Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
18 years ago[PATCH] powerpc/pseries: misc lparcfg fixes
Will Schmidt [Fri, 31 Mar 2006 15:07:48 +0000 (09:07 -0600)]
[PATCH] powerpc/pseries: misc lparcfg fixes

This fixes several problems with the lparcfg code.  In case
someone gets a sense of deja-vu, part of this was submitted last Sep, I
thought the changes went in, but either got backed out, or just got
lost.

First, change the local_buffer declaration to be unsigned char *.  We
had a bad-math problem in a 2.4 tree which was built with a
"-fsigned-char" parm.  I dont believe we ever build with that parm
now-a-days, but to be safe, I'd prefer the declaration be explicit.

Second, fix a bad math calculation for splpar_strlen.

Third, on the rtas_call for get-system-parameter, pass in
RTAS_DATA_BUF_SIZE for the rtas_data_buf size, instead of letting random
data determine the size.   Until recently, we've had a sufficiently
large 'random data' value get passed in, so the function just happens to
have worked OK.   Now it's getting passed a '0', which causes the
rtas_call to return success, but no data shows up in the buffer.
(oops!).   This was found by the LTC test org.

This is in a branch of code that only gets run on SPLPAR systems.
Tested on power5 Lpar.

Signed-off-by: Will Schmidt <willschm@us.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
18 years ago[PATCH] powerpc/pseries: fix device name printing, again.
Linas Vepstas [Thu, 30 Mar 2006 21:27:33 +0000 (15:27 -0600)]
[PATCH] powerpc/pseries: fix device name printing, again.

The recent patch to print device names in EEH reset messages
was lacking ... this patch works better.

Signed-off-by: Linas Vepstas <linas@linas.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
18 years ago[PATCH] powerpc: Extends HCALL interface for InfiniBand usage
Heiko J Schick [Thu, 30 Mar 2006 20:47:14 +0000 (22:47 +0200)]
[PATCH] powerpc: Extends HCALL interface for InfiniBand usage

This extends the HCALL interface for InfiniBand usage. I've
made the patch against the linux-2.6 git tree and Segher's patch:
[PATCH] Change H_StudlyCaps to H_SHOUTING_CAPS

We moved this into the common powerpc code based on comments we
got after posting the first eHCA InfiniBand device driver patch.

Signed-off-by: Heiko j Schick <schickhj@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
18 years ago[PATCH] powerpc/pseries: Change H_StudlyCaps to H_SHOUTING_CAPS
Segher Boessenkool [Thu, 30 Mar 2006 12:49:40 +0000 (14:49 +0200)]
[PATCH] powerpc/pseries: Change H_StudlyCaps to H_SHOUTING_CAPS

Also cleans up some nearby whitespace problems.

Signed-off-by: Segher Boessenkool <segher@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
18 years ago[PATCH] powerpc/pseries: print message if EEH recovery fails
Linas Vepstas [Wed, 29 Mar 2006 21:31:04 +0000 (15:31 -0600)]
[PATCH] powerpc/pseries: print message if EEH recovery fails

The current code prints an ambiguous message if the recovery
of a failed PCI device fails. Give this special case its own
unique message.

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
18 years ago[PATCH] powerpc/pseries: mutex lock to serialize EEH event processing
Linas Vepstas [Wed, 29 Mar 2006 21:29:18 +0000 (15:29 -0600)]
[PATCH] powerpc/pseries: mutex lock to serialize EEH event processing

This forces the processing of EEH PCI events to be serialized,
using a very simple mutex lock. This serialization is required to
avoid races involving additional PCI device failures that may occur
during the recovery phase of a previous failure.

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
18 years ago[ARM] 3436/1: 2.6.16-git18: collie_defconfig broken
Pavel Machek [Sat, 1 Apr 2006 11:13:31 +0000 (12:13 +0100)]
[ARM] 3436/1: 2.6.16-git18: collie_defconfig broken

Patch from Pavel Machek

> The kautobuild found the following error while trying to build 2.6.16-git18
> using collie_defconfig:
>
> arch/arm/mach-sa1100/collie.c:92: error: 'collie_uart_set_mctrl' undeclared here (not in a function)
> arch/arm/mach-sa1100/collie.c:93: error: 'collie_uart_get_mctrl' undeclared here (not in a function)
> make[1]: *** [arch/arm/mach-sa1100/collie.o] Error 1
> make: *** [arch/arm/mach-sa1100] Error 2
> make: Leaving directory `/var/tmp/kernel-orig'

This fixes above compile error by adding missing pieces of uart
support, and fixes compilation.

Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
18 years ago[ARM] 3437/1: Kill duplicate exports of string library functions
Komal Shah [Sat, 1 Apr 2006 11:13:30 +0000 (12:13 +0100)]
[ARM] 3437/1: Kill duplicate exports of string library functions

Patch from Komal Shah

This patch fixes the duplicate exports of string library functions.

Signed-off-by: Komal Shah <komal_shah802003@yahoo.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
18 years agoMerge branch 'for_paulus' of git://git.kernel.org/pub/scm/linux/kernel/git/galak...
Paul Mackerras [Sat, 1 Apr 2006 11:08:26 +0000 (22:08 +1100)]
Merge branch 'for_paulus' of git://git./linux/kernel/git/galak/powerpc

18 years ago[NETFILTER]: iptables 32bit compat layer
Dmitry Mishin [Sat, 1 Apr 2006 10:25:19 +0000 (02:25 -0800)]
[NETFILTER]: iptables 32bit compat layer

This patch extends current iptables compatibility layer in order to get
32bit iptables to work on 64bit kernel. Current layer is insufficient due
to alignment checks both in kernel and user space tools.

Patch is for current net-2.6.17 with addition of move of ipt_entry_{match|
target} definitions to xt_entry_{match|target}.

Signed-off-by: Dmitry Mishin <dim@openvz.org>
Acked-off-by: Kirill Korotaev <dev@openvz.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[NETFILTER]: {ip,nf}_conntrack_netlink: fix expectation notifier unregistration
Martin Josefsson [Sat, 1 Apr 2006 10:24:48 +0000 (02:24 -0800)]
[NETFILTER]: {ip,nf}_conntrack_netlink: fix expectation notifier unregistration

This patch fixes expectation notifier unregistration on module unload to
use ip_conntrack_expect_unregister_notifier(). This bug causes a soft
lockup at the first expectation created after a rmmod ; insmod of this
module.

Should go into -stable as well.

Signed-off-by: Martin Josefsson <gandalf@wlug.westbo.se>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[NETFILTER]: fix ifdef for connmark support in nf_conntrack_netlink
Martin Josefsson [Sat, 1 Apr 2006 10:23:21 +0000 (02:23 -0800)]
[NETFILTER]: fix ifdef for connmark support in nf_conntrack_netlink

When ctnetlink was ported from ip_conntrack to nf_conntrack two #ifdef's
for connmark support were left unchanged and this code was never
compiled.

Problem noticed by Daniel De Graaf.

Signed-off-by: Martin Josefsson <gandalf@wlug.westbo.se>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[NETFILTER]: x_tables: unify IPv4/IPv6 multiport match
Yasuyuki Kozakai [Sat, 1 Apr 2006 10:22:54 +0000 (02:22 -0800)]
[NETFILTER]: x_tables: unify IPv4/IPv6 multiport match

This unifies ipt_multiport and ip6t_multiport to xt_multiport.
As a result, this addes support for inversion and port range match
to IPv6 packets.

Signed-off-by: Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[NETFILTER]: x_tables: unify IPv4/IPv6 esp match
Yasuyuki Kozakai [Sat, 1 Apr 2006 10:22:30 +0000 (02:22 -0800)]
[NETFILTER]: x_tables: unify IPv4/IPv6 esp match

This unifies ipt_esp and ip6t_esp to xt_esp. Please note that now
a user program needs to specify IPPROTO_ESP as protocol to use esp match
with IPv6. This means that ip6tables requires '-p esp' like iptables.

Signed-off-by: Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[NET]: Fix dentry leak in sys_accept().
David S. Miller [Sat, 1 Apr 2006 09:00:14 +0000 (01:00 -0800)]
[NET]: Fix dentry leak in sys_accept().

This regression was added by commit:
39d8c1b6fbaeb8d6adec4a8c08365cc9eaca6ae4
("Do not lose accepted socket when -ENFILE/-EMFILE.")

This is based upon a patch from Andi Kleen.

Thanks to Adrian Bridgett for narrowing down a good test case, and to
Andi Kleen and Andrew Morton for eyeballing this code.

Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[IPSEC]: Kill unused decap state structure
Herbert Xu [Sat, 1 Apr 2006 08:54:16 +0000 (00:54 -0800)]
[IPSEC]: Kill unused decap state structure

This patch removes the *_decap_state structures which were previously
used to share state between input/post_input.  This is no longer
needed.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[IPSEC]: Kill unused decap state argument
Herbert Xu [Sat, 1 Apr 2006 08:52:46 +0000 (00:52 -0800)]
[IPSEC]: Kill unused decap state argument

This patch removes the decap_state argument from the xfrm input hook.
Previously this function allowed the input hook to share state with
the post_input hook.  The latter has since been removed.

The only purpose for it now is to check the encap type.  However, it
is easier and better to move the encap type check to the generic
xfrm_rcv function.  This allows us to get rid of the decap state
argument altogether.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[NET]: com90xx kmalloc fix
Andrew Morton [Sat, 1 Apr 2006 08:49:35 +0000 (00:49 -0800)]
[NET]: com90xx kmalloc fix

WARNING: "__you_cannot_kzalloc_that_much" [drivers/net/arcnet/com90xx.ko] undefined!

We're trying to allocate negative amounts of memory..

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[TG3]: Update driver version and reldate.
David S. Miller [Sat, 1 Apr 2006 08:33:31 +0000 (00:33 -0800)]
[TG3]: Update driver version and reldate.

Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[TG3]: Revert "Speed up SRAM access"
David S. Miller [Sat, 1 Apr 2006 08:32:56 +0000 (00:32 -0800)]
[TG3]: Revert "Speed up SRAM access"

Undo commit 100c4673307f5806788791b9b886877c806afd96

MMIOs timeout more quickly that PCI config cycles and some
of these SRAM accesses can take a very long time, triggering
the MMIO limits on some sparc64 PCI controllers and thus
resulting in bus timeouts and bus errors.

Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[SPARC]: Wire up sys_sync_file_range() into syscall tables.
David S. Miller [Sat, 1 Apr 2006 07:49:34 +0000 (23:49 -0800)]
[SPARC]: Wire up sys_sync_file_range() into syscall tables.

Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[SPARC]: Wire up sys_splice() into the syscall tables.
David S. Miller [Fri, 31 Mar 2006 10:04:15 +0000 (02:04 -0800)]
[SPARC]: Wire up sys_splice() into the syscall tables.

Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[SPARC64]: Update defconfig.
David S. Miller [Fri, 31 Mar 2006 09:41:17 +0000 (01:41 -0800)]
[SPARC64]: Update defconfig.

Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[SPARC64]: Align address in huge_pte_alloc().
David S. Miller [Fri, 31 Mar 2006 08:36:25 +0000 (00:36 -0800)]
[SPARC64]: Align address in huge_pte_alloc().

We are about to fill in all HPAGE_SIZE's worth
of PAGE_SIZE ptes, so we have to give the first
pte in that set else we scribble over random memory
when we fill in the ptes.

Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[SPARC64]: Document the instruction checks we do in do_sparc64_fault().
David S. Miller [Tue, 28 Mar 2006 21:32:24 +0000 (13:32 -0800)]
[SPARC64]: Document the instruction checks we do in do_sparc64_fault().

Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[SPARC64]: Make tsb_sync() mm comparison more precise.
David S. Miller [Tue, 28 Mar 2006 21:29:26 +0000 (13:29 -0800)]
[SPARC64]: Make tsb_sync() mm comparison more precise.

switch_mm() changes the mm state and does a tsb_context_switch()
first, then we do the cpu register state switch which changes
current_thread_info() and current().

So it's safer to check the PGD physical address stored in the
trap block (which will be updated by the tsb_context_switch() in
switch_mm()) than current->active_mm.

Technically we should never run here in between those two
updates, because interrupts are disabled during the entire
context switch operation.  But some day we might like to leave
interrupts enabled during the context switch and this change
allows that to happen without any surprises.

Signed-off-by: David S. Miller <davem@davemloft.net>
18 years agoMerge master.kernel.org:/home/rmk/linux-2.6-serial
Linus Torvalds [Sat, 1 Apr 2006 05:36:51 +0000 (21:36 -0800)]
Merge master.kernel.org:/home/rmk/linux-2.6-serial

* master.kernel.org:/home/rmk/linux-2.6-serial:
  [SERIAL] Allow 8250 PCI, PNP, GSC and HP300 support to be disabled

18 years agoMerge master.kernel.org:/home/rmk/linux-2.6-mmc
Linus Torvalds [Sat, 1 Apr 2006 05:35:04 +0000 (21:35 -0800)]
Merge master.kernel.org:/home/rmk/linux-2.6-mmc

* master.kernel.org:/home/rmk/linux-2.6-mmc:
  [MMC] Pass -DDEBUG on compiler command line if MMC_DEBUG selected
  [MMC] Add OMAP MMC host driver

18 years agoMerge master.kernel.org:/home/rmk/linux-2.6-arm
Linus Torvalds [Sat, 1 Apr 2006 05:33:07 +0000 (21:33 -0800)]
Merge master.kernel.org:/home/rmk/linux-2.6-arm

* master.kernel.org:/home/rmk/linux-2.6-arm:
  [ARM] 3424/2: ixp23xx: fix uncompress.h for recent CRLF decompressor change
  [ARM] 3434/1: pxa i2s amsl define
  [ARM] 3425/1: xsc3: need to include pgtable-hwdef.h
  [ARM] Allow un-muxed syscalls to be available for everyone
  [ARM] 3420/1: Missing clobber in example code
  [ARM] nommu: fixups for the exception vectors
  [ARM] nommu: add nommu specific Kconfig and MMUEXT variable in Makefile
  [ARM] nommu: start-up code
  [ARM] nommu: MPU support in boot/compressed/head.S

18 years agoMerge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
Linus Torvalds [Sat, 1 Apr 2006 05:31:40 +0000 (21:31 -0800)]
Merge branch 'release' of git://git./linux/kernel/git/aegl/linux-2.6

* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
  [IA64] Avoid "u64 foo : 32;" for gcc3 vs. gcc4 compatibility
  [IA64] Export cpu cache info by sysfs

18 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/sfrench/cifs-2.6
Linus Torvalds [Sat, 1 Apr 2006 05:27:53 +0000 (21:27 -0800)]
Merge /pub/scm/linux/kernel/git/sfrench/cifs-2.6

* master.kernel.org:/pub/scm/linux/kernel/git/sfrench/cifs-2.6:
  [CIFS] Fix typo in earlier cifs_unlink change and protect one
  [CIFS] Incorrect signature sent on SMB Read
  [CIFS] Fix unlink oops when indirectly called in rename error path
  [CIFS] Fix two remaining coverity scan tool warnings.
  [CIFS] Set correct lock type on new posix unlock call
  [CIFS] Upate cifs change log
  [CIFS] Fix slow oplock break response when mounts to different
  [CIFS] Workaround various server bugs found in testing at connectathon
  [CIFS] Allow fallback for setting file size to Procom SMB server when
  [CIFS] Make POSIX CIFS Extensions SetFSInfo match exactly what we want
  [CIFS] Move noisy debug message (triggerred by some older servers) from
  [CIFS] Use correct pid on new cifs posix byte range lock call
  [CIFS] Add posix (advisory) byte range locking support to cifs client
  [CIFS] CIFS readdir perf optimizations part 1
  [CIFS] Free small buffers earlier so we exceed the cifs
  [CIFS] Fix large (ie over 64K for MaxCIFSBufSize) buffer case for wrapping
  [CIFS] Convert remaining places in fs/cifs from
  [CIFS] SessionSetup cleanup part 2
  [CIFS] fix compile error (typo) and warning in cifssmb.c
  [CIFS] Cleanup NTLMSSP session setup handling

18 years agoFix minor documentation typo
Michael Hayes [Fri, 31 Mar 2006 23:49:22 +0000 (01:49 +0200)]
Fix minor documentation typo

This patch fixes a minor typo in Documentation/acpi-hotkey.txt.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
18 years agoBFP->BPF in Documentation/networking/tuntap.txt
Cal Peake [Fri, 31 Mar 2006 23:46:12 +0000 (01:46 +0200)]
BFP->BPF in Documentation/networking/tuntap.txt

BFP should be BPF (BSD Packet Filter)

Signed-off-by: Cal Peake <cp@absolutedigital.net>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
18 years agoDoc/kernel-parameters.txt: slightly reword sentence about restrictions
Stefan Richter [Fri, 31 Mar 2006 23:44:30 +0000 (01:44 +0200)]
Doc/kernel-parameters.txt: slightly reword sentence about restrictions

The previous patch somewhat diverted the train of thought.
Here I am trying to bring the valued reader back on track.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
18 years agoDoc/kernel-parameters.txt: mention modinfo and sysfs
Stefan Richter [Fri, 31 Mar 2006 23:43:18 +0000 (01:43 +0200)]
Doc/kernel-parameters.txt: mention modinfo and sysfs

Doc/kernel-parameters.txt: mention modinfo and sysfs

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
18 years agoDoc/kernel-parameters.txt: delete false version information and history
Stefan Richter [Fri, 31 Mar 2006 23:42:29 +0000 (01:42 +0200)]
Doc/kernel-parameters.txt: delete false version information and history

Doc/kernel-parameters.txt: delete false version information and history

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
18 years agoFix comments: s/granuality/granularity/
Kalin KOZHUHAROV [Fri, 31 Mar 2006 23:41:22 +0000 (01:41 +0200)]
Fix comments: s/granuality/granularity/

I was grepping through the code and some `grep ganularity -R .` didn't
catch what I thought. Then looking closer I saw the term "granuality"
used in only four places (in comments) and granularity in many more
places describing the same idea. Some other facts:

dictionary.com does not know such a word
define:granuality on google is not found (and pages for granuality are
mostly related to patches to the kernel)
it has not been discussed as a term on LKML, AFAICS (=Can Search)

To be consistent, I think granularity should be used everywhere.

Signed-off-by: Kalin KOZHUHAROV <kalin@thinrope.net>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
18 years agokexec: grammar fix for crash_save_this_cpu()
Horms [Fri, 31 Mar 2006 23:39:17 +0000 (01:39 +0200)]
kexec: grammar fix for crash_save_this_cpu()

kexec: grammar fix for crash_save_this_cpu()

Signed-Off-By: Horms <horms@verge.net.au>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
18 years agoDocumentation: Make fujitsu/frv/kernel-ABI.txt 80 columns wide
Horms [Fri, 31 Mar 2006 23:38:15 +0000 (01:38 +0200)]
Documentation: Make fujitsu/frv/kernel-ABI.txt 80 columns wide

Documentation: Make kernel-ABI.txt 80 columns wide

Note that this only has line-wrapping and white-space changes.
No text was changed at all.

Signed-Off-By: Horms <horms@verge.net.au>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
18 years agoDocumentation: Reorder documentation of nomca and nomce
Horms [Fri, 31 Mar 2006 23:36:09 +0000 (01:36 +0200)]
Documentation: Reorder documentation of nomca and nomce

My patch to add brief documentation of the nomca boot parameter
added it out of alphabetical order.

Signed-Off-By: Horms <horms@verge.net.au>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
18 years agofix typo "Suposse" -> "Suppose"
Uwe Zeisberger [Fri, 31 Mar 2006 23:29:43 +0000 (01:29 +0200)]
fix typo "Suposse" -> "Suppose"

Signed-off-by: Uwe Zeisberger <zeisberg@informatik.uni-freiburg.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
18 years agoBUG_ON() Conversion in drivers/s390/char/tape_block.c
Eric Sesterhenn [Fri, 31 Mar 2006 23:28:11 +0000 (01:28 +0200)]
BUG_ON() Conversion in drivers/s390/char/tape_block.c

this changes if() BUG(); constructs to BUG_ON() which is
cleaner, contains unlikely() and can better optimized away.

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
18 years agoBUG_ON() Conversion in drivers/s390/block/dasd_erp.c
Eric Sesterhenn [Fri, 31 Mar 2006 23:27:08 +0000 (01:27 +0200)]
BUG_ON() Conversion in drivers/s390/block/dasd_erp.c

this changes if() BUG(); constructs to BUG_ON() which is
cleaner, contains unlikely() and can better optimized away.

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
18 years agoBUG_ON() Conversion in mm/vmalloc.c
Eric Sesterhenn [Fri, 31 Mar 2006 23:26:09 +0000 (01:26 +0200)]
BUG_ON() Conversion in mm/vmalloc.c

this changes if() BUG(); constructs to BUG_ON() which is
cleaner, contains unlikely() and can better optimized away.

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
18 years agoBUG_ON() Conversion in mm/swap_state.c
Eric Sesterhenn [Fri, 31 Mar 2006 23:25:12 +0000 (01:25 +0200)]
BUG_ON() Conversion in mm/swap_state.c

this changes if() BUG(); constructs to BUG_ON() which is
cleaner, contains unlikely() and can better optimized away.

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>