]> err.no Git - linux-2.6/log
linux-2.6
17 years agoInput: HID - add support for Logitech Formula Force EX
Valentin Zagura [Sun, 18 Feb 2007 06:41:27 +0000 (01:41 -0500)]
Input: HID - add support for Logitech Formula Force EX

Signed-off-by: Johann Deneux <johann.deneux@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
17 years agoInput: gpio-keys - switch to common GPIO API
Philipp Zabel [Sun, 18 Feb 2007 06:40:46 +0000 (01:40 -0500)]
Input: gpio-keys - switch to common GPIO API

This adds support for at least SA1100 and S3C24xx CPUs.

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
17 years agoInput: do not lock device when showing name, phys and uniq
Dmitry Torokhov [Sun, 18 Feb 2007 06:40:37 +0000 (01:40 -0500)]
Input: do not lock device when showing name, phys and uniq

Now that sysfs attributes return -ENODEV once driver requests their
removal we do not need to handle scenario when data is deleted from
under our feet and can simplify the code.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
17 years agoInput: i8042 - let serio bus suspend ports
Dmitry Torokhov [Sun, 18 Feb 2007 06:40:30 +0000 (01:40 -0500)]
Input: i8042 - let serio bus suspend ports

Let serio subsystem take care of suspending the ports; concentrate
on suspending/resuming the controller itself.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
17 years agoInput: psmouse - properly reset mouse on shutdown/suspend
Dmitry Torokhov [Sun, 18 Feb 2007 06:40:24 +0000 (01:40 -0500)]
Input: psmouse - properly reset mouse on shutdown/suspend

Some people report that they need psmouse module unloaded
for suspend to ram/disk to work properly. Let's make port
cleanup behave the same way as driver unload.

This fixes "bad state" roblem on various HP laptops, such
as nx7400.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
17 years ago[PATCH] AUDIT_FD_PAIR
Al Viro [Wed, 7 Feb 2007 06:48:00 +0000 (01:48 -0500)]
[PATCH] AUDIT_FD_PAIR

Provide an audit record of the descriptor pair returned by pipe() and
socketpair().  Rewritten from the original posted to linux-audit by
John D. Ramsdell <ramsdell@mitre.org>

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] audit config lockdown
Steve Grubb [Fri, 19 Jan 2007 19:39:55 +0000 (14:39 -0500)]
[PATCH] audit config lockdown

The following patch adds a new mode to the audit system. It uses the
audit_enabled config option to introduce the idea of audit enabled, but
configuration is immutable. Any attempt to change the configuration
while in this mode is audited. To change the audit rules, you'd need to
reboot the machine.

To use this option, you'd need a modified version of auditctl and use "-e 2".
This is intended to go at the end of the audit.rules file for people that
want an immutable configuration.

This patch also adds "res=" to a number of configuration commands that did not
have it before.

Signed-off-by: Steve Grubb <sgrubb@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years ago[PATCH] minor update to rule add/delete messages (ver 2)
Steve Grubb [Thu, 14 Dec 2006 16:48:47 +0000 (11:48 -0500)]
[PATCH] minor update to rule add/delete messages (ver 2)

I was looking at parsing some of these messages and found that I wanted what
it was doing next to an op= for the parser to key on. Also missing was the list
number and results.

Signed-off-by: Steve Grubb <sgrubb@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
17 years agoMerge branch '85xx' into for_paulus
Kumar Gala [Sat, 17 Feb 2007 22:32:46 +0000 (16:32 -0600)]
Merge branch '85xx' into for_paulus

17 years agoMerge branch '83xx' into for_paulus
Kumar Gala [Sat, 17 Feb 2007 22:32:41 +0000 (16:32 -0600)]
Merge branch '83xx' into for_paulus

17 years ago[POWERPC] 85xx: Renamed MPC8568 MDS board code to match other boards
Kumar Gala [Sat, 17 Feb 2007 22:29:36 +0000 (16:29 -0600)]
[POWERPC] 85xx: Renamed MPC8568 MDS board code to match other boards

Renamed the MPC8568 MDS platform code to follow other 85xx boards.  There
isn't anything specific about the 8568 MDS code that wouldn't apply to another
85xx MDS system at this point.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
17 years ago[POWERPC] 85xx: Cleaning up machine probing
Kumar Gala [Sat, 17 Feb 2007 22:19:34 +0000 (16:19 -0600)]
[POWERPC] 85xx: Cleaning up machine probing

Cleaned up the probing functionality to be more consistent across all 85xx
boards and actually check to see if we should be running on a given board.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
17 years ago[POWERPC] QE: clean up ucc_slow.c and ucc_fast.c
Timur Tabi [Sat, 17 Feb 2007 04:31:21 +0000 (22:31 -0600)]
[POWERPC] QE: clean up ucc_slow.c and ucc_fast.c

Refactored and cleaned up ucc_fast.c and ucc_slow.c so that the two files
look more alike and are easier to read.  Removed uccf_printk() and related
functions, because they were just front-ends to printk().  Fixed some
spacing and tabbing issues.  Minor optimizations of some code.  Changed
the type of some variables to their proper type (mostly buffer
descriptors).

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
17 years agoMerge branch 'master' into 86xx
Kumar Gala [Sat, 17 Feb 2007 22:07:01 +0000 (16:07 -0600)]
Merge branch 'master' into 86xx

17 years ago[POWERPC] 85xx: Cleaned up platform dts files
Kumar Gala [Sat, 17 Feb 2007 22:04:23 +0000 (16:04 -0600)]
[POWERPC] 85xx: Cleaned up platform dts files

* Fixed up top level compatible property for all boards
* Removed explicit linux,phandle usage. Use references and labels now
* Fixed phy-phandles for TSEC3/4 in mpc8548cds.dts

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
17 years agosk98lin: mark deprecated in Kconfig
Daniel Drake [Sat, 10 Feb 2007 03:48:17 +0000 (03:48 +0000)]
sk98lin: mark deprecated in Kconfig

sk98lin is scheduled for removal in July 2007. This patch makes the
deprecation more obvious in the configuration interface. FWIW, Gentoo have
been shipping a patch very similar to this for a long time.

Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years ago[WATCHDOG] machzwd warning fix
Andrew Morton [Sat, 17 Feb 2007 11:13:07 +0000 (03:13 -0800)]
[WATCHDOG] machzwd warning fix
From: Andrew Morton <akpm@linux-foundation.org>

drivers/char/watchdog/machzwd.c: In function 'zf_ioctl':
drivers/char/watchdog/machzwd.c:327: warning: passing argument 1 of 'zf_ping' makes integer from pointer without a cast

Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
17 years agoRemove JFFS (version 1), as scheduled.
Jeff Garzik [Sat, 17 Feb 2007 21:10:59 +0000 (16:10 -0500)]
Remove JFFS (version 1), as scheduled.

Unmaintained for years, few if any users.

Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agoHostess SV-11 depends on INET
Baruch Even [Sat, 17 Feb 2007 14:37:52 +0000 (16:37 +0200)]
Hostess SV-11 depends on INET

Comtrol Hostess SV-11 driver uses features from INET but doesn't depend on it.
The simple solution is to make it depend on INET as happens for the sealevel
driver.

Fixes bug #7930.

Signed-Off-By: Baruch Even <baruch@ev-en.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agoFix link autonegotiation timer.
Ralf Baechle [Sat, 17 Feb 2007 02:51:15 +0000 (02:51 +0000)]
Fix link autonegotiation timer.

Start link negotiation in the open method.  Previously it was started
on driver initialialization and shutdown on close so an ifdown would
have results in closing negotiation for good.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agosk98lin: planned removal
Stephen Hemminger [Fri, 16 Feb 2007 23:07:53 +0000 (15:07 -0800)]
sk98lin: planned removal

Nag message about planned sk98lin removal.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agoB44: increase wait loop
Gary Zambrano [Fri, 16 Feb 2007 21:27:27 +0000 (13:27 -0800)]
B44: increase wait loop

The b44 Enet control disable bit may take longer to clear on some
systems, so the loop count is increased with this patch. Functionality
is not compromised, but a debug message can be seen when the bit is not
cleared within the count value.
Thanks to Vasileios Lourdas who reported the problem.

Signed-off by: Gary Zambrano <zambrano@broadcom.com>

Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agob44: replace define
Gary Zambrano [Fri, 16 Feb 2007 21:27:23 +0000 (13:27 -0800)]
b44: replace define

Replaced B44_DMA_MASK with DMA_30BIT_MASK.

Signed-off by: Gary Zambrano <zambrano@broadcom.com>

Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agoe1000: allow ethtool to see link status when down
Kok, Auke [Fri, 16 Feb 2007 22:39:30 +0000 (14:39 -0800)]
e1000: allow ethtool to see link status when down

By reading the MAC status register we can detect whether the MAC has
seen the PHY see link. This allows us to show the link properties before
the device is up in ethtool.

Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agoe1000: remove obsolete custom pci_save_state code
Kok, Auke [Fri, 16 Feb 2007 22:39:28 +0000 (14:39 -0800)]
e1000: remove obsolete custom pci_save_state code

Now that 2.6.19 provides a proper implementation that saves MSI, PCI-E
config space, we can have the e1000 driver use those instead of it's
custom implementation.

Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agoe1000: fix shared interrupt warning message
Kok, Auke [Fri, 16 Feb 2007 22:39:26 +0000 (14:39 -0800)]
e1000: fix shared interrupt warning message

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agoatm: Use ARRAY_SIZE macro when appropriate
Ahmed S. Darwish [Fri, 16 Feb 2007 09:42:23 +0000 (01:42 -0800)]
atm: Use ARRAY_SIZE macro when appropriate

Use ARRAY_SIZE macro already defined in kernel.h for ATM
drivers.

Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: chas williams <chas@cmf.nrl.navy.mil>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agobugfixes and new hardware support for arcnet driver
Jeff Morrow [Fri, 16 Feb 2007 09:42:27 +0000 (01:42 -0800)]
bugfixes and new hardware support for arcnet driver

The modifications and bug fixes noted below were done by Realtime Control
Works and Contemporary Control Systems, Inc, Jan 2005.  They were
incorporated into the 2.6 kernel by Jeff Morrow of Sierra Analytics, Feb
2007.  <jmorrow@massspec.com>

The changes have been tested on a Contemporary Controls PCI20U-4000.

Summary of changes:

Arc-rawmode.c:
      rx():
      - Fixed error in received packet lengths; 256 byte packets were
        being received as 257 bytes packets.

      prepare_tx():
      - Fixed error in transmit length calcs; 257 byte packets were being
        transmitted as 260 byte packets.

com20020.c:
      com20020_check():
      - We now load the SETUP2 register if the 'clockm' parameter is
        non-zero, instead of checking for ARC_CAN_10MBIT. The user is
        now responsible for whether or not SETUP2 is loaded.  If the
        clock multiplier is non-zero, this means that the user wants a
        baud rate greater than 2.5Mbps. This is not possible unless the
        SETUP2 register is present (COM20020D, or COM20022). So, we're
        relying on the user to be smart about what kind of chip he's
        dealing with...

com20020-pci.c
      - Added several entries to com20020pci_id_table[].

Signed-off-by: Jeff Morrow <jmorrow@massspec.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agopcnet32 NAPI no longer experimental
pcnet32@verizon.net [Fri, 16 Feb 2007 16:09:57 +0000 (10:09 -0600)]
pcnet32 NAPI no longer experimental

Remove the experimental tag for the pcnet32 NAPI implementation.

Signed-off-by: Don Fry <pcnet32@verizon.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agoMAINTAINER
pcnet32@verizon.net [Fri, 16 Feb 2007 16:07:12 +0000 (10:07 -0600)]
MAINTAINER

After being the defacto maintainer for a couple of years, I can now become the official maintainer.

Signed-off-by: Don Fry <pcnet32@verizon.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agomacb: Remove inappropriate spinlocks around mii calls
Haavard Skinnemoen [Fri, 16 Feb 2007 14:59:06 +0000 (15:59 +0100)]
macb: Remove inappropriate spinlocks around mii calls

Remove spin_lock_irqsave() around mii_ethtool_gset, mii_ethtool_sset
and generic_mii_ioctl. These are unnecessary and harmful because
the mii calls may call back into the mdio functions, which may sleep.

Pointed out by David Brownell.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agoConvert meth to netdev_priv
Ralf Baechle [Fri, 16 Feb 2007 12:52:17 +0000 (12:52 +0000)]
Convert meth to netdev_priv

And while at it loose plenty of useless casts.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agosky2: v1.13
Stephen Hemminger [Fri, 16 Feb 2007 00:40:35 +0000 (16:40 -0800)]
sky2: v1.13

New version.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agosky2: receive error handling improvements
Stephen Hemminger [Fri, 16 Feb 2007 00:40:34 +0000 (16:40 -0800)]
sky2: receive error handling improvements

Don't drop oversize frame it might be a VLAN (untagged).
Use different counter for fifo overrun vs fifo error.
Print error on fifo overrrun.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agosky2: transmit timeout
Stephen Hemminger [Fri, 16 Feb 2007 00:40:33 +0000 (16:40 -0800)]
sky2: transmit timeout

The transmit timeout code could hang, and it would not clear out
problems if the hardware was stuck.  Change the code to effectively do
a device down/up similar to the suspend/resume code.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agosky2: flow control negotiation for Yukon-FE
Stephen Hemminger [Fri, 16 Feb 2007 00:40:32 +0000 (16:40 -0800)]
sky2: flow control negotiation for Yukon-FE

The Yukon-FE chip doesn't do gigabit and has a differen PHY internally.
On this chip, phy status register doesn't properly reflect the result
of flow control negotiation. To workaround the problem and avoid having
to have so much chip dependent code; compute the result of flow control
by looking at the local and remote advertised bits.

Signed-off-by: Stephen Hemmminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agosky2: no need to reset pause bits on shutdown
Stephen Hemminger [Fri, 16 Feb 2007 00:40:31 +0000 (16:40 -0800)]
sky2: no need to reset pause bits on shutdown

Resetting the pause bits on shutdown is not necessary.
The code was inherited from the vendor driver, and it is currently #ifdef'd
out there as well.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agosky2: dont flush good pause frames
Stephen Hemminger [Fri, 16 Feb 2007 00:40:30 +0000 (16:40 -0800)]
sky2: dont flush good pause frames

Don't mark pause frames as errors. This problem caused transmitter not
to pause and would effectively take out a gigabit switch because the
it can't handle overrun.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agocxgb3 Fix copyrights in the cxgb3 driver.
Steve Wise [Thu, 15 Feb 2007 19:53:09 +0000 (13:53 -0600)]
cxgb3 Fix copyrights in the cxgb3 driver.

Fix copyrights in the cxgb3 driver.

Remove the Open Grid Computing copyright.  It shouldn't be there.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agogianfar: don't duplicate gfar_error()
Sergei Shtylyov [Thu, 15 Feb 2007 13:56:01 +0000 (17:56 +0400)]
gianfar: don't duplicate gfar_error()

It was hardly necessary to repeat most of the code from gfar_error() in
gfar_interrupt(), especially having some inconsistencies between the two.
So, make the gfar_interrupt() just call gfar_error(), and not acknowledge
the interrupts itself as gfar_{receive/transmit/error}() do it anyway.
While at it, also clarify/cleanup debug messages in gfar_error()...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agoNetXen: Fix to get the driver working after sparse changes
Amit S. Kale [Mon, 12 Feb 2007 12:33:38 +0000 (04:33 -0800)]
NetXen: Fix to get the driver working after sparse changes

Signed-off-by: Amit S. Kale <amitkale@netxen.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agonet/wan/pc300too.c: pci_module_init to pci_register_driver
Richard Knutsson [Wed, 14 Feb 2007 00:40:21 +0000 (01:40 +0100)]
net/wan/pc300too.c: pci_module_init to pci_register_driver

Convert pci_module_init() to pci_register_driver().

Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agoatl1: bump version number
Jay Cliburn [Thu, 15 Feb 2007 02:18:05 +0000 (20:18 -0600)]
atl1: bump version number

Bump the version number.

Signed-off-by: Jay Cliburn <jacliburn@bellsouth.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agoatl1: add L1 device id to pci_ids, then use it
Chris Snook [Thu, 15 Feb 2007 02:17:01 +0000 (20:17 -0600)]
atl1: add L1 device id to pci_ids, then use it

Add device id for the Attansic L1 chip to pci_ids.h, then use it.

Signed-off-by: Chris Snook <csnook@redhat.com>
Signed-off-by: Jay Cliburn <jacliburn@bellsouth.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agoatl1: remove unused define
Chris Snook [Thu, 15 Feb 2007 02:16:00 +0000 (20:16 -0600)]
atl1: remove unused define

Remove unused define from atl1_main.c.

Signed-off-by: Chris Snook <csnook@redhat.com>
Signed-off-by: Jay Cliburn <jacliburn@bellsouth.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agoatl1: read MAC address from register
Jay Cliburn [Thu, 15 Feb 2007 02:14:55 +0000 (20:14 -0600)]
atl1: read MAC address from register

On some Asus motherboards containing the L1 NIC, the MAC address is
written by the BIOS directly to the MAC register during POST, and is
not stored in eeprom.  If we don't succeed in fetching the MAC address
from eeprom or spi, try reading it directly from the MAC register.
Suggested by Xiong Huang.

And do some cleanup while we've got the hood up...

Signed-off-by: Jay Cliburn <jacliburn@bellsouth.net>
Signed-off-by: Chris Snook <csnook@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agoatl1: fix bad ioread address
Al Viro [Thu, 15 Feb 2007 02:13:39 +0000 (20:13 -0600)]
atl1: fix bad ioread address

An ioread32 statement reads the wrong address.  Fix it.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jay Cliburn <jacliburn@bellsouth.net>
Signed-off-by: Chris Snook <csnook@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agoatl1: drop NET_PCI from Kconfig
Jay Cliburn [Thu, 15 Feb 2007 02:12:13 +0000 (20:12 -0600)]
atl1: drop NET_PCI from Kconfig

The atl1 driver doesn't need NET_PCI.  Remove it from Kconfig.
Noticed by Chad Sprouse.

Signed-off-by: Jay Cliburn <jacliburn@bellsouth.net>
Signed-off-by: Chris Snook <csnook@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agoPCMCIA-NETDEV : the 2nd argument of el3_interrrupt and smc_interrupt is struct net_de...
Komuro [Sat, 10 Feb 2007 02:57:35 +0000 (11:57 +0900)]
PCMCIA-NETDEV : the 2nd argument of el3_interrrupt and smc_interrupt is struct net_device*

Signed-off-by: Komuro <komurojun-mbn@nifty.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agophylib: Add support for Marvell 88e1111S and 88e1145
Andy Fleming [Sat, 10 Feb 2007 00:13:58 +0000 (18:13 -0600)]
phylib: Add support for Marvell 88e1111S and 88e1145

Changes include:
* New support for 88e1145
* New support for 88e111s
* Fixing 88e1101 driver to not match non-88e1101 PHYs
* Increases in feature support across Marvell PHY product line
* Fixes a bunch of whitespace issues found by Lindent

Signed-off-by: Andrew Fleming <afleming@freescale.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
17 years agoMerge branch 'master' into upstream
Jeff Garzik [Sat, 17 Feb 2007 20:11:43 +0000 (15:11 -0500)]
Merge branch 'master' into upstream

17 years agoMerge branch 'gfar' of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc...
Jeff Garzik [Sat, 17 Feb 2007 20:09:59 +0000 (15:09 -0500)]
Merge branch 'gfar' of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc into upstream

17 years agoMerge AT91, EP93xx, General devel, PXA, S3C, V6+ and Xscale trees
Russell King [Sat, 17 Feb 2007 20:09:53 +0000 (20:09 +0000)]
Merge AT91, EP93xx, General devel, PXA, S3C, V6+ and Xscale trees

17 years ago[ARM] 4211/1: Provide a defconfig for ns9xxx
Uwe Kleine-König [Fri, 16 Feb 2007 14:38:49 +0000 (15:38 +0100)]
[ARM] 4211/1: Provide a defconfig for ns9xxx

This is a follow up for the patch providing the base support for the
ns9xxx machine type.

Signed-off-by: Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
17 years ago[ARM] 4210/1: base for new machine type "NetSilicon NS9360"
Uwe Kleine-König [Fri, 16 Feb 2007 14:36:55 +0000 (15:36 +0100)]
[ARM] 4210/1: base for new machine type "NetSilicon NS9360"

Signed-off-by: Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
17 years ago[ARM] 4222/1: S3C2443: Remove reference to missing S3C2443_PM
Ben Dooks [Sat, 17 Feb 2007 15:41:12 +0000 (16:41 +0100)]
[ARM] 4222/1: S3C2443: Remove reference to missing S3C2443_PM

S3C2443_PM is not defined in our Kconfig, so
remove the reference from CPU_S3C2443 to stop
the configuration process warning about it.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
17 years agoDocumentation/kernel-docs.txt update.
James Nelson [Sat, 17 Feb 2007 19:15:38 +0000 (20:15 +0100)]
Documentation/kernel-docs.txt update.

Signed-off-by: James Nelson <james4765@gmail.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
17 years agoarch/cris: typo in KERN_INFO
Nicolas Kaiser [Sat, 17 Feb 2007 19:12:12 +0000 (20:12 +0100)]
arch/cris: typo in KERN_INFO

Typo in KERN_INFO.

Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
17 years agoStorage class should be before const qualifier
Tobias Klauser [Sat, 17 Feb 2007 19:11:19 +0000 (20:11 +0100)]
Storage class should be before const qualifier

The C99 specification states in section 6.11.5:

The placement of a storage-class specifier other than at the
beginning of the declaration specifiers in a declaration is an
obsolescent feature.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
17 years agokernel/printk.c: comment fix
Patrick Pletscher [Sat, 17 Feb 2007 19:10:16 +0000 (20:10 +0100)]
kernel/printk.c: comment fix

Signed-off-by: Patrick Pletscher <pat@pletscher.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
17 years agoupdate I/O sched Kconfig help texts - CFQ is now default, not AS.
Jesper Juhl [Sat, 17 Feb 2007 19:08:22 +0000 (20:08 +0100)]
update I/O sched Kconfig help texts - CFQ is now default, not AS.

Change I/O scheduler description to correctly show CFQ as being the default
scheduler and not the anticipatory scheduler that previously was default.

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
17 years agoRemove duplicate listing of Cris arch from README
Jesper Juhl [Sat, 17 Feb 2007 19:07:02 +0000 (20:07 +0100)]
Remove duplicate listing of Cris arch from README

Mikael Pettersson pointed out to me that a recent patch of mine (commit
620034c84d1d939717bdfbe02c51a3fee43541c3), that made some corrections to the
README file, accidentally listed the Cris architecture twice.  Whoops.

This patch removes the duplicate.

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
17 years agokbuild: more doc. cleanups
Randy Dunlap [Sat, 17 Feb 2007 19:03:14 +0000 (20:03 +0100)]
kbuild: more doc. cleanups

Fix typos/spellos in kbuild/makefiles.txt.

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
17 years agodoc: make doc. for maxcpus= more visible
Randy Dunlap [Sat, 17 Feb 2007 18:58:30 +0000 (19:58 +0100)]
doc: make doc. for maxcpus= more visible

Some people are confused about maxcpus=1 and maxcpus=0,
so put the documentation text from init/main.c into
Documentation/kernel-parameters.txt also.

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
17 years agodrivers/net/eexpress.c: remove duplicate comment
Shane Shrybman [Sat, 17 Feb 2007 18:56:23 +0000 (19:56 +0100)]
drivers/net/eexpress.c: remove duplicate comment

Signed-off-by: Adrian Bunk <bunk@stusta.de>
17 years agoadd a help text for BLK_DEV_GENERIC
John Daiker [Sat, 17 Feb 2007 18:52:10 +0000 (19:52 +0100)]
add a help text for BLK_DEV_GENERIC

This fixes kernel Bugzilla #4933.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
17 years agocorrect a dead URL in the IP_MULTICAST help text
Adrian Bunk [Sat, 17 Feb 2007 18:49:13 +0000 (19:49 +0100)]
correct a dead URL in the IP_MULTICAST help text

Reported in kernel Bugzilla #6216.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
17 years agofix the BAYCOM_SER_HDX help text
Simon Depiets [Sat, 17 Feb 2007 18:42:17 +0000 (19:42 +0100)]
fix the BAYCOM_SER_HDX help text

This fixes kernel Bugzilla #4076.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
17 years agofix SCSI_SCAN_ASYNC help text
Matthew Wilcox [Sat, 17 Feb 2007 18:36:33 +0000 (19:36 +0100)]
fix SCSI_SCAN_ASYNC help text

Signed-off-by: Adrian Bunk <bunk@stusta.de>
17 years agotrivial documentation patch for platform.txt
Erik Hovland [Sat, 17 Feb 2007 18:29:21 +0000 (19:29 +0100)]
trivial documentation patch for platform.txt

Found a couple of typos in the Documentation/driver-model/platform.txt
file. This patch fixes both of them.

Signed-off-by: Erik Hovland <erik@hovland.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
17 years agoFix typos concerning hierarchy
Uwe Kleine-König [Sat, 17 Feb 2007 18:23:03 +0000 (19:23 +0100)]
Fix typos concerning hierarchy

        heirarchical, hierachical -> hierarchical
        heirarchy, hierachy -> hierarchy

Signed-off-by: Uwe Kleine-König <zeisberg@informatik.uni-freiburg.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
17 years agoFix comment typo "spin_lock_irqrestore".
Robert P. J. Day [Sat, 17 Feb 2007 18:21:17 +0000 (19:21 +0100)]
Fix comment typo "spin_lock_irqrestore".

Fix "spin_lock_irqrestore" to "spin_unlock_irqrestore."

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
17 years agoFix misspellings of "agressive".
Robert P. J. Day [Sat, 17 Feb 2007 18:20:16 +0000 (19:20 +0100)]
Fix misspellings of "agressive".

Fix the various misspellings of "agressive", as well as a couple
other things on the same lines while we're there.

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
17 years agodrivers/scsi/a100u2w.c: trivial typo patch
Robert P. J. Day [Sat, 17 Feb 2007 18:18:52 +0000 (19:18 +0100)]
drivers/scsi/a100u2w.c: trivial typo patch

Trivial typo fix.

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
17 years agoCorrect trivial typo in log2.h.
Robert P. J. Day [Sat, 17 Feb 2007 18:17:37 +0000 (19:17 +0100)]
Correct trivial typo in log2.h.

Single typo correction in include/linux/log2.h.

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Signed-Off-By: David Howells <dhowells@redhat.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
17 years agoRemove useless FIND_FIRST_BIT() macro from cardbus.c.
Robert P. J. Day [Sat, 17 Feb 2007 18:16:31 +0000 (19:16 +0100)]
Remove useless FIND_FIRST_BIT() macro from cardbus.c.

Delete the definition of the unused FIND_FIRST_BIT() macro.

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
17 years agoReplace remaining references to "driverfs" with "sysfs".
Robert P. J. Day [Sat, 17 Feb 2007 18:13:42 +0000 (19:13 +0100)]
Replace remaining references to "driverfs" with "sysfs".

Globally, s/driverfs/sysfs/g.

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
17 years agoUse ARRAY_SIZE() macro in i386 relocs.c file
Robert P. J. Day [Sat, 17 Feb 2007 18:10:01 +0000 (19:10 +0100)]
Use ARRAY_SIZE() macro in i386 relocs.c file

Change the explicit code in the relocs.c file to use ARRAY_SIZE()
and add a definition of ARRAY_SIZE() since this is a userspace program
and wouldn't include kernel.h.

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
17 years agoVarious typo fixes.
Robert P. J. Day [Sat, 17 Feb 2007 18:07:33 +0000 (19:07 +0100)]
Various typo fixes.

Correct mis-spellings of "algorithm", "appear", "consistent" and
(shame, shame) "kernel".

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
17 years agokbuild: Replace remaining "depends" with "depends on"
Robert P. J. Day [Sat, 17 Feb 2007 18:05:24 +0000 (19:05 +0100)]
kbuild: Replace remaining "depends" with "depends on"

Replace the very few remaining "depends" Kconfig directives with
"depends on".

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
17 years agorio: typo in bitwise AND expression.
Willy Tarreau [Sat, 17 Feb 2007 17:57:09 +0000 (18:57 +0100)]
rio: typo in bitwise AND expression.

The line :

    hp->Mode &= !RIO_PCI_INT_ENABLE;

is obviously wrong as RIO_PCI_INT_ENABLE=0x04 and is used as a bitmask
2 lines before. Getting no IRQ would not disable RIO_PCI_INT_ENABLE
but rather RIO_PCI_BOOT_FROM_RAM which equals 0x01.

Obvious fix is to change ! for ~.

Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
17 years agoMerge branch 'master' into 85xx
Kumar Gala [Sat, 17 Feb 2007 16:18:34 +0000 (10:18 -0600)]
Merge branch 'master' into 85xx

17 years ago[POWERPC] 83xx: Renamed MPC8323 MDS dts and defconfig to match other boards
Kumar Gala [Sat, 17 Feb 2007 16:16:18 +0000 (10:16 -0600)]
[POWERPC] 83xx: Renamed MPC8323 MDS dts and defconfig to match other boards

Renamed the MPC8323 MDS and defconfig to match the naming convention followed
by other MDS boards.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
17 years ago[POWERPC] 83xx: Updated and renamed MPC8360PB to MPC836x MDS
Kumar Gala [Sat, 17 Feb 2007 16:13:56 +0000 (10:13 -0600)]
[POWERPC] 83xx: Updated and renamed MPC8360PB to MPC836x MDS

The MPC836x PB board is really just one part of the MPC836x MDS.  We currently
name all other PB boards as MDS.  Removed all references to PB and replaced
with MDS.  Additionally renamed the .dts to match the defconfig (mpc836x_mds*).

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
17 years ago[POWERPC] 83xx: Use of_platform_bus_probe to setup QE devices
Kumar Gala [Sat, 17 Feb 2007 15:56:49 +0000 (09:56 -0600)]
[POWERPC] 83xx: Use of_platform_bus_probe to setup QE devices

Use of_platform_bus_probe to setup devices on the of_platform_bus since its
much cleaner.  We explicitly specify the bus ids since the we want to get rid
of the default mechanism in the future.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
17 years ago[POWERPC] 83xx: use default value of loops_per_jiffy
Kumar Gala [Sat, 17 Feb 2007 15:42:18 +0000 (09:42 -0600)]
[POWERPC] 83xx: use default value of loops_per_jiffy

Use the default value setup by initialization of loops_per_jiffy, its close
enough for 83xx and will get fixed up by calibrate_delay().

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
17 years ago[POWERPC] 83xx: Remove obsolete setting of ROOT_DEV.
Kumar Gala [Sat, 17 Feb 2007 15:25:57 +0000 (09:25 -0600)]
[POWERPC] 83xx: Remove obsolete setting of ROOT_DEV.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
17 years ago[POWERPC] 83xx: Cleaning up machine probing and board initcalls
Kumar Gala [Sat, 17 Feb 2007 15:10:44 +0000 (09:10 -0600)]
[POWERPC] 83xx: Cleaning up machine probing and board initcalls

Cleaned up the probing functionality to be more consistent across all 83xx
boards and added machine_is() protection around board initcalls to ensure they
only do something if we are actually running on that board.

Additionally, removed some dead code on mpc832x_mds.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
17 years ago[ARM] 4221/1: S3C2443: DMA support
Ben Dooks [Sat, 17 Feb 2007 14:41:50 +0000 (15:41 +0100)]
[ARM] 4221/1: S3C2443: DMA support

Add initialisation and mappings for S3C2443 DMA
system

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
17 years ago[ARM] 4220/1: S3C24XX: DMA system initialised from sysdev
Ben Dooks [Sat, 17 Feb 2007 14:37:14 +0000 (15:37 +0100)]
[ARM] 4220/1: S3C24XX: DMA system initialised from sysdev

This patch gets the DMA system for the S3C24XX
ready for the S3C2443, which requires 6 dma channels
at a different stride, and different base IRQ.

The DMA system is now initialised from the same
drivers which apply the DMA mappings, as well
as removing the DMA sysdev intialisation out of
the main init code (which is now being called
from a sysdev probe, so cannot add a new sysdev)

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
17 years ago[ARM] 4219/1: S3C2443: DMA source definitions
Ben Dooks [Sat, 17 Feb 2007 14:05:17 +0000 (15:05 +0100)]
[ARM] 4219/1: S3C2443: DMA source definitions

Defines for the S3C2443 DMA source selection,
and update the maximum channels to 6 if the S3C2443
is selected.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
17 years ago[ARM] 4218/1: S3C2412: fix CONFIG_CPU_S3C2412_ONLY wrt to S3C2443
Ben Dooks [Sat, 17 Feb 2007 13:04:33 +0000 (14:04 +0100)]
[ARM] 4218/1: S3C2412: fix CONFIG_CPU_S3C2412_ONLY wrt to S3C2443

Update the Kconfig of arch/arm/mach-s3c2443 to
add the CONFIG_CPU_S3C2443 to the list of config
variabls which mean CONFIG_CPU_S3C2412_ONLY cannot
be set

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
17 years ago[ARM] 4217/1: S3C24XX: remove the dma channel show at startup
Ben Dooks [Sat, 17 Feb 2007 13:02:37 +0000 (14:02 +0100)]
[ARM] 4217/1: S3C24XX: remove the dma channel show at startup

Remove the DMA code's channel printing at startup
as this is firstly a waste of console output on
initialsaion, and secondly is going to be obsolete
once the S3C2443 DMA code has been merged

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
17 years agoMerge branch 'master' into 83xx
Kumar Gala [Sat, 17 Feb 2007 14:59:00 +0000 (08:59 -0600)]
Merge branch 'master' into 83xx

17 years agoieee1394: fix another deadlock in nodemgr
Stefan Richter [Sat, 10 Feb 2007 21:06:18 +0000 (22:06 +0100)]
ieee1394: fix another deadlock in nodemgr

A "modprobe ohci1394; sleep 1.5; modprobe -r ohci1394" could get stuck
in uninterruptible state, especially if an external node was connected.
http://bugzilla.kernel.org/show_bug.cgi?id=7792

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
17 years agoieee1394: cycle timer read extension for raw1394
Pieter Palmers [Sat, 3 Feb 2007 16:44:39 +0000 (17:44 +0100)]
ieee1394: cycle timer read extension for raw1394

This implements the simultaneous read of the isochronous cycle timer and
the system clock (in usecs).  This allows to express the exact receive
time of an ISO packet as a system time with microsecond accuracy.
http://bugzilla.kernel.org/show_bug.cgi?id=7773

The counterpart patch for libraw1394 can be found at
http://thread.gmane.org/gmane.linux.kernel.firewire.devel/8934

Patch update (Stefan R.):  Disable preemption and local interrupts.
Prevent integer overflow.  Add paranoid error checks and kerneldoc to
hpsb_read_cycle_timer.  Move it to other ieee1394_core high-level API
functions.  Change comments.  Adjust whitespace.  Rename struct
_raw1394_cycle_timer.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Acked-by: Pieter Palmers <pieterp@joow.be>
Acked-by: Dan Dennedy <dan@dennedy.org>
17 years ago[ARM] 4090/2: avoid clash between PXA and SA1111 defines
Nicolas Pitre [Sat, 17 Feb 2007 02:18:39 +0000 (03:18 +0100)]
[ARM] 4090/2: avoid clash between PXA and SA1111 defines

The Lubbock platform uses both a PXA25x and a SA1111 at the same time.
Both chips have the same "Serial Audio Controller" registers although
the SA1111 one is never expected to be used in preference to the PXA25x
one. So let's disable the SA1111 defines whenever compilation is for a
PXA architecture and make the PXA defines always defined.

This removes a bunch of "already defined" warnings as well since the
current hack to prevent them depended on include ordering which wasn't
always right.

While at it, clean up the SA1111 defines allowing to get rid of the
__CCREG() macro.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
17 years ago[ARM] 4216/1: add .gitignore entries for ARM specific files
Nicolas Pitre [Sat, 17 Feb 2007 02:37:02 +0000 (03:37 +0100)]
[ARM] 4216/1: add .gitignore entries for ARM specific files

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
17 years ago[ARM] 4214/2: S3C2410: Add Armzone QT2410
Ben Dooks [Fri, 16 Feb 2007 23:52:37 +0000 (00:52 +0100)]
[ARM] 4214/2: S3C2410: Add Armzone QT2410

Patch from: Harald Welte <laforge@openmoko.org>

Add support for the Armzone QT2410 system, with
basic peripheral support for TFT display, SPI
and LEDs.

Signed-off-by: Harald Welte <laforge@openmoko.org>
Signed-off-by: Ben Dooks <ben-linux@fluf.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
17 years ago[ARM] 4215/1: s3c2410 usb device: per-platform vbus_draw
Arnaud Patard [Fri, 16 Feb 2007 22:50:32 +0000 (23:50 +0100)]
[ARM] 4215/1: s3c2410 usb device:  per-platform vbus_draw

Introduce a platform_device (machine) specific callback function
which gets called when the amount of power we can draw from Vbus
has changed.

Signed-off-by: Harald Welte <laforge@openmoko.org>
Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Acked-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>