]> git.hungrycats.org Git - linux/log
linux
22 years ago[PATCH] sonypi driver update (PM and DMI VGN-)
Stelian Pop [Fri, 2 Jul 2004 04:45:42 +0000 (21:45 -0700)]
[PATCH] sonypi driver update (PM and DMI VGN-)

This updates the sonypi driver by:
 * fixing the power management handling, using the new device
   model PM scheme.

 * adds "VGN-" as a DMI search pattern for a Sony Vaio laptop.

Florian Lohoff reported the power management issue and tested the
patch.

Many users reported the DMI name issue, including Till Busch who
made a patch for dmi_scan.c.

Signed-off-by: Stelian Pop <stelian@popies.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] [err1-25] snd_ctl_read() locking fix
Andrew Morton [Fri, 2 Jul 2004 03:36:58 +0000 (20:36 -0700)]
[PATCH] [err1-25] snd_ctl_read() locking fix

From the new Stanford locking checker

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] [err1-10] journal_extend() locking fix
Andrew Morton [Fri, 2 Jul 2004 03:36:47 +0000 (20:36 -0700)]
[PATCH] [err1-10] journal_extend() locking fix

From the new Stanford locking checker

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Remaining sparse warnings in allnoconfig
Mika Kukkonen [Fri, 2 Jul 2004 03:36:36 +0000 (20:36 -0700)]
[PATCH] Remaining sparse warnings in allnoconfig

Attached is a smallish patch for couple trivial sparse warnings in
allnoconfig build and more importantly an "excuses" text file explaining
why the rest have not been fixed.

Basically all of them (with the exception of the one in Andrews tree) need
some serious re-engineering.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] vm86: set IOPL to 3 on pushf
Stas Sergeev [Fri, 2 Jul 2004 03:36:25 +0000 (20:36 -0700)]
[PATCH] vm86: set IOPL to 3 on pushf

The attached patch fixes the pushf under v86 to always set the IOPL field
to 3, as the Intel CPUs do.

It was in 2.4 for year, but somehow missed 2.6.  It comes from here
(although now a bit shorter):

http://lkml.org/lkml/2003/5/25/81

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] mips: delete IRIX emul misc minors
Ralf Bächle [Fri, 2 Jul 2004 03:36:14 +0000 (20:36 -0700)]
[PATCH] mips: delete IRIX emul misc minors

Remove the last leftovers of the compatibility code for running the IRIX X
server.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] mips: MIPS needs a 32-bit ioaddr_t
Ralf Bächle [Fri, 2 Jul 2004 03:36:02 +0000 (20:36 -0700)]
[PATCH] mips: MIPS needs a 32-bit ioaddr_t

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] mips: MAINTAINERS updates
Ralf Bächle [Fri, 2 Jul 2004 03:35:53 +0000 (20:35 -0700)]
[PATCH] mips: MAINTAINERS updates

Update my email address.  Add Manish Lachwani as maintainer for the MV-64340
driver which has already been accepted by Jeff Garzik.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] mips: MIPS updates
Ralf Bächle [Fri, 2 Jul 2004 03:35:43 +0000 (20:35 -0700)]
[PATCH] mips: MIPS updates

 - Remove support for NEC Eagle which is a system that was produced in
   almost zero numbers.
 - Sort out the MV-64340 code a little more.
 - Fix computation of interrupts masks for the upper 32 interrupts of the
   MV-64340.
 - Gas was producing bad break codes for MIPS32/MIPS64 processors for a while.
   Add a workaround to the kernel trap handler.
 - Rewrite RM7000 cache code in a way where it's hopefully easier to read.
 - Handle 64-bit pointers right for the BCM1250.
 - Try to share code for GT-64240 and MV-64340.
 - Fix RM9000 definition of _CACHE_CACHABLE_NONCOHERENT.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] mips: update config symbols
Ralf Bächle [Fri, 2 Jul 2004 03:35:15 +0000 (20:35 -0700)]
[PATCH] mips: update config symbols

CONFIG_DECSTATION is now CONFIG_MACH_DECSTATION ...

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] mips: kconfig spelling fixes
Ralf Bächle [Fri, 2 Jul 2004 03:35:03 +0000 (20:35 -0700)]
[PATCH] mips: kconfig spelling fixes

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Telephony Driver ISAPNP fix
Paul King [Fri, 2 Jul 2004 03:34:52 +0000 (20:34 -0700)]
[PATCH] Telephony Driver ISAPNP fix

I recently got an ISA Phonejack card and quickly found it wouldn't work
with a stock 2.6.7 kernel.

So found this bug in the ISAPNP part of the code, throughout the code it
use it's own data structure to reference it's base IO address, in the
ISAPNP code this was not being populated with any value hence it can't talk
to the card and so the driver fails.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] s390: zfcp host adapter
Martin Schwidefsky [Fri, 2 Jul 2004 03:34:41 +0000 (20:34 -0700)]
[PATCH] s390: zfcp host adapter

From: Heiko Carstens <heiko.carstens@de.ibm.com>
From: Andreas Herrmann <aherrman@de.ibm.com>
From: Maxim Shchetynin <maxim@de.ibm.com>

zfcp host adapter changes:
 - Exploit FC transport class and autoselect SCSI_FC_ATTRS for zfcp.
 - Fix acl download to zfcp controller.
 - Change message loglevels to make zfcp less noisy.
 - Don't wait for SBAL to finish for command aborts after a timeout
   and for logical unit or target resets.
 - Force reopen of port if link test failed.
 - Fix race between qdio_shutdown and do_QDIO.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] s390: network driver changes
Martin Schwidefsky [Fri, 2 Jul 2004 03:34:29 +0000 (20:34 -0700)]
[PATCH] s390: network driver changes

From: Ursula Braun-Krahl <braunu@de.ibm.com>
From: Frank Pavlic <pavlic@de.ibm.com>
From: Thomas Spatzier <tspat@de.ibm.com>
From: Peter Tiedemann <ptiedem@de.ibm.com>

s390 network driver changes:
 - ctc: replace snprintf by strlcpy.
 - lcs: change info text for lcs cards from "OSA2 card" to "OSA LCS card".
 - lcs: fix alignment of lcs_cmd structure to get multicast pings working.
 - lcs: first call in_dev_put then register multicast addresses.
 - netiucv: remove unused device timer and unused flags field.
 - netiucv: include interrupt type in pathid mismatch message.
 - qeth: don't start a new kernel thread for every new ip address.
 - qeth: fix IP assist command sequence numbers.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] s390: sclp console driver
Martin Schwidefsky [Fri, 2 Jul 2004 03:34:18 +0000 (20:34 -0700)]
[PATCH] s390: sclp console driver

From: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>

sclp console driver changes:
 - Correct handling of busy and not operational states.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] s390: dasd driver changes
Martin Schwidefsky [Fri, 2 Jul 2004 03:34:07 +0000 (20:34 -0700)]
[PATCH] s390: dasd driver changes

From: Horst Hummel <horst.hummel@de.ibm.com>
From: Carsten Otte <cotte@de.ibm.com>
From: Stefan Weinhuber <wein@de.ibm.com>

dasd device driver changes:
 - Fix calculation of number of idal words needed for a channel program.
 - Fix race in i/o termination after request timeout.
 - Fix race in state change interrupt handling.
 - Fix call to BLKPG ioctl in dasd_destroy_partitions.
 - Integrate irb into dasd request to avoid kmalloc in the interrupt handler.
 - Store build clock for error recovery requests.
 - Remove unused cpu variable from dasd_ext_handler.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] s390: comon i/o layer
Martin Schwidefsky [Fri, 2 Jul 2004 03:33:55 +0000 (20:33 -0700)]
[PATCH] s390: comon i/o layer

From: Utz Bacher <utz.bacher@de.ibm.com>
From: Cornelia Huck <cohuck@de.ibm.com>

Common i/o layer changes:
 - Consolidate store channel subsystem characteristics from its three
   users (css, cmf and qdio) to a single location.
 - Always use new stipd format and move creation of global path group
   to channel subsystem init function. Add dummy init_IRQ to setup.c
   and remove requestirq.c.
 - Remove bogus CHPID_LONGS define.
 - Add more magic to catch chpids coming online again without generating
   machine checks.
 - Fix check for unsolicited interrupts. Deferred cc=1 indicates a
   solicited interrupt.
 - Fix progress indication in qdio summary bytes to avoid loosing interrupts.
 - Rename console_device to console_devno to avoid naming conflict.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] s390: core changes
Martin Schwidefsky [Fri, 2 Jul 2004 03:33:41 +0000 (20:33 -0700)]
[PATCH] s390: core changes

From: Arnd Bergmann <arndb@de.ibm.com>
From: Christian Bornträger <cborntra@de.ibm.com>
From: Michael Holzheu <holzheu@de.ibm.com>
From: Martin Schwidefsky <schwidefsky@de.ibm.com>

s390 core changes:
 - Fix cpu_idle loop if /proc/sys/kernel/hz_timer is set.
 - Store correct trap indication on 64 bit for call to do_debugger_trap
   in the single stepped svc code.
 - Avoid the use of alloca in the debug feature.
 - Remove extraneous includes of linux/version.h.
 - Regenerate default configuration.
 - Mention eServer z890 in Kconfig help text.
 - Prevent gcc 3.4 from removing statically defined per cpu variables.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] 64 bit bug in radix-tree lookup.
Martin Schwidefsky [Fri, 2 Jul 2004 03:33:29 +0000 (20:33 -0700)]
[PATCH] 64 bit bug in radix-tree lookup.

The radix tree functions __lookup and __lookup_tag uses (1 << shift) in
their index calculations.  On 64 bit systems the shift can be bigger than
32.  The shift of an integer by more than 32 bits evaluates to zero which
causes the lookup to fail.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] asiliantfb fix
Eric Lammerts [Fri, 2 Jul 2004 03:33:16 +0000 (20:33 -0700)]
[PATCH] asiliantfb fix

The init function is writing somewhere using a physical address instead of
a virtual address.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] es7000 subarch update for target_cpus()
Natalie Protasevich [Fri, 2 Jul 2004 03:33:06 +0000 (20:33 -0700)]
[PATCH] es7000 subarch update for target_cpus()

This is ES7000 sub arch update.  The tiny patch below fixes a bug that
results in boot problem on all ES7000 partitions with numbers higher than
0.  Currently, target_cpus() returns incorrect cpumask value since it
indexes bits by the logical APIC ID, not by CPU number.  The patch affects
only ES7000 sub arch.  It was tested extensively on the system with
multiple partitions.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] pcdp.c needs io.h
Bjorn Helgaas [Fri, 2 Jul 2004 03:32:55 +0000 (20:32 -0700)]
[PATCH] pcdp.c needs io.h

Include <asm/io.h> for ioremap() declaration.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Another batch of fbcon fixes
Antonino Daplas [Fri, 2 Jul 2004 03:32:44 +0000 (20:32 -0700)]
[PATCH] Another batch of fbcon fixes

- Update display->vrows when fbset changes certain fields in var (such as
  color depth) but without changing the display resolution.  This might
  produce concommitant changes in other fields such as and especially
  var->yres_virtual.

- Clear the FBINFO_MISC_MODECHANGEUSER flag _before_ issuing a
  notifier_call_chain().  Clearing it after the notifier_call_chain() will
  cause fbcon to go into an infinite loop.

- Sanitized failure path of set_con2fb_map().

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Mode Switch in fbcon_blank()
Antonino Daplas [Fri, 2 Jul 2004 03:32:32 +0000 (20:32 -0700)]
[PATCH] Mode Switch in fbcon_blank()

As we've discussed in another thread, below is a diff that will do a set_par()
as late as possible when there is KD_TEXT<->KD_GRAPHICS switch.  The set_par()
will be forced in fbcon_resize() instead.

Not sure if this has repercussions with the other drivers, but this patch
fixed the X nv driver hanging when switching to the console.  (I believe the
crash is actually caused by an early set_par() -- while in fbcon_blank.
Removing the set_par in fbcon_blank fixed the hang but caused cursor sprite
and display corruption).

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Rivafb fixes
Antonino Daplas [Fri, 2 Jul 2004 03:32:21 +0000 (20:32 -0700)]
[PATCH] Rivafb fixes

The patch below fixes the following to rivafb:

1 Seems that nVidia hardware has a limit on clipping coordinates that is
  also dependent on the color depth of the framebuffer.

2.From Pawel Goleniowski <pawelg@dabrowa.pl>: Fix for wrong colors at 16bpp
  (RGB565).  The fix has been submitted several times in lkml and this list
  but was never applied.

3 Search all I2C/DDC busses for the EDID block instead of just the first
  bus.

4 Updated request_mem_region/release_mem_region to
  pci_request_regions/pci_release_regions.

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] convert private ABS() to kernel's abs()
Randy Dunlap [Fri, 2 Jul 2004 03:32:09 +0000 (20:32 -0700)]
[PATCH] convert private ABS() to kernel's abs()

Convert private ABS() defines and callers to use abs() from linux/kernel.h.
 Builds successfully.  stv0299, riva, & sstfb modules load.

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] sparse: fix sparse in drivers/pnp/pnpbios/*
Mika Kukkonen [Fri, 2 Jul 2004 03:31:57 +0000 (20:31 -0700)]
[PATCH] sparse: fix sparse in drivers/pnp/pnpbios/*

  CHECK   drivers/pnp/pnpbios/core.c
include/linux/pnpbios.h:144:5: warning: undefined preprocessor identifier 'needed'
  CC      drivers/pnp/pnpbios/core.o
  CHECK   drivers/pnp/pnpbios/bioscalls.c
include/linux/pnpbios.h:144:5: warning: undefined preprocessor identifier 'needed'
drivers/pnp/pnpbios/bioscalls.c:346:5: warning: undefined preprocessor identifier 'needed'
drivers/pnp/pnpbios/bioscalls.c:361:5: warning: undefined preprocessor identifier 'needed'
drivers/pnp/pnpbios/bioscalls.c:388:5: warning: undefined preprocessor identifier 'needed'
drivers/pnp/pnpbios/bioscalls.c:427:5: warning: undefined preprocessor identifier 'needed'
drivers/pnp/pnpbios/bioscalls.c:509:5: warning: undefined preprocessor identifier 'needed'
  CC      drivers/pnp/pnpbios/bioscalls.o
  CHECK   drivers/pnp/pnpbios/rsparser.c
include/linux/pnpbios.h:144:5: warning: undefined preprocessor identifier 'needed'
  CC      drivers/pnp/pnpbios/rsparser.o
  CHECK   drivers/pnp/pnpbios/proc.c
include/linux/pnpbios.h:144:5: warning: undefined preprocessor identifier 'needed'

The fix is trivial, sparse wants the preprocessor symbol to be defined
before use.  There was a similar fix accepted by Linus couple weeks ago.
Patch attached.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] sparse: fix sparse warnings in kernel/power/*
Mika Kukkonen [Fri, 2 Jul 2004 03:31:45 +0000 (20:31 -0700)]
[PATCH] sparse: fix sparse warnings in kernel/power/*

  CHECK   kernel/power/swsusp.c
kernel/power/swsusp.c:320:15: warning: expected lvalue for member dereference
kernel/power/swsusp.c:337:15: warning: expected lvalue for member dereference
kernel/power/swsusp.c:359:14: warning: expected lvalue for member dereference
kernel/power/swsusp.c:925:12: warning: assignment expression in conditional
[...]
  CHECK   kernel/power/pmdisk.c
kernel/power/pmdisk.c:795:12: warning: assignment expression in conditional

Trivial sparse fixes for two files under kernel/power. Patch attached.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] sparse: define max kernel symbol length and clean up errors in kernel/kallsyms.c
Mika Kukkonen [Fri, 2 Jul 2004 03:31:34 +0000 (20:31 -0700)]
[PATCH] sparse: define max kernel symbol length and clean up errors in kernel/kallsyms.c

  CHECK   kernel/kallsyms.c
kernel/kallsyms.c:136:7: warning: bad constant expression
kernel/kallsyms.c:136:7: warning: bad constant expression
kernel/kallsyms.c:136:7: warning: bad constant expression
kernel/kallsyms.c:143:22: warning: bad constant expression
kernel/kallsyms.c:143:22: warning: bad constant expression
kernel/kallsyms.c:143:22: warning: bad constant expression

Now the cause of sparse warnings is that it does not handle runtime array
dimensioning (which I take it is a sparse problem), but in this particular
case it _might_ make sense to change the runtime allocation to compile
time, as the upper size of the array is known, because the code in
kernel/kallsyms.c clearly uses 127 (or 128) as "magic constant" for kernel
symbol (array) length, and in the other hand in include/linux/module.h
there is: #define MODULE_NAME_LEN (64 - sizeof(unsigned long))

The only concern is that the array become quite big (the original comment
of it being "pretty small" no longer applies ...).  One way to help that
would be to use buffer[] also in place of namebuf[], but that would be
little tricky as the format string should be before the symbol name ...

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Bugfix for CLOCK_REALTIME absolute timer
George Anzinger [Fri, 2 Jul 2004 03:31:23 +0000 (20:31 -0700)]
[PATCH] Bugfix for CLOCK_REALTIME absolute timer

As required by the standard, this patch adds to POSIX ABSOLUTE timers the
functionality of adjusting the timer when the clock is set so that it still
expires at the specified time (provided that time has not passed, in which
case the timer expires immeadiatly).

The standard is, IMNSOHO, a bit vague on just how repeating timers are to
be handled so I made some choices:

1) If an absolute timer is to expire every N intervals, we assume that
   the expiries should happen at those specified times after clock setting.
    I.e.  we adjust the repeat timer as well as the initial timer.  (The
   other option would be to treat the repeating timers as relative and not
   to adjust them.)

2) If a clock set moves the the clock prior to the initial expiry time
   AND that time has already passed and been signaled, the current repeat
   timer is adjusted, i.e.  we DO NOT go back to the initial time and
   repeat that.  (The other option is to treat this case as a new request
   with the initial timer parameters (which by this time we have lost).)

3) If time is advanced such that it appears that several expiries have
   been missed, the overrun count will reflect the misses.  (The other
   option is to not reflect this in the overrun.) At the same time, nothing
   is done to acknowledge, to the user, that we are repeating expiries when
   the clock is retarded.

Signed-off-by: George Anzinger <george@mvista.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] produce a warning on unchecked inode_setattr use
Arjan van de Ven [Fri, 2 Jul 2004 03:31:12 +0000 (20:31 -0700)]
[PATCH] produce a warning on unchecked inode_setattr use

The patch below uses the new-in-gcc-3.4 option to generate a warning on
unchecked results of marked functions, and applies this to the
inode_setattr function (which based on recent bk commits HAS to be checked
for it's return value for correct operation).  A warning looks like this:

fs/ext2/inode.c:1279: warning: ignoring return value of 'inode_setattr', declared with attribute warn_unused_result

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] swsusp: preparation for smp support & fix device suspending
Pavel Machek [Fri, 2 Jul 2004 03:31:01 +0000 (20:31 -0700)]
[PATCH] swsusp: preparation for smp support & fix device suspending

It fixes levels for calling driver model, puts devices into sleep before
powering down (so that emergency parking does not happen), and actually
introduces SMP support, but its disabled for now.  Plus noone should try to
freeze_processes() when thats not implemented, we now BUG()s -- we do not
want Heisenbugs.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc32: Fix dual UICs in 4xx PIC support
Matt Porter [Fri, 2 Jul 2004 03:30:49 +0000 (20:30 -0700)]
[PATCH] ppc32: Fix dual UICs in 4xx PIC support

Fixes a case where we were not correctly acking the base cascade controller
on PPC4xx.  Patch from Pavel Bartusek <pba@sysgo.com>

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>
22 years ago[PATCH] ppc32: PPC4xx preempt fix
Matt Porter [Fri, 2 Jul 2004 03:30:38 +0000 (20:30 -0700)]
[PATCH] ppc32: PPC4xx preempt fix

PPC4xx preempt fixes. Based on previous Classic PPC patch.

Signed-off-by: Tom Rini <trini@kernel.crashing.org>
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>
22 years ago[PATCH] ppc32: PPC44x defconfig update and fixes
Matt Porter [Fri, 2 Jul 2004 03:30:27 +0000 (20:30 -0700)]
[PATCH] ppc32: PPC44x defconfig update and fixes

Update PPC44x defconfigs and some fixes.

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>
22 years ago[PATCH] ppc32: OCP for MP10x
Tom Rini [Fri, 2 Jul 2004 03:30:14 +0000 (20:30 -0700)]
[PATCH] ppc32: OCP for MP10x

Attached is the latest version of Adrian Cox's OCP patch for
MPC107/8240/8245.  This unifies some openpic setup code, and ensures that
the OCP devices are only added to the bus on chip variants which have them.

All interested parties seem happy, and this patch is necessary to provide a
unified I2C driver for 85xx and 107/824x.

Signed-off-by: Adrian Cox <adrian@humboldt.co.uk>
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>
22 years ago[PATCH] ppc64: Janitor rtas_call() return variables
Paul Mackerras [Fri, 2 Jul 2004 03:30:01 +0000 (20:30 -0700)]
[PATCH] ppc64: Janitor rtas_call() return variables

Recently I changed the return value of rtas_call() from an unsigned long to
an int.  That patch missed a few places where we declare a variable to
store the result from rtas_call().  This new patch changes those places to
use an int variable instead of a long or unsigned long variable.  Linas
Vepstas pointed this out.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: janitor log_rtas_error() call arguments
Paul Mackerras [Fri, 2 Jul 2004 03:29:50 +0000 (20:29 -0700)]
[PATCH] ppc64: janitor log_rtas_error() call arguments

This patch from Linas Vepstas (rediffed by me) fixes the confusing argument
aliasing of the log_rtas_error() subroutine.

This patch makes no functional changes, it just cleans up some strange
usage.

The rtas_args used to communicate with firmware are always taken from the
paca struct, so as to keep the args at a fixed, low-memory location.  But
the log_rtas_error() routine also took an rtas_args pointer, which it
assumed was aliased to the paca struct.  This aliasing is both
un-neccessary, and confusing; this patch eliminates this confusion.

Signed-off-by: Linas Vepstas <linas@linas.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: PACA cleanup
David Gibson [Fri, 2 Jul 2004 03:29:39 +0000 (20:29 -0700)]
[PATCH] ppc64: PACA cleanup

Cleanup the PPC64 PACA structure.  It was previously a big mess of
unecessary fields, overengineered cache layout and uninformative comments.
This is essentially a rewrite of include/asm-pp64/paca.h with associated
changes elsewhere.  The patch:

- Removes unused PACA fields

- Removes uneeded #includes

- Uses gcc attributes instead of explicit padding to get the desired
  cacheline layout, also rethinks the layout and comments accordingly.

- Better comments where asm or firmware dependencies apply non-obvious
  layout constraints.

- Splits up the pointless STAB structure, letting us move its elements
  independently.

- Uses offsetof instead of hardcoded offset in spinlocks.

- Eradicates xStudlyCaps identifiers

- Replaces PACA guard page with an explicitly defined emergency stack
  (removing more than NR_CPUS pages from the initialized data segment).

Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: remove RTAS arguments from PACA
David Gibson [Fri, 2 Jul 2004 03:29:27 +0000 (20:29 -0700)]
[PATCH] ppc64: remove RTAS arguments from PACA

This patch removes the RTAS arguments structure on ppc64 from the PACA.
The args have to be in the RMO, but since we have a global spinlock for
RTAS anyway, there's no reason to have a separate copy of the args per-CPU.
 This patch replaces the PACA field with a single instance in the global
rtas structure.

The one exception is for the rtas_stop_self() call, which can't take the
lock, because it never returns.  But it has a fixed set of arguments, so we
can use another global instance which is initialized at boot.

This lets us remove rtas.h from paca.h, which substantially reduces overall
#include hairiness (because paca.h is now, as it wants to be, a nice
low-level structure-defining header which relies on very little and can
safely be included almost anywhere).  Although it does add some noise to
the patch, because a bunch of places relied on the indirect inclusion of
rtas.h, or even more indirect inclusions (see the hunks applying to eeh.h
and current.h!).

Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] EDD: x86-64 build fix
Matt Domsch [Thu, 1 Jul 2004 14:17:05 +0000 (10:17 -0400)]
[PATCH] EDD: x86-64 build fix

On Wed, Jun 30, 2004 at 01:22:21AM -0400, Jeff Garzik wrote:
>   CC      arch/x86_64/kernel/setup.o
> arch/x86_64/kernel/setup.c: In function `copy_edd':
> arch/x86_64/kernel/setup.c:415: error: `EDD_MBR_SIGNATURE' undeclared=20
> (first use in this function)
> arch/x86_64/kernel/setup.c:415: error: (Each undeclared identifier is=20
> reported only once
> arch/x86_64/kernel/setup.c:415: error: for each function it appears in.)
> arch/x86_64/kernel/setup.c:417: error: `EDD_MBR_SIG_NR' undeclared=20
> (first use in this function)
> make[1]: *** [arch/x86_64/kernel/setup.o] Error 1
> make: *** [arch/x86_64/kernel] Error 2

Arrgh.  On i386 it's in include/asm-i386/setup.h  On x86_64 it
belongs in include/asm-x86_64/bootsetup.h.

Patch below defines EDD_MBR_SIG_NR and EDD_MBR_SIGNATURE on x86_64.

Signed-off-by: Matt_Domsch <Matt_Domsch@dell.com>
22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/net-2.6
David S. Miller [Thu, 1 Jul 2004 14:12:53 +0000 (07:12 -0700)]
Merge davem@nuts.davemloft.net:/disk1/BK/net-2.6
into kernel.bkbits.net:/home/davem/net-2.6

22 years ago[TCP]: TCP acts like it is always out of memory.
Stephen Hemminger [Thu, 1 Jul 2004 06:58:10 +0000 (23:58 -0700)]
[TCP]: TCP acts like it is always out of memory.

Current 2.6.7 tree acts as if it is alway under memory pressure because
a recent change did a s/tcp_memory_pressure/tcp_prot.memory_pressure/.
The problem is tcp_prot.memory_pressure is a pointer, so it is always non-zero!

Rather than using *tcp_prot.memory_pressure, just go back to looking at
tcp_memory_pressure.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[PATCH] dm: Remove 1024 devices limitation
Kevin Corry [Thu, 1 Jul 2004 03:52:50 +0000 (20:52 -0700)]
[PATCH] dm: Remove 1024 devices limitation

Remove the limitation of 1024 DM devices.

Signed-off-by: Kevin Corry <kevcorry@us.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] dm: dm-raid1.c: Use fixed-size arrays
Kevin Corry [Thu, 1 Jul 2004 03:52:39 +0000 (20:52 -0700)]
[PATCH] dm: dm-raid1.c: Use fixed-size arrays

dm-raid1.c: Declare fixed-sized (instead of variable-sized) arrays on the
stack in recover() and do_write().

Signed-off-by: Kevin Corry <kevcorry@us.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] dm: dm-raid1.c: Enforce max of 9 mirrors
Kevin Corry [Thu, 1 Jul 2004 03:52:27 +0000 (20:52 -0700)]
[PATCH] dm: dm-raid1.c: Enforce max of 9 mirrors

dm-raid1.c: Since kcopyd can currently only handle 1 source and up to 8
destinations, enforce a max of 9 mirrors when creating a dm-mirror device.

Signed-off-by: Kevin Corry <kevcorry@us.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] dm: kcopyd.c: make client_add() return void
Kevin Corry [Thu, 1 Jul 2004 03:52:16 +0000 (20:52 -0700)]
[PATCH] dm: kcopyd.c: make client_add() return void

kcopyd.c: client_add() can return void instead of an int, which will eliminate
an unnecessary error path in kcopyd_client_create().

Signed-off-by: Kevin Corry <kevcorry@us.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] dm: kcopyd.c: Remove unused include
Kevin Corry [Thu, 1 Jul 2004 03:52:05 +0000 (20:52 -0700)]
[PATCH] dm: kcopyd.c: Remove unused include

kcopyd.c: Remove unused #include.

Signed-off-by: Kevin Corry <kevcorry@us.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Fix sound/isa/gus/* compile error without CONFIG_PNP
Mika Kukkonen [Thu, 1 Jul 2004 03:45:15 +0000 (20:45 -0700)]
[PATCH] Fix sound/isa/gus/* compile error without CONFIG_PNP

22 years ago[PATCH] zombie with CLONE_THREAD and strace
Andrea Arcangeli [Thu, 1 Jul 2004 02:25:45 +0000 (19:25 -0700)]
[PATCH] zombie with CLONE_THREAD and strace

'strace' shows a problem with a missing release_task for self-reaping
clones that have been traced.  We need to defer releasing them until the
tracer is done with them, but if the tracer dies, we need to handle that
case gracefully too.

We do that by having 'forget_original_parent()' generate a list of tasks
to release when this case happens.

Patch based on discussions on linux-kernel, and suggestions from Roland
McGrath <roland@redhat.com>.

22 years ago[PATCH] Can't open CDROM device for writing
Peter Osterlund [Thu, 1 Jul 2004 02:17:59 +0000 (19:17 -0700)]
[PATCH] Can't open CDROM device for writing

Opening a CDROM device for writing no longer works, because cdrom_open()
returns -EROFS even if cdrom_open_write() succeeds.

This fixes it.

Signed-off-by: Peter Osterlund <petero2@telia.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] enable SMP Opterons boot an NX-enabled x86 kernel
Ingo Molnar [Thu, 1 Jul 2004 02:17:47 +0000 (19:17 -0700)]
[PATCH] enable SMP Opterons boot an NX-enabled x86 kernel

This fixes a corner-case NX bug: the x86 SMP kernel doesnt boot on SMP
Opterons if NX is enabled [and mem=nopentium is specified], due to
kernel-space NX protection preventing the SMP trampoline from being
executable.

Since the SMP trampoline is a rare case of 'dynamic code' executed by
the kernel (it has to be below 640K so it cannot be part of the kernel
text itself), i've added the necessary infrastructure to enable/disable
executability of specific kernel pages.

We cannot simply disable NX via the MSR because we've got the NX bits in
the kernel pagetables, which are set up before we do the SMP bootup.
The NX bit in the pagetables is undefined if EFER.NXE is 0, so we cannot
count on NX-capable CPUs not faulting when they encounter them.

I've tested the x86 kernel on a non-NX SMP x86 box and on an NX UP box,
on which i've also tested a simulated SMP trampoline, it all works fine.

- add infrastructure to enable/disable executability of kernel pages

- make the SMP trampoline page executable.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoMerge bk://gkernel.bkbits.net/net-drivers-2.6
Linus Torvalds [Wed, 30 Jun 2004 14:39:20 +0000 (07:39 -0700)]
Merge bk://gkernel.bkbits.net/net-drivers-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[netdrvr] add fec_8xx to Makefile
Jeff Garzik [Wed, 30 Jun 2004 19:45:32 +0000 (15:45 -0400)]
[netdrvr] add fec_8xx to Makefile

22 years ago[PATCH] skfddi - cleanup local and dead functions
Stephen Hemminger [Wed, 30 Jun 2004 19:40:05 +0000 (15:40 -0400)]
[PATCH] skfddi - cleanup local and dead functions

Cleanup the SK Fddi driver a little more.  Mark some functions as static,
and eliminate (or comment out) some that are defined but never used.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
22 years ago[PATCH] skfddi - fix warning
Stephen Hemminger [Wed, 30 Jun 2004 19:39:42 +0000 (15:39 -0400)]
[PATCH] skfddi - fix warning

The conversion to ANSI, caused a warning because the mulitcast code needs
a cast.  dmi->dmi_addr is a u8 array, and fddi_addr is just a wrapper around a u8 array.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
22 years ago[PATCH] add new fec_8xx network driver
Pantelis Antoniou [Wed, 30 Jun 2004 19:33:14 +0000 (15:33 -0400)]
[PATCH] add new fec_8xx network driver

22 years ago[PATCH] Patch 2/2 enable smc91x enet driver for use by PPC
Dale Farnsworth [Wed, 30 Jun 2004 19:30:38 +0000 (15:30 -0400)]
[PATCH] Patch 2/2 enable smc91x enet driver for use by PPC

Hi,

Patch 2 of 2 to enable the smc91x driver to be used by the IBM Redwood5
and Redwood6 boards.

Enable smc91x driver to support IBM Redwood5 and Redwood6 boards

Signed-off-by: Dale Farnsworth <dale@farnsworth.org>
22 years ago[PATCH] Patch 1/2 enable smc91x enet driver for use by PPC
Dale Farnsworth [Wed, 30 Jun 2004 19:30:01 +0000 (15:30 -0400)]
[PATCH] Patch 1/2 enable smc91x enet driver for use by PPC

Hi,

Patch 1 of 2 to enable the smc91x driver to be used by the IBM Redwood5
and Redwood6 boards.

Move drivers/net/arm/smc91x.[ch] to drivers/net

Signed-off-by: Dale Farnsworth <dale@farnsworth.org>
22 years ago[PATCH] PCMCIA net device unplugging ordering fix
Russell King [Wed, 30 Jun 2004 19:28:19 +0000 (15:28 -0400)]
[PATCH] PCMCIA net device unplugging ordering fix

This is a rather old patch which re-orders the teardown of PCMCIA
network devices.  Current device drivers remove the IO mappings,
interrupts, and free any PCMCIA windows before they unregister
themselves from the network layer.

This patch ensures that we first unregister from the network layer
before performing any teardown of resources or windows.

Note: the only card which has been tested in this patch is pcnet_cs.

22 years ago[PATCH] get rid of __OPTIMIZE__ requirement in net drivers
Stephen Hemminger [Wed, 30 Jun 2004 19:26:14 +0000 (15:26 -0400)]
[PATCH] get rid of __OPTIMIZE__ requirement in net drivers

Several network drivers have checks that they are only built with -O.
This breaks checking with sparse and other tools, and seems like a holdover from
when drivers were built out of tree and the kernel build system was less stable.
This patch gets rid of these.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
22 years ago[PATCH] [sparse] get rid of warnings about #if DEBUG
Stephen Hemminger [Wed, 30 Jun 2004 19:26:04 +0000 (15:26 -0400)]
[PATCH] [sparse] get rid of warnings about #if DEBUG

Several drivers use '#if DEBUG' which is a warning under the sparse checker.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
22 years ago[PATCH] (2/3) skfp -- sparse __user annotation
Stephen Hemminger [Wed, 30 Jun 2004 19:24:24 +0000 (15:24 -0400)]
[PATCH] (2/3) skfp -- sparse __user annotation

Add __user annotation to the device specific ioctl.

22 years ago[PATCH] (1/3) skfp - cleanup is_XXX functions
Stephen Hemminger [Wed, 30 Jun 2004 19:24:14 +0000 (15:24 -0400)]
[PATCH] (1/3) skfp - cleanup is_XXX functions

This started out from sparse warnings about calling with fddi_broadcast
that is declared const.  This fixes that and gets rid of some of the namespace
pollution of this driver by moving the predicate function is_individual, is_broadcast, ...
as inline's in the one file that uses them.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
22 years ago[PATCH] net/ne2.c needs MCA_LEGACY
Andrew Morton [Wed, 30 Jun 2004 19:21:48 +0000 (15:21 -0400)]
[PATCH] net/ne2.c needs MCA_LEGACY

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

drivers/net/ne2.c does not compile without CONFIG_MCA_LEGACY set.

As CONFIG_MCA_LEGACY depends on CONFIG_MCA, we can use only
CONFIG_MCA_LEGACY, insteed of "MCA && MCA_LEGACY".

Signed-off-by: Luiz Capitulino <lcapitulino@prefeitura.sp.gov.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
22 years ago[PATCH] net/at1700.c depends on MCA_LEGACY
Andrew Morton [Wed, 30 Jun 2004 19:21:39 +0000 (15:21 -0400)]
[PATCH] net/at1700.c depends on MCA_LEGACY

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

drivers/net/at1700.c does not compile without CONFIG_MCA_LEGACY set.

As CONFIG_MCA_LEGACY depends on CONFIG_MCA, we can use only
CONFIG_MCA_LEGACY, insteed of "MCA && MCA_LEGACY".

Signed-off-by: Luiz Capitulino <lcapitulino@prefeitura.sp.gov.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
22 years ago[PATCH] pcnet32: change to use module_param
Don Fry [Wed, 30 Jun 2004 19:20:45 +0000 (15:20 -0400)]
[PATCH] pcnet32: change to use module_param

Change the pcnet32 driver to use module_param and module_param_array.

22 years ago[PATCH] pcnet32: correctly program bcr32.
Don Fry [Wed, 30 Jun 2004 19:20:36 +0000 (15:20 -0400)]
[PATCH] pcnet32:  correctly program bcr32.

The pcnet32 driver was not correctly enabling MII autonegotiation after
booting when ppc firmware forced the speed/duplex mode of the chip.
After several conversations with AMD this patch corrects the problem.

I have tested this on hardware I have available (ia32 and ppc64) but I
would like wider audience testing of this patch.

Signed-off-by: Don Fry <brazilnut@us.ibm.com>
22 years ago[PATCH] pcnet32: Add HomePNA parameter for 79C978.
Don Fry [Wed, 30 Jun 2004 19:20:27 +0000 (15:20 -0400)]
[PATCH] pcnet32: Add HomePNA parameter for 79C978.

This patch adds a module parameter to select HomePNA mode of operation for
the 79C978 version of the pcnet32.  Tested ia32 and ppc64.

signed-off-by: Patrick Simmons <psimmons@flash.net>
signed-off-by: Don Fry <brazilnut@us.ibm.com>

22 years ago[PATCH] pcnet32: acknowledge all interrupts early.
Don Fry [Wed, 30 Jun 2004 19:20:18 +0000 (15:20 -0400)]
[PATCH] pcnet32: acknowledge all interrupts early.

A recent change I made broke pcnet32 in a way that allowed real hardware
to work, but broke VMWare.  This patch acknowledges all interrupts early
in the pcnet32_interrupt while loop.  Without this patch on real hardware
the first transmit operation would clear the 'init' interrupt, but in
VMWare it would rain interrupts.  Keith Moore did more testing for me
on VMWare and I did a better job testing on hardware.  Petr Vandrovec
correctly pointed out the source of the problem on lkml.

This patch is not needed for 2.4.27-rc1 unless my patch labeled
"pcnet32: recover after rx hang" is applied (which it has not).

signed-off-by: Don Fry <brazilnut@us.ibm.com>

22 years ago[PATCH] prism54 use set_pci_mwi()
Margit Schubert-While [Wed, 30 Jun 2004 19:17:12 +0000 (15:17 -0400)]
[PATCH] prism54 use set_pci_mwi()

2004-06-28 Margit Schubert-While <margitsw@t-online.de>

* Use set_pci_mwi()

22 years ago[PATCH] prism54 remove prog reg poke
Margit Schubert-While [Wed, 30 Jun 2004 19:17:03 +0000 (15:17 -0400)]
[PATCH] prism54 remove prog reg poke

2004-06-28 Margit Schubert-While <margitsw@t-online.de>

* Don't poke around in the timeout registers

22 years ago[PATCH] prism54 device list cleanup
Margit Schubert-While [Wed, 30 Jun 2004 19:16:54 +0000 (15:16 -0400)]
[PATCH] prism54 device list cleanup

2004-06-28 Margit Schubert-While <margitsw@t-online.de>

* Clean up the device table

22 years ago[PATCH] prism54 fix unlikely
Margit Schubert-While [Wed, 30 Jun 2004 19:16:45 +0000 (15:16 -0400)]
[PATCH] prism54 fix unlikely

2004-06-28 Margit Schubert-While <margitsw@t-online.de>

* Fix a thinko by me

22 years ago[PATCH] prism54 missing error check
Margit Schubert-While [Wed, 30 Jun 2004 19:16:36 +0000 (15:16 -0400)]
[PATCH] prism54 missing error check

2004-06-28 Margit Schubert-While <margitsw@t-online.de>

* Missing error check after dev_alloc_skb

22 years ago[PATCH] prism54 cleanup functions
Margit Schubert-While [Wed, 30 Jun 2004 19:16:26 +0000 (15:16 -0400)]
[PATCH] prism54 cleanup functions

2004-06-28 Margit Schubert-While <margitsw@t-online.de>

* Clean up function definitions (missing static, extraneous inline)

22 years agoMerge http://xfs.org:8090/xfs-linux-2.6
Linus Torvalds [Wed, 30 Jun 2004 13:16:17 +0000 (06:16 -0700)]
Merge http://xfs.org:8090/xfs-linux-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[XFS] Don't dereference buffer after pagebuf_iostrategy()
Christoph Hellwig [Thu, 1 Jul 2004 21:25:51 +0000 (07:25 +1000)]
[XFS] Don't dereference buffer after pagebuf_iostrategy()

SGI Modid: xfs-linux:xfs-kern:174326a
Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Wed, 30 Jun 2004 09:22:46 +0000 (02:22 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[ARM PATCH] 1949/1: warning fix
Nicolas Pitre [Wed, 30 Jun 2004 22:11:22 +0000 (23:11 +0100)]
[ARM PATCH] 1949/1: warning fix

Patch from Nicolas Pitre

Missing prototype.

22 years ago[ARM PATCH] 1948/1: Mainstone compile fix
Nicolas Pitre [Wed, 30 Jun 2004 21:58:10 +0000 (22:58 +0100)]
[ARM PATCH] 1948/1: Mainstone compile fix

Patch from Nicolas Pitre

... and a comment fix in bonus

22 years ago[ARM PATCH] 1947/1: Remove unused async_struct in OMAP pm.h
Tony Lindgren [Wed, 30 Jun 2004 21:48:13 +0000 (22:48 +0100)]
[ARM PATCH] 1947/1: Remove unused async_struct in OMAP pm.h

Patch from Tony Lindgren

Removes some dead code as noted by Russell King.

22 years agoMerge bk://linux-dj.bkbits.net/agpgart
Linus Torvalds [Wed, 30 Jun 2004 08:57:30 +0000 (01:57 -0700)]
Merge bk://linux-dj.bkbits.net/agpgart
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[AGPGART] K8T800 Pro support in amd64 driver.
Dave Jones [Wed, 30 Jun 2004 17:30:47 +0000 (18:30 +0100)]
[AGPGART] K8T800 Pro support in amd64 driver.

Signed-off-by: Kris Kersey <augustus@linuxhardware.org>
Signed-off-by: Dave Jones <davej@redhat.com>
22 years ago[PATCH] sparse: NULL vs 0 - the rest of it
Mika Kukkonen [Wed, 30 Jun 2004 08:52:08 +0000 (01:52 -0700)]
[PATCH] sparse: NULL vs 0 - the rest of it

22 years ago[PATCH] sparse: NULL vs 0 - sound/*
Mika Kukkonen [Wed, 30 Jun 2004 08:51:56 +0000 (01:51 -0700)]
[PATCH] sparse: NULL vs 0 - sound/*

22 years ago[PATCH] sparse: NULL vs 0 - net/*
Mika Kukkonen [Wed, 30 Jun 2004 08:51:44 +0000 (01:51 -0700)]
[PATCH] sparse: NULL vs 0 - net/*

22 years ago[PATCH] sparse: NULL vs 0 - filesystems
Mika Kukkonen [Wed, 30 Jun 2004 08:51:31 +0000 (01:51 -0700)]
[PATCH] sparse: NULL vs 0 - filesystems

22 years ago[PATCH] sparse: NULL vs 0 - drivers/usb
Mika Kukkonen [Wed, 30 Jun 2004 08:51:19 +0000 (01:51 -0700)]
[PATCH] sparse: NULL vs 0 - drivers/usb

22 years ago[PATCH] sparse: NULL vs 0 - rest of drivers
Mika Kukkonen [Wed, 30 Jun 2004 08:51:07 +0000 (01:51 -0700)]
[PATCH] sparse: NULL vs 0 - rest of drivers

22 years ago[PATCH] sparse: NULL vs 0 - drivers/char/*
Mika Kukkonen [Wed, 30 Jun 2004 08:50:54 +0000 (01:50 -0700)]
[PATCH] sparse: NULL vs 0 - drivers/char/*

22 years ago[PATCH] sparse: NULL vs 0 - drivers/acpi/*
Mika Kukkonen [Wed, 30 Jun 2004 08:50:43 +0000 (01:50 -0700)]
[PATCH] sparse: NULL vs 0 - drivers/acpi/*

22 years ago[PATCH] sparse: NULL vs 0 - arch/i386/*
Mika Kukkonen [Wed, 30 Jun 2004 08:50:31 +0000 (01:50 -0700)]
[PATCH] sparse: NULL vs 0 - arch/i386/*

22 years ago[IPV4]: Bootp packet extension area is variable length.
David S. Miller [Wed, 30 Jun 2004 08:26:39 +0000 (01:26 -0700)]
[IPV4]: Bootp packet extension area is variable length.

1) Remove the magic 300 constant
2) Allow b->exten area to be zero or more
   variable bytes in length.

Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[NETFILTER]: Fix opt[] to be array of u_int8_t in tcp_find_option().
Adam Osuchowski [Wed, 30 Jun 2004 07:35:37 +0000 (00:35 -0700)]
[NETFILTER]: Fix opt[] to be array of u_int8_t in tcp_find_option().

22 years ago[AGPGART] Fix sparse NULL pointer warnings.
Dave Jones [Wed, 30 Jun 2004 00:29:58 +0000 (01:29 +0100)]
[AGPGART] Fix sparse NULL pointer warnings.

Signed-off-by: Dave Jones <davej@redhat.com>
22 years agoMerge nuts.davemloft.net:/disk1/BK/network-2.6
David S. Miller [Tue, 29 Jun 2004 15:46:58 +0000 (08:46 -0700)]
Merge nuts.davemloft.net:/disk1/BK/network-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6

22 years ago[CRYPTO]: Add TEA and XTEA algorithms.
Aaron Grothe [Tue, 29 Jun 2004 15:26:40 +0000 (08:26 -0700)]
[CRYPTO]: Add TEA and XTEA algorithms.

The following is a patch against 2.6.7 (should apply cleanly to 2.6.5 or
above).  It implements the Tiny Encryption Algorithm (TEA) and the
Xtended TEA (XTEA) algorithms.  TEA goes back to 1994 and is a good
algorithm espically for memory constrained systems.  It is similar in
concept to the IDEA crypto.  It does NOT have any patent restrictions
and has been put in the public domain by Wheeler and Needham.  Tea is used
in quite a few products such as filesafe and even Microsoft's Xbox.

Signed-off-by: Aaron Grothe <ajgrothe@yahoo.com>
Signed-off-by: James Morris <jmorris@redhat.com>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years agoMerge bk://cifs.bkbits.net/linux-2.5cifs
Linus Torvalds [Tue, 29 Jun 2004 13:22:55 +0000 (06:22 -0700)]
Merge bk://cifs.bkbits.net/linux-2.5cifs
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agosparse: get rid of more integer/pointer confusion
Linus Torvalds [Tue, 29 Jun 2004 13:22:07 +0000 (06:22 -0700)]
sparse: get rid of more integer/pointer confusion

Use NULL, not 0, where appropriate.