]> git.neil.brown.name Git - history.git/log
history.git
21 years ago[ARM PATCH] 1897/1: prevent selecting more than one PXA target
Nicolas Pitre [Sat, 29 May 2004 21:54:21 +0000 (22:54 +0100)]
[ARM PATCH] 1897/1: prevent selecting more than one PXA target

Patch from Nicolas Pitre

... since this is not supported at the moment and would fail to build.

21 years ago[ARM PATCH] 1872/1: base clock difference between PXA25x and PXA27x
Nicolas Pitre [Sat, 29 May 2004 21:50:19 +0000 (22:50 +0100)]
[ARM PATCH] 1872/1: base clock difference between PXA25x and PXA27x

Patch from Nicolas Pitre

21 years ago[ARM PATCH] 1898/1: fix io_v2p macro on PXA
Nicolas Pitre [Sat, 29 May 2004 21:41:43 +0000 (22:41 +0100)]
[ARM PATCH] 1898/1: fix io_v2p macro on PXA

Patch from Nicolas Pitre

Correcting my own screw-up, found by Ian Campbell.

21 years ago[ARM] Remove obsolete asm-arm/arch-*/keyboard.h
Russell King [Sat, 29 May 2004 12:44:29 +0000 (13:44 +0100)]
[ARM] Remove obsolete asm-arm/arch-*/keyboard.h

21 years ago[ARM] Ensure AMBA devices on Versatile have a correct dma_mask
Russell King [Sat, 29 May 2004 12:12:55 +0000 (13:12 +0100)]
[ARM] Ensure AMBA devices on Versatile have a correct dma_mask

21 years ago[ARM] Move common definitions to asm/memory.h
Russell King [Sat, 29 May 2004 11:53:46 +0000 (12:53 +0100)]
[ARM] Move common definitions to asm/memory.h

Virtually all the architecture specific memory.h files were defining
the same constants and v<->p translations the same way.  Move them to
asm/memory.h

21 years ago[PATCH] radeonfb iBook & IGP fixes
Benjamin Herrenschmidt [Fri, 28 May 2004 14:25:09 +0000 (07:25 -0700)]
[PATCH] radeonfb iBook & IGP fixes

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

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

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

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

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

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

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

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

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

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

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

From: Christoph Hellwig <hch@lst.de>

All watchdog drivers need linux/fs.h

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

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

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

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

Tested by Sean Young

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

When drivers starts show the correct watchdog driver info.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Suggested patch does this:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

ia64: Implement race-free ptep_set_access_flags()

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

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

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

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

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

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

Contributed by: Ayyappan.Veeraiyan@intel.com

Changes:

Features implemented

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

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

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

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

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

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

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

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

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

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

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

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

From: Jeff Lightfoot <jeffml@pobox.com>

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

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

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

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

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

Found another patch that should go with this batch:

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

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

Replace USE_MEM and USE_IO with USE_MMIO define.

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

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

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

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

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

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

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

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

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

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

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

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

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

Also included are driver version update and change logs

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

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

Reduce scope of tx_lock

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

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

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

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

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

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

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

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

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

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

21 years ago[PATCH] pcnet32: fix bogus carrier errors with 79c973
Don Fry [Thu, 27 May 2004 09:12:15 +0000 (05:12 -0400)]
[PATCH] pcnet32: fix bogus carrier errors with 79c973

The 79C973 version of the pcnet32 chipset would report all transmit
operations as being sent with a carrier error.  The root cause was
writing reserved bits in bcr33.  It caused the 973 to report xmit
as errors, and caused 975 and 976 to hard hang when reading bcr34.

My thanks to Bruce Penrod for his help in finding the cause of this
bug.

21 years ago[PATCH] pcnet32: limit frames received during interrupt.
Don Fry [Thu, 27 May 2004 09:12:06 +0000 (05:12 -0400)]
[PATCH] pcnet32: limit frames received during interrupt.

The current code will allow an infinite number of frames to be received
during one interrupt.  Tested ia32 and ppc64.

21 years ago[PATCH] pcnet32: remove timer and complexity.
Don Fry [Thu, 27 May 2004 09:04:02 +0000 (05:04 -0400)]
[PATCH] pcnet32: remove timer and complexity.

This removes the timer I recently added, and the 'ltint' interrupt
mitigation from the 79C971 and 79C972. It did not improve performance,
added complexity, and was a bad idea in hind sight.

21 years ago[PATCH] pcnet32: fix boundary comparison bug.
Don Fry [Thu, 27 May 2004 09:03:48 +0000 (05:03 -0400)]
[PATCH] pcnet32: fix boundary comparison bug.

This patch fixes a boundary condition.  It is possible to get an
interrupt and have the transmit queue completely full.  Without this
the driver will leak skb's and pci maps (if the arch supports them).

21 years ago[PATCH] pcnet32: correct 79C976 variant string.
Don Fry [Thu, 27 May 2004 09:03:35 +0000 (05:03 -0400)]
[PATCH] pcnet32: correct 79C976 variant string.

This patch correctly identifies the 79C976 as a PCnet/PRO not a FAST III.

21 years ago[PATCH] pcnet32: avoid hard hang with some chip variants.
Don Fry [Thu, 27 May 2004 09:03:22 +0000 (05:03 -0400)]
[PATCH] pcnet32: avoid hard hang with some chip variants.

This patch fixes a hard hang with 79C975 and 79C976 chip variants when
dumping BCR register #34.

21 years ago[PATCH] pcnet32: add static to two routines.
Don Fry [Thu, 27 May 2004 09:03:08 +0000 (05:03 -0400)]
[PATCH] pcnet32: add static to two routines.

This patch adds 'static' to two routines.  The prototype has static but
the instantiation did not.

21 years ago[PATCH] Fix incorrect but unused define in net_sk_mca.h
Rusty Russell [Thu, 27 May 2004 08:54:22 +0000 (04:54 -0400)]
[PATCH] Fix incorrect but unused define in net_sk_mca.h

 From:  Jean Delvare <khali@linux-fr.org>

21 years ago[PATCH] Update Alfred Arnold contact info
Rusty Russell [Thu, 27 May 2004 08:54:08 +0000 (04:54 -0400)]
[PATCH] Update Alfred Arnold contact info

 From:  Jean Delvare <khali@linux-fr.org>

21 years ago[PATCH] Fix 8139too ring size for dreamcast/embedded
Paul Mundt [Thu, 27 May 2004 08:53:44 +0000 (04:53 -0400)]
[PATCH] Fix 8139too ring size for dreamcast/embedded

Presently 2.6.6 backs out the CONFIG_8139_RXBUF_IDX in favor of using a
hardcoded 8139_RXBUF_IDX (again). This seems to have been done due to
some issues occuring with 8139_RXBUF_IDX =3D=3D 3, however (as the Kconfig
pointed out), we still need 8139_RXBUF_IDX =3D=3D 1 in the CONFIG_SH_DREAMC=
AST
case.

The patch which made this change can be seen at:

{MIME-mangled URL}

Before that, CONFIG_8139_RXBUF_IDX was set to 1 both in the
CONFIG_SH_DREAMCAST and CONFIG_EMBEDDED cases. This patch adds that
back into the current 8139too.

21 years ago[PATCH] fix net/tulip/winbond-840.c warning.
Luiz Capitulino [Thu, 27 May 2004 08:52:07 +0000 (04:52 -0400)]
[PATCH] fix net/tulip/winbond-840.c warning.

21 years agoRemove the smbios driver as it is not needed.
Greg Kroah-Hartman [Thu, 27 May 2004 08:48:10 +0000 (01:48 -0700)]
Remove the smbios driver as it is not needed.

You can do the same from userspace, and the author requests that the
driver be deleted from the kernel tree before people start using it.

21 years agoMerge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
David S. Miller [Thu, 27 May 2004 03:07:06 +0000 (20:07 -0700)]
Merge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
into nuts.davemloft.net:/disk1/BK/sparc-2.6

21 years ago[SPARC64]: Export _do_write_trylock to modules.
David S. Miller [Thu, 27 May 2004 02:49:52 +0000 (19:49 -0700)]
[SPARC64]: Export _do_write_trylock to modules.

21 years ago[PATCH] nfsd: deleting symlinks over nfs causes oops on unmount
Andrew Morton [Thu, 27 May 2004 00:36:46 +0000 (17:36 -0700)]
[PATCH] nfsd: deleting symlinks over nfs causes oops on unmount

From: "J. Bruce Fields" <bfields@fieldses.org>
From: Neil Brown <neilb@cse.unsw.edu.au>

This fixes an oops on unmount (failure of the assertation at
fs/ext3/super.c:421).  Probably reproduceable just by creating and deleting a
single symlink over nfs and then unmounting the exported filesystem.

Recent change to fh_compose means dentry reference is *not* consumed, and so
usually has to be explicitly dput afterwards.  One usage was missed in that
patch, so this dput is needed.

Signed-off-by: Andrew Morton <akpm@osdl.org>
21 years ago[PATCH] Print backtrace for bad vfree()
Andrew Morton [Thu, 27 May 2004 00:36:36 +0000 (17:36 -0700)]
[PATCH] Print backtrace for bad vfree()

From: Andi Kleen <ak@suse.de>

Only the printk alone is not too useful, print the backtrace too.

Signed-off-by: Andrew Morton <akpm@osdl.org>
21 years ago[PATCH] swsusp documentation updates
Andrew Morton [Thu, 27 May 2004 00:36:25 +0000 (17:36 -0700)]
[PATCH] swsusp documentation updates

From: Pavel Machek <pavel@ucw.cz>

Signed-off-by: Andrew Morton <akpm@osdl.org>
21 years ago[PATCH] CPU Hotplug: restore Idle task's priority during CPU_DEAD notification
Andrew Morton [Thu, 27 May 2004 00:36:14 +0000 (17:36 -0700)]
[PATCH] CPU Hotplug: restore Idle task's priority during CPU_DEAD notification

From: Srivatsa Vaddagiri <vatsa@in.ibm.com>

Fix a CPU Hotplug problem wherein idle task's "->prio" value is not
restored to MAX_PRIO during CPU_DEAD handling.  Without this patch, once a
CPU is offlined and then later onlined, it becomes "more or less" useless
(does not run any task other than its idle task!)

Ingo said:

  The __setscheduler() call is (technically) incorrect because in the
  SCHED_NORMAL case the prio should be zero.  So it's a bit cleaner to set up
  the static priority to MAX_PRIO and then revert the policy to SCHED_NORMAL
  via __setscheduler().

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
21 years ago[PATCH] remove message: POSIX conformance testing by UNIFIX
Andrew Morton [Thu, 27 May 2004 00:36:04 +0000 (17:36 -0700)]
[PATCH] remove message: POSIX conformance testing by UNIFIX

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

Remove the outdated "POSIX conformance testing by UNIFIX" message.

There is a general desire to reduce the quantity of noisy and/or
outdated kernel boot-time messages...

Suggested by Andi Kleen.

Ulrich's (old) comments:
http://www.nsa.gov/selinux/list-archive/0107/0525.cfm

Certifying Linux (Linux Journal):
http://www.linuxjournal.com/article.php?sid=0131

Agreed by Tim Bird, no dissenters that I heard of:
http://marc.theaimsgroup.com/?l=linux-kernel&m=108362954024749&w=2

Signed-off-by: Andrew Morton <akpm@osdl.org>
21 years ago[PATCH] wdt.c warning fix
Andrew Morton [Thu, 27 May 2004 00:35:53 +0000 (17:35 -0700)]
[PATCH] wdt.c warning fix

drivers/char/watchdog/wdt.c: In function `wdt_init':
drivers/char/watchdog/wdt.c:638: warning: label `outrbt' defined but not used

Signed-off-by: Andrew Morton <akpm@osdl.org>
21 years ago[PATCH] Fix the setting of file->f_ra on block-special files
Andrew Morton [Thu, 27 May 2004 00:35:42 +0000 (17:35 -0700)]
[PATCH] Fix the setting of file->f_ra on block-special files

We need to set file->f_ra _after_ calling blkdev_open(), when inode->i_mapping
points at the right thing.  And we need to get it from
inode->i_mapping->host->i_mapping too, which represents the underlying device.

Also, don't test for null file->f_mapping in the O_DIRECT checks.

Signed-off-by: Andrew Morton <akpm@osdl.org>
21 years ago[PATCH] Set d_bucket correctly for anonymous dentries
Andrew Morton [Thu, 27 May 2004 00:35:31 +0000 (17:35 -0700)]
[PATCH] Set d_bucket correctly for anonymous dentries

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

In researching the oopses reported in bug #2761, Neil came up with:

I have found one problem, but it isn't particularly new and I cannot
 see how it would be related.

When d_alloc_anon creates an anonymous dentry, it is put on a special hash
chain for anonymous dentries (sb->s_anon), but d_bucket is set to

   d_hash(parent, name_hash)

If, when it is eventually moved to a proper name, that hash value is the same
as the final hash value, it will not be moved to the right bucket, and so it
not be accessible by name.  This patch should fix it.

anonymous dentries have their own private hash "bucket" (sb->s_anon) and so
d_bucket should be set to a unique (impossible) address, else d_move will
get confused.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
21 years ago[PATCH] posix locks oops fix
Andrew Morton [Thu, 27 May 2004 00:35:21 +0000 (17:35 -0700)]
[PATCH] posix locks oops fix

From: Andreas Gruenbacher <agruen@suse.de>

There is a race between unshare_files() and the following steal_locks().
As a consequence, steal_locks() may steal some additional FL_POSIX locks
that don't belong to the current thread.  This triggers a BUG in
locks_remove_flock().

In detail, the current thread shares its files struct with other threads.
This causes unshare_files() to associate the current thread with a copy of
its files_struct.  The copy shares all file objects with the original files
struct.  In the time between unshare_files() and steal_locks(), another
thread creates a new file and a FL_POSIX lock on it.  The current thread
gets into steal_locks() and takes over all FL_POSIX locks that refer to the
previous files_struct, including the new lock.  We do
put_files_struct(original files_struct).  This causes the file handle to
the new file to be closed.  We get into locks_remove_posix() and miss the
lock, because its fl_owner field now refers to the new files_struct.
Finally we get into locks_remove_flock(), and stumble upon the lock.

While looking into this bug report I gathered the following data with a
SUSE kernel (oops and LKCD dump from Chris):

kernel BUG at fs/locks.c:1736!
invalid operand: 0000 [#1]
SMP
CPU:    0
EIP:    0060:[<c01844fb>]    Tainted: G  U
EFLAGS: 00010246   (2.6.5-0-testing)
EIP is at locks_remove_flock+0x8b/0x130
eax: f7b89998   ebx: f61df3fc   ecx: f61df354   edx: 00000000
esi: f61df354   edi: f6702b80   ebp: f6179c24   esp: f6179c08
ds: 007b   es: 007b   ss: 0068
Process owcimomd (pid: 1713, threadinfo=f6178000 task=f66d0d60)
Stack: c1e1fdac c1e1fdac f7fe83c0 00000296 f6702b80 f7fe87c0 f61df354 f6179c3c
       c016ce00 f61ddadc f6702b80 00000000 f6703b00 f6179c54 c0168b1f c0000000
       0000026f 00000012 f6703b00 f6179c6c c0124ba7 00000001 f6179e5c f6179d88
Call Trace:
 [<c016ce00>] __fput+0x30/0x120
 [<c0168b1f>] filp_close+0x4f/0x90
 [<c0124ba7>] put_files_struct+0x67/0xc0
 [<c019d285>] load_elf_binary+0x3f5/0x1596
 [<c018a5af>] update_atime+0x9f/0xc0
 [<c01478fd>] __generic_file_aio_read+0x1cd/0x200
 [<c0145060>] file_read_actor+0x0/0xd0
 [<c01784b7>] search_binary_handler+0x97/0x270
 [<c017a072>] do_execve+0x172/0x200
 [<c0105fb2>] sys_execve+0x32/0x70
 [<c0107e21>] sysenter_past_esp+0x52/0x71

Code: 0f 0b c8 06 eb 74 35 c0 eb db b8 00 e0 ff ff 21 e0 8b 10 8b

put_files_struct+0x67 is equivalent to fs/binfmt_elf.c:681 in 2.6.6

current->files == fl->fl_owner
fl->fl_file = 0xf6702b80 (a valid struct file)

current->files =
  max_fds=32
  max_fdset=1024
  next_fd=3
  fd=[0xf6927080 0xf6951b80  0xf6951b80 0 ...]

Here's a proposed fix.  As a side effect, steal_locks no longer walks the
global list of locks, but only the locks of all open inodes.

What are the reasons (other than historic ones) for not getting rid of
fl_owner and using fl_pid instead, by the way?  I think that would clean up
the whole mess with file locks a bit.

Signed-off-by: Andrew Morton <akpm@osdl.org>
21 years ago[PATCH] ppc32: fix 'make O=...'
Andrew Morton [Thu, 27 May 2004 00:35:10 +0000 (17:35 -0700)]
[PATCH] ppc32: fix 'make O=...'

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

Fix arch/ppc/boot/ so that everything now works with 'make O='.

Partially by: Geoffrey LEVAND <geoffrey.levand@am.sony.com>.
Signed-off-by: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
21 years ago[PATCH] ppc64 kernel hackers can't spell
Andrew Morton [Thu, 27 May 2004 00:34:58 +0000 (17:34 -0700)]
[PATCH] ppc64 kernel hackers can't spell

From: Anton Blanchard <anton@samba.org>

From: Dave Hansen

This patch is obviously of the utmost importance.  It probably doesn't matter
as much for kernel error messages, but one of these mistakes is in a
user-readable /proc file.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
21 years ago[PATCH] PCI: restore pci config space on resume
Arjan van de Ven [Wed, 26 May 2004 08:37:25 +0000 (01:37 -0700)]
[PATCH] PCI: restore pci config space on resume

The patch below enhances the PCI layer with 2 things
1) enable and busmaster state are stored in the pci device struct
2) pci config space is stored to the pci device struct

with that, it is possible to make a generic pci resume method that restores
config space and reenables the device, including busmaster when appropriate.

One can rightfully argue that the driver resume method should do this, and
yes that is right. So the patch only does it for devices that don't have a
resume method. Like the main PCI bridge on my testbox of which the bios so
nicely forgets to restore the bus master bit during resume.. With this patch
my testbox resumes just fine while it, well, wasn't all too happy as you can
imagine without a busmaster pci bridge.

21 years ago[SPARC64]: Kill unused var warnings/errors.
David S. Miller [Wed, 26 May 2004 04:15:27 +0000 (21:15 -0700)]
[SPARC64]: Kill unused var warnings/errors.

21 years agoMerge bk://are.twiddle.net/axp-2.6
Linus Torvalds [Wed, 26 May 2004 02:08:10 +0000 (19:08 -0700)]
Merge bk://are.twiddle.net/axp-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Wed, 26 May 2004 02:06:26 +0000 (19:06 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux