]> git.hungrycats.org Git - linux/log
linux
22 years ago[PATCH] i2c: kill some sensors driver macro abuse
Mark M. Hoffman [Wed, 29 Sep 2004 06:41:52 +0000 (23:41 -0700)]
[PATCH] i2c: kill some sensors driver macro abuse

This patch kills a specific kind of ugly and ultimately useless macro
abuse found in many sensors chip drivers.  Compile tested only.

Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
22 years ago[PATCH] i2c: sensors chip driver updates
Mark M. Hoffman [Wed, 29 Sep 2004 06:37:26 +0000 (23:37 -0700)]
[PATCH] i2c: sensors chip driver updates

This patch modifies some sysfs file names for sensors chip drivers in
accordance with the standard interface proposed here [1] and refined
here [2].  The lm_sensors userspace tools have been modified to accept
both the new and old names.  This patch was tested for some drivers,
and at least compile tested for the rest.

[1] http://archives.andrew.net.au/lm-sensors/msg08477.html

[2] http://archives.andrew.net.au/lm-sensors/msg18391.html

Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
22 years ago[PATCH] I2C: Store lm83 and lm90 temperatures in signed
Jean Delvare [Wed, 29 Sep 2004 06:29:06 +0000 (23:29 -0700)]
[PATCH] I2C: Store lm83 and lm90 temperatures in signed

Back when I wrote the lm83 and lm90 drivers, I decided to use unsigned
variables to store temperature values as mirrored from the chipset
registers. I wonder why, since the registers use signed values
themselves. The patch below changes the variables back to signed types,
so as to simplify the conversions made by the driver, making them faster
and easier to understand.

Additionally, the lm90 driver was lacking boundary checkings and proper
rounding when writing temperature limits to the chipset, so I added
these. I also reworded the comments about internal temperature values
representation for all chipsets.

Tested to work fine on my (LM90-compatible) ADM1032 chip. lm83 patch
untested, but it is more simple and directly copied from the lm90, so I
am confident it works fine too.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
22 years agoI2C: convert scx200_acb driver to not use pci_find_device
Greg Kroah-Hartman [Wed, 29 Sep 2004 04:03:48 +0000 (21:03 -0700)]
I2C: convert scx200_acb driver to not use pci_find_device

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
22 years agoI2C: change i2c-elektor.c driver from using pci_find_device()
Greg Kroah-Hartman [Wed, 29 Sep 2004 04:01:14 +0000 (21:01 -0700)]
I2C: change i2c-elektor.c driver from using pci_find_device()

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
22 years agoMerge gregkh@kernel.bkbits.net:linux/i2c-2.6
Greg Kroah-Hartman [Wed, 22 Sep 2004 10:00:57 +0000 (10:00 +0000)]
Merge gregkh@kernel.bkbits.net:linux/i2c-2.6
into press.kroah.org:/home/greg/linux/BK/i2c-2.6

22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/net-2.6
David S. Miller [Tue, 21 Sep 2004 20:40:49 +0000 (13:40 -0700)]
Merge davem@nuts.davemloft.net:/disk1/BK/net-2.6
into kernel.bkbits.net:/home/davem/net-2.6

22 years agoCset exclude: pablo@eurodev.net|ChangeSet|20040828001121|29246
David S. Miller [Tue, 21 Sep 2004 12:32:49 +0000 (05:32 -0700)]
Cset exclude: pablo@eurodev.net|ChangeSet|20040828001121|29246

22 years ago[NET]: Fix non-existent reference to tulip.txt
Hideaki Yoshifuji [Tue, 21 Sep 2004 12:19:42 +0000 (05:19 -0700)]
[NET]: Fix non-existent reference to tulip.txt

Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[NET]: Fix ifmap alignment issues over rtnetlink
Thomas Graf [Tue, 21 Sep 2004 12:17:02 +0000 (05:17 -0700)]
[NET]: Fix ifmap alignment issues over rtnetlink

Introduces a fixed size variant of ifmap for rtnetlink. Fixes
issues with address size mismatch between kernel and userspace.
Obviously this will fail if userspace provides an address greater
than 32bit.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
SIgned-off-by: David S. Miller <davem@davemloft.net>
22 years ago[IPV4]: Fix some stray IP_ROUTE_TOS references.
Herbert Xu [Tue, 21 Sep 2004 12:14:39 +0000 (05:14 -0700)]
[IPV4]: Fix some stray IP_ROUTE_TOS references.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[PATCH] cifs: IPv4-related endianness annotations and bugfixes
Alexander Viro [Tue, 21 Sep 2004 09:53:11 +0000 (02:53 -0700)]
[PATCH] cifs: IPv4-related endianness annotations and bugfixes

missing htons() in assigning .sin_port for reconnect

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cifs: assorted endianness bugfixes
Alexander Viro [Tue, 21 Sep 2004 09:52:59 +0000 (02:52 -0700)]
[PATCH] cifs: assorted endianness bugfixes

        a) Flags2 left little-endian. SMBFLG2_... definitions switched to
cpu_to_le16(...), which kills the need of conversions in ->Flags2.
b) FILE_SYSTEM_UNIX_INFO (never used anywhere) is left little-endian;
when users appear, they can convert themselves.
c) bugfix: in CIFSSessSetup() we used SecurityBlobLength of response
without conversion.  That would screw bigendian clients with servers that
give wcnt=4.
d) bugfix: in CIFSNTLMSSPNegotiateSessSetup() we use
SecurityBlob2->NegotiateFlags without conversion.  Again, problem on
big-endian.
e) bugfix: SecurityBlob->MessageType is *not* host-endian.
f) bugfix: ->sendmsg() expects its last argument to be equal to sum
of iovec lengths, so the value passed to kernel_sendmsg()/sock_sendmsg()
would better be correct...

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cifs: annotate SESSION_SETUP_ANX
Alexander Viro [Tue, 21 Sep 2004 09:52:48 +0000 (02:52 -0700)]
[PATCH] cifs: annotate SESSION_SETUP_ANX

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cifs: annotate TCONX_{REQ,RESP}
Alexander Viro [Tue, 21 Sep 2004 09:52:36 +0000 (02:52 -0700)]
[PATCH] cifs: annotate TCONX_{REQ,RESP}

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cifs: annotate smb_hdr
Alexander Viro [Tue, 21 Sep 2004 09:52:24 +0000 (02:52 -0700)]
[PATCH] cifs: annotate smb_hdr

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cifs: annotate T2_F{FIRST,NEXT|_RSP_PARMS
Alexander Viro [Tue, 21 Sep 2004 09:52:11 +0000 (02:52 -0700)]
[PATCH] cifs: annotate T2_F{FIRST,NEXT|_RSP_PARMS

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cifs: annotate FILE_SYSTEM_ATTRIBUTE_INFO
Alexander Viro [Tue, 21 Sep 2004 09:52:02 +0000 (02:52 -0700)]
[PATCH] cifs: annotate FILE_SYSTEM_ATTRIBUTE_INFO

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cifs: annotate FILE_SYSTEM_DEVICE_INFO
Alexander Viro [Tue, 21 Sep 2004 09:51:50 +0000 (02:51 -0700)]
[PATCH] cifs: annotate FILE_SYSTEM_DEVICE_INFO

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cifs: annotate FILE_DIRECTORY_INFO, clean up cifs_readdir()
Alexander Viro [Tue, 21 Sep 2004 09:51:38 +0000 (02:51 -0700)]
[PATCH] cifs: annotate FILE_DIRECTORY_INFO, clean up cifs_readdir()

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cifs: annotate stat-related structures
Alexander Viro [Tue, 21 Sep 2004 09:51:26 +0000 (02:51 -0700)]
[PATCH] cifs: annotate stat-related structures

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cifs: annotate fea{,list}, endianness bugfix
Alexander Viro [Tue, 21 Sep 2004 09:51:14 +0000 (02:51 -0700)]
[PATCH] cifs: annotate fea{,list}, endianness bugfix

in CIFSSMSetEA() ->list_len got (__u32)cpu_to_le16() instead of cpu_to_le32().
Broken on big-endian...

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cifs: annotate TRANSACT_CHANGE_NOTIFY_{REQ,RESP}
Alexander Viro [Tue, 21 Sep 2004 09:51:03 +0000 (02:51 -0700)]
[PATCH] cifs: annotate TRANSACT_CHANGE_NOTIFY_{REQ,RESP}

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cifs: annotate file_..._info
Alexander Viro [Tue, 21 Sep 2004 09:50:51 +0000 (02:50 -0700)]
[PATCH] cifs: annotate file_..._info

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cifs: annotate TRANSACTION2_QFSI_{REQ,RESP}
Alexander Viro [Tue, 21 Sep 2004 09:50:39 +0000 (02:50 -0700)]
[PATCH] cifs: annotate TRANSACTION2_QFSI_{REQ,RESP}

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cifs: annotate TRANSACTION2_GET_DFS_REFER_{REQ,RESP}, minor endianness bugfix
Alexander Viro [Tue, 21 Sep 2004 09:50:27 +0000 (02:50 -0700)]
[PATCH] cifs: annotate TRANSACTION2_GET_DFS_REFER_{REQ,RESP}, minor endianness bugfix

missing le..._to_cpu() in debugging printk

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cifs: annotate TRANSACTION2_FNEXT_{REQ,RESP}
Alexander Viro [Tue, 21 Sep 2004 09:50:16 +0000 (02:50 -0700)]
[PATCH] cifs: annotate TRANSACTION2_FNEXT_{REQ,RESP}

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cifs: annotate TRANSACTION2_FFIRST_{REQ,RESP}, typo fix in CIFSSMBFindSingle()
Alexander Viro [Tue, 21 Sep 2004 09:50:04 +0000 (02:50 -0700)]
[PATCH] cifs: annotate TRANSACTION2_FFIRST_{REQ,RESP}, typo fix in CIFSSMBFindSingle()

in CIFSSMBFindSingle() pSMB->TotalParameterCount got wrong value due to typo.

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cifs: annotate TRANSACT_IOCTL_{REQ,RESP}
Alexander Viro [Tue, 21 Sep 2004 09:49:52 +0000 (02:49 -0700)]
[PATCH] cifs: annotate TRANSACT_IOCTL_{REQ,RESP}

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cifs: annotate TRANSACTION2_QPI_{REQ,RESP}
Alexander Viro [Tue, 21 Sep 2004 09:49:40 +0000 (02:49 -0700)]
[PATCH] cifs: annotate TRANSACTION2_QPI_{REQ,RESP}

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cifs: annotate NT_RENAME_{REQ,RESP}
Alexander Viro [Tue, 21 Sep 2004 09:49:28 +0000 (02:49 -0700)]
[PATCH] cifs: annotate NT_RENAME_{REQ,RESP}

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cifs: annotate TRANSACTION2_SPI_{REQ,RESP}
Alexander Viro [Tue, 21 Sep 2004 09:49:16 +0000 (02:49 -0700)]
[PATCH] cifs: annotate TRANSACTION2_SPI_{REQ,RESP}

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cifs: annotate COPY_{REQ,RESP}, minor endianness bugfix
Alexander Viro [Tue, 21 Sep 2004 09:49:05 +0000 (02:49 -0700)]
[PATCH] cifs: annotate COPY_{REQ,RESP}, minor endianness bugfix

missing le16_to_cpu() in debugging printk

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cifs: annotate TRANSACTION2_SFI_{REQ,RESP}
Alexander Viro [Tue, 21 Sep 2004 09:48:50 +0000 (02:48 -0700)]
[PATCH] cifs: annotate TRANSACTION2_SFI_{REQ,RESP}

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cifs: annotate RENAME_{REQ,RESP}
Alexander Viro [Tue, 21 Sep 2004 09:48:38 +0000 (02:48 -0700)]
[PATCH] cifs: annotate RENAME_{REQ,RESP}

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cifs: annotate LOCK_{REQ,RESP}
Alexander Viro [Tue, 21 Sep 2004 09:48:26 +0000 (02:48 -0700)]
[PATCH] cifs: annotate LOCK_{REQ,RESP}

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cifs: annotate WRITE_{REQ,RESP}
Alexander Viro [Tue, 21 Sep 2004 09:48:14 +0000 (02:48 -0700)]
[PATCH] cifs: annotate WRITE_{REQ,RESP}

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cifs: annotate READ_{REQ,RESP}
Alexander Viro [Tue, 21 Sep 2004 09:48:02 +0000 (02:48 -0700)]
[PATCH] cifs: annotate READ_{REQ,RESP}

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cifs: annotate OPEN_{REQ,RESP}, endianness bugfix
Alexander Viro [Tue, 21 Sep 2004 09:47:49 +0000 (02:47 -0700)]
[PATCH] cifs: annotate OPEN_{REQ,RESP}, endianness bugfix

in assignment to OPEN_REQ ->SecurityFlags we did u8 = cpu_to_le32(v8), which
breaks on big-endian.

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cifs: annotate CREATE_DIRECTORY_{REQ,RESP}
Alexander Viro [Tue, 21 Sep 2004 09:47:37 +0000 (02:47 -0700)]
[PATCH] cifs: annotate CREATE_DIRECTORY_{REQ,RESP}

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cifs: annotate DELETE_DIRECTORY_{REQ,RESP}
Alexander Viro [Tue, 21 Sep 2004 09:47:25 +0000 (02:47 -0700)]
[PATCH] cifs: annotate DELETE_DIRECTORY_{REQ,RESP}

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cifs: annotate DELETE_FILE_{REQ,RESP}
Alexander Viro [Tue, 21 Sep 2004 09:47:13 +0000 (02:47 -0700)]
[PATCH] cifs: annotate DELETE_FILE_{REQ,RESP}

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cifs: annotate NEGOTIATE_{REQ,RESP}
Alexander Viro [Tue, 21 Sep 2004 09:47:01 +0000 (02:47 -0700)]
[PATCH] cifs: annotate NEGOTIATE_{REQ,RESP}

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] i2c/i2c-mpc: replace schedule_timeout() with msleep_interruptible()
Nishanth Aravamudan [Tue, 21 Sep 2004 09:40:19 +0000 (02:40 -0700)]
[PATCH] i2c/i2c-mpc: replace schedule_timeout() with msleep_interruptible()

Properly orders set_current_state() and add_wait_queue().  Uses
msleep_interruptible() in place of schedule_timeout() to guarantee the
task delays as expected. Uses set_current_state() instead of direct
assignment of current->state.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
22 years ago[PATCH] I2C: Cleanup lm78 init
Jean Delvare [Tue, 21 Sep 2004 09:39:57 +0000 (02:39 -0700)]
[PATCH] I2C: Cleanup lm78 init

This patch cleans the init part of the lm78 driver.

* Do not reset the chip.

* Get rid of useless code, which was accidentally left in when we
removed the limit initialization from the driver.

* Do not enable monitoring if it is already enabled (it wouldn't hurt,
but since we can avoid it at no cost...)

Similar changes were applied to the Linux 2.4 driver, which I
successfully tested on my own LM78 chip.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
22 years ago[PATCH] i2c: Add Intel VRD 10.0 and AMD Opteron VID support
Mark M. Hoffman [Tue, 21 Sep 2004 09:39:31 +0000 (02:39 -0700)]
[PATCH] i2c: Add Intel VRD 10.0 and AMD Opteron VID support

This patch adds support for Intel VRD 10.0 and AMD Opteron VID calculations.
It is based on the lm_sensors project CVS, r1.6.

Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
22 years ago[NET]: Add ethtool support to loopback driver.
David S. Miller [Tue, 21 Sep 2004 09:37:09 +0000 (02:37 -0700)]
[NET]: Add ethtool support to loopback driver.

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[IPV4]: Fix list traversal in fn_hash_insert().
David S. Miller [Tue, 21 Sep 2004 09:32:41 +0000 (02:32 -0700)]
[IPV4]: Fix list traversal in fn_hash_insert().

Could create an endless loop during route
replace operations.

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years agoMerge bk://kernel.bkbits.net/davem/atm-2.6
Linus Torvalds [Tue, 21 Sep 2004 08:39:49 +0000 (01:39 -0700)]
Merge bk://kernel.bkbits.net/davem/atm-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge http://lia64.bkbits.net/linux-ia64-release-2.6.9
Linus Torvalds [Tue, 21 Sep 2004 08:18:20 +0000 (01:18 -0700)]
Merge http://lia64.bkbits.net/linux-ia64-release-2.6.9
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge agluck-lia64.sc.intel.com:/data/home/aegl/BK/work/sgi
Tony Luck [Tue, 21 Sep 2004 19:48:58 +0000 (19:48 +0000)]
Merge agluck-lia64.sc.intel.com:/data/home/aegl/BK/work/sgi
into agluck-lia64.sc.intel.com:/data/home/aegl/BK/linux-ia64-release-2.6.9

22 years ago[IA64] sn2_defconfig update take 2
Jesse Barnes [Tue, 21 Sep 2004 19:47:47 +0000 (19:47 +0000)]
[IA64] sn2_defconfig update take 2

Please apply this one instead.  It turns on mmtimer and increases the number
of sg entries for the LSI driver.

Signed-off-by: Jesse Barnes <jbarnes@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
22 years ago[IA64] ia32compat: Disable syscalls sys32_iopl() and sys32_ioperm() on ia64.
Gordon Jin [Tue, 21 Sep 2004 19:41:02 +0000 (19:41 +0000)]
[IA64] ia32compat: Disable syscalls sys32_iopl() and sys32_ioperm() on ia64.

Disable syscalls sys32_iopl() and sys32_ioperm() on ia64.
To emulate these 2 syscalls correctly, we need to guarantee uncached
memory attributes on ia64, which is difficult. The only user of this
interface that we know of is X. So we think it's better to disable it.

Signed-off-by: Gordon Jin <gordon.jin@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
22 years ago[IA64] ia32compat: Put signal restorer code on a gate page
Kevin Tian [Tue, 21 Sep 2004 19:38:16 +0000 (19:38 +0000)]
[IA64] ia32compat: Put signal restorer code on a gate page

When userland doesn't specify sigaction->sa_restorer, we try to put
the restorer code on the stack. But this breaks ia32 binaries with
non-executable stacks. We now put the restorer code on a gate page.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
22 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Tue, 21 Sep 2004 08:00:30 +0000 (01:00 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/net-2.6
David S. Miller [Tue, 21 Sep 2004 14:16:19 +0000 (07:16 -0700)]
Merge davem@nuts.davemloft.net:/disk1/BK/net-2.6
into kernel.bkbits.net:/home/davem/net-2.6

22 years ago[ATM]: [he] Make code more readable with list_for_each_entry
Chas Williams [Tue, 21 Sep 2004 07:59:49 +0000 (00:59 -0700)]
[ATM]: [he] Make code more readable with list_for_each_entry

From Domen Puncer <domen@coderock.org>

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[ATM]: [drivers] Use msleep() instead of schedule_timeout()
Chas Williams [Tue, 21 Sep 2004 07:58:34 +0000 (00:58 -0700)]
[ATM]: [drivers] Use msleep() instead of schedule_timeout()

From Nishanth Aravamudan <nacc@us.ibm.com>

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[ATM]: Use __iomem where appropriate.
David S. Miller [Tue, 21 Sep 2004 07:28:56 +0000 (00:28 -0700)]
[ATM]: Use __iomem where appropriate.

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[ATM]: [drivers] fix warnings related to readl/writel changes
Chas Williams [Tue, 21 Sep 2004 07:25:10 +0000 (00:25 -0700)]
[ATM]: [drivers] fix warnings related to readl/writel changes

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[SPARC64]: Update compat code for sys_waitid changes.
David S. Miller [Tue, 21 Sep 2004 06:44:36 +0000 (23:44 -0700)]
[SPARC64]: Update compat code for sys_waitid changes.

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[IPV4]: Zap CONFIG_IP_ROUTE_TOS
David S. Miller [Tue, 21 Sep 2004 06:35:49 +0000 (23:35 -0700)]
[IPV4]: Zap CONFIG_IP_ROUTE_TOS

These facilities are now available by default.
The config option makes no sense because:
1) It makes no change to the layout of any
   data structure, therefore it has no impact
   upon memory usage of the routing tables.
2) It makes no significant change to code size,
   only a handfull of lookup comparisons are
   protected by the option.
3) It is needed for full RFC1812 compliance anyways.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[IPV4]: Clean up fib_hash.c list handling.
David S. Miller [Tue, 21 Sep 2004 06:29:32 +0000 (23:29 -0700)]
[IPV4]: Clean up fib_hash.c list handling.

1) Use linux/list.h facilities instead of by-hand
   list implementation.

2) Use fib_alias structure, hung off of fib_node,
   to represent routes which all have the same
   destination prefix, yet have different TOS and
   priority values.

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[PATCH] x86-64: waitid fallout
Roland McGrath [Tue, 21 Sep 2004 00:43:51 +0000 (17:43 -0700)]
[PATCH] x86-64: waitid fallout

This patch updates the x86-64's compat code to handle the new argument
to waitid.

Sorry for the oversight.

22 years ago[PATCH] Warn that ipchains and ipfwadm are going away
Rusty Russell [Tue, 21 Sep 2004 00:40:31 +0000 (17:40 -0700)]
[PATCH] Warn that ipchains and ipfwadm are going away

At the recent netfilter workshop in Erlangen, we was decided to remove
the backwards compatibility code for ipchains and ipfwadm.  This will
allow significant cleanup of interfaces, since we had to have a
mid-level interface for the backwards compatibility layer to use.

Start off with a warning for 2.6.9, so any remaining users have a chance
to migrate.  Their firewall scripts might not check return values, and
they might get a nasty surprise when this goes away.

22 years ago[PATCH] Another ip_conntrack seq fix: ip_conntrack_expect
Rusty Russell [Tue, 21 Sep 2004 00:40:19 +0000 (17:40 -0700)]
[PATCH] Another ip_conntrack seq fix: ip_conntrack_expect

/proc/net/ip_conntrack_expect was changed over to seq_file, but a \n
is missing.

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-mmc
Linus Torvalds [Tue, 21 Sep 2004 00:39:08 +0000 (17:39 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-mmc
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Tue, 21 Sep 2004 00:37:21 +0000 (17:37 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge bk://are.twiddle.net/axp-2.6/
Linus Torvalds [Tue, 21 Sep 2004 00:15:21 +0000 (17:15 -0700)]
Merge bk://are.twiddle.net/axp-2.6/
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge bk://drm.bkbits.net/drm-2.6
Linus Torvalds [Tue, 21 Sep 2004 00:13:10 +0000 (17:13 -0700)]
Merge bk://drm.bkbits.net/drm-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge starflyer.(none):/home/airlied/bitkeeper/drm-2.6
Dave Airlie [Wed, 22 Sep 2004 05:25:32 +0000 (15:25 +1000)]
Merge starflyer.(none):/home/airlied/bitkeeper/drm-2.6
into starflyer.(none):/home/airlied/bitkeeper/drm-removecount

22 years agodrm: drop __HAVE_COUNTER macros
Dave Airlie [Tue, 21 Sep 2004 07:39:18 +0000 (17:39 +1000)]
drm: drop __HAVE_COUNTER macros

This removes all the __HAVE_COUNTER macro and replaces them with
the driver setting the values in its register_fns.

Signed-off-by: Dave Airlie <airlied@linux.ie>
22 years agodrm: complete fix for drm_scatter.h
Dave Airlie [Tue, 21 Sep 2004 06:07:23 +0000 (16:07 +1000)]
drm: complete fix for drm_scatter.h

Another issue from the macro conversion.

Signed-off-by: Dave Airlie <airlied@linux.ie>
22 years ago[PATCH] ppc64: Fix __raw_* IO accessors
Benjamin Herrenschmidt [Tue, 21 Sep 2004 00:11:36 +0000 (17:11 -0700)]
[PATCH] ppc64: Fix __raw_* IO accessors

Linus removed the "volatile" statement from the definition of the
__raw_* IO accessors on ppc64, which cause some real bad optisations to
happen in some fbdev's like matroxfb to happen (just imagine that
matroxfb loops reading an IO register waiting for a bit to change).

The __raw_xxxx() functions still want ordered accesses (they avoid the
byteswap, though)

Signed-off-by: Benjamin Herrenschmidt <benh@kenrel.crashing.org>
22 years ago[MMC] Ensure semaphores are initialised before use. Gah.
Russell King [Mon, 20 Sep 2004 22:11:41 +0000 (23:11 +0100)]
[MMC] Ensure semaphores are initialised before use.  Gah.

22 years ago[MMC] PXAMCI: enable use of platform specific data.
Russell King [Mon, 20 Sep 2004 21:44:59 +0000 (22:44 +0100)]
[MMC] PXAMCI: enable use of platform specific data.

This allows platforms to hook in their card detection, power control
and power availability information.

22 years ago[ARM] Prevent state machine leakage in ARM APM emulation.
Russell King [Mon, 20 Sep 2004 19:22:26 +0000 (20:22 +0100)]
[ARM] Prevent state machine leakage in ARM APM emulation.

Don't allow threads which are acking a suspend request to leave
the APM ioctl call.  This prevents the state machine breaking.

22 years ago[ALPHA] Add compile-time assert concerning rt_sigframe layout.
Richard Henderson [Mon, 20 Sep 2004 17:55:21 +0000 (10:55 -0700)]
[ALPHA] Add compile-time assert concerning rt_sigframe layout.

22 years agoCorrect prototypes for sys_wait4 and sys_waitpid.
Richard Henderson [Mon, 20 Sep 2004 17:53:57 +0000 (10:53 -0700)]
Correct prototypes for sys_wait4 and sys_waitpid.

22 years ago[ALPHA] Fix some compiler warnings from gcc 4.
Richard Henderson [Mon, 20 Sep 2004 17:53:02 +0000 (10:53 -0700)]
[ALPHA] Fix some compiler warnings from gcc 4.

22 years ago[MMC] Ensure PXA MMC interrupts are disabled on chip.
Russell King [Mon, 20 Sep 2004 11:21:45 +0000 (12:21 +0100)]
[MMC] Ensure PXA MMC interrupts are disabled on chip.

22 years ago[MMC] Fix mmc_block suspend/resume handling (again).
Russell King [Mon, 20 Sep 2004 11:07:54 +0000 (12:07 +0100)]
[MMC] Fix mmc_block suspend/resume handling (again).

The previous change is not the whole story - the mmc queue
thread may be handling a request.  We must wait for outstanding
requests to complete before allowing the suspend to proceed,
otherwise we may suffer loss of data.

22 years ago[SPARC64]: Fix memset() in sunsu.c and sunzilog.c
David S. Miller [Mon, 20 Sep 2004 06:46:20 +0000 (23:46 -0700)]
[SPARC64]: Fix memset() in sunsu.c and sunzilog.c

sizeof(ptr) --> sizeof(*ptr)

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[SPARC64]: Improve kernel stack backtraces.
David S. Miller [Mon, 20 Sep 2004 06:45:14 +0000 (23:45 -0700)]
[SPARC64]: Improve kernel stack backtraces.

In particular, handle init_task backtraces.

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years agoppc32: merge network card Kconfig duplication
Linus Torvalds [Mon, 20 Sep 2004 04:47:58 +0000 (21:47 -0700)]
ppc32: merge network card Kconfig duplication

22 years ago[PATCH] Compatibility fixes for different card versions
Javier Achirica [Mon, 20 Sep 2004 10:14:46 +0000 (06:14 -0400)]
[PATCH] Compatibility fixes for different card versions

22 years ago[PATCH] r8169: default on disabling PCIDAC
François Romieu [Mon, 20 Sep 2004 10:05:51 +0000 (06:05 -0400)]
[PATCH] r8169: default on disabling PCIDAC

Default to disabling PCI DAC as this option appears unsafe on amd64
(original suggestion by Hans-Frieder Vogt <hfvogt@arcor.de>).

The driver will typically report PCI System error when something goes
wrong. The relevant interrupt is not masked any more and the driver
can thus be disabled.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
22 years ago[MMC] Fix suspend/resume buglet.
Russell King [Sun, 19 Sep 2004 19:56:22 +0000 (20:56 +0100)]
[MMC] Fix suspend/resume buglet.

Block wants the queue spinlock and interrupts disabled for
blk_stop_queue() and blk_start_queue().

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Sat, 18 Sep 2004 13:30:01 +0000 (06:30 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-mmc
Linus Torvalds [Sat, 18 Sep 2004 13:27:03 +0000 (06:27 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-mmc
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[MMC] Add v2.x and v3.x CID parsing.
Russell King [Sat, 18 Sep 2004 18:47:23 +0000 (19:47 +0100)]
[MMC] Add v2.x and v3.x CID parsing.

22 years ago[MMC] Clean up MMC card CID/CSD decoding, stage 1.
Russell King [Sat, 18 Sep 2004 17:32:07 +0000 (18:32 +0100)]
[MMC] Clean up MMC card CID/CSD decoding, stage 1.

Now that the raw CSD and CID information are available in mmc_card,
there's little point not passing the mmc_card structure into the
decode functions themselves.

This will be necessary, since there's several different formats of
CID decode, and the format appears to depend on data in the CSD.

If we are unable to decode the CID or CSD, we can mark the card bad
and refuse to bind it to any drivers.  Users can then retrieve the
raw undecoded CID and CSD from sysfs for debugging purposes.

22 years ago[MMC] Export raw MMC card CID and CSD registers via device model.
Russell King [Sat, 18 Sep 2004 17:06:51 +0000 (18:06 +0100)]
[MMC] Export raw MMC card CID and CSD registers via device model.

22 years ago[MMC] Save MMC card raw CSD structure.
Russell King [Sat, 18 Sep 2004 16:38:44 +0000 (17:38 +0100)]
[MMC] Save MMC card raw CSD structure.

22 years ago[MMC] Use raw CID rather than decoded CID
Russell King [Sat, 18 Sep 2004 11:50:57 +0000 (12:50 +0100)]
[MMC] Use raw CID rather than decoded CID

Save the raw CID information, and use this to match cards
with their corresponding mmc_card structure.  Different
protocol revisions have different CID formats.

22 years agousb: add host controller __iomem annotations
Linus Torvalds [Sat, 18 Sep 2004 05:17:07 +0000 (22:17 -0700)]
usb: add host controller __iomem annotations

22 years ago[PATCH] fix missing unlock_page in mm/rmap.c
Nick Piggin [Sat, 18 Sep 2004 02:35:55 +0000 (19:35 -0700)]
[PATCH] fix missing unlock_page in mm/rmap.c

A required unlock_page will be missed in a very rare (but possible) race
condition. Acked by Hugh, who says:

It'll be hard to hit because of the additional page_mapped test above,
with truncate unmapping ptes from mms before it advances to removing
pages from cache; but nothing to prevent it happening.

Signed-off-by: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/net-2.6
David S. Miller [Fri, 17 Sep 2004 23:38:27 +0000 (16:38 -0700)]
Merge davem@nuts.davemloft.net:/disk1/BK/net-2.6
into kernel.bkbits.net:/home/davem/net-2.6

22 years ago[ARM] i8042 is available on many footbridge hosts, not just ARCH_EBSA285
Russell King [Fri, 17 Sep 2004 21:47:08 +0000 (22:47 +0100)]
[ARM] i8042 is available on many footbridge hosts, not just ARCH_EBSA285

22 years ago[IPV4]: Size fib_info_devhash[] correctly.
Herbert Xu [Fri, 17 Sep 2004 16:20:35 +0000 (09:20 -0700)]
[IPV4]: Size fib_info_devhash[] correctly.

There is a thinko in the allocation for the devindex hash.  We're
only giving it 8 elements when it should be 1<<8 elements.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>