]> git.hungrycats.org Git - linux/log
linux
23 years ago[acpi] Convert sleep code to new PM infrastructure.
Patrick Mochel [Tue, 19 Aug 2003 06:08:28 +0000 (23:08 -0700)]
[acpi] Convert sleep code to new PM infrastructure.

- Define and fill acpi_pm_ops, and register it on startup with the PM core.

- Fill methods with only ACPI-specific code, leaving device power down, etc
  up to the PM core.

23 years ago[acpi] Remove procfs sleep interface.
Patrick Mochel [Tue, 19 Aug 2003 06:03:51 +0000 (23:03 -0700)]
[acpi] Remove procfs sleep interface.

Use /sys/power/state instead.

23 years ago[acpi] Fix broken Kconfig dependency.
Patrick Mochel [Tue, 19 Aug 2003 06:02:53 +0000 (23:02 -0700)]
[acpi] Fix broken Kconfig dependency.

23 years agoMerge bk://kernel.bkbits.net//home/mochel/linux-2.5-power
Patrick Mochel [Tue, 19 Aug 2003 03:03:26 +0000 (20:03 -0700)]
Merge bk://kernel.bkbits.net//home/mochel/linux-2.5-power
into osdl.org:/home/mochel/src/kernel/linux-2.5-power

23 years ago[PATCH] sysctl.h needs compiler.h
Andrew Morton [Tue, 19 Aug 2003 01:34:27 +0000 (18:34 -0700)]
[PATCH] sysctl.h needs compiler.h

From: Bernardo Innocenti <bernie@develer.com>

sysctl.h needs compiler.h

23 years ago[PATCH] atp870u.c lockup fix
Andrew Morton [Tue, 19 Aug 2003 01:34:19 +0000 (18:34 -0700)]
[PATCH] atp870u.c lockup fix

Fix infinite loop in the device probe function.

23 years ago[PATCH] loop: fix module unload oops
Andrew Morton [Tue, 19 Aug 2003 01:34:11 +0000 (18:34 -0700)]
[PATCH] loop: fix module unload oops

From: Peter Osterlund <petero2@telia.com>

It oopses on module unload in the kobject layer due to misordered destruction
of things.

And we need to initialise the unplug timer in blk_alloc_queue(), because we
kill that timer in blk_alloc_queue()'s companion function,
blk_cleanup_queue().

23 years ago[PATCH] slab: drain_array fix
Andrew Morton [Tue, 19 Aug 2003 01:34:03 +0000 (18:34 -0700)]
[PATCH] slab: drain_array fix

From: Philippe Elie <phil.el@wanadoo.fr>

If drain_array_locked() is passed the `force' command, it must go in and
empty the head array.

23 years ago[PATCH] add locking to global list in ymfpci.c
Andrew Morton [Tue, 19 Aug 2003 01:33:54 +0000 (18:33 -0700)]
[PATCH] add locking to global list in ymfpci.c

This driver has a global list of devices which has no locking.

23 years ago[PATCH] ymfpci oops fix
Andrew Morton [Tue, 19 Aug 2003 01:33:46 +0000 (18:33 -0700)]
[PATCH] ymfpci oops fix

If the driver fails partway through probing, the recovery code will call
ac97_release_codec(NULL), which oopses.

23 years ago[PATCH] SELinux check behavior value
Andrew Morton [Tue, 19 Aug 2003 01:33:38 +0000 (18:33 -0700)]
[PATCH] SELinux check behavior value

From: Stephen Smalley <sds@epoch.ncsc.mil>

This patch fixes a bug in the SELinux module by adding a check of the
filesystem labeling behavior value obtained from the policy.

23 years ago[PATCH] Fix SELinux avc_log_lock
Andrew Morton [Tue, 19 Aug 2003 01:33:30 +0000 (18:33 -0700)]
[PATCH] Fix SELinux avc_log_lock

From: Stephen Smalley <sds@epoch.ncsc.mil>

This patch fixes a bug in the SELinux access vector cache code, which was
incorrectly using spin_lock_irq rather than spin_lock_irqsave for the
avc_log_lock.  As this code can be called from hardirq (e.g.  from the
file_send_sigiotask hook), we need irqsave/restore here.

23 years ago[PATCH] aio: fix error-path mm leak in ioctx_alloc
Andrew Morton [Tue, 19 Aug 2003 01:33:18 +0000 (18:33 -0700)]
[PATCH] aio: fix error-path mm leak in ioctx_alloc

From: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>

ioctx_alloc() leaks an mm->mm_count ref on an error path.

23 years ago[PATCH] enable the ikconfig stuff in config
Andrew Morton [Tue, 19 Aug 2003 01:33:10 +0000 (18:33 -0700)]
[PATCH] enable the ikconfig stuff in config

From: Sean Estabrooks <seanlkml@rogers.com>

- fix space at end of line in config files;

- add error check on put_user(); (Daniele Bellucci <bellucda@tiscali.it>)

- add missing Kconfig piece for ikconfig;

23 years ago[PATCH] async write errors: fix spurious fs truncate errors
Andrew Morton [Tue, 19 Aug 2003 01:33:02 +0000 (18:33 -0700)]
[PATCH] async write errors: fix spurious fs truncate errors

From: Oliver Xymoron <oxymoron@waste.org>

Currently, a writepage() which detects that it is writing outside i_size (due
to concurrent truncate) will abandon the write, returning -EIO.

The return value will bogusly cause an error to be recorded in the
address_space.  So convert all those writepage() instances to return zero in
this case.

23 years ago[PATCH] async write errors: use flags in address space
Andrew Morton [Tue, 19 Aug 2003 01:32:54 +0000 (18:32 -0700)]
[PATCH] async write errors: use flags in address space

From: Oliver Xymoron <oxymoron@waste.org>

This patch just saves a few bytes in the inode by turning mapping->gfp_mask
into an unsigned long mapping->flags.

The mapping's gfp mask is placed in the 16 high bits of mapping->flags and
two of the remaining 16 bits are used for tracking EIO and ENOSPC errors.

This leaves 14 bits in the mapping for future use.  They should be accessed
with the atomic bitops.

23 years ago[PATCH] async write errors: report truncate and io errors on
Andrew Morton [Tue, 19 Aug 2003 01:32:46 +0000 (18:32 -0700)]
[PATCH] async write errors: report truncate and io errors on

From: Oliver Xymoron <oxymoron@waste.org>

These patches add the infrastructure for reporting asynchronous write errors
to block devices to userspace.  Error which are detected due to pdflush or VM
writeout are reported at the next fsync, fdatasync, or msync on the given
file, and on close if the error occurs in time.

We do this by propagating any errors into page->mapping->error when they are
detected.  In fsync(), msync(), fdatasync() and close() we return that error
and zero it out.

The Open Group say close() _may_ fail if an I/O error occurred while reading
from or writing to the file system.  Well, in this implementation close() can
return -EIO or -ENOSPC.  And in that case it will succeed, not fail - perhaps
that is what they meant.

There are three patches in this series and testing has only been performed
with all three applied.

23 years ago[PATCH] Local APIC enable fixes
Andrew Morton [Tue, 19 Aug 2003 01:32:37 +0000 (18:32 -0700)]
[PATCH] Local APIC enable fixes

From: mikep@csd.uu.se

There has been a number of problem reports about local APIC
interacting badly with ACPI on P4s due to the P4 local APIC
force-enable change in 2.5.74,

This patch reverts the 2.5.74 patch, so if the BIOS disables
the local APIC on a P4, we don't enable it by default any more.

The rescue the situation for those P4 systems where the local
APIC _can_ be enabled safely, I've added two kernel parameters
that can be used to override broken BIOSen:
- "nolapic" prevents the kernel from enabling or using the local
  APIC. This is stronger than listing a machine in the DMI scan
  blacklist, since it also works for machines that boot with the
  local APIC already enabled.
- "lapic" tells the kernel to force-enable the P4 local APIC if
  the BIOS disabled it. I haven't changed the logic for P6/K7
  family processors, so we still force-enable those unless
  "nolapic" was passed to the kernel.

The patch also includes a cleanup: the dont_use_local_apic_timer
flag variable is not set any more since 2.5.74, so it's removed.

23 years ago[PATCH] add ASUS l3800P to DMI black list
Andrew Morton [Tue, 19 Aug 2003 01:32:28 +0000 (18:32 -0700)]
[PATCH] add ASUS l3800P to DMI black list

From: Eric Valette <eric.valette@free.fr>

The following patch integrated in 2.5.74,

<http://lists.insecure.org/lists/linux-kernel/2003/Jun/5840.html>

really enables the APIC even if BIOS disabled it. Unfortunately,
enabling APIC really does not seem to work on this ASUS laptop and ACPI
(which is mandatory) crash the kernel in ACPI code at boot time while
"Executing all Devices _STA and_INIT methods"

Unless someones find a bug in ACPI code related to APIC management, It
is safer to add this machine in the DMI black list (along with DELL,
IBM, ...).

So, as suggested by the author of the problematic change, I added and
entry in the DMI black list. But my guess is that most laptop will soon
be present in this list....

23 years ago[PATCH] signal handling race condition causing reboot hangs
Andrew Morton [Tue, 19 Aug 2003 01:32:18 +0000 (18:32 -0700)]
[PATCH] signal handling race condition causing reboot hangs

From: Ernie Petrides <petrides@redhat.com>

(I can't get anyone to review this, but I'm sure there's a bug in there, and
Ernie's patch has been in -mm for some time).

There is a long-standing locking hole in the kernel's handling of the
signals related to stopping and resuming processes.  When a process
handles SIGSTOP, SIGTSTP, SIGTTIN, or SIGTTOU, the "sighand" lock is
held while the signal is dequeued and appropriate masks are updated.
But the "sighand" lock is dropped in several cases before the task's
state is changed to TASK_STOPPED (or before a group-stop is initiated).

If a process running on another cpu posts a SIGCONT or SIGKILL just after
the "victim" process releases the lock but before its state is set to
TASK_STOPPED, the corresponding wakeup will be lost and the victim will
remain stopped despite the successive SIGCONT or SIGKILL.  In this case,
a repeated posting of SIGCONT or SIGKILL will have no effect, since the
original one is already pending (and so causes a repeated posting to be
discarded).  The occurrence of a SIGSTOP/SIGKILL race where the victim
has blocked all other signals will result in an unkillable process.

Although a fabricated test program can reproduce a SIGSTOP/SIGCONT race
hang in less than a minute (on a 2-cpu Dell Precision 450), the scenario
that has been most frequently encountered is a hang during reboot or
shutdown.  This occurs because /sbin/killall5 brackets the scanning of
/proc/* and associated signal posting to (most) of the processes still
running with kill(-1, SIGSTOP) and kill(-1, SIGCONT) calls to temporarily
freeze every process except for "init".  Occasionally, its parent (running
the /etc/rc6.d/S01reboot shell script) gets stuck in TASK_STOPPED state
with pending SIGCONT and SIGCLD signals, but with no other process left
to wake it up.

In order to fix the race condition, the locking in do_signal_stop()
and get_signal_to_deliver() needed reworking to close the hole.  Due
to lock ordering issues between the "sighand" lock and tasklist_lock,
there are two cases where the former lock needs to be released and
then reacquired, thus allowing a tiny hole for a SIGCONT/SIGKILL to
be posted.  These two cases are resolved by rechecking for a pending
SIGCONT/SIGKILL after the locks are (re)acquired in the proper order.

Anyone wanting a copy of the test program may e-mail me off-list.

23 years ago[PATCH] Fix si_band type in asm-generic/siginfo.h
Andrew Morton [Tue, 19 Aug 2003 01:32:08 +0000 (18:32 -0700)]
[PATCH] Fix si_band type in asm-generic/siginfo.h

From: Andi Kleen <ak@suse.de>

POSIX says si_band in siginfo_t must be long. glibc uses this, except
for Alpha.

This type must be correct on little endian machines, otherwise
Konqueror does not get any events from dnotity for created/deleted files.

Currenly asm-generic/siginfo.h uses int, which is wrong.

This patch adds a new macro __ARCH_SI_BAND_T which is int for alpha
and long for everybody else. This makes the type on x86-64 come out
correctly

23 years agoMerge bk://kernel.bkbits.net/jgarzik/net-drivers-2.6
Linus Torvalds [Mon, 18 Aug 2003 14:30:00 +0000 (07:30 -0700)]
Merge bk://kernel.bkbits.net/jgarzik/net-drivers-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[netdrvr eexpress] fix buglet in skb_padto conversion
Alan Cox [Mon, 18 Aug 2003 20:15:10 +0000 (16:15 -0400)]
[netdrvr eexpress] fix buglet in skb_padto conversion

23 years ago[netdrvr de2104x] fix Kconfig help text to reflect reality
Jeff Garzik [Mon, 18 Aug 2003 20:08:24 +0000 (16:08 -0400)]
[netdrvr de2104x] fix Kconfig help text to reflect reality

23 years ago[wireless atmel] minor updates
Simon Kelley [Mon, 18 Aug 2003 20:04:11 +0000 (16:04 -0400)]
[wireless atmel] minor updates

1) Add another card to the PCMCIA card database.
2) Fix a bug in wireless extensions.
3) Remove extra code for compilation without the firmware loader
4) force-enable CRC32 and FW_LOADER in Kconfig.

23 years ago[netdrvr 8139too] add adapter to supported list, in docs
Jeff Garzik [Mon, 18 Aug 2003 20:01:49 +0000 (16:01 -0400)]
[netdrvr 8139too] add adapter to supported list, in docs

23 years ago[netdrvr] fix seeq8005 entry help text in Kconfig
Adam Kropelin [Mon, 18 Aug 2003 20:00:22 +0000 (16:00 -0400)]
[netdrvr] fix seeq8005 entry help text in Kconfig

23 years ago[netdrvr 8139too] fix resume behavior
Karol Kozimor [Mon, 18 Aug 2003 19:49:26 +0000 (15:49 -0400)]
[netdrvr 8139too] fix resume behavior

23 years ago[netdrvr 8139cp] fix h/w vlan offload
Matthew Natalier [Mon, 18 Aug 2003 19:17:42 +0000 (15:17 -0400)]
[netdrvr 8139cp] fix h/w vlan offload

It wants big endian vlan tags.  IEEE, or just weird?

23 years ago[wireless airo] Replaces task queues by simpler kernel_thread
Javier Achirica [Mon, 18 Aug 2003 16:26:24 +0000 (12:26 -0400)]
[wireless airo] Replaces task queues by simpler kernel_thread

23 years agoMerge bk://kernel.bkbits.net/jgarzik/misc-2.6
Linus Torvalds [Mon, 18 Aug 2003 14:26:21 +0000 (07:26 -0700)]
Merge bk://kernel.bkbits.net/jgarzik/misc-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[ia32] Note that X86_VENDOR_ID offset in head.S is dependent
Jeff Garzik [Mon, 18 Aug 2003 19:54:28 +0000 (15:54 -0400)]
[ia32] Note that X86_VENDOR_ID offset in head.S is dependent
on NCAPINTS value found in include/asm-i386/cpufeature.h.

23 years ago[docbook] Fix kernel-api reference to kernel/power/pm.c.
Rob Landley [Mon, 18 Aug 2003 19:46:27 +0000 (15:46 -0400)]
[docbook] Fix kernel-api reference to kernel/power/pm.c.

23 years agoMerge redhat.com:/garz/repo/linus-2.6
Jeff Garzik [Mon, 18 Aug 2003 19:22:50 +0000 (15:22 -0400)]
Merge redhat.com:/garz/repo/linus-2.6
into redhat.com:/garz/repo/misc-2.6

23 years agoUpdate x86 defconfig
Linus Torvalds [Mon, 18 Aug 2003 13:46:24 +0000 (06:46 -0700)]
Update x86 defconfig

23 years ago[PATCH] cpumask_t: allow more than BITS_PER_LONG CPUs
Andrew Morton [Mon, 18 Aug 2003 13:43:55 +0000 (06:43 -0700)]
[PATCH] cpumask_t: allow more than BITS_PER_LONG CPUs

From: William Lee Irwin III <wli@holomorphy.com>

Contributions from:
Jan Dittmer <jdittmer@sfhq.hn.org>
Arnd Bergmann <arnd@arndb.de>
"Bryan O'Sullivan" <bos@serpentine.com>
"David S. Miller" <davem@redhat.com>
Badari Pulavarty <pbadari@us.ibm.com>
"Martin J. Bligh" <mbligh@aracnet.com>
Zwane Mwaikambo <zwane@linuxpower.ca>

It has ben tested on x86, sparc64, x86_64, ia64 (I think), ppc and ppc64.

cpumask_t enables systems with NR_CPUS > BITS_PER_LONG to utilize all their
cpus by creating an abstract data type dedicated to representing cpu
bitmasks, similar to fd sets from userspace, and sweeping the appropriate
code to update callers to the access API.  The fd set-like structure is
according to Linus' own suggestion; the macro calling convention to ambiguate
representations with minimal code impact is my own invention.

Specifically, a new set of inline functions for manipulating arbitrary-width
bitmaps is introduced with a relatively simple implementation, in tandem with
a new data type representing bitmaps of width NR_CPUS, cpumask_t, whose
accessor functions are defined in terms of the bitmap manipulation inlines.
This bitmap ADT found an additional use in i386 arch code handling sparse
physical APIC ID's, which was convenient to use in this case as the
accounting structure was required to be wider to accommodate the physids
consumed by larger numbers of cpus.

For the sake of simplicity and low code impact, these cpu bitmasks are passed
primarily by value; however, an additional set of accessors along with an
auxiliary data type with const call-by-reference semantics is provided to
address performance concerns raised in connection with very large systems,
such as SGI's larger models, where copying and call-by-value overhead would
be prohibitive.  Few (if any) users of the call-by-reference API are
immediately introduced.

Also, in order to avoid calling convention overhead on architectures where
structures are required to be passed by value, NR_CPUS <= BITS_PER_LONG is
special-cased so that cpumask_t falls back to an unsigned long and the
accessors perform the usual bit twiddling on unsigned longs as opposed to
arrays thereof.  Audits were done with the structure overhead in-place,
restoring this special-casing only afterward so as to ensure a more complete
API conversion while undergoing the majority of its end-user exposure in -mm.
 More -mm's were shipped after its restoration to be sure that was tested,
too.

The immediate users of this functionality are Sun sparc64 systems, SGI mips64
and ia64 systems, and IBM ia32, ppc64, and s390 systems.  Of these, only the
ppc64 machines needing the functionality have yet to be released; all others
have had systems requiring it for full functionality for at least 6 months,
and in some cases, since the initial Linux port to the affected architecture.

23 years agoMerge kernel.bkbits.net:linux-2.5-power
Patrick Mochel [Mon, 18 Aug 2003 09:51:02 +0000 (02:51 -0700)]
Merge kernel.bkbits.net:linux-2.5-power
into osdl.org:/home/mochel/src/kernel/linux-2.5-power

23 years ago[power] Improve suspend sequence.
Patrick Mochel [Mon, 18 Aug 2003 09:40:36 +0000 (02:40 -0700)]
[power] Improve suspend sequence.

- Expand pm_power_down() into struct pm_ops, with ->prepare(), ->enter()
  and ->finish() methods, so the platform drivers get called to do start
  and stop work during suspend sequence.

- Make sure devices are suspended/resumed in enter_state(), and that they
  are powered down in pm_suspend_mem() and pm_suspend_standby().

- Call ->prepare() in suspend_prepare() and ->finish() in suspend_finish().

23 years ago[SPARC64]: Update defconfig.
David S. Miller [Mon, 18 Aug 2003 09:05:55 +0000 (02:05 -0700)]
[SPARC64]: Update defconfig.

23 years ago[SPARC]: Kill bogus SHELL= lines in Makefiles.
David S. Miller [Mon, 18 Aug 2003 09:01:41 +0000 (02:01 -0700)]
[SPARC]: Kill bogus SHELL= lines in Makefiles.

23 years ago[power] Improve suspend functions.
Patrick Mochel [Mon, 18 Aug 2003 08:31:59 +0000 (01:31 -0700)]
[power] Improve suspend functions.

- Implement pm_suspend(), which is callable from anywhere in the kernel,
  and takes one of

   PM_SUSPEND_STANDBY
PM_SUSPEND_MEM
PM_SUSPEND_DISK

  and enters the appropriate state.

- Change sysfs file to look for

  "standby"
  "mem"
  "disk"

  for what state to enter (rather than 'suspend' and 'hibernate' for the
  latter two).

- Add pm_sem to block multiple suspend sequences happening at once.

- Allocate a console and stop processes from common code before entering
  state.

- Add pm_power_down() callback for platform drivers to implement. Will be
  called to actually enter the low-power state.

23 years ago[PATCH] spelling fix
Hollis Blanchard [Mon, 18 Aug 2003 06:40:53 +0000 (23:40 -0700)]
[PATCH] spelling fix

Kernul proggrammers cant spel.

23 years ago[power] Make sure we explicitly initialize pm_users.
Patrick Mochel [Mon, 18 Aug 2003 06:31:45 +0000 (23:31 -0700)]
[power] Make sure we explicitly initialize pm_users.

23 years ago[PATCH] reduce diff between x86-64 & i386
Albert Cahalan [Mon, 18 Aug 2003 05:32:22 +0000 (22:32 -0700)]
[PATCH] reduce diff between x86-64 & i386

This cleans up ioport.c to use BITS_PER_LONG, sizeof, and so on.  This
makes it easier to spot the differences that matter, and thus easier to
find bugs.

23 years agoFix broken x86_64 ioport code
Linus Torvalds [Mon, 18 Aug 2003 05:31:12 +0000 (22:31 -0700)]
Fix broken x86_64 ioport code

23 years agoMake BLKMTD and MTD_PCMCIA broken. They are. Maybe somebody
Linus Torvalds [Mon, 18 Aug 2003 04:25:10 +0000 (21:25 -0700)]
Make BLKMTD and MTD_PCMCIA broken. They are. Maybe somebody
will stand up and un-break them.

23 years agoAdd CONFIG_BROKEN (default 'n') to hide known-broken drivers.
Linus Torvalds [Mon, 18 Aug 2003 04:23:57 +0000 (21:23 -0700)]
Add CONFIG_BROKEN (default 'n') to hide known-broken drivers.

23 years agoAdd proper header file for fewer warnings in blkmtd.c
Linus Torvalds [Mon, 18 Aug 2003 04:23:11 +0000 (21:23 -0700)]
Add proper header file for fewer warnings in blkmtd.c

It's still broken, but now the silly warnings no longer hide
the _real_ problems in this file.

23 years agoMerge bk://linux-isdn.bkbits.net/linux-2.5.make
Linus Torvalds [Mon, 18 Aug 2003 04:17:01 +0000 (21:17 -0700)]
Merge bk://linux-isdn.bkbits.net/linux-2.5.make
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[PATCH] C99 initialisers for sound/oss
Maciej Soltysiak [Mon, 18 Aug 2003 03:47:21 +0000 (20:47 -0700)]
[PATCH] C99 initialisers for sound/oss

Here is a batch of C99 initialisers for sound/oss.

23 years agoFix more drivers that broke due to losing the 'name' entry.
Linus Torvalds [Mon, 18 Aug 2003 03:42:10 +0000 (20:42 -0700)]
Fix more drivers that broke due to losing the 'name' entry.

23 years agoUpdate isicom driver to work queue abstraction.
Linus Torvalds [Mon, 18 Aug 2003 03:39:51 +0000 (20:39 -0700)]
Update isicom driver to work queue abstraction.

23 years agoFix AGP device ID's - make them static, and fix bad ATI name confusion.
Linus Torvalds [Mon, 18 Aug 2003 03:39:25 +0000 (20:39 -0700)]
Fix AGP device ID's - make them static, and fix bad ATI name confusion.

23 years agoSwitch specialix driver from task-queues to work queues.
Linus Torvalds [Mon, 18 Aug 2003 03:12:50 +0000 (20:12 -0700)]
Switch specialix driver from task-queues to work queues.

23 years agoFix up esp driver for task_queue -> work abstraction.
Linus Torvalds [Mon, 18 Aug 2003 03:07:38 +0000 (20:07 -0700)]
Fix up esp driver for task_queue -> work abstraction.

This might bring the driver to a state where people who
have hardware can try to fix the locking problems.

23 years agoFix up riscom8 driver to use work queues instead of task queueing.
Linus Torvalds [Mon, 18 Aug 2003 02:59:53 +0000 (19:59 -0700)]
Fix up riscom8 driver to use work queues instead of task queueing.

This gets it potentially closer to working, if somebody could
just test it...

23 years agoUpdate scx200 i2c driver for 'name' move.
Linus Torvalds [Mon, 18 Aug 2003 02:58:18 +0000 (19:58 -0700)]
Update scx200 i2c driver for 'name' move.

23 years agoFix up ad1848 OSS driver for PnP 'name' move.
Linus Torvalds [Mon, 18 Aug 2003 02:22:30 +0000 (19:22 -0700)]
Fix up ad1848 OSS driver for PnP 'name' move.

23 years agoFix compile warning in AFS by passing around "const" types properly.
Linus Torvalds [Mon, 18 Aug 2003 01:38:18 +0000 (18:38 -0700)]
Fix compile warning in AFS by passing around "const" types properly.

23 years ago[PATCH] Fix Acorn Eesox partition handling build
Russell King [Mon, 18 Aug 2003 01:17:18 +0000 (18:17 -0700)]
[PATCH] Fix Acorn Eesox partition handling build

23 years agoMerge bk://are.twiddle.net/axp-2.6
Linus Torvalds [Mon, 18 Aug 2003 01:16:04 +0000 (18:16 -0700)]
Merge bk://are.twiddle.net/axp-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoMerge SCSI update
Linus Torvalds [Mon, 18 Aug 2003 01:11:41 +0000 (18:11 -0700)]
Merge SCSI update

23 years agoMerge bk://kernel.bkbits.net/davem/net-2.5
Linus Torvalds [Mon, 18 Aug 2003 01:07:44 +0000 (18:07 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[CRYPTO]: Fix cast{5,6} build after cia_ivsize removal.
David S. Miller [Sun, 17 Aug 2003 22:07:09 +0000 (15:07 -0700)]
[CRYPTO]: Fix cast{5,6} build after cia_ivsize removal.

23 years ago[IPV6]: Fix tunnel encap limit handling as per RFC2473.
Ville Nuorvala [Sun, 17 Aug 2003 21:52:28 +0000 (14:52 -0700)]
[IPV6]: Fix tunnel encap limit handling as per RFC2473.

23 years ago[IPSEC]: Fix oops when destroying stillborn states.
Herbert Xu [Sun, 17 Aug 2003 21:14:54 +0000 (14:14 -0700)]
[IPSEC]: Fix oops when destroying stillborn states.

23 years ago[IPSEC]: Fix oops using null ciper in CBC mode.
Mikael Ylikoski [Sun, 17 Aug 2003 21:04:17 +0000 (14:04 -0700)]
[IPSEC]: Fix oops using null ciper in CBC mode.

23 years ago[CRYPTO]: Documentation bugfix.
James Morris [Sun, 17 Aug 2003 20:53:01 +0000 (13:53 -0700)]
[CRYPTO]: Documentation bugfix.

23 years ago[IPV6]: Fix leaks of rt6_cow()d routes in route.c
Ville Nuorvala [Sun, 17 Aug 2003 20:49:14 +0000 (13:49 -0700)]
[IPV6]: Fix leaks of rt6_cow()d routes in route.c

23 years ago[IPV6]: Fix some dst cache leaks.
David S. Miller [Sun, 17 Aug 2003 20:39:32 +0000 (13:39 -0700)]
[IPV6]: Fix some dst cache leaks.
1) icmpv6_send() and icmpv6_echo_reply() never release dst.
2) ip6_{push,flush}_pending_frames() leak np->cork.rt.

23 years ago[IPV6]: Fix ip6_dst_lookup() route corruption.
Ville Nuorvala [Sun, 17 Aug 2003 20:14:52 +0000 (13:14 -0700)]
[IPV6]: Fix ip6_dst_lookup() route corruption.

23 years ago[SCSI]: Fix bugs in sym2 hotplug conversion.
David S. Miller [Sun, 17 Aug 2003 19:39:35 +0000 (12:39 -0700)]
[SCSI]: Fix bugs in sym2 hotplug conversion.

1) Make sym2_template.module get setup properly.  It was
   the scsi_module.c code taking care of this for us previously.
2) Zero out on-stack structures, in particular sym_dev not being
   zeroed out was causing sometimes-boots-sometimes-doesnt problems
   for me on sparc64 with sym2 non-modular.

23 years ago[SPARC64]: Fix syscall table base loading assembler.
David S. Miller [Sun, 17 Aug 2003 18:09:25 +0000 (11:09 -0700)]
[SPARC64]: Fix syscall table base loading assembler.

23 years ago[TCP]: When socket route changes, do not forget to update ext2_header_len and sk_rout...
David S. Miller [Sun, 17 Aug 2003 17:06:49 +0000 (10:06 -0700)]
[TCP]: When socket route changes, do not forget to update ext2_header_len and sk_route_caps.

Based upon a patch from Herbert Xu (herbert@gondor.apana.org.au).

23 years agoMerge raven.il.steeleye.com:/home/jejb/BK/scsi-misc-2.5
James Bottomley [Sun, 17 Aug 2003 16:42:19 +0000 (11:42 -0500)]
Merge raven.il.steeleye.com:/home/jejb/BK/scsi-misc-2.5
into raven.il.steeleye.com:/home/jejb/BK/scsi-for-linus-2.6

23 years ago[SCSI]: In dc395x.c, scsi_release_host() does not return a value.
David S. Miller [Sun, 17 Aug 2003 16:39:56 +0000 (09:39 -0700)]
[SCSI]: In dc395x.c, scsi_release_host() does not return a value.

23 years agoMerge bk://kernel.bkbits.net/acme/sk_buff-2.6
David S. Miller [Sun, 17 Aug 2003 16:39:10 +0000 (09:39 -0700)]
Merge bk://kernel.bkbits.net/acme/sk_buff-2.6
into nuts.ninka.net:/home/davem/src/BK/net-2.5

23 years agoo atm/eni: use skb_queue_walk, not open coded equivalent
Arnaldo Carvalho de Melo [Sun, 17 Aug 2003 20:12:31 +0000 (17:12 -0300)]
o atm/eni: use skb_queue_walk, not open coded equivalent

23 years agoMerge nuts.ninka.net:/home/davem/src/BK/network-2.5
David S. Miller [Sun, 17 Aug 2003 16:28:38 +0000 (09:28 -0700)]
Merge nuts.ninka.net:/home/davem/src/BK/network-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5

23 years agoMerge nuts.ninka.net:/home/davem/src/BK/sparcwork-2.5
David S. Miller [Sun, 17 Aug 2003 15:56:18 +0000 (08:56 -0700)]
Merge nuts.ninka.net:/home/davem/src/BK/sparcwork-2.5
into nuts.ninka.net:/home/davem/src/BK/sparc-2.5

23 years ago[ALPHA] Update for "name" out of struct device.
Richard Henderson [Sun, 17 Aug 2003 15:24:13 +0000 (08:24 -0700)]
[ALPHA] Update for "name" out of struct device.

23 years agoMore EISA/MCA fixups for removal of 'name' member in device struct.
Linus Torvalds [Sun, 17 Aug 2003 12:38:09 +0000 (05:38 -0700)]
More EISA/MCA fixups for removal of 'name' member in device struct.

23 years ago[PATCH] Fix MCA for driver core update
James Bottomley [Sun, 17 Aug 2003 12:11:25 +0000 (05:11 -0700)]
[PATCH] Fix MCA for driver core update

This should fix the MCA problems.

I moved the name field to the struct mca_device because it was in such
extensive use, and this approach caused the least impact.

23 years ago[PATCH] another ethtool_ops quickie
Jeff Garzik [Sun, 17 Aug 2003 10:56:18 +0000 (03:56 -0700)]
[PATCH] another ethtool_ops quickie

Let not my fingers type in haste.

net/netsyms.c must include linux/ethtool.h, when exporting its symbols.

23 years ago[PATCH] make NFS lockd port numbers assignable at run time
Jamie Lokier [Sun, 17 Aug 2003 10:56:06 +0000 (03:56 -0700)]
[PATCH] make NFS lockd port numbers assignable at run time

When writing firewall rules, and you are serving NFS, it's really
useful to know the port numbers of the various NFS services.  nfsd has
a standard value; mountd and statd are userspace daemons, and those
ports are settable on the command line.

The fiddly one is lockd.  nlm_udpport and nlm_tcpport can be set on
the kernel command line or at module load time, but after that it's a
bit awkward (particularly as the lockd module can't be unloaded safely
- "rmmod -f lockd" sometimes panics).

This patch allows the port numbers and the other lockd parameters to
be set through files in /proc/sys/fs/nfs/nlm_*.  The port numbers take
effect when lockd is next started or restarted.

In order to install the sysctl table even when compiled into the
kernel, it was necessary to update the initialisation code to the
current methods, using module_init() et al.  This patch does that and
in so doing updates the module/kernel parameters to use the 2.6
module_param() method, as well as making the numeric range changes
consistent between the two.

23 years ago[PATCH] use simple_strtoul for unsigned kernel parameters
Jamie Lokier [Sun, 17 Aug 2003 10:55:58 +0000 (03:55 -0700)]
[PATCH] use simple_strtoul for unsigned kernel parameters

The largest "unsigned int" value doesn't fit in a "long", on many machines.
So we should use simple_strtoul, not simple_strtol, to decode these values.

23 years ago[PATCH] add missing export-symbol lines for ethtool_ops
Jeff Garzik [Sun, 17 Aug 2003 10:30:57 +0000 (03:30 -0700)]
[PATCH] add missing export-symbol lines for ethtool_ops

ethtool helpers need exporting.

23 years ago[PATCH] Fix sb_card.c for "name" removal
Adam Belay [Sun, 17 Aug 2003 10:24:02 +0000 (03:24 -0700)]
[PATCH] Fix sb_card.c for "name" removal

This will correct the sb_card compile error from removing "name" from
"struct device".

I also decided to read the name from the card structure instead of the
device structure because, for isapnp devices, the card structure is more
likely to contain an appropriate name.

23 years agoFix "make clean" in scripts/genksyms
Linus Torvalds [Sun, 17 Aug 2003 10:16:21 +0000 (03:16 -0700)]
Fix "make clean" in scripts/genksyms

Don't prepend $(obj) to "targets", since the generic rules will
do that for us, and doing it twice just makes things not work.

23 years agoMerge kanga.twiddle.home:/home/rth/work/linux/linus-2.5
Richard Henderson [Sun, 17 Aug 2003 10:06:01 +0000 (03:06 -0700)]
Merge kanga.twiddle.home:/home/rth/work/linux/linus-2.5
into kanga.twiddle.home:/home/rth/work/linux/axp-2.5

23 years ago[PATCH] Move config tasks to kconfig/Makefile
Sam Ravnborg [Sun, 17 Aug 2003 09:29:08 +0000 (02:29 -0700)]
[PATCH] Move config tasks to kconfig/Makefile

This fixes a bug with multiple targets.

Olaf Hering reported that the build failed for PowerPc if used like
this: make oldconfig zImage

The reason for this was that .config was not present for any targets
specified in arch/$(ARCH)/Makefile and below.

That's because .config would not be included when oldconfig is present
in the list of targets.  The fix is to move handling of *config task to
the kconfig/Makefile.  Furthermore the logic in top-level makefile has
changed a bit, creating a more logial structure.  When building a fresh
kernel, the user is now told that .config is missing, not an anonymous
report that .config did not exist.

The error has survided this long because the targets used in i386/boot
in general does not use CONFIG_ symbols.

Olaf Hering has tested this patch with success.

23 years ago[PATCH] Recent i2c changes broke matroxfb
Petr Vandrovec [Sun, 17 Aug 2003 08:52:43 +0000 (01:52 -0700)]
[PATCH] Recent i2c changes broke matroxfb

The 'name' member of i2c clients & adapters moved again back to the
i2c_* from generic device.

Thanks to Petri Koistinen for bringing this to my attention.

23 years agoFix incomplete EISA device "name" conversion
Linus Torvalds [Sun, 17 Aug 2003 07:49:49 +0000 (00:49 -0700)]
Fix incomplete EISA device "name" conversion

23 years agoMake <scsi/scsi.h> include the right headers and use the right types.
Linus Torvalds [Sun, 17 Aug 2003 07:34:46 +0000 (00:34 -0700)]
Make <scsi/scsi.h> include the right headers and use the right types.

23 years agoscsi.h uses "u8" which isn't defined.
James Bottomley [Sun, 17 Aug 2003 07:00:48 +0000 (02:00 -0500)]
scsi.h uses "u8" which isn't defined.

From:   Muli Ben-Yehuda <mulix@mulix.org>

IMO, it's more correct to include <linux/types.h> in scsi.h, which
will bring in u8 and make scsi.h compilable on its own (provided
__KERNEL__ is defined, as it should be).

23 years ago[PATCH] dc395x - list handling cleanups
Jamie Lenehan [Sun, 17 Aug 2003 06:53:15 +0000 (01:53 -0500)]
[PATCH] dc395x - list handling cleanups

Here's another patch in the "try and make the driver readable"
cleanup series. This one cleans up all of the list handling.

Description: Replaced the various hand crafted scsi req lists
(waiting and going in the dcb and free in the acb) and the dcb list
(in the acb) with the generic linux lists. This makes all of the list
related code a *lot* more readable then it was previously.

23 years agoMerge bk://are.twiddle.net/eisa
Linus Torvalds [Sun, 17 Aug 2003 05:40:48 +0000 (22:40 -0700)]
Merge bk://are.twiddle.net/eisa
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoMerge http://gkernel.bkbits.net/ethtool-2.6
Linus Torvalds [Sun, 17 Aug 2003 04:43:33 +0000 (21:43 -0700)]
Merge http://gkernel.bkbits.net/ethtool-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoMerge redhat.com:/garz/repo/linus-2.6
Jeff Garzik [Sun, 17 Aug 2003 07:05:43 +0000 (03:05 -0400)]
Merge redhat.com:/garz/repo/linus-2.6
into redhat.com:/garz/repo/ethtool-2.6

23 years agoMerge bk://bk.arm.linux.org.uk/linux-2.5-pcmcia
Linus Torvalds [Sun, 17 Aug 2003 04:42:52 +0000 (21:42 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.5-pcmcia
into home.osdl.org:/home/torvalds/v2.5/linux