]> git.hungrycats.org Git - linux/log
linux
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 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.

22 years ago[PATCH] Undo SCSI 8-byte alignment relaxation
James Bottomley [Tue, 24 Feb 2004 04:25:53 +0000 (20:25 -0800)]
[PATCH] Undo SCSI 8-byte alignment relaxation

This makes the default alignment requirements be 512 bytes for SCSI,
the way it used to be.

Jens will fix the SCSI layer problems, but low-level drivers might have
other restrictions on alignment.

22 years ago[PATCH] fix IRQBALANCE Kconfig dependencies
James Bottomley [Tue, 24 Feb 2004 01:53:03 +0000 (17:53 -0800)]
[PATCH] fix IRQBALANCE Kconfig dependencies

CONFIG_IRQBALANCE only affects arch/i386/kernel/io_apic.c, so you should
only see it as an option if you actually have one of those.  This patch
makes IRQBALANCE depend on X86_IO_APIC.

22 years agoMerge bk://linux-scsi.bkbits.net/scsi-for-linus-2.6
Linus Torvalds [Tue, 24 Feb 2004 01:35:01 +0000 (17:35 -0800)]
Merge bk://linux-scsi.bkbits.net/scsi-for-linus-2.6
into ppc970.osdl.org:/home/torvalds/v2.5/linux

22 years ago[PATCH] intermezzo ->permission() idiocy
Alexander Viro [Tue, 24 Feb 2004 00:09:51 +0000 (16:09 -0800)]
[PATCH] intermezzo ->permission() idiocy

... yes, Virginia, some perverts *do* tweak widely shared
method tables and do that in very sensitive spots, at that...

22 years ago[PATCH] ppc64 oops on /proc/cpuinfo
Benjamin Herrenschmidt [Tue, 24 Feb 2004 00:03:49 +0000 (16:03 -0800)]
[PATCH] ppc64 oops on /proc/cpuinfo

This fixes the ppc64 /proc/cpuinfo oops introduced with the lmb
cleanups.

We are trying to slowly phase out the LMB stuff (it mostly duplicates
functionality of bootmem...), this part got overlooked.

22 years agoMerge bk://bk.linux1394.org/ieee1394-2.6
Linus Torvalds [Mon, 23 Feb 2004 13:42:38 +0000 (05:42 -0800)]
Merge bk://bk.linux1394.org/ieee1394-2.6
into ppc970.osdl.org:/home/torvalds/v2.5/linux

22 years agoIEEE1394(r1161): Major cleanup and addition of a ud-class, to make things even cleaner.
Ben Collins [Mon, 23 Feb 2004 18:54:17 +0000 (13:54 -0500)]
IEEE1394(r1161): Major cleanup and addition of a ud-class, to make things even cleaner.

22 years agoohci1394(r1160): Disable cross_bound() check, and add code to try to enable connected...
Ben Collins [Mon, 23 Feb 2004 14:41:21 +0000 (09:41 -0500)]
ohci1394(r1160): Disable cross_bound() check, and add code to try to enable connected ports.

22 years agoIEEE1394(r1159): Merge run_packet_complete into kernel thread.
Ben Collins [Mon, 23 Feb 2004 14:30:53 +0000 (09:30 -0500)]
IEEE1394(r1159): Merge run_packet_complete into kernel thread.

22 years agoSBP2(r1158): We don't need a remove_host callback in sbp2.
Ben Collins [Mon, 23 Feb 2004 14:10:20 +0000 (09:10 -0500)]
SBP2(r1158): We don't need a remove_host callback in sbp2.

22 years agoIEEE1394(r1157): Create a kernel thread to handle all run_packet_complete() calls.
Ben Collins [Mon, 23 Feb 2004 13:34:39 +0000 (08:34 -0500)]
IEEE1394(r1157): Create a kernel thread to handle all run_packet_complete() calls.

22 years ago[PATCH] ppc64: fix cmd_line bugs
Andrew Morton [Mon, 23 Feb 2004 12:50:28 +0000 (04:50 -0800)]
[PATCH] ppc64: fix cmd_line bugs

From: Anton Blanchard <anton@samba.org>

There were a number of bugs in our cmd_line handling:

- We were looking at cmd_line after it had been tokenised. Use saved_command
  line instead
- Use strlcpy instead of memcpy/explicit NULL set.
- Remove magic numbers in iseries cmd_line parsing

22 years agoeth1394(r1156): Fix oddities when MacOSX is IRM. Also MacOSX sets an invalid sspd...
Ben Collins [Mon, 23 Feb 2004 12:49:16 +0000 (07:49 -0500)]
eth1394(r1156): Fix oddities when MacOSX is IRM. Also MacOSX sets an invalid sspd in the ARP reply.

22 years ago[PATCH] ppc64: uniprocessor compile fixes
Andrew Morton [Mon, 23 Feb 2004 12:46:17 +0000 (04:46 -0800)]
[PATCH] ppc64: uniprocessor compile fixes

From: Anton Blanchard <anton@samba.org>

UP compile fixes.

22 years ago[PATCH] ppc64: restore cpu names
Andrew Morton [Mon, 23 Feb 2004 12:46:07 +0000 (04:46 -0800)]
[PATCH] ppc64: restore cpu names

From: Anton Blanchard <anton@samba.org>

Restore the old cpu names in /proc/cpuinfo, some applications parse this
field.

22 years ago[PATCH] trivial oops formatting cleanups
Andrew Morton [Mon, 23 Feb 2004 12:45:56 +0000 (04:45 -0800)]
[PATCH] trivial oops formatting cleanups

From: Anton Blanchard <anton@samba.org>

Some trivial oops cleanups.

22 years ago[PATCH] fix for NUMA kernel on non NUMA machine
Andrew Morton [Mon, 23 Feb 2004 12:45:46 +0000 (04:45 -0800)]
[PATCH] fix for NUMA kernel on non NUMA machine

From: Anton Blanchard <anton@samba.org>

Set node 0 online, otherwise the recent cpu/memory topology stuff will oops
on a non NUMA machine.

22 years ago[PATCH] ppc64: set err to -ENODEV when a new node doesn't have "interrupt" property.
Andrew Morton [Mon, 23 Feb 2004 12:45:35 +0000 (04:45 -0800)]
[PATCH] ppc64: set err to -ENODEV when a new node doesn't have "interrupt" property.

From: Linda Xie <lxiep@us.ibm.com>

set err to -ENODEV when a new node doesn't have "interrupt" property.

22 years ago[PATCH] ppc64: Fix __get_SP()
Andrew Morton [Mon, 23 Feb 2004 12:45:25 +0000 (04:45 -0800)]
[PATCH] ppc64: Fix __get_SP()

From: Anton Blanchard <anton@samba.org>

__get_SP used to be a function call which meant we allocated a stack
frame before calling it. This meant the SP it returned was one frame
below the current function. Lets call that bogusSP (and the real one
SP).

The new dump_stack was being tail call optimised so it remained one
frame above bogusSP. dump_stack would then store below SP (as the ABI
allows us to) and would stomp over the back link that bogusSP pointed
to (__get_SP had set the back link up so it worked sometimes, just not
all the time).

Fix this by just making __get_SP an inline that returns the current SP.

22 years ago[PATCH] ppc64: don't link some non iSeries stuff
Andrew Morton [Mon, 23 Feb 2004 12:45:14 +0000 (04:45 -0800)]
[PATCH] ppc64: don't link some non iSeries stuff

From: Stephen Rothwell <sfr@canb.auug.org.au>

I think Ben introduced this new file and iSeries doesn't need it.

22 years ago[PATCH] ppc64: PER_CPU irq optimisations
Andrew Morton [Mon, 23 Feb 2004 12:45:03 +0000 (04:45 -0800)]
[PATCH] ppc64: PER_CPU irq optimisations

From: Anton Blanchard <anton@samba.org>

Another decent optimisation found in the ia64 port, dont take the irq
descriptor lock or do the note_interrupt stuff on PER_CPU irqs (ie IPIs).

22 years ago[PATCH] ppc64: Clean up per cpu usage in segment table code.
Andrew Morton [Mon, 23 Feb 2004 12:44:53 +0000 (04:44 -0800)]
[PATCH] ppc64: Clean up per cpu usage in segment table code.

From: Anton Blanchard <anton@samba.org>

Clean up per cpu usage in segment table code.

22 years ago[PATCH] ppc64: Make a number of segment table functions static.
Andrew Morton [Mon, 23 Feb 2004 12:44:42 +0000 (04:44 -0800)]
[PATCH] ppc64: Make a number of segment table functions static.

From: Anton Blanchard <anton@samba.org>

Make a number of segment table functions static.
Clean up one duplicated slbia.

22 years ago[PATCH] Add cpus and NUMA memory nodes to sysfs. Also add cpu physical id.
Andrew Morton [Mon, 23 Feb 2004 12:44:31 +0000 (04:44 -0800)]
[PATCH] Add cpus and NUMA memory nodes to sysfs. Also add cpu physical id.

From: Anton Blanchard <anton@samba.org>

Add cpus and NUMA memory nodes to sysfs. Also add cpu physical id.

22 years ago[PATCH] ppc64: remove get_users in backtrace code
Andrew Morton [Mon, 23 Feb 2004 12:44:21 +0000 (04:44 -0800)]
[PATCH] ppc64: remove get_users in backtrace code

From: Anton Blanchard <anton@samba.org>

The might_sleep infrastructure doesnt like our get_users in the backtrace
code, we often end up with might_sleep warnings inside might_sleep warnings.

Instead just be careful about pointers before dereferencing them.

Also remove the hack where we only printed the bottom 32bits of the WCHAN
value.

22 years ago[PATCH] ppc64: Add stack overflow debugging
Andrew Morton [Mon, 23 Feb 2004 12:44:10 +0000 (04:44 -0800)]
[PATCH] ppc64: Add stack overflow debugging

From: Anton Blanchard <anton@samba.org>

This adds stack overflow debugging much like x86. Its pretty agressive
and checks if > 8kB out of 16kB of stack is used.

22 years ago[PATCH] ppc64: This cleans up the rtasd logic, and also makes it hotplug CPU safe.
Andrew Morton [Mon, 23 Feb 2004 12:44:00 +0000 (04:44 -0800)]
[PATCH] ppc64: This cleans up the rtasd logic, and also makes it hotplug CPU safe.

From: Rusty Russell <rusty@rustcorp.com.au>

This cleans up the rtasd logic, and also makes it hotplug CPU safe.

22 years ago[PATCH] ppc64: remove useless smp_message_pass args
Andrew Morton [Mon, 23 Feb 2004 12:43:49 +0000 (04:43 -0800)]
[PATCH] ppc64: remove useless smp_message_pass args

From: Anton Blanchard <anton@samba.org>

smp_message_pass has a few args that are never used. Remove em.
Also add memory missing memory barrier in smp_call_function_interrupt.

22 years ago[PATCH] ppc64 cpu spinup fixes
Andrew Morton [Mon, 23 Feb 2004 12:43:38 +0000 (04:43 -0800)]
[PATCH] ppc64 cpu spinup fixes

From: Rusty Russell <rusty@rustcorp.com.au>

1) Check for cpuids >= NR_CPUS in prom_hold_cpus: we previously
   overflowed arrays when this happened, and checking it here ensures
   that it doesn't happen elsewhere.  Still move processors to
   secondary_hold (out of OF), but we won't release them.

2) smp_iSeries_message_pass and smp_xics_message_pass don't need to
   iterate if given a specific CPU: cleanup and fix.

3) kick_cpu variants don't need to check cpu range (caller is screwed
   anyway if this happened): replaced with BUG_ON for now.

4) smp_openpic_probe and smp_xics_probe can use cpus_weight(): it's
   faster and simpler.

5) User for_each_cpu/for_each_online_cpu as appropriate.

22 years ago[PATCH] ppc64: fix warning and compile error without CONFIG_SMP
Andrew Morton [Mon, 23 Feb 2004 12:43:29 +0000 (04:43 -0800)]
[PATCH] ppc64: fix warning and compile error without CONFIG_SMP

From: Hollis Blanchard <hollisb@us.ibm.com>

fix warning and compile error without CONFIG_SMP

22 years ago[PATCH] fix naming collision with asm-ppc64/vio.h
Andrew Morton [Mon, 23 Feb 2004 12:43:19 +0000 (04:43 -0800)]
[PATCH] fix naming collision with asm-ppc64/vio.h

From: Dave Boutcher <sleddog@us.ibm.com>

fix naming collision with asm-ppc64/vio.h. The define would be set there and
this file would not get pulled in.

22 years ago[PATCH] ppc64: Fix for valid nvram rtas tokens.
Andrew Morton [Mon, 23 Feb 2004 12:43:07 +0000 (04:43 -0800)]
[PATCH] ppc64: Fix for valid nvram rtas tokens.

From: Olaf Hering <olh@suse.de>

Fix for valid nvram rtas tokens.

22 years ago[PATCH] Add 970FX entry into the cputable.
Andrew Morton [Mon, 23 Feb 2004 12:42:57 +0000 (04:42 -0800)]
[PATCH] Add 970FX entry into the cputable.

From: Jake Moilanen <moilanen@austin.ibm.com>

Add 970FX entry into the cputable.

22 years ago[PATCH] ppc64: Add -funit-at-a-time
Andrew Morton [Mon, 23 Feb 2004 12:42:46 +0000 (04:42 -0800)]
[PATCH] ppc64: Add -funit-at-a-time

From: Anton Blanchard <anton@samba.org>

Be like x86 and enable -funit-at-a-time.
Use the check_gcc hook when enabling -mcpu=power4/-mtune=power4.