]> git.neil.brown.name Git - history.git/log
history.git
22 years ago[ARM] Improve bad IRQ reporting.
Russell King [Fri, 27 Feb 2004 15:41:20 +0000 (15:41 +0000)]
[ARM] Improve bad IRQ reporting.

This gives greater information on the cause of the bad IRQ, allowing
the cause to be more effectively traced.

22 years ago[ARM] Update mach-types definitions file.
Russell King [Fri, 27 Feb 2004 15:27:48 +0000 (15:27 +0000)]
[ARM] Update mach-types definitions file.

22 years ago[ARM] Remove obsolete sysctl PM interface.
Russell King [Fri, 27 Feb 2004 15:22:13 +0000 (15:22 +0000)]
[ARM] Remove obsolete sysctl PM interface.

The old sysctl PM interface has been replaced by the driver models
interface.  This has been gone for a while in the -rmk tree and no
one complained, so there's no point keeping it around.

22 years ago[ARM] Add SA11x0 sched_clock() implementation.
Russell King [Fri, 27 Feb 2004 15:16:18 +0000 (15:16 +0000)]
[ARM] Add SA11x0 sched_clock() implementation.

22 years ago[ARM] Update sa1111-pcibuf for dmapool changes.
Russell King [Fri, 27 Feb 2004 14:02:35 +0000 (14:02 +0000)]
[ARM] Update sa1111-pcibuf for dmapool changes.

- use dev_dbg for device-centric debugging messages
- use pr_debug for general debugging messages
- use dmapools instead of pcipools
- use NULL rather than 0 for NULL pointers
- use enum dma_data_direction rather than int
- use DMA_* direction definitions rather than PCI_DMA_*
- only check for sane DMA direction on mapping functions, but
  check that DMA direction matches when unmapping/syncing.

22 years ago[ARM] Cleanup MODULE_* macros
Russell King [Fri, 27 Feb 2004 10:16:19 +0000 (10:16 +0000)]
[ARM] Cleanup MODULE_* macros

Thanks to Adrian Bunk.

Remove kernel 2.0 #ifdef's from arm code, and move MODULE_* to
the end of the file.  Add an appropriate MODULE_LICENSE().

22 years ago[ARM] Add ARM architecture version 6 support.
Russell King [Thu, 26 Feb 2004 14:24:43 +0000 (14:24 +0000)]
[ARM] Add ARM architecture version 6 support.

This cset adds support ARM architecture version 6.

22 years ago[ARM] Optimise ARM720T Thumb abort unwinding.
Andre McCurdy [Thu, 26 Feb 2004 12:15:46 +0000 (12:15 +0000)]
[ARM] Optimise ARM720T Thumb abort unwinding.

Patch from: Andre.

Optimise data_thumb_pushpop and data_thumb_ldmstm population
counting code with a slightly more optimal algorithm than the
original as there are only 8 bits to count instead of 16.

22 years ago[PATCH] Support AGP bridge on Nvidia Nforce3 + cleanup
Andi Kleen [Wed, 25 Feb 2004 02:01:35 +0000 (18:01 -0800)]
[PATCH] Support AGP bridge on Nvidia Nforce3 + cleanup

For some unknown reasons Nvidia NForce3 doesn't use the standard Hammer AGP architecture,
but requires set up of some shadow registers. This patch adds that to the K8 AGP driver.

Based on an old 2.4 patch from someone at Nvidia.

Also includes another bug fix for the K8 AGP handler, from Brad House.
We should not assume that there is only one northbridge in a Uniprocessor system.
Always flush all.

Also some minor cleanup.

22 years ago[PATCH] Run 32bit compat ioctl handlers in BKL
Andi Kleen [Wed, 25 Feb 2004 02:01:26 +0000 (18:01 -0800)]
[PATCH] Run 32bit compat ioctl handlers in BKL

Give 32bit emulation ioctl handlers the same locking rules as normal ioctl handlers.
This will avoid surprises in driver code.

Most call sys_ioctl who would take it anyways.

22 years ago[PATCH] New machine check handler for x86-64
Andi Kleen [Wed, 25 Feb 2004 01:58:41 +0000 (17:58 -0800)]
[PATCH] New machine check handler for x86-64

This adds a new completely rewritten machine check handler for x86-64.
The old one never worked on 2.6.

The new handler has many improvements. It closely follows the Intel and AMD
recommendations on MCE handlers now (the old one had many violations). It handles
unrecoverable errors in user space better now - it will only kill the process now
if possible instead of panicing.

This one is CPU independent now - it should work on any CPU that supports the standard
x86 MCA architecture.

This new handler only logs fatal errors that lead to kernel panic to the console.
Non fatal errors are logged race free into a new (non ring) buffer now
and supplied to the user using a new character device.  The old one could
deadlock on console and printk locks. This also separates machine check errors
from real kernel errors better. The new buffer has been also designed to
be easily accessible from external debugging tools: it has a signature
and could be even recovered after reboot. It is not organized as a ring buffer -
this means the first errors are kept unless explicitely cleared.

The new error formats can be parsed using ftp://ftp.suse.com/pub/people/ak/x86-64/mcelog.c
The new character device for it can be created with mknod /dev/mcelog c 10 227

There is a new sysfs interface to configure the machine check handler.
It has a "tolerant" parameter that defines the aggressiveness of the machine check:

0: always panic
1: panic if deadlock possible (e.g. MCE happened in the kernel)
2: try to avoid panic

Default is 2

Despite of having more features the new handler is shorter.

22 years ago[PATCH] x86-64 merge for 2.6.3
Andi Kleen [Wed, 25 Feb 2004 01:56:12 +0000 (17:56 -0800)]
[PATCH] x86-64 merge for 2.6.3

Bring the x86-64 port up to date. Lots of smaller bug fixes that have accumulated.
Also fixes another nasty bug introduced by the IA32e changes that causes BUGs at
boot for some people.

Only changes x86-64 specific files. There are some other changes that I'm sending
separately.

 - Some cleanup in NMI watchdog code
 - Fix HyperThreading CPU setup race (Suresh B. Siddha)
 - Update defconfig
 - Add a comment on why iommu_fullflush is disabled.
 - Export sys_ioctl again
 - Fix build with IA32_EMULATION=y and SYSVIPC=n
 - Remove noisy boot printks in the mptable scan.
 - Implement automatic NMI watchdog switching for real now
 - Remove redundant 32bit ioctl handlers for autofs
 - Remove CONFIG ifdefs around rtc 32bit ioctl handlers
 - Remove useless nfsctl ifdef in syscall.c (Al Viro)
 - Increase padding for prefetchw alternative
 - Check for NX bit early before setting up memory maps (Suresh B. Siddha)
 - Change Intel IA32e config description and fix help texts (Jun Nakajima)
 - Fix microcode driver build really now (Dave Jones)
 - Add nohpet option to disable HPET timer
 - Fix double semicolon in aperture.c
 - Add cmpxchg16b cpuid entry
 - Fix return value of read_pci_config_16 (Paul Menage)
 - Fix __KERNEL_COMPAT32_CS (Zachary Amsden)
 - Disable the infamous 30 minutes check in CMOS time setting
 - Update URLs in Kconfig (Petri T. Koistinen)
 - Fix ACPI interrupt source parsing for Nforce3 (Maciej W. Rozycki)
 - Fix 32bit ipc version parsing.
 - Run local APIC NMI watchdog only once a second (or less often on idle boxes)
 - Merge ACPI APIC SCI functions from i386
 - Add i8254 timer suspend code from i386
 - Merge with 2.6.2-rc3 + minor changes from i386
 - Fix empty_zero_page declaration (Greg Johnson)
 - Readd sysctls for exception/page fault trace and vsyscall32
 - Fix WCHAN
 - Fix STACK_TOP usage. Stack for 64bit processes should be at the
   top of memory now again. Also set it correctly for LINUX32_3GB.
 - Add warning fixes for gcc 3.4 and -Wdeclaration-after-statement

22 years agoMerge bk://bk.linux1394.org/ieee1394-2.6
Linus Torvalds [Wed, 25 Feb 2004 00:46:37 +0000 (16:46 -0800)]
Merge bk://bk.linux1394.org/ieee1394-2.6
into ppc970.osdl.org:/home/torvalds/v2.5/linux

22 years agoIEEE1394(r1163): Fixup nodemgr_{suspend,resume}_ne to use the ud class list.
Ben Collins [Wed, 25 Feb 2004 04:43:38 +0000 (23:43 -0500)]
IEEE1394(r1163): Fixup nodemgr_{suspend,resume}_ne to use the ud class list.

22 years agoIEEE1394(r1162): Check return value for errors from hpsb_register_protocol.
Ben Collins [Wed, 25 Feb 2004 04:38:03 +0000 (23:38 -0500)]
IEEE1394(r1162): Check return value for errors from hpsb_register_protocol.

22 years ago[PATCH] asmlinkage fixes
Andrew Morton [Wed, 25 Feb 2004 00:12:37 +0000 (16:12 -0800)]
[PATCH] asmlinkage fixes

From: Andreas Gruenbacher <agruen@suse.de>,
      and me.

Latest gcc cvs is able to detect mismatches between functions which are
tagged asmlinkage and declarations which are missing asmlinkage.  Or vice
versa.

Fix up the fallout from an x86 allyesconfig build.

22 years ago[PATCH] add syscalls.h
Andrew Morton [Wed, 25 Feb 2004 00:12:24 +0000 (16:12 -0800)]
[PATCH] add syscalls.h

From: "Randy.Dunlap" <rddunlap@osdl.org>

Add syscalls.h, which contains prototypes for the kernel's system calls.
Replace open-coded declarations all over the place.  This patch found a
couple of prior bugs.  It appears to be more important with -mregparm=3 as we
discover more asmlinkage mismatches.

Some syscalls have arch-dependent arguments, so their prototypes are in the
arch-specific unistd.h.  Maybe it should have been asm/syscalls.h, but there
were already arch-specific syscall prototypes in asm/unistd.h...

Tested on x86, ia64, x86_64, ppc64, s390 and sparc64.  May cause
trivial-to-fix build breakage on other architectures.

22 years agoMerge bk://linux-acpi.bkbits.net/linux-acpi-release-2.6.4
Linus Torvalds [Wed, 25 Feb 2004 00:06:02 +0000 (16:06 -0800)]
Merge bk://linux-acpi.bkbits.net/linux-acpi-release-2.6.4
into ppc970.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Wed, 25 Feb 2004 00:05:13 +0000 (16:05 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge intel.com:/home/lenb/bk/linux-2.6.4
Len Brown [Tue, 24 Feb 2004 22:43:10 +0000 (17:43 -0500)]
Merge intel.com:/home/lenb/bk/linux-2.6.4
into intel.com:/home/lenb/src/linux-acpi-test-2.6.4

22 years ago[PATCH] drivers/acpi/sleep/proc.c warnings
Andrew Morton [Tue, 24 Feb 2004 21:13:08 +0000 (16:13 -0500)]
[PATCH] drivers/acpi/sleep/proc.c warnings

drivers/acpi/sleep/proc.c:359: warning: initialization from incompatible pointer type
drivers/acpi/sleep/proc.c:367: warning: initialization from incompatible pointer type

22 years ago[PATCH] acpi/utils.c warning fix
Andrew Morton [Tue, 24 Feb 2004 21:12:53 +0000 (16:12 -0500)]
[PATCH] acpi/utils.c warning fix

drivers/acpi/utils.c: In function `acpi_evaluate_reference':
drivers/acpi/utils.c:353: warning: unsigned int format, different type arg (arg 5)

22 years ago[IGMP/MLD]: Check for numsrc overflow, plus temp buffer tweaks.
David Stevens [Tue, 24 Feb 2004 16:24:37 +0000 (08:24 -0800)]
[IGMP/MLD]: Check for numsrc overflow, plus temp buffer tweaks.

22 years ago[ATM]: use clip_tbl instead of clp_tbl_hook (from Francois Romieu <romieu@fr.zoreil...
Chas Williams [Tue, 24 Feb 2004 16:21:07 +0000 (08:21 -0800)]
[ATM]: use clip_tbl instead of clp_tbl_hook (from Francois Romieu <romieu@fr.zoreil.com>)

22 years ago[ATM]: horizon: make reset function not __init (from Randy Dunlap <rddunlap@osdl...
Chas Williams [Tue, 24 Feb 2004 16:20:28 +0000 (08:20 -0800)]
[ATM]: horizon: make reset function not __init (from Randy Dunlap <rddunlap@osdl.org>)

22 years ago[IPV6]: UDPv6 needs recvmsg csum error path fix too, thanks Olaf.
David S. Miller [Tue, 24 Feb 2004 16:17:59 +0000 (08:17 -0800)]
[IPV6]: UDPv6 needs recvmsg csum error path fix too, thanks Olaf.

22 years ago[XFRM_USER]: In xfrm_send_{acquire,policy_notify}(), use {RTA,NLMSG}_SPACE().
Michal Ludvig [Tue, 24 Feb 2004 16:15:18 +0000 (08:15 -0800)]
[XFRM_USER]: In xfrm_send_{acquire,policy_notify}(), use {RTA,NLMSG}_SPACE().

22 years ago[XFRM_USER]: Fix SKB sizing in xfrm_send_policy_notify().
Michal Ludvig [Tue, 24 Feb 2004 16:13:51 +0000 (08:13 -0800)]
[XFRM_USER]: Fix SKB sizing in xfrm_send_policy_notify().

22 years ago[WANROUTER]: Kill MODULE ifdefs.
Alexander Viro [Tue, 24 Feb 2004 16:12:28 +0000 (08:12 -0800)]
[WANROUTER]: Kill MODULE ifdefs.

22 years ago[NETFILTER]: Fix amanda helpers, forward port from 2.4.x version.
Patrick McHardy [Tue, 24 Feb 2004 16:11:46 +0000 (08:11 -0800)]
[NETFILTER]: Fix amanda helpers, forward port from 2.4.x version.

22 years agoMerge intel.com:/home/lenb/bk/linux-2.6.4
Len Brown [Tue, 24 Feb 2004 15:58:46 +0000 (10:58 -0500)]
Merge intel.com:/home/lenb/bk/linux-2.6.4
into intel.com:/home/lenb/src/linux-acpi-test-2.6.4

22 years agoMerge bk://bk.phunnypharm.org/sparc-2.6
David S. Miller [Tue, 24 Feb 2004 15:29:30 +0000 (07:29 -0800)]
Merge bk://bk.phunnypharm.org/sparc-2.6
into nuts.davemloft.net:/disk1/BK/sparc-2.6

22 years agoSPARC64: Use hard_smp_processor_id() for init_irqwork_curcpu()
Ben Collins [Tue, 24 Feb 2004 17:05:20 +0000 (12:05 -0500)]
SPARC64: Use hard_smp_processor_id() for init_irqwork_curcpu()

22 years agoSPARC64: Fix debug spinlocks to not trash random memory with > 4 cpus's (or sparse...
Ben Collins [Tue, 24 Feb 2004 14:28:21 +0000 (09:28 -0500)]
SPARC64: Fix debug spinlocks to not trash random memory with > 4 cpus's (or sparse cpu's).

22 years agoMerge intel.com:/home/lenb/bk/linux-2.6.4
Len Brown [Tue, 24 Feb 2004 12:14:48 +0000 (07:14 -0500)]
Merge intel.com:/home/lenb/bk/linux-2.6.4
into intel.com:/home/lenb/src/linux-acpi-test-2.6.4

22 years ago[PATCH] swsusp/s3: Assembly interactions need asmlinkage
Andrew Morton [Tue, 24 Feb 2004 12:05:09 +0000 (04:05 -0800)]
[PATCH] swsusp/s3: Assembly interactions need asmlinkage

From: Pavel Machek <pavel@suse.cz>

swsusp/s3 assembly parts, and parts called from assembly are not properly
marked asmlinkage; that leads to double fault on resume when someone
compiles kernel with regparm.  Thanks go to Stefan Seyfried for discovering
this.

22 years ago[PATCH] Change ENOTSUPP to EOPNOTSUPP
Andrew Morton [Tue, 24 Feb 2004 12:04:58 +0000 (04:04 -0800)]
[PATCH] Change ENOTSUPP to EOPNOTSUPP

From: James Morris <jmorris@redhat.com>

ENOTSUPP is the wrong value, and should not be returned to userspace.

22 years ago[PATCH] Eicon isdn driver compile __devexit compile fix
Andrew Morton [Tue, 24 Feb 2004 12:04:47 +0000 (04:04 -0800)]
[PATCH] Eicon isdn driver compile __devexit compile fix

From: Armin <armin@melware.de>

Pointers to __devexit functions must be wrapped with the __devexit_p()
macro.

22 years ago[PATCH] fix the build with CONFIG_UNIX98_PTYS=n
Andrew Morton [Tue, 24 Feb 2004 12:04:36 +0000 (04:04 -0800)]
[PATCH] fix the build with CONFIG_UNIX98_PTYS=n

From: Ian Wienand <ianw@gelato.unsw.edu.au>

- Fix inline function declarations

- Use #ifdef for CONFIG_*, not #if

22 years ago[PATCH] jffs2: Don't jump between contexts
Andrew Morton [Tue, 24 Feb 2004 12:04:26 +0000 (04:04 -0800)]
[PATCH] jffs2: Don't jump between contexts

From: David Woodhouse <dwmw2@infradead.org>

Don't jump between contexts.

(don't write comprehensible changelogs, either).

22 years ago[PATCH] pty changes require procps 3.2
Andrew Morton [Tue, 24 Feb 2004 12:04:15 +0000 (04:04 -0800)]
[PATCH] pty changes require procps 3.2

From: Albert Cahalan <albert@users.sourceforge.net>

Now that /dev/pts is using the 12:20 dev_t, a new procps is required.

22 years ago[PATCH] clarify MSI requirements in Kconfig
Andrew Morton [Tue, 24 Feb 2004 12:04:05 +0000 (04:04 -0800)]
[PATCH] clarify MSI requirements in Kconfig

From: Martine Silbermann <Martine.Silbermann@hp.com>

Having spent a non trivial amount of time trying to pull in the code to
enable MSI, I would suggest that a clear indication in Kconfig that MSI
requires CONFIG_PCI_USE_VECTOR would be very helpful.  Also since the MSI
code was integrated into 2.6.1 I've updated the comment that called for
installing the MSI patch.

22 years ago[PATCH] remove unneeded check from sys_sysctl()
Andrew Morton [Tue, 24 Feb 2004 12:03:54 +0000 (04:03 -0800)]
[PATCH] remove unneeded check from sys_sysctl()

That check I just added to sys_sysctl() is not needed: do_sysctl() checks as
well.

22 years ago[PATCH] cosmetic printk fix
Andrew Morton [Tue, 24 Feb 2004 12:03:44 +0000 (04:03 -0800)]
[PATCH] cosmetic printk fix

From: Arjan van de Ven <arjanv@redhat.com>

One of my machines prints the following in dmesg during boot;

CPU: Trace cache: 4K uops<6>CPU: L2 cache: 256K

cause is a missing \n being printed; fix below.

22 years ago[PATCH] x86: remove THREAD_SIZE assumption cleanups
Andrew Morton [Tue, 24 Feb 2004 12:03:32 +0000 (04:03 -0800)]
[PATCH] x86: remove THREAD_SIZE assumption cleanups

From: Arjan van de Ven <arjanv@redhat.com>

some more hardcoded THREAD_SIZE cleanups.

22 years ago[PATCH] add the Intel Alder IO-APIC PCI device to quirks
Andrew Morton [Tue, 24 Feb 2004 12:03:21 +0000 (04:03 -0800)]
[PATCH] add the Intel Alder IO-APIC PCI device to quirks

From: James Bottomley <James.Bottomley@SteelEye.com>

The alder has an intel Extended Express System Support Controller which
presents apparently spurious BARs.  When the pci resource code tries to
reassign these BARs, the second IO-APIC gets disabled (with disastrous
consequences).

The first BAR is the actual IO-APIC, the remaining five bars seem to be
spurious resources, so we forcibly insert the first one into the resource
tree and clear all the others.

22 years ago[PATCH] Make insert_resource work for alder IOAPIC resources
Andrew Morton [Tue, 24 Feb 2004 12:03:10 +0000 (04:03 -0800)]
[PATCH] Make insert_resource work for alder IOAPIC resources

From: James Bottomley <James.Bottomley@SteelEye.com>

This is a necessary precursor patch for getting the Intel Alder motherboard
working (it has a PCI device corresponding to the IO-APIC which has to be
forcibly inserted into the machine's reserved memory region).

Eric Biederman was going to come up with a more comprehensive fix, but in
the meantime, this is the minimum necessary to get insert_resource to work
when the covering region is larger than the resource being inserted.

22 years ago[PATCH] Report NGROUPS_MAX via a sysctl (read-only)
Andrew Morton [Tue, 24 Feb 2004 12:03:00 +0000 (04:03 -0800)]
[PATCH] Report NGROUPS_MAX via a sysctl (read-only)

From: Tim Hockin <thockin@sun.com>

Attached is a simple patch to expose NGROUPS_MAX via sysctl.  Nothing
fancy, just a read-only variable.  glibc can use this to sysconf() the
value properly, so apps will stop relying on NGROUPS_MAX as a real
constant.

22 years ago[PATCH] Fix make xconfig on /lib64 systems
Andrew Morton [Tue, 24 Feb 2004 12:02:48 +0000 (04:02 -0800)]
[PATCH] Fix make xconfig on /lib64 systems

From: Andi Kleen <ak@suse.de>,
     R. J. Wysocki

Without this make xconfig doesn't find the Qt library on systems using
/lib64 (like x86-64)

22 years ago[PATCH] ppc64: archhelp fix
Andrew Morton [Tue, 24 Feb 2004 12:02:38 +0000 (04:02 -0800)]
[PATCH] ppc64: archhelp fix

From: Jeremy Kerr <jk@ozlabs.org>

This patch is missing a single quote; here's a fix.

22 years ago[PATCH] Clean up IRQ mapping code
Paul Mackerras [Tue, 24 Feb 2004 11:58:56 +0000 (03:58 -0800)]
[PATCH] Clean up IRQ mapping code

On the larger ppc64 machines we remap the interrupt numbers used by
the hardware/firmware to virtual IRQ numbers < NR_IRQS.  Up until now
we have used an array for the "real" (hardware) -> virtual IRQ number
mapping, but with new machines coming out that will have 24-bit
hardware IRQ numbers, this will break.  However, in fact it is only
the XICS interrupt controller which cares about this mapping.  This
patch moves that side of the mapping (real -> virtual) into the XICS
code and makes it use a radix tree.

On iSeries we have a similar issue, where the "real" IRQ numbers that
we need are in fact an encoding of the bus/device/function address of
the device.  This patch fixes iSeries to use the virt->real IRQ
mapping, allowing us to support larger iSeries machines.  This patch
also gets rid of the temporary hack that Stephen Rothwell submitted.

On machines with OpenPIC (including the G5) the mapping is explicitly
1-1, and that hasn't changed.  For other machines this patch cleans up
and simplifies the code that sets up the virtual->real mapping.

I have tested this code and verified that G5, pSeries and iSeries boot
and run correctly with this patch.

22 years agoMerge bk://gkernel.bkbits.net/misc-2.5
Linus Torvalds [Tue, 24 Feb 2004 11:57:05 +0000 (03:57 -0800)]
Merge bk://gkernel.bkbits.net/misc-2.5
into ppc970.osdl.org:/home/torvalds/v2.5/linux

22 years agoImprovements to the bk-make-sum BitKeeper summary/submission script:
Jeff Garzik [Tue, 24 Feb 2004 16:18:44 +0000 (11:18 -0500)]
Improvements to the bk-make-sum BitKeeper summary/submission script:
* use bk:// url to reduce confusion
* remove "Linus, " from introductory output text
* don't diffstat each individual cset; do the entire patch all in
  one go.  Makes the script a -lot- faster when summarizing
  a large number of changesets.

22 years ago[PATCH] default 8139too to PIO
Jeff Garzik [Tue, 24 Feb 2004 11:56:41 +0000 (03:56 -0800)]
[PATCH] default 8139too to PIO

Some machines still appear to lock up under MMIO mode, so default to PIO.

22 years agoDelete tms380tr firmware, no longer needed
Jeff Garzik [Tue, 24 Feb 2004 15:31:01 +0000 (10:31 -0500)]
Delete tms380tr firmware, no longer needed
now that driver uses request_firmware()

22 years ago[PATCH] tms380tr patch 3/3 (get firmware out of kernel)
Jochen Friedrich [Tue, 24 Feb 2004 15:29:54 +0000 (10:29 -0500)]
[PATCH] tms380tr patch 3/3 (get firmware out of kernel)

Hi Jeff,

the last one makes tms380tr use the kernel firmware loader instead of
linking some propriatary code into the kernel, probably violating the
GPL.

drivers/net/tokenring/tms380tr_microcode.h can go after this patch has
been applied.

--jochen

 tms380tr.c |   34 ++++++++++++++++++++++++++++++----
 1 files changed, 30 insertions(+), 4 deletions(-)

22 years ago[PATCH] tms380tr patch 2/3 (queue fix)
Jochen Friedrich [Tue, 24 Feb 2004 15:29:47 +0000 (10:29 -0500)]
[PATCH] tms380tr patch 2/3 (queue fix)

Hi Jeff,

this one removes the internal queue of tms380tr. It was racy, anyways.

--jochen

 tms380tr.c |  178 +++++++++++++++++++++++--------------------------------------
 tms380tr.h |    4 -
 2 files changed, 70 insertions(+), 112 deletions(-)

22 years ago[PATCH] tms380tr patch 1/3 (bug fix)
Jochen Friedrich [Tue, 24 Feb 2004 15:29:39 +0000 (10:29 -0500)]
[PATCH] tms380tr patch 1/3 (bug fix)

Hi Jeff,

this fixes some problems partly introduced in the latest token ring
update:
- mix of alloc_trdev(0) and alloc_trdev(sizeof(struct net_local)) confused
  memory management.
- initialization of proteon and sknet cards was broken.
- proteon_close() and skisa_close() deleted.

--jochen

 abyss.c    |    2 -
 madgemc.c  |    2 -
 proteon.c  |   91 ++++++++++++++++++++++++-------------------------------
 skisa.c    |  100 +++++++++++++++++++++++++------------------------------------
 tms380tr.c |   41 +++++++++----------------
 tmspci.c   |    2 -
 6 files changed, 100 insertions(+), 138 deletions(-)

22 years ago[PATCH] vlsi_ir leak, allocation and freeing fixes
Alexander Viro [Tue, 24 Feb 2004 15:17:51 +0000 (10:17 -0500)]
[PATCH] vlsi_ir leak, allocation and freeing fixes

* switched to sane allocation
* fixes race on removal - we unregistered too late
* contrary to the comment, device had no destructor, so removal
had leaked - unregister_netdev() doesn't trigger freeing in that driver.
* fixes freeing (kfree -> free_netdev)

Otherwise the same story as with previous patch - irda-related part of NE*
that got lost.

22 years agoMerge redhat.com:/spare/repo/netdev-2.6/janitor
Jeff Garzik [Tue, 24 Feb 2004 15:12:13 +0000 (10:12 -0500)]
Merge redhat.com:/spare/repo/netdev-2.6/janitor
into redhat.com:/spare/repo/net-drivers-2.5

22 years agoMerge redhat.com:/spare/repo/netdev-2.6/pcnet32
Jeff Garzik [Tue, 24 Feb 2004 15:09:09 +0000 (10:09 -0500)]
Merge redhat.com:/spare/repo/netdev-2.6/pcnet32
into redhat.com:/spare/repo/net-drivers-2.5

22 years agoMerge redhat.com:/spare/repo/netdev-2.6/misc
Jeff Garzik [Tue, 24 Feb 2004 15:07:00 +0000 (10:07 -0500)]
Merge redhat.com:/spare/repo/netdev-2.6/misc
into redhat.com:/spare/repo/net-drivers-2.5

22 years ago[PATCH] au1k leaks, allocation and free_netdev() fixes
Alexander Viro [Tue, 24 Feb 2004 15:01:14 +0000 (10:01 -0500)]
[PATCH] au1k leaks, allocation and free_netdev() fixes

* fixes leaks on failed init
* switches to sane allocation
* fixes netdev freeing (kfree -> free_netdev)
* fixes the idiocy with ->init() (from registger_netdev()) calling
unregister_netdevice() in case of failure - before we got anywhere past
the very beginning of register_netdev().

That's a part of NE* series that failed through the cracks (there were
pending irda patches, so that had been postponed, irda patches either
hadn't materialized in two months or hadn't touched that driver at all,
the latter being more likely).

Please, apply.

22 years ago[PATCH] netif_carrier_on()/off() for xircom_tulip_cb
Stefan Rompf [Tue, 24 Feb 2004 15:01:07 +0000 (10:01 -0500)]
[PATCH] netif_carrier_on()/off() for xircom_tulip_cb

22 years ago[PATCH] Re: Patch: netif_carrier_on()/off() for xircom_tulip_cb
Stefan Rompf [Tue, 24 Feb 2004 15:00:59 +0000 (10:00 -0500)]
[PATCH] Re: Patch: netif_carrier_on()/off() for xircom_tulip_cb

--Boundary-00=_EQjNA7alc3Y2zQJ
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,

> Please resend patches that may be applied with "patch -p1",
> not "patch -p0".

ok., here's the first, suspend/resume

--Boundary-00=_EQjNA7alc3Y2zQJ
Content-Type: text/x-diff;
  charset="iso-8859-1";
  name="xircom_tulip_cb_pm.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="xircom_tulip_cb_pm.diff"

22 years ago[PATCH] m68k: Amiga Hydra Ethernet new driver model
Andrew Morton [Tue, 24 Feb 2004 15:00:52 +0000 (10:00 -0500)]
[PATCH] m68k: Amiga Hydra Ethernet new driver model

From: Geert Uytterhoeven <geert@linux-m68k.org>

Hydra Ethernet: Convert to the new driver model

22 years ago[PATCH] m68k: Amiga Ariadne Ethernet new driver model
Andrew Morton [Tue, 24 Feb 2004 15:00:44 +0000 (10:00 -0500)]
[PATCH] m68k: Amiga Ariadne Ethernet new driver model

From: Geert Uytterhoeven <geert@linux-m68k.org>

Ariadne Ethernet: Convert to the new driver model

22 years ago[PATCH] m68k: Amiga A2065 Ethernet new driver model
Andrew Morton [Tue, 24 Feb 2004 15:00:37 +0000 (10:00 -0500)]
[PATCH] m68k: Amiga A2065 Ethernet new driver model

From: Geert Uytterhoeven <geert@linux-m68k.org>

A2065 Ethernet: Convert to the new driver model

22 years ago[PATCH] m68k: Atari Pamsnet warning
Andrew Morton [Tue, 24 Feb 2004 15:00:30 +0000 (10:00 -0500)]
[PATCH] m68k: Atari Pamsnet warning

From: Geert Uytterhoeven <geert@linux-m68k.org>

Atari Pamsnet Ethernet: Kill warning

22 years ago[PATCH] m68k: Sun-3 LANCE Ethernet
Andrew Morton [Tue, 24 Feb 2004 15:00:23 +0000 (10:00 -0500)]
[PATCH] m68k: Sun-3 LANCE Ethernet

From: Geert Uytterhoeven <geert@linux-m68k.org>

sun3lance updates from Sam Creasey:
  - Pass the correct flags to request_irq()
  - Add debug code for transmitting packets

22 years ago[PATCH] Allow pcnet_cs to work with shared irq
Stephen Hemminger [Tue, 24 Feb 2004 15:00:15 +0000 (10:00 -0500)]
[PATCH] Allow pcnet_cs to work with shared irq

Here is a rediff'd version of the patch to fix shared irq handling in pcnet_cs
and generic 8390 drivers.

22 years ago[PATCH] Re: IA32 (2.6.3 - 2004-02-18.22.30) - 4 New warnings (gcc 3.2.2)
Stephen Hemminger [Tue, 24 Feb 2004 15:00:08 +0000 (10:00 -0500)]
[PATCH] Re: IA32 (2.6.3 - 2004-02-18.22.30) - 4 New warnings (gcc 3.2.2)

Error path (EISA) probe was using device before set.

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#            ChangeSet 1.1567  -> 1.1568
#   drivers/net/dgrs.c 1.23    -> 1.24
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 04/02/19 shemminger@osdl.org 1.1568
# fix bug in eisa error path.
# --------------------------------------------
#

22 years ago[netdrvr e100] Response to Jeff's review plus some minor fixes.
Scott Feldman [Tue, 24 Feb 2004 14:50:10 +0000 (09:50 -0500)]
[netdrvr e100] Response to Jeff's review plus some minor fixes.

* define dump stats complete constant
* add mwb() to keep order straight with HW when appending
  new resources to Rx and Tx queues
* increment stats for rx_dropped and rx_over_errors

22 years ago[PATCH] e1000: handle register_netdev failure
Scott Feldman [Tue, 24 Feb 2004 14:44:36 +0000 (09:44 -0500)]
[PATCH] e1000: handle register_netdev failure

* driver not handling failures of register_netdev
  [Stephen Hemminger (shemminger@osdl.org)]

22 years ago[PATCH] e1000: collision retry count too high
Scott Feldman [Tue, 24 Feb 2004 14:44:00 +0000 (09:44 -0500)]
[PATCH] e1000: collision retry count too high

* For half duplex, the IEEE says collision retry count should
  be 15 not 16.  Would cause really slow transfers on some hubs
  (i.e NetGear DS108).

22 years ago[PATCH] e1000: delay may be too small
Scott Feldman [Tue, 24 Feb 2004 14:43:32 +0000 (09:43 -0500)]
[PATCH] e1000: delay may be too small

* msec_delay macro wouldn't delay at all if x < 10, and
  wouldn't delay enough for x = 10.  Not a concern for
  2.6 (HZ=1000) but is for 2.4 (HZ=100).

22 years ago[PATCH] e1000: disable CSA fix for 82547
Scott Feldman [Tue, 24 Feb 2004 14:43:09 +0000 (09:43 -0500)]
[PATCH] e1000: disable CSA fix for 82547

* Multiple reports of system lock-ups with the CSA patch, so
  let's disable fix for now until we can understand why this
  is causing the hangs.  It was first thought that only pre-
  productions systems would hang, but that's not true.

22 years ago[PATCH] e1000: disable TSO for now
Scott Feldman [Tue, 24 Feb 2004 14:42:49 +0000 (09:42 -0500)]
[PATCH] e1000: disable TSO for now

* Disable TSO as default setting until some hangs/resets caused
  with TSO enabled are root-caused.  TSO can still be manually
  enabled using ethtool -K.

22 years ago[PATCH] e1000: flow control
Scott Feldman [Tue, 24 Feb 2004 14:42:35 +0000 (09:42 -0500)]
[PATCH] e1000: flow control

* Bug fix: flow control high/low watermark settings not
  within Rx FIFO range: math error.

22 years ago[PATCH] 3c359_microcode.h clean up - 2.6.3
Mike Phillips [Tue, 24 Feb 2004 14:42:27 +0000 (09:42 -0500)]
[PATCH] 3c359_microcode.h clean up - 2.6.3

Small patch to clean up 3c359_micrcode.h, no other drivers in the kernel
come anywhere near the file and the #if is superflous.

Mike Phillips

22 years ago[PATCH] pcnet32.c fix compile error
Don Fry [Tue, 24 Feb 2004 14:29:26 +0000 (09:29 -0500)]
[PATCH] pcnet32.c fix compile error

Arrgh.  I sent the wrong diff file.  This one fixes the compile error I
introduced ;-(

22 years ago[PATCH] whitespace only change to pcnet32.c
Don Fry [Tue, 24 Feb 2004 14:29:19 +0000 (09:29 -0500)]
[PATCH] whitespace only change to pcnet32.c

Last change for a while.  This modifies the whitespace only.
consistent indentation, deletes trailing tabs, trailing spaces, etc.

22 years ago[PATCH] pcnet32.c adds loopback test
Don Fry [Tue, 24 Feb 2004 14:29:12 +0000 (09:29 -0500)]
[PATCH] pcnet32.c adds loopback test

This adds the ability to do a local loopback test for the adapter.  This
source was submitted by James Lewis <jklewis@us.ibm.com>.  Tested on PPC
and IA32 systems.

22 years ago[PATCH] pcnet32.c add PCI hot remove support
Don Fry [Tue, 24 Feb 2004 14:29:04 +0000 (09:29 -0500)]
[PATCH] pcnet32.c add PCI hot remove support

This patch adds support for PCI hot remove.  Tested on PPC64 boxes.
The driver has also been checked to comply with PCMCIA/cardbus remove
requirements, but as I don't have a PCMCIA card, it is untested.
If a PCMCIA card is removed, reads will return FFFF.  The FFFF will
cause all while loops to exit.

22 years ago[PATCH] pcnet32.c non-mii errors with ethtool
Don Fry [Tue, 24 Feb 2004 14:28:57 +0000 (09:28 -0500)]
[PATCH] pcnet32.c non-mii errors with ethtool

pcnet32 devices which do not contain an mii respond incorrectly to
ethtool commands.

Reported by VANDROVE@vc.cvut.cz and Thomas Munck Steenholdt.

22 years ago[PATCH] pcnet32.c handle failures in open
Don Fry [Tue, 24 Feb 2004 14:28:50 +0000 (09:28 -0500)]
[PATCH] pcnet32.c handle failures in open

If there are errors in the open routine, the driver does not correctly clean
up and free resources.

This also removes an unnecessary netif_wake_queue, correctly supports the
debug parameter, and updates the version and date.

22 years ago[PATCH] 2.6.3 pcnet32.c change to use ethtool_ops
Don Fry [Tue, 24 Feb 2004 14:28:42 +0000 (09:28 -0500)]
[PATCH] 2.6.3 pcnet32.c change to use ethtool_ops

This changes the driver to use ethtool_ops to be more modular.  There is a
net delta of just a one line between the two implementations, but permission
checking and copying to/from user space, etc. is all done in a consistent
manner by ethtool.c

22 years ago[PATCH] 2.6.3 pcnet32.c convert to use netif_msg_*
Don Fry [Tue, 24 Feb 2004 14:28:35 +0000 (09:28 -0500)]
[PATCH] 2.6.3 pcnet32.c convert to use netif_msg_*

This patch converts the driver to use netif_msg_* for printing messages.
Tested IA32.

22 years ago[PATCH] 2.6.3 pcnet32.c wrong vendor ID fix
Don Fry [Tue, 24 Feb 2004 14:28:26 +0000 (09:28 -0500)]
[PATCH] 2.6.3 pcnet32.c wrong vendor ID fix

This patch was originally sent by Jon Mason on Sat Jan 31.

"I created a patch that allows pcnet32 adapters sold in IBM RS/6000 systems
to be recognized in non-ppc computers.  The problem is that the Vendor ID
of this adapter is incorrect.  There is a ppc specific workaround to get
it working on that architecture (checkout
http://lxr.linux.no/source/arch/ppc/kernel/pci.c?a=ppc#L87
for the workaround), but it obviously won't fix the problem in non-ppc
architectures."

22 years agoAdd Documentation/networking/netif-msg.txt, describing the
Jeff Garzik [Tue, 24 Feb 2004 08:38:03 +0000 (03:38 -0500)]
Add Documentation/networking/netif-msg.txt, describing the
per-network-interface message logging standards for net drivers.

Written by Donald Becker.

22 years ago[PATCH] strip: use kernel min/max
Randy Dunlap [Tue, 24 Feb 2004 08:27:37 +0000 (03:27 -0500)]
[PATCH] strip: use kernel min/max

Domen Puncer schrieb:
>
> Just some suggestions...
>
>> #define ELEMENTS_OF(X) (sizeof(X) / sizeof((X)[0]))
>
> Remove this define and s/ELEMENTS_OF/ARRAY_SIZE/g
>

There are more occurances of redundant ARRAY_SIZEs in the kernel. I will
keep that in mind!

>
>
>>@@ -847,7 +845,7 @@
>> static int allocate_buffers(struct strip *strip_info, int mtu)
>> {
>>        struct net_device *dev = strip_info->dev;
>>-       int sx_size = MAX(STRIP_ENCAP_SIZE(MAX_RECV_MTU), 4096);
>>+       int sx_size = max((int)STRIP_ENCAP_SIZE(MAX_RECV_MTU), 4096);
>
>
> max_t?

Changed that to max_t and min_t. A newbie queston: What should when be
preferred and why?

22 years ago[PATCH] strip: remove warnings when !PROC_FS
Randy Dunlap [Tue, 24 Feb 2004 08:27:30 +0000 (03:27 -0500)]
[PATCH] strip: remove warnings when !PROC_FS

When !CONFIG_PROC_FS, I'm getting this warning:

drivers/net/wireless/strip.c:1169: warning: `strip_seq_fops' defined but not used

22 years ago[PATCH] ibmtr: use kernel min/max
Randy Dunlap [Tue, 24 Feb 2004 08:27:22 +0000 (03:27 -0500)]
[PATCH] ibmtr: use kernel min/max

22 years ago[PATCH] ne: eliminate unused var. warning
Randy Dunlap [Tue, 24 Feb 2004 08:27:15 +0000 (03:27 -0500)]
[PATCH] ne: eliminate unused var. warning

22 years agoMerge bk://linux-dj.bkbits.net/cpufreq
Linus Torvalds [Tue, 24 Feb 2004 08:20:39 +0000 (00:20 -0800)]
Merge bk://linux-dj.bkbits.net/cpufreq
into ppc970.osdl.org:/home/torvalds/v2.5/linux

22 years ago[CPUFREQ] Extra sanity checks in longhaul.
Dave Jones [Tue, 24 Feb 2004 19:10:44 +0000 (19:10 +0000)]
[CPUFREQ] Extra sanity checks in longhaul.

22 years ago[CPUFREQ] Don't set up longhaul voltage scaling too early.
Dave Jones [Tue, 24 Feb 2004 19:08:55 +0000 (19:08 +0000)]
[CPUFREQ] Don't set up longhaul voltage scaling too early.
We can bomb out early, so don't poke any registers just in case.

22 years ago[PATCH] typo fix in intermezzo patch
Alexander Viro [Tue, 24 Feb 2004 05:30:10 +0000 (21:30 -0800)]
[PATCH] typo fix in intermezzo patch

Sigh...  Build/fix bugs/rediff/send the old diff story...
Sorry - just have noticed that ;-/

22 years ago[PATCH] CONFIG_REGPARM breaks non-asmlinkage syscalls
Andreas Gruenbacher [Tue, 24 Feb 2004 04:29:27 +0000 (20:29 -0800)]
[PATCH] CONFIG_REGPARM breaks non-asmlinkage syscalls

With CONFIG_REGPARM=y, syscalls must be declared asmlinkage or else
calling them will fail.

This fix adds a few missing declarations for sys_fadvise64_64() and
sys_remap_file_pages().

22 years ago[PATCH] fix SCSI non-sector bio backed IO
Jens Axboe [Tue, 24 Feb 2004 04:26:03 +0000 (20:26 -0800)]
[PATCH] fix SCSI non-sector bio backed IO

This fixes the SCSI layer to handle non-sector-aligned requests from
SG_IO (and potentially anything else producing these requests) that
could stall the machine and cause all sorts of funnies depending on the
low level driver used.