]> git.neil.brown.name Git - history.git/log
history.git
21 years ago[PATCH] sparse: trivial part of drivers/block __user annotation
Alexander Viro [Sat, 29 May 2004 04:13:21 +0000 (21:13 -0700)]
[PATCH] sparse: trivial part of drivers/block __user annotation

21 years ago[PATCH] sparse: trivial part of drivers/char __user annotation
Alexander Viro [Sat, 29 May 2004 04:13:10 +0000 (21:13 -0700)]
[PATCH] sparse: trivial part of drivers/char __user annotation

21 years ago[PATCH] sparse: acpi __user annotation
Alexander Viro [Sat, 29 May 2004 04:12:58 +0000 (21:12 -0700)]
[PATCH] sparse: acpi __user annotation

21 years ago[PATCH] sparse: ipc __user annotation
Alexander Viro [Sat, 29 May 2004 04:12:47 +0000 (21:12 -0700)]
[PATCH] sparse: ipc __user annotation

21 years ago[PATCH] sparse: ext2 __user annotation (ioctl)
Alexander Viro [Sat, 29 May 2004 04:12:36 +0000 (21:12 -0700)]
[PATCH] sparse: ext2 __user annotation (ioctl)

21 years ago[PATCH] sparse: nfs __user annotation (client only, and not touching RPC)
Alexander Viro [Sat, 29 May 2004 04:12:25 +0000 (21:12 -0700)]
[PATCH] sparse: nfs __user annotation (client only, and not touching RPC)

21 years ago[PATCH] sparse: parport __user annotation (sysctls)
Alexander Viro [Sat, 29 May 2004 04:12:14 +0000 (21:12 -0700)]
[PATCH] sparse: parport __user annotation (sysctls)

21 years ago[PATCH] sparse: oprofile __user annotation
Alexander Viro [Sat, 29 May 2004 04:12:03 +0000 (21:12 -0700)]
[PATCH] sparse: oprofile __user annotation

21 years ago[PATCH] nfsd: missing dget()
Andrew Morton [Sat, 29 May 2004 03:59:39 +0000 (20:59 -0700)]
[PATCH] nfsd: missing dget()

From: Neil Brown <neilb@cse.unsw.edu.au>

The recentish change to fh_compose not consuming a reference to the passed
dentries missed this needed dget.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] vt_ioctl() comment fix
Andrew Morton [Sat, 29 May 2004 03:59:28 +0000 (20:59 -0700)]
[PATCH] vt_ioctl() comment fix

From: <Andries.Brouwer@cwi.nl>

The "Probably init should be changed" happened almost ten years ago.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] CREDITS file update
Andrew Morton [Sat, 29 May 2004 03:59:18 +0000 (20:59 -0700)]
[PATCH] CREDITS file update

From: Robert Love <rml@ximian.com>

Update Robert's email address

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] CREDITS file update
Andrew Morton [Sat, 29 May 2004 03:59:07 +0000 (20:59 -0700)]
[PATCH] CREDITS file update

From: <Valdis.Kletnieks@vt.edu>

Thomas Dunbar used to be working in one of the Dean's offices here.  He's
now down the hall from me (and has been for several years, actually).  So
let's fix the crufty pointers.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] fs/dcache.c: avoid race when updating nr_unused count of unused dentries.
Andrew Morton [Sat, 29 May 2004 03:58:56 +0000 (20:58 -0700)]
[PATCH] fs/dcache.c: avoid race when updating nr_unused count of unused dentries.

From: NeilBrown <neilb@cse.unsw.edu.au>

d_count == 1 is no guarantee that dentry is on the dentry_unused list, even
if it has just been incremented inside dcache_lock, as dput can decrement
at any time.

This test from Greg Banks is much safer, and is more transparently correct.

Cc: Maneesh Soni <maneesh@in.ibm.com>, Dipankar Sarma <dipankar@in.ibm.com>
From: Greg Banks <gnb@melbourne.sgi.com>
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] epoll events send fix
Andrew Morton [Sat, 29 May 2004 03:58:46 +0000 (20:58 -0700)]
[PATCH] epoll events send fix

From: Davide Libenzi <davidel@xmailserver.org>

We're now sending epi->event.events while it should be sending
epi->revents.

Signed-off-by: Davide Libenzi <davidel@xmailserver.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ADT746X MAINTAINERS update
Andrew Morton [Sat, 29 May 2004 03:58:35 +0000 (20:58 -0700)]
[PATCH] ADT746X MAINTAINERS update

From: Colin Leroy <colin@colino.net>

I'm maintaining this driver i wrote :)

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] fix unchecked return value in register_disk()
Andrew Morton [Sat, 29 May 2004 03:58:24 +0000 (20:58 -0700)]
[PATCH] fix unchecked return value in register_disk()

From: "Luiz Fernando N. Capitulino" <lcapitulino@prefeitura.sp.gov.br>

Signed-off-by: Luiz Capitulino <lcapitulino@prefeitura.sp.gov.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] asm-i386/timer.h docu cleanup
Andrew Morton [Sat, 29 May 2004 03:58:13 +0000 (20:58 -0700)]
[PATCH] asm-i386/timer.h docu cleanup

From: Adam Lackorzynski <adam@os.inf.tu-dresden.de>

This patch fixes a typo (intruupt), a possible confusion (ms should be
microseconds here, not milli), and adds descriptions for the missing
functions.

Signed-off-by: Adam Lackorzynski <adam@os.inf.tu-dresden.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] use SLAB_PANIC for general caches
Andrew Morton [Sat, 29 May 2004 03:58:02 +0000 (20:58 -0700)]
[PATCH] use SLAB_PANIC for general caches

From: Brian Gerst <bgerst@didntduck.org>

Initialize the general caches using SLAB_PANIC instead of BUG().

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] dm: change maintainer
Andrew Morton [Sat, 29 May 2004 03:57:52 +0000 (20:57 -0700)]
[PATCH] dm: change maintainer

From: <thornber@redhat.com>

Change of device-mapper maintainer

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] dm-table.c: proper usage of dm_vcalloc
Andrew Morton [Sat, 29 May 2004 03:57:41 +0000 (20:57 -0700)]
[PATCH] dm-table.c: proper usage of dm_vcalloc

From: Kevin Corry <kevcorry@us.ibm.com>

dm-table.c: Proper usage of dm_vcalloc. [Dave Olien]

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] dm: add static and __init qualifiers
Andrew Morton [Sat, 29 May 2004 03:57:30 +0000 (20:57 -0700)]
[PATCH] dm: add static and __init qualifiers

From: Kevin Corry <kevcorry@us.ibm.com>

DM: Add static and __init qualifiers. [Dave Olien]

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] dm-ioctl: replace dm_[add|remove]_wait_queue() with dm_wait_event()
Andrew Morton [Sat, 29 May 2004 03:57:19 +0000 (20:57 -0700)]
[PATCH] dm-ioctl: replace dm_[add|remove]_wait_queue() with dm_wait_event()

From: Kevin Corry <kevcorry@us.ibm.com>

Some testing of DM multipath has turned up a problem with the DEVICE_WAIT
command.  In the tests, while performing a DEVICE_WAIT on a multipath device,
the command sometimes returns immediately, even though the event-number is
correct and no path-failure has occurred to trigger an event.  The problem was
tracked down to the call to schedule() in dev_wait(), which would return even
though it was not woken up by a DM table event.

This patch moves the responsibility for waiting from the ioctl interface into
the core driver, and uses wait_event_interruptible() instead of relying on
wait-queues and schedule().

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] dm.c: free cloned bio on error path
Andrew Morton [Sat, 29 May 2004 03:57:09 +0000 (20:57 -0700)]
[PATCH] dm.c: free cloned bio on error path

From: Kevin Corry <kevcorry@us.ibm.com>

In __map_bio(), if the target returns an error while mapping the I/O, the
cloned bio needs to be freed.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] dm-ioctl.c: fix off-by-one error
Andrew Morton [Sat, 29 May 2004 03:56:58 +0000 (20:56 -0700)]
[PATCH] dm-ioctl.c: fix off-by-one error

From: Kevin Corry <kevcorry@us.ibm.com>

Fix an OB1 error when calculating an output buffer size, that could cause a
missing null termininator in the 'list devices' ioctl results.  [Steffan
Paletta]

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] i386: put irq stacks in .bss.page_aligned section
Andrew Morton [Sat, 29 May 2004 03:56:47 +0000 (20:56 -0700)]
[PATCH] i386: put irq stacks in .bss.page_aligned section

From: Matt Mackall <mpm@selenic.com>

I noticed that my vmlinux BSS had grown from 17k to 45k between 2.6.5 and
2.6.6.  8k was moving a pair of objects in head.S from the text section to
bss, 8k was the introduction of IRQ stacks, while the remainder (12k) was
page alignment slop, some of it spurious.  The following patch brings BSS
down to the expected 33k.

Throw the IRQ stacks into the page aligned section to avoided wasted BSS
space.  While we'd expect this to save up to 4k, this saves over 10k of BSS
here due to gcc3.3 spuriously aligning other objects in the vicinity.

Signed-off-by: Matt Mackall <mpm@selenic.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] Add `make checkstack' target
Andrew Morton [Sat, 29 May 2004 03:56:36 +0000 (20:56 -0700)]
[PATCH] Add `make checkstack' target

Jorn Engel <joern@wohnheim.fh-wedel.de>

Adds a `make checkstack' target.  This disassembles and parses vmlinux and
*.ko, generating a sorted list of stack hogs, eg:

0xc0100663 huft_build:                                  1456
0xc01022d3 huft_build:                                  1456
0xc0103127 inflate_dynamic:                             1328
0xc0101487 inflate_dynamic:                             1324
0xc010131f inflate_fixed:                               1168
0xc0102fb7 inflate_fixed:                               1168
0x00000003 sha512_transform:                            984
0xc024aee3 Vpd:                                         952
0x00000003 twofish_setkey:                              804
0x000060c3 isd200_action:                               792
0x0000e6cb nfsd4_proc_compound:                         760
0xc0249087 SkPnmiGetStruct:                             712
....

Supported architectures are alleged to be arm, x86, ia64, mips, mips64, ppc,
ppc64 and s390x.

Signed-off-by: Jörn Engel <joern@wohnheim.fh-wedel.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc64: xmon fixes
Andrew Morton [Sat, 29 May 2004 03:56:25 +0000 (20:56 -0700)]
[PATCH] ppc64: xmon fixes

From: Anton Blanchard <anton@samba.org>

A few xmon fixes:

- Check we have the set-indicator property before calling rtas.
- We were printing a cpu number in one place with %s, fix.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc32: reorg DMA API, add coherent alloc in irq
Andrew Morton [Sat, 29 May 2004 03:56:14 +0000 (20:56 -0700)]
[PATCH] ppc32: reorg DMA API, add coherent alloc in irq

From: Matt Porter <mporter@kernel.crashing.org>

Reorg PPC DMA API. Use PCI DMA API wrapper and add coherent alloc in irq.

Signed-off-by: Matt Porter <mporter@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc32: fix PPC4xx for the handle_page_fault() change
Andrew Morton [Sat, 29 May 2004 03:41:58 +0000 (20:41 -0700)]
[PATCH] ppc32: fix PPC4xx for the handle_page_fault() change

From: Matt Porter <mporter@kernel.crashing.org>

Fixes PPC4xx from the do_page_fault()->handle_page_fault() change.

Signed-off-by: Matt Porter <mporter@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc32: ix compiling arch/ppc/8260_io/enet.c
Andrew Morton [Sat, 29 May 2004 03:41:47 +0000 (20:41 -0700)]
[PATCH] ppc32: ix compiling arch/ppc/8260_io/enet.c

From: Tom Rini <trini@kernel.crashing.org>

When the 826x enet driver was made to call register_netdev/free_netdev,
no one declared 'err' in the function.

Signed-off-by: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] use new msleep() in ADT746x driver
Andrew Morton [Sat, 29 May 2004 03:41:36 +0000 (20:41 -0700)]
[PATCH] use new msleep() in ADT746x driver

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>

This patch replaces schedule_timeout() with the new msleep().

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Colin Leroy <colin@colino.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] fix non-existent /dev/adb
Andrew Morton [Sat, 29 May 2004 03:41:26 +0000 (20:41 -0700)]
[PATCH] fix non-existent /dev/adb

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>

This patch fixes the lack of /dev/adb in kernel 2.6.7-rc1.  The call to
devfs_mk_cdev() has probably been removed too soon.  Hope this one is
better than the last one ;)

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Colin Leroy <colin@colino.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] Fix typo in pmac_zilog
Andrew Morton [Sat, 29 May 2004 03:41:15 +0000 (20:41 -0700)]
[PATCH] Fix typo in pmac_zilog

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>

This patch fixes a typo preventing channel B from working on the Rx path of
pmac zilog (never calling tty_flip_*).  I think I never tested channel B :)

Thanks to Hollis Blanchard for spotting the bug.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc64: remove silly debug path from get_vsid()
Andrew Morton [Sat, 29 May 2004 03:41:04 +0000 (20:41 -0700)]
[PATCH] ppc64: remove silly debug path from get_vsid()

From: David Gibson <david@gibson.dropbear.id.au>

Currently the get_vsid() and get_kernel_vsid() functions have a test which
enables a different VSID algorithm for debugging.  Using a dumb VSID
algorithm for stressing the hash table is a reasonable debugging tool, but
switching it at runtime makes no sense at all.  Plus it adds another test
and memory access to the performance critical SLB miss path.

This patch removes the test, replacing it with a compile time switch.  It
seems to make a measurable, although small speedup to the SLB miss path
(maybe 0.5%).

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] d_bucket initialisation simplification
Andrew Morton [Sat, 29 May 2004 03:40:53 +0000 (20:40 -0700)]
[PATCH] d_bucket initialisation simplification

The recent nfsd fix was too fancy.  When initialising d_bucket to an "invalid"
value, all we need is a NULL in there.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] radeonfb iBook & IGP fixes
Benjamin Herrenschmidt [Fri, 28 May 2004 14:25:09 +0000 (07:25 -0700)]
[PATCH] radeonfb iBook & IGP fixes

This patch to radeonfb fixes support for the latest iBook models along
with an initialisation problem on some IGP chipsets. Please apply.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Fri, 28 May 2004 08:15:40 +0000 (01:15 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[ARM] Fix sparse complaint
Russell King [Fri, 28 May 2004 16:42:38 +0000 (17:42 +0100)]
[ARM] Fix sparse complaint

Sparse found an instance where we were directly dereferencing a
userspace pointer in the signal handling code.  This change
fixes that.

21 years agoMerge bk://kernel.bkbits.net/gregkh/linux/pci-2.6
Linus Torvalds [Fri, 28 May 2004 08:13:49 +0000 (01:13 -0700)]
Merge bk://kernel.bkbits.net/gregkh/linux/pci-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://kernel.bkbits.net/gregkh/linux/i2c-2.6
Linus Torvalds [Fri, 28 May 2004 08:11:27 +0000 (01:11 -0700)]
Merge bk://kernel.bkbits.net/gregkh/linux/i2c-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://kernel.bkbits.net/gregkh/linux/usb-2.6
Linus Torvalds [Fri, 28 May 2004 08:10:40 +0000 (01:10 -0700)]
Merge bk://kernel.bkbits.net/gregkh/linux/usb-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://kernel.bkbits.net/gregkh/linux/driver-2.6
Linus Torvalds [Fri, 28 May 2004 07:55:12 +0000 (00:55 -0700)]
Merge bk://kernel.bkbits.net/gregkh/linux/driver-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoRevert 3c905C initialization changes that cause problems
Linus Torvalds [Fri, 28 May 2004 07:35:14 +0000 (00:35 -0700)]
Revert 3c905C initialization changes that cause problems

Cset exclude: akpm@osdl.org[torvalds]|ChangeSet|20040510205830|02933

21 years ago[WATCHDOG] v2.6.6 linux/fs.h-patch
Wim Van Sebroeck [Sat, 29 May 2004 00:18:49 +0000 (02:18 +0200)]
[WATCHDOG] v2.6.6 linux/fs.h-patch

From: Christoph Hellwig <hch@lst.de>

All watchdog drivers need linux/fs.h

21 years ago[WATCHDOG] v2.6.6 sc520_wdt.c-patch2
Sean Young [Fri, 28 May 2004 23:59:46 +0000 (01:59 +0200)]
[WATCHDOG] v2.6.6 sc520_wdt.c-patch2

This patch also removes the cbar usage which is unnecessary. The MMCR is
always available at 0xfffef000; there is no need to use the cbar register
(if mmcr aliasing is enabled, then the MMCR is _also_ available at
another address set by CBAR).

21 years ago[WATCHDOG] v2.6.6 sc520_wdt.c-patch1
Wim Van Sebroeck [Fri, 28 May 2004 23:46:05 +0000 (01:46 +0200)]
[WATCHDOG] v2.6.6 sc520_wdt.c-patch1

Clean-up (general stuff: comments, keep module parameters together, ...)
Added clear definitions for the Watchdog Timer Control Register bits
Made start, stop and keepalive return 0 if successful
Fixed nowayout behaviour so that it is consistent with other watchdog drivers
Fixed release behaviour so that it is consistent with other watchdog drivers
Added wdt_set_heartbeat function to set the timeout/heartbeat of the watchdog
Made sure that memory remapping (wdtmrctl) is done before misc_register is started
MMCR_BASE_DEFAULT was wrong (Bug 2497 reported by Sean Young)

Tested by Sean Young

21 years ago[WATCHDOG] v2.6.6 w83627hf_wdt.c
Wim Van Sebroeck [Fri, 28 May 2004 23:38:43 +0000 (01:38 +0200)]
[WATCHDOG] v2.6.6 w83627hf_wdt.c

When drivers starts show the correct watchdog driver info.

21 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.6
Greg Kroah-Hartman [Fri, 28 May 2004 07:17:05 +0000 (00:17 -0700)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.6
into kroah.com:/home/greg/linux/BK/i2c-2.6

21 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.6
Greg Kroah-Hartman [Fri, 28 May 2004 07:08:27 +0000 (00:08 -0700)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.6
into kroah.com:/home/greg/linux/BK/usb-2.6

21 years ago[PATCH] I2C: add max1619 driver
Alexey Fisher [Fri, 28 May 2004 06:48:49 +0000 (23:48 -0700)]
[PATCH] I2C: add max1619 driver

This is a driver for "Remote/Local Temperature Sensor with Dual-Alarm Outputs
and SMBus Serial Interface" MAX1619. I found this chip an my Laptop SAMSUNG
NV5000. Daryng I use Linux cooling didn't worked at all, naw  with this
driwer it's working. I hope  this will be usefool for ather too.

I didn't hade any expiriens with programming, but i didn't wont to wait wann
some body make it vor me. Jean halped me correrct any mysteiks wich i made.
Thanks Jaen :)

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
21 years ago[PATCH] I2C: i2c-parport: support the ADM1031 evaluation board
Jean Delvare [Fri, 28 May 2004 06:47:51 +0000 (23:47 -0700)]
[PATCH] I2C: i2c-parport: support the ADM1031 evaluation board

The following patch adds support for the ADM1030 and ADM1031 evaluation
boards to the i2c-parport and i2c-parport-light drivers. They are almost
compatible with the already supported ADM1025 and ADM1032 boards, except
that the ADM1032 board needs some pins to be set high to draw its power,
while the same pins power up heating resistors on the ADM1031 board. I
considered it was a bit dangerous to do that by default, so I ended up
with two different device definitions, one with powering pins set, and
one with these pins cleared.

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
21 years ago[PATCH] PCI: fix pci/probe.c possible NULL pointer.
Luiz Capitulino [Fri, 28 May 2004 06:37:08 +0000 (23:37 -0700)]
[PATCH] PCI: fix pci/probe.c possible NULL pointer.

 In drivers/pci/probe.c::pci_scan_bridge() the call for pci_alloc_child_bus()
can return NULL, but it is not handled by the function (detected by
Coverity's checker).

 The patch bellow fix that returning `max' if we got the NULL, but
I do not know if it is right. I guess it is, because in that case
the function will act in the same way as with `pass != 0'.

Signed-off by: Luiz Capitulino <lcapitulino@prefeitura.sp.gov.br>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
21 years ago[PATCH] PCI: Add InfiniCon PCI ID to pci_ids.h
Todd Rimmer [Fri, 28 May 2004 06:36:07 +0000 (23:36 -0700)]
[PATCH] PCI: Add InfiniCon PCI ID to pci_ids.h

We would like to have the InfiniCon PCI Vendor ID added to pci_ids.h
Below is a context diff, which would would greatly appreciate if you
applied and included in future kernel releases.

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
21 years ago[PATCH] USB: ftdi_sio throttling fix
Ian Abbott [Fri, 28 May 2004 06:28:41 +0000 (23:28 -0700)]
[PATCH] USB: ftdi_sio throttling fix

This patch fixes throttling problems in the ftdi_sio driver for the
2.6 kernel.  The old throttling mechanism (unlinking the read urb)
often failed to work, and even it did work, would lose any data
held in the transfer buffer.  The new mechanism presented here is
based on what the whitehead driver does (defer processing and
resubmitting of the read urb until unthrottled).

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
21 years ago[PATCH] USB: Use normal return codes for several routines in hub.c
Alan Stern [Fri, 28 May 2004 06:28:14 +0000 (23:28 -0700)]
[PATCH] USB: Use normal return codes for several routines in hub.c

This patch changes the return codes used by hub_port_wait_reset(),
hub_port_reset(), and hub_port_debounce() in hub.c.  I couldn't stand the
{-1=error, 0=okay, 1=disconnect} scheme; the meanings seemed arbitrary and
I constantly forgot which number stood for what status.  The revised code
uses normal negative error codes, including -ENOTCONN to indicate device
disconnected, or 0 for success.

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
21 years ago[PATCH] Fix for leave-runtime-suspended-devices-off-at-system-resume.patch
Todd Poynor [Fri, 28 May 2004 06:13:30 +0000 (23:13 -0700)]
[PATCH] Fix for leave-runtime-suspended-devices-off-at-system-resume.patch

A patch to fix my previous
leave-runtime-suspended-devices-off-at-system-resume patch; the new
changes save a copy of power.power_state in order to know whether to
resume a device, independently of mods to that field by a driver suspend
routine.  This fixes 2.6.7-rc1-mm1 in the same fashion as the updated
2.6.6 patch sent previously.

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
21 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.6
Greg Kroah-Hartman [Fri, 28 May 2004 05:57:58 +0000 (22:57 -0700)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.6
into kroah.com:/home/greg/linux/BK/driver-2.6

21 years agoMinor coding style fixups in resume code and added a bit of debugging help.
Greg Kroah-Hartman [Fri, 28 May 2004 03:31:37 +0000 (20:31 -0700)]
Minor coding style fixups in resume code and added a bit of debugging help.

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
21 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.6
Greg Kroah-Hartman [Fri, 28 May 2004 03:20:42 +0000 (20:20 -0700)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.6
into kroah.com:/home/greg/linux/BK/pci-2.6

21 years ago[PATCH] Report which device failed to suspend
Greg Kroah-Hartman [Fri, 28 May 2004 03:05:31 +0000 (20:05 -0700)]
[PATCH] Report which device failed to suspend

Based on a patch from Nickolai Zeldovich <kolya@MIT.EDU> but put into the
proper place by me.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
21 years ago[PATCH] Leave runtime suspended devices off at system resume
Todd Poynor [Fri, 28 May 2004 03:04:44 +0000 (20:04 -0700)]
[PATCH] Leave runtime suspended devices off at system resume

Currently all devices are resumed at system resume time, including any
that were individually powered off ("at runtime") prior to the system
suspend.  In certain cases it can be nice to force back on individually
suspended devices, such as the display, but hopefully this policy can be
left up to userspace power managers; the kernel should probably honor
the settings previously made by userspace/drivers.  This seems
preferable to requiring a power-conscious system to re-suspend devices
after a system resume; furthermore, for certain platforms (such as
XScale PXA27X) there can be disastrous consequences of powering up
devices when the system is in a state incompatible with operation of the
device.

Suggested patch does this:

(1) At system resume, checks power_state to see if the device was
suspended prior to system suspend, and skips powering on the device if
so.

(2) Does not re-suspend an already-suspended device at system suspend
(using a different method than is currently employed, which reorders the
list, see #3).

(3) Preserves the active/off device list order despite the above changes
to suspend/resume behavior, to avoid dependency problems that tend to
occur when the list is reordered.

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
21 years ago[PATCH] Device runtime suspend/resume fixes
Todd Poynor [Fri, 28 May 2004 03:04:18 +0000 (20:04 -0700)]
[PATCH] Device runtime suspend/resume fixes

(1) Set device power state at runtime resume (as is done for runtime
suspend) so that a later suspend does not think the device is still
suspended (refusing to suspend it again).

(2) Move devices from the active list to the off list only when
suspending all devices as part of a system suspend, not for runtime
suspend.  This matches the resume code, which only moves devices from
off to active during system resume, such that runtime resume currently
doesn't move the suspended device back to the active list.  (This also
avoids reordering the device list for runtime suspends; the list is in
order of registration and suspend/resume works best that way -- granted,
more sweeping improvements in how device dependencies are accounted for
in the suspend/resume order are also needed someday.)

Runtime device suspend/resume is in some cases used frequently on
battery-powered embedded devices, to save additional power and to handle
device power state interactions with overall system power state on
certain platforms.

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
21 years agoMerge http://xfs.org:8090/xfs-linux-2.6
Linus Torvalds [Thu, 27 May 2004 17:45:40 +0000 (10:45 -0700)]
Merge http://xfs.org:8090/xfs-linux-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge sgi.com:/source2/linux-2.6 into sgi.com:/source2/xfs-linux-2.6
Nathan Scott [Fri, 28 May 2004 22:02:07 +0000 (08:02 +1000)]
Merge sgi.com:/source2/linux-2.6 into sgi.com:/source2/xfs-linux-2.6

21 years ago[XFS] Don't leak locked pages on readahead failure
Christoph Hellwig [Fri, 28 May 2004 21:45:30 +0000 (07:45 +1000)]
[XFS] Don't leak locked pages on readahead failure

SGI Modid: xfs-linux:xfs-kern:172618a

21 years ago[XFS] Fix overflow in mapping test at offsets of 2^63-1 bytes
Eric Sandeen [Fri, 28 May 2004 21:41:54 +0000 (07:41 +1000)]
[XFS] Fix overflow in mapping test at offsets of 2^63-1 bytes

SGI Modid: xfs-linux:xfs-kern:172649a

21 years ago[PATCH] ia64: use new ptep_set_access_flags
David Mosberger [Thu, 27 May 2004 17:38:21 +0000 (10:38 -0700)]
[PATCH] ia64: use new ptep_set_access_flags

ia64: Implement race-free ptep_set_access_flags()

Signed-off-by: davidm@hpl.hp.com
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc32: Fix typo in USB sleep code on intrepid based laptops
Benjamin Herrenschmidt [Thu, 27 May 2004 17:38:10 +0000 (10:38 -0700)]
[PATCH] ppc32: Fix typo in USB sleep code on intrepid based laptops

This fixes a typo in the low level platform code that puts to sleep and
wakes up the USB cell.  This fixes a problem when pmdisk is used on
those machines (pmdisk patch not merged yet, soon maybe...)

From: Guido Guenther <agx@sigxcpu.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years agoMerge bk://gkernel.bkbits.net/net-drivers-2.6
Linus Torvalds [Thu, 27 May 2004 17:35:22 +0000 (10:35 -0700)]
Merge bk://gkernel.bkbits.net/net-drivers-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[netdrvr] Add 'gigabit ethernet' config option
Jeff Garzik [Thu, 27 May 2004 12:42:46 +0000 (08:42 -0400)]
[netdrvr] Add 'gigabit ethernet' config option

21 years ago[netdrvr ixgb] massive update
Jeff Garzik [Thu, 27 May 2004 12:22:20 +0000 (08:22 -0400)]
[netdrvr ixgb] massive update

Since Intel agreed to submit further updates via broken-up patches
like they do currently (and admirably) for e1000 and e100, I agreed
to merge this update to bring the driver up to speed.

Contributed by: Ayyappan.Veeraiyan@intel.com

Changes:

Features implemented

* Support for new 850nm adapters.
* Copyright notice updated to include year 2004.
* Fix for "ixgb does not maintain non-default MTU setting across a
link loss" issue - When link loss happens in non-default MTU
environment, driver will incorrectly operate with default 1500 MTU
setting.
* Netpoll support added
* Ethtool support - status functionality, FlowControl interface,
Checksum interface, TSO and Scatter Gather interfaces
* Race condition fix - Race condition (TX path) exists between
ixgb_xmit_frame and clean_tx_irq routines in handling the queue.
*  Removed dead code segments (#if 0)

Performance improvement features
* Mod operator usage is removed - used to cause performance
problems in non-IA architecture based machines
* Multiple ICR register read in ISR is avoided
* RS bit set on only 'end of packet' TX descriptors - to avoid
multiple writebacks by controller for packets with multiple descriptors.
* RX descriptors prefetch is done - improved 1500 MTU TX
performance

All relevant e1000 driver cleanups ported to ixgb
* Valid error propagation in functions ixgb_up, ixgb_probe,
ixgb_open.
*  NAPI code cleanups
*  u8, u16 and u32 data types are changed to uint8_t, uint16_t and
uint32_t respectively. We use these types on our shared code for
multiple OSes and also to make it uniform with e1000 driver.
* Some functions in ixgb_main.c are moved to different location -
This enables easy porting of e1000 bug fixes to ixgb

21 years agoMerge redhat.com:/spare/repo/netdev-2.6/via-rhine
Jeff Garzik [Thu, 27 May 2004 12:05:32 +0000 (08:05 -0400)]
Merge redhat.com:/spare/repo/netdev-2.6/via-rhine
into redhat.com:/spare/repo/net-drivers-2.6

21 years agoMerge redhat.com:/spare/repo/netdev-2.6/sis900
Jeff Garzik [Thu, 27 May 2004 12:04:23 +0000 (08:04 -0400)]
Merge redhat.com:/spare/repo/netdev-2.6/sis900
into redhat.com:/spare/repo/net-drivers-2.6

21 years agoMerge redhat.com:/spare/repo/netdev-2.6/pcnet32
Jeff Garzik [Thu, 27 May 2004 12:03:05 +0000 (08:03 -0400)]
Merge redhat.com:/spare/repo/netdev-2.6/pcnet32
into redhat.com:/spare/repo/net-drivers-2.6

21 years agoMerge redhat.com:/spare/repo/netdev-2.6/misc
Jeff Garzik [Thu, 27 May 2004 12:01:48 +0000 (08:01 -0400)]
Merge redhat.com:/spare/repo/netdev-2.6/misc
into redhat.com:/spare/repo/net-drivers-2.6

21 years agoMerge redhat.com:/spare/repo/netdev-2.6/farsync
Jeff Garzik [Thu, 27 May 2004 12:00:32 +0000 (08:00 -0400)]
Merge redhat.com:/spare/repo/netdev-2.6/farsync
into redhat.com:/spare/repo/net-drivers-2.6

21 years agoMerge redhat.com:/spare/repo/netdev-2.6/emac
Jeff Garzik [Thu, 27 May 2004 11:59:32 +0000 (07:59 -0400)]
Merge redhat.com:/spare/repo/netdev-2.6/emac
into redhat.com:/spare/repo/net-drivers-2.6

21 years agoMerge redhat.com:/spare/repo/netdev-2.6/e1000
Jeff Garzik [Thu, 27 May 2004 11:58:11 +0000 (07:58 -0400)]
Merge redhat.com:/spare/repo/netdev-2.6/e1000
into redhat.com:/spare/repo/net-drivers-2.6

21 years agoMerge redhat.com:/spare/repo/netdev-2.6/acenic
Jeff Garzik [Thu, 27 May 2004 11:57:09 +0000 (07:57 -0400)]
Merge redhat.com:/spare/repo/netdev-2.6/acenic
into redhat.com:/spare/repo/net-drivers-2.6

21 years ago[PATCH] net/sk98lin: correct buggy VPD in ASUS MB
Andrew Morton [Thu, 27 May 2004 11:33:27 +0000 (07:33 -0400)]
[PATCH] net/sk98lin: correct buggy VPD in ASUS MB

From: Jeff Lightfoot <jeffml@pobox.com>

The following patch to net/sk98lin/skvpd.c was put together by Marc Bouget,
mbouget at club-internet.fr.

This patch works around a corrupt EEPROM (VPD?) in the ASUS K8V Deluxe SE
motherboard ethernet chipset and allows the network driver to work
correctly.  We have written to ASUS and the sk98lin maintainers but have
not heard anything back.

21 years agosb1000 and wan/sealevel net drivers need to include linux/init.h.
Christoph Hellwig [Thu, 27 May 2004 11:15:11 +0000 (07:15 -0400)]
sb1000 and wan/sealevel net drivers need to include linux/init.h.

21 years agoAdd new IBM PPC4xx EMAC net driver.
Matt Porter [Thu, 27 May 2004 11:12:36 +0000 (07:12 -0400)]
Add new IBM PPC4xx EMAC net driver.

21 years ago[PATCH] via-rhine: netdev_priv()
Roger Luethi [Thu, 27 May 2004 11:08:08 +0000 (07:08 -0400)]
[PATCH] via-rhine: netdev_priv()

Found another patch that should go with this batch:

Switch to netdev_priv(). Fix outdated comment and bump version number
while we're at it.

21 years ago[PATCH] via-rhine: USE_MEM, USE_IO -> USE_MMIO
Roger Luethi [Thu, 27 May 2004 11:07:59 +0000 (07:07 -0400)]
[PATCH] via-rhine: USE_MEM, USE_IO -> USE_MMIO

Replace USE_MEM and USE_IO with USE_MMIO define.

21 years ago[PATCH] via-rhine: Whitespace clean-up
Roger Luethi [Thu, 27 May 2004 11:07:51 +0000 (07:07 -0400)]
[PATCH] via-rhine: Whitespace clean-up

- Switch to 8 char tabs.
- Remove kernel log pointer to the scyld web site -- it's
  a) fairly irrelevant by now and
  b) gone.
- Remove Emacs Voodoo.
- More white space clean up, mostly coding style.

21 years ago[PATCH] via-rhine: Rename some symbols
Roger Luethi [Thu, 27 May 2004 11:07:42 +0000 (07:07 -0400)]
[PATCH] via-rhine: Rename some symbols

This patch renames symbols:
via_rhine_* -> rhine_*
struct netdev_private *np -> struct rhine_private *rp

21 years ago[PATCH] via-rhine: Fix force media
Roger Luethi [Thu, 27 May 2004 11:07:33 +0000 (07:07 -0400)]
[PATCH] via-rhine: Fix force media

Lucas Nussbaum and Dirk Koeppen each found independently that the code
for forcing media options in via-rhine is borked and suggested the fix
below. I've been sitting on this way too long because there is more
badness in the immediate vicinity which needs a bigger surgery.

The second hunk fixes a braino I managed to introduce myself.

21 years ago[PATCH] pcnet32: fix for patch 8 le16_to_cpu
Don Fry [Thu, 27 May 2004 10:07:05 +0000 (06:07 -0400)]
[PATCH] pcnet32: fix for patch 8 le16_to_cpu

Joe Perches pointed out an error in patch 8.  As I looked at the results
closer 3 out of 4 looked correct.  This fixes the output for the last
case.  Output is now the same on IA32 and PPC64 hardware.

21 years ago[netdrvr tulip] new pci id
Per Olofsson [Thu, 27 May 2004 10:05:00 +0000 (06:05 -0400)]
[netdrvr tulip] new pci id

21 years ago[netdrvr b44] always restore PCI config on resume
Stefan Rompf [Thu, 27 May 2004 09:51:22 +0000 (05:51 -0400)]
[netdrvr b44] always restore PCI config on resume

the Broadcom BCM4401 driver restores pci configuration on resume only when the
device is up. On my notebook, this leads to a failure when the device is down
during the S3 cycle. Short solution for now: Always restore pci config.

21 years ago[PATCH] e1000 7/7: Support for ethtool msglevel based error
Ganesh Venkatesan [Thu, 27 May 2004 09:44:06 +0000 (05:44 -0400)]
[PATCH] e1000 7/7: Support for ethtool msglevel based error

Also included are driver version update and change logs

21 years ago[PATCH] e1000 6/7: ethtool_ops support
Ganesh Venkatesan [Thu, 27 May 2004 09:43:57 +0000 (05:43 -0400)]
[PATCH] e1000 6/7: ethtool_ops support

21 years ago[PATCH] e1000 4/7: Estimate number of tx descriptors required
Ganesh Venkatesan [Thu, 27 May 2004 09:43:49 +0000 (05:43 -0400)]
[PATCH] e1000 4/7: Estimate number of tx descriptors required

Reduce scope of tx_lock

21 years ago[PATCH] e1000 3/7: Determine link status correctly while using
Ganesh Venkatesan [Thu, 27 May 2004 09:43:40 +0000 (05:43 -0400)]
[PATCH] e1000 3/7: Determine link status correctly while using

21 years ago[PATCH] e1000 2/7: Workaround for link LED staying ON even when
Ganesh Venkatesan [Thu, 27 May 2004 09:43:32 +0000 (05:43 -0400)]
[PATCH] e1000 2/7: Workaround for link LED staying ON even when

21 years ago[PATCH] e1000 1/7: Clear Auto-MDIX when the link is forced to
Ganesh Venkatesan [Thu, 27 May 2004 09:43:24 +0000 (05:43 -0400)]
[PATCH] e1000 1/7: Clear Auto-MDIX when the link is forced to

21 years ago[wireless airo] Add RFMON support for MPI and latest Cisco
Javier Achirica [Thu, 27 May 2004 09:33:57 +0000 (05:33 -0400)]
[wireless airo] Add RFMON support for MPI and latest Cisco

21 years ago[netdrvr wan] farsync driver update
Kevin Curtis [Thu, 27 May 2004 09:24:17 +0000 (05:24 -0400)]
[netdrvr wan] farsync driver update

1) Provides support for new FarSync cards T1U, T2U, T4U and TE1
2) Provides support for an E1 interface
3) Provides support for a variant of X.21 that allows transmit and
receive clocks
4) Provide a raw socket interface directly to the data from the line.
5) Improves performance with less time in interrupts and more in BH's

21 years ago[PATCH] pcnet32: avoid timeout with tcpdump
Don Fry [Thu, 27 May 2004 09:12:31 +0000 (05:12 -0400)]
[PATCH] pcnet32: avoid timeout with tcpdump

This patch avoids a timeout when entering/exiting promiscuous mode with
tcpdump.  All pending xmit operations are flushed and if the queue is
full the timeout will occur.  The wake_queue avoids that timeout.
Tested ppc64 and ia32.

21 years ago[PATCH] pcnet32: correct printk for big-endian arch
Don Fry [Thu, 27 May 2004 09:12:23 +0000 (05:12 -0400)]
[PATCH] pcnet32: correct printk for big-endian arch

This patch corrects a printk when executed on a big-endian system.  Tested
ppc64.