]> git.hungrycats.org Git - linux/log
linux
22 years ago[TG3]: Update driver version and reldate.
David S. Miller [Mon, 30 Aug 2004 08:46:34 +0000 (01:46 -0700)]
[TG3]: Update driver version and reldate.

22 years ago[TG3]: Fix clock control programming on 5705/5750.
David S. Miller [Mon, 30 Aug 2004 08:46:01 +0000 (01:46 -0700)]
[TG3]: Fix clock control programming on 5705/5750.

Need to clear one bit at a time, so if we are
clearing both 625_CORE_CLOCK and ALTCLOCK
we first clear the latter then the final
write will clear the former.

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[TG3]: Add capacitive coupling support.
David S. Miller [Mon, 30 Aug 2004 08:43:38 +0000 (01:43 -0700)]
[TG3]: Add capacitive coupling support.

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[TG3]: Check MAC_STATUS_SIGNAL_DET in serdes polling.
Michael Chan [Mon, 30 Aug 2004 08:43:00 +0000 (01:43 -0700)]
[TG3]: Check MAC_STATUS_SIGNAL_DET in serdes polling.

Otherwise we do not handle properly the case
where the switch/hub does not support auto-
negotiation.  This is what was breaking 5704
hw fiber autoneg.

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[TG3]: Add 5750 A3 workaround.
David S. Miller [Mon, 30 Aug 2004 08:42:09 +0000 (01:42 -0700)]
[TG3]: Add 5750 A3 workaround.

Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[TG3]: Disable CIOBE split, as per Broadcom's driver.
David S. Miller [Wed, 18 Aug 2004 12:37:24 +0000 (05:37 -0700)]
[TG3]: Disable CIOBE split, as per Broadcom's driver.

Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[TG3]: Do tg3_netif_start() under lock.
David S. Miller [Wed, 18 Aug 2004 10:33:05 +0000 (03:33 -0700)]
[TG3]: Do tg3_netif_start() under lock.

Signed-off-by: David S. Miller <davem@redhat.com>
22 years agoCset exclude: davem@nuts.davemloft.net|ChangeSet|20040817010613|52352
David S. Miller [Wed, 18 Aug 2004 08:51:14 +0000 (01:51 -0700)]
Cset exclude: davem@nuts.davemloft.net|ChangeSet|20040817010613|52352

22 years ago[TG3]: Always set MAC_EVENT_LNKSTATE_CHANGED even when serdes polling.
David S. Miller [Wed, 18 Aug 2004 08:48:43 +0000 (01:48 -0700)]
[TG3]: Always set MAC_EVENT_LNKSTATE_CHANGED even when serdes polling.

Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[TG3]: Remove autoneg handling from fibre_autoneg() unneeded.
David S. Miller [Wed, 18 Aug 2004 08:36:43 +0000 (01:36 -0700)]
[TG3]: Remove autoneg handling from fibre_autoneg() unneeded.

Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[TG3]: Do not forget to re-enable interrupts on tg3_init_hw() code paths.
David S. Miller [Mon, 16 Aug 2004 11:06:13 +0000 (04:06 -0700)]
[TG3]: Do not forget to re-enable interrupts on tg3_init_hw() code paths.

This broke MTU changing, among other things.

Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[TG3]: Revamp fibre PHY handling.
David S. Miller [Mon, 16 Aug 2004 10:43:20 +0000 (03:43 -0700)]
[TG3]: Revamp fibre PHY handling.

- Clearly seperate hw-assisted vs. by-hand handling.
- Seperate PHY ID vs. Serdes state.

Should fix 5704 Fibre brokenness introduced by Sun
patches.

Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[TIGON3]: Mention that firmware is copyrighted by Broadcom.
David S. Miller [Mon, 16 Aug 2004 08:32:17 +0000 (01:32 -0700)]
[TIGON3]: Mention that firmware is copyrighted by Broadcom.

22 years agoMerge ppc970.osdl.org:/home/torvalds/v2.6/v2.6.8.1
Linus Torvalds [Fri, 13 Aug 2004 20:56:40 +0000 (13:56 -0700)]
Merge ppc970.osdl.org:/home/torvalds/v2.6/v2.6.8.1
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoLinux 2.6.8.1 v2.6.8.1
Linus Torvalds [Fri, 13 Aug 2004 20:54:09 +0000 (13:54 -0700)]
Linux 2.6.8.1

22 years ago[PATCH] Fix NFS client screw-up in fcntl f_op removal
Jeff Garzik [Fri, 13 Aug 2004 20:52:45 +0000 (13:52 -0700)]
[PATCH] Fix NFS client screw-up in fcntl f_op removal

Fix stupid thinkos in the fcntl f_op removal code.

22 years agoFix stupid thinkos in the fcntl f_op removal code.
Linus Torvalds [Fri, 13 Aug 2004 20:44:08 +0000 (13:44 -0700)]
Fix stupid thinkos in the fcntl f_op removal code.

Tssk.

22 years agoMake 'WRITE_BUFFER' require CAP_RAWIO capability
Linus Torvalds [Fri, 13 Aug 2004 20:24:55 +0000 (13:24 -0700)]
Make 'WRITE_BUFFER' require CAP_RAWIO capability

Pointed out by Kai Makisara.

22 years agoMerge intel.com:/home/lenb/bk/linux-2.6.8
Len Brown [Fri, 13 Aug 2004 22:41:01 +0000 (18:41 -0400)]
Merge intel.com:/home/lenb/bk/linux-2.6.8
into intel.com:/home/lenb/src/linux-acpi-test-2.6.8

22 years agomerge
Len Brown [Fri, 13 Aug 2004 22:32:45 +0000 (18:32 -0400)]
merge

22 years ago[ACPI] Enter ACPI mode earlier
Len Brown [Fri, 13 Aug 2004 21:11:05 +0000 (17:11 -0400)]
[ACPI] Enter ACPI mode earlier
Fixes two common boot failures due to buggy SMM BIOS code

SMP boot crash if SMI_CMD=ACPI written from CPU1
http://bugzilla.kernel.org/show_bug.cgi?id=2941

laptop crash due to LAPIC timer before SMI_CMD=ACPI
http://bugzilla.kernel.org/show_bug.cgi?id=1269

22 years agoLinux 2.6.8 v2.6.8
Linus Torvalds [Fri, 13 Aug 2004 15:28:28 +0000 (08:28 -0700)]
Linux 2.6.8

22 years agoMerge intel.com:/home/lenb/bk/linux-2.6.8
Len Brown [Fri, 13 Aug 2004 14:06:49 +0000 (10:06 -0400)]
Merge intel.com:/home/lenb/bk/linux-2.6.8
into intel.com:/home/lenb/src/linux-acpi-test-2.6.8

22 years ago[ACPI] clean out blacklist entries that do nothing
Len Brown [Fri, 13 Aug 2004 13:52:32 +0000 (09:52 -0400)]
[ACPI] clean out blacklist entries that do nothing

22 years ago[PATCH] lasi_82596 update
Matthew Wilcox [Fri, 13 Aug 2004 07:40:33 +0000 (00:40 -0700)]
[PATCH] lasi_82596 update

Update lasi 82596 driver:
 - Fix boot messages (Helge Deller)
 - Whitespace and __FILE__ usage (Joel Soete)
 - 64-bit compile warning fixes (James Bottomley)

22 years ago[PATCH] cdrom: MO-drive open write fix
Stefan Meyknecht [Fri, 13 Aug 2004 03:57:08 +0000 (20:57 -0700)]
[PATCH] cdrom: MO-drive open write fix

This trivial fix allows mounting MO-drives readwrite.

Acked by Jens.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] PA-RISC update
Matthew Wilcox [Fri, 13 Aug 2004 03:49:08 +0000 (20:49 -0700)]
[PATCH] PA-RISC update

 - __PAGE_OFFSET is 0x10000000 (Randolph Chung)
 - PA8800 support (Grant Grundler)
 - debuglocks (Thibaut Varene)
 - PDC chassis disabling (Thibaut Varene)
 - Distinguish between Dinos in request_irq (Thibaut Varene)
 - Document interrupt registers (Randolph Chung)
 - Revamp CONFIG_DISCONTIGMEM support (Randolph Chung)
 - Remove STI console warning and special casing (Randolph Chung)
 - n4000 defconfig (Randolph Chung)
 - iosapic fixes (Bjorn Helgaas)
 - Fix a bug in entry.S where pa_dbit_lock was being trashed (Randolph Chung)
 - SMP support (Randolph Chung, Grant Grundler, James Bottomley)
 - Clear the pte in the fault handler (Joel Soete)
 - Change _exit prototype (Carlos O'Donell)
 - Better unwinding support (Randolph Chung)
 - GCC 3.4 fixes (Carlos O'Donell, Randolph Chung)

22 years ago[PATCH] Remove fcntl f_op
Matthew Wilcox [Fri, 13 Aug 2004 02:48:04 +0000 (19:48 -0700)]
[PATCH] Remove fcntl f_op

The newly introduced ->fcntl file_operation is badly thought out,
not to mention undocumented.  This patch replaces it with two better
defined operations -- check_flags and dir_notify.  Any other fcntl()s
that filesystems are interested in can have their own properly typed
f_op method when they need it.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-pcmcia
Linus Torvalds [Thu, 12 Aug 2004 11:37:58 +0000 (04:37 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-pcmcia
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PCMCIA] pd6729: add MODULE_DESCRIPTION and MODULE_AUTHOR, fix comment style
Russell King [Thu, 12 Aug 2004 17:29:18 +0000 (18:29 +0100)]
[PCMCIA] pd6729: add MODULE_DESCRIPTION and MODULE_AUTHOR, fix comment style

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Thu, 12 Aug 2004 11:35:02 +0000 (04:35 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[ARM PATCH] 2002/1: lh7a40x Timer fixup
Marc Singer [Fri, 13 Aug 2004 00:15:44 +0000 (01:15 +0100)]
[ARM PATCH] 2002/1: lh7a40x Timer fixup

Patch from Marc Singer

The work already done to rectify the timer code initialization missed
a necessary change.  This patch adds a timer initialization function
to the LPD7A400 machine type.  It also makes a small correction to the
kernel configuration that is out of step with the machine specific
Kconfig.

22 years ago[ARM PATCH] 2001/1: lh7a40x IDE cleanup
Marc Singer [Fri, 13 Aug 2004 00:08:22 +0000 (01:08 +0100)]
[ARM PATCH] 2001/1: lh7a40x IDE cleanup

Patch from Marc Singer

This patch aligns the lh7a40x port with the updated structure of IDE
drivers.  It also removes an unused FIQ handler.  This patch is made
in order to get the lh7a40x port to build.

22 years ago[ARM PATCH] 2012/1: Use -malignment-traps instead of -mshort-load-bytes if gcc suppor...
Catalin Marinas [Thu, 12 Aug 2004 18:09:50 +0000 (19:09 +0100)]
[ARM PATCH] 2012/1: Use -malignment-traps instead of -mshort-load-bytes if gcc supports it

Patch from Catalin Marinas

This patch replaces the -mshort-load-bytes option with $(call
check_gcc,-malignment-traps,-mshort-load-bytes) in the CFLAGS
setting in arch/arm/Makefile.

22 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Thu, 12 Aug 2004 11:32:27 +0000 (04:32 -0700)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
David S. Miller [Thu, 12 Aug 2004 13:27:51 +0000 (06:27 -0700)]
Merge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
into kernel.bkbits.net:/home/davem/sparc-2.6

22 years ago[PATCH] ppc32: Fix warning on CONFIG_PPC32 && CONFIG_6xx
Tom Rini [Thu, 12 Aug 2004 11:24:36 +0000 (04:24 -0700)]
[PATCH] ppc32: Fix warning on CONFIG_PPC32 && CONFIG_6xx

In the *ppos cleanups, proc_dol2crvec was updated, but the prototype
found at the top of kernel/sysctl.h was not, generating warning.  This
corrects the prototype to match the code.

(I'm gonna take a stab at moving these into arch/ppc shortly)

Signed-off-by: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoAllow non-root users certain raw commands if they are deemed safe.
Linus Torvalds [Thu, 12 Aug 2004 10:51:15 +0000 (03:51 -0700)]
Allow non-root users certain raw commands if they are deemed safe.

We allow more commands if the disk was opened read-write.

22 years agoPass done file pointer to block device ioctl's
Linus Torvalds [Thu, 12 Aug 2004 10:03:59 +0000 (03:03 -0700)]
Pass done file pointer to block device ioctl's

They'll need it for permission checking.

22 years agoMerge intel.com:/home/lenb/bk/linux-2.6.8
Len Brown [Thu, 12 Aug 2004 07:56:29 +0000 (03:56 -0400)]
Merge intel.com:/home/lenb/bk/linux-2.6.8
into intel.com:/home/lenb/src/linux-acpi-test-2.6.8

22 years ago[SPARC64]: Fix non-SMP build.
David S. Miller [Thu, 12 Aug 2004 05:53:18 +0000 (22:53 -0700)]
[SPARC64]: Fix non-SMP build.

Signed-off-by: David S. Miller <davem@redhat.com>
22 years agoBe a bit more anal about allowing SCSI commands to be sent.
Linus Torvalds [Thu, 12 Aug 2004 02:43:09 +0000 (19:43 -0700)]
Be a bit more anal about allowing SCSI commands to be sent.

Normal users shouldn't have access to the raw device anyway
unless they are in the trusted "disk" group, but let's require
RAWIO capabilities. That's what the original SCSI interfaces
did anyhoo.

We probably _should_ just require write access, but that will
need more of a code change to pass down the file descriptor.

22 years ago[PATCH] setup queue before elevator_init()
Jens Axboe [Thu, 12 Aug 2004 02:27:27 +0000 (19:27 -0700)]
[PATCH] setup queue before elevator_init()

We must setup the queue before calling elevator_init(), otherwise the
elevator cannot use the queue members. This really hurts cfq since it
checks ->nr_requests, which is zero at that time.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Remove CONFIG_SERIAL_8250_MANY_PORTS from Ebony / Ocotea
Tom Rini [Wed, 11 Aug 2004 09:48:43 +0000 (02:48 -0700)]
[PATCH] Remove CONFIG_SERIAL_8250_MANY_PORTS from Ebony / Ocotea

CONFIG_SERIAL_8250_MANY_PORTS should not be set for these boards, as
they only have 2 serial ports.

Signed-off-by: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Fix unsigned underflow in xdr decoding.
Neil Brown [Wed, 11 Aug 2004 09:48:02 +0000 (02:48 -0700)]
[PATCH] Fix unsigned underflow in xdr decoding.

With 'len' being unsigned now, we must make sure it never tries
to go negative...

Thanks: griffon26@kfk4ever.com (Maurice van der Pot)

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[SPARC64]: Update defconfig.
David S. Miller [Wed, 11 Aug 2004 08:23:48 +0000 (01:23 -0700)]
[SPARC64]: Update defconfig.

22 years ago[SPARC64]: Change TIF_BLKCOMMIT into a fault code.
David S. Miller [Wed, 11 Aug 2004 08:15:49 +0000 (01:15 -0700)]
[SPARC64]: Change TIF_BLKCOMMIT into a fault code.

Eliminates costly atomic bitops in do_sparc64_fault.

Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[SPARC64]: Kill swapper_space test in arch/sparc64/mm/tlb.c
David S. Miller [Wed, 11 Aug 2004 08:08:15 +0000 (01:08 -0700)]
[SPARC64]: Kill swapper_space test in arch/sparc64/mm/tlb.c

It is bogus, plus it breaks the build with
CONFIG_SWAP disabled.

Based upon a patch from Ben Collins (bcollins@debian.org)

Signed-off-by: David S. Miller <davem@redhat.com>
22 years agoMerge intel.com:/home/lenb/bk/linux-2.6.8
Len Brown [Wed, 11 Aug 2004 08:05:47 +0000 (04:05 -0400)]
Merge intel.com:/home/lenb/bk/linux-2.6.8
into intel.com:/home/lenb/src/linux-acpi-test-2.6.8

22 years agoMerge bk://linux-mtd.bkbits.net/mtd-2.6
Linus Torvalds [Wed, 11 Aug 2004 03:24:56 +0000 (20:24 -0700)]
Merge bk://linux-mtd.bkbits.net/mtd-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoFix MTD partitioning modular build.
David Woodhouse [Tue, 10 Aug 2004 23:09:18 +0000 (00:09 +0100)]
Fix MTD partitioning modular build.

22 years agoMerge bk://linux-mtd.bkbits.net/mtd-2.6
David Woodhouse [Tue, 10 Aug 2004 23:03:26 +0000 (00:03 +0100)]
Merge bk://linux-mtd.bkbits.net/mtd-2.6
into dwmw2.baythorne.internal:/inst/bk/mtd-2.6

22 years agoExport new mtd_erase_callback() function.
David Woodhouse [Tue, 10 Aug 2004 19:04:08 +0000 (20:04 +0100)]
Export new mtd_erase_callback() function.

22 years agoRedBoot flash partitioning: use vmalloc for buffer.
David Woodhouse [Tue, 10 Aug 2004 17:58:29 +0000 (18:58 +0100)]
RedBoot flash partitioning: use vmalloc for buffer.

22 years agoRestore physmap configure-time settings according to user requests.
Josh Boyer [Tue, 10 Aug 2004 17:13:52 +0000 (18:13 +0100)]
Restore physmap configure-time settings according to user requests.
Patch from Jun Sun.

Signed-Off-By: David Woodhouse <dwmw2@infradead.org>
22 years agoM-Systems DiskOnChip driver update.
David Woodhouse [Tue, 10 Aug 2004 16:36:45 +0000 (17:36 +0100)]
M-Systems DiskOnChip driver update.

- Add Millennium Plus support.
- Add advanced probe configuration options
- Fix abuse of buffer space in scan for Media Header.

22 years agoCosmetic MTD changes -- update email address and idents.
David Woodhouse [Tue, 10 Aug 2004 16:30:30 +0000 (17:30 +0100)]
Cosmetic MTD changes -- update email address and idents.

22 years agoFix use-after-free bug in MTD partitioning code.
David Woodhouse [Tue, 10 Aug 2004 16:25:01 +0000 (17:25 +0100)]
Fix use-after-free bug in MTD partitioning code.

Define callback wrapper function mtd_erase_callback() to handle
partition offsets during the callback, rather than attempting to
fix them up in the freed erase_info structure after the callback
has already happened.

22 years agoMerge bk://gkernel.bkbits.net/net-drivers-2.6
Linus Torvalds [Tue, 10 Aug 2004 07:30:09 +0000 (00:30 -0700)]
Merge bk://gkernel.bkbits.net/net-drivers-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PATCH] bk-netdev-hp-plus-fix
Andrew Morton [Tue, 10 Aug 2004 13:00:51 +0000 (09:00 -0400)]
[PATCH] bk-netdev-hp-plus-fix

Signed-off-by: Andrew Morton <akpm@osdl.org>
22 years ago[PATCH] wrong mac address with netgear FA311 ethernet card
Andrew Morton [Tue, 10 Aug 2004 13:00:41 +0000 (09:00 -0400)]
[PATCH] wrong mac address with netgear FA311 ethernet card

From: Mathieu LESNIAK <maverick@eskuel.net>

This patch corrects a problem with Netgear FA311
ethernet card (a cheap one). Without it, the MAC address is byte swapped
ie :
HWaddr 02:00:07:E3:E9:F5
instead of :
HWaddr 00:02:E3:07:F5:E9

(the correct MAC address vendor code for Netgear/LiteOn is 00:02:E3)

Signed-off-by: Andrew Morton <akpm@osdl.org>
22 years ago[PATCH] bk-netdev-axnet_cs-fix
Andrew Morton [Tue, 10 Aug 2004 13:00:31 +0000 (09:00 -0400)]
[PATCH] bk-netdev-axnet_cs-fix

Signed-off-by: Andrew Morton <akpm@osdl.org>
22 years ago[PATCH] Atmel wireless bigendian fix.
Simon Kelley [Tue, 10 Aug 2004 13:00:21 +0000 (09:00 -0400)]
[PATCH] Atmel wireless bigendian fix.

The following patch adds a couple of missing byteswaps and allows the
Atmel wireless driver to work in WEP mode on big-endian CPUs. (tested
on powerPC).

22 years ago[PATCH] prism54 Fix supported rates reporting
Margit Schubert-While [Tue, 10 Aug 2004 12:51:47 +0000 (08:51 -0400)]
[PATCH] prism54 Fix supported rates reporting

* We are not correctly reporting supported bit rates.
* Fix it.

22 years ago[PATCH] prism54 Fix memory leaks
Margit Schubert-While [Tue, 10 Aug 2004 12:51:37 +0000 (08:51 -0400)]
[PATCH] prism54 Fix memory leaks

* Change the "version" OID to what it should be.
* Fix memory leaks - mgt_get_request always returns
* allocated memory for non-int OIDS (with an exception -
* keep reading). If the caller checks the return and itself
* returns, then it must free memory.
* However, it is possible to return from mgt_get_request
* early (!priv->mib). In this case, weird things can happen
* in isl_ioctl. Quick fix, at least to force an oops, is
* to set the union value to NULL. The real fix is to
* recode all mgt_get_request calls in isl_ioctl.

22 years ago[PATCH] prism54 URGENT - Fix IRQ handling
Margit Schubert-While [Tue, 10 Aug 2004 12:51:27 +0000 (08:51 -0400)]
[PATCH] prism54 URGENT - Fix IRQ handling

* We are handing back HANDLED even though the IRQ is not for us.
  We also change device state.
  This is plainly wrong.
  AFAICT we also need to take the spin lock early.
  Tested/running on UP/SMP for about a week now.
  (Discovered on one of my lappies that had the X driver on the same IRQ)
  (Proposed on Prism54 Devel with no objections)

22 years ago[PATCH] prism54 Clarification to Viro's patch
Margit Schubert-While [Tue, 10 Aug 2004 12:51:17 +0000 (08:51 -0400)]
[PATCH] prism54 Clarification to Viro's patch

* It seems that Viro patched prism54 with the following patch set :
http://www.kernel.org/pub/linux/kernel/v2.6/testing/cset/
cset-viro@www.linux.org.uk[torvalds]|ChangeSet|20040727040034|54764.txt

* I do not see any indication in any mailing list of this.
  It would be nice if we could be informed of such changes :-)

* (Changes committed to our CVS)

22 years agoMerge bk://kernel.bkbits.net/jgarzik/libata-upstream-2.6
Linus Torvalds [Tue, 10 Aug 2004 06:54:43 +0000 (23:54 -0700)]
Merge bk://kernel.bkbits.net/jgarzik/libata-upstream-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[libata] unmap MMIO region _after_ last possible usage
Andrew Chew [Tue, 10 Aug 2004 12:39:06 +0000 (08:39 -0400)]
[libata] unmap MMIO region _after_ last possible usage

22 years ago[libata sata_nv] support for hardware, bug fixes
Andrew Chew [Tue, 10 Aug 2004 12:36:18 +0000 (08:36 -0400)]
[libata sata_nv] support for hardware, bug fixes

22 years ago[PATCH] 4kstacks: fix compile with gcc 2.95
Dave Hansen [Tue, 10 Aug 2004 04:47:59 +0000 (21:47 -0700)]
[PATCH] 4kstacks: fix compile with gcc 2.95

Investigation of why the build is failing due to bogus detection of
undefined symbols: We're getting this warning:

arch/i386/kernel/irq.c
{standard input}: Assembler messages:
{standard input}:3565: Warning: setting incorrect section type for
.bss.page_aligned

Which comes from this code in the 4k stacks code:

static char softirq_stack[NR_CPUS * THREAD_SIZE]  __attribute__((__aligned__(THREAD_SIZE), __section__(".bss.page_aligned")));
static char hardirq_stack[NR_CPUS * THREAD_SIZE]  __attribute__((__aligned__(THREAD_SIZE), __section__(".bss.page_aligned")));

Removing the __section__() fixes it, as does moving to gcc 3.2 or 3.3,
but gcc 2.95 and 3.0 still exhibit the problem.  It seems the 4k stack
developers like newer compilers than I do :)

The gcc 2.95 section declaration looks like this:
.section        .bss.page_aligned,"aw",@progbits
while the 3.1 section looks like this:
.section        .bss.page_aligned,"aw",@nobits

It's definitely a bug that's been fixed:
http://sources.redhat.com/ml/binutils/2002-10/msg00507.html

I've been told that I can fix it with a carefully crafted assembly file and
maybe a change to the linker script, but all that it buys us is a little
space in the uncompressed kernel image.  Plus, the warning will still be
there at compile-time.

I say, put them back in plain old BSS.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Adrian Bunk <bunk@fs.tum.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Tue, 10 Aug 2004 03:00:51 +0000 (20:00 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Tue, 10 Aug 2004 02:58:56 +0000 (19:58 -0700)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PATCH] via-rhine: Really call rhine_power_init()
Roger Luethi [Tue, 10 Aug 2004 02:57:16 +0000 (19:57 -0700)]
[PATCH] via-rhine: Really call rhine_power_init()

Without this patch, mainline via-rhine cannot wake the chip if some other
driver puts it to D3. The problem has hit quite a few people already.

This is a fix for the heisenbug with via-rhine refusing to work
sometimes. Patch "[9/9] Restructure reset code" contained a change made
necessary by patch [8/9]. Mainline merged [8/9] for 2.6.8 and is still
missing the fix, while -mm got it with [9/9].

Jesper Juhl provided crucial test data when no one else was able to
reproduce the symptoms.

Signed-off-by: Roger Luethi <rl@hellgate.ch>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] export kblockd_schedule_work()
Jens Axboe [Tue, 10 Aug 2004 02:57:07 +0000 (19:57 -0700)]
[PATCH] export kblockd_schedule_work()

This is used by some IBM vscsi driver. It was using schedule_work(), but
should be using the block layer queue.

Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
David S. Miller [Mon, 9 Aug 2004 22:09:24 +0000 (15:09 -0700)]
Merge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
into kernel.bkbits.net:/home/davem/sparc-2.6

22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/net-2.6
David S. Miller [Mon, 9 Aug 2004 22:01:09 +0000 (15:01 -0700)]
Merge davem@nuts.davemloft.net:/disk1/BK/net-2.6
into kernel.bkbits.net:/home/davem/net-2.6

22 years ago[SPARC64]: Fix spitfire bugs in tlb flush and copy_page changes.
David S. Miller [Mon, 9 Aug 2004 14:28:42 +0000 (07:28 -0700)]
[SPARC64]: Fix spitfire bugs in tlb flush and copy_page changes.

- VISEntry clobbers %g3, so have to do %asi stuff
  after we invoke it.
- Need to or in 0x10 to TLB flush addresses when
  flushing in secondary context
- Context register restore using wrong address register
- Spitfire not so tolerant of membar in delay slot.

Signed-off-by: David S. Miller <davem@redhat.com>
22 years agoLinux 2.6.8-rc4 v2.6.8-rc4
Linus Torvalds [Mon, 9 Aug 2004 12:12:40 +0000 (05:12 -0700)]
Linux 2.6.8-rc4

22 years agoread/write: pass down a copy of f_pos, not f_pos itself.
Linus Torvalds [Mon, 9 Aug 2004 10:28:42 +0000 (03:28 -0700)]
read/write: pass down a copy of f_pos, not f_pos itself.

This allows the VFS layer to the update rather than the
low-level drivers.

22 years agoFix up drivers that access file->f_pos directly.
Linus Torvalds [Mon, 9 Aug 2004 10:23:30 +0000 (03:23 -0700)]
Fix up drivers that access file->f_pos directly.

Use the proper "pointer to pos" that is passed down instead.

22 years agomips: fix up some straggling sysctl functions
Linus Torvalds [Mon, 9 Aug 2004 10:22:10 +0000 (03:22 -0700)]
mips: fix up some straggling sysctl functions

22 years agoRevert FAT NLS changes.
Linus Torvalds [Mon, 9 Aug 2004 09:57:09 +0000 (02:57 -0700)]
Revert FAT NLS changes.

It's causing massive user confusion, and breaks installers by
mounting the filesystem read-only.

Cset exclude: hirofumi@mail.parknet.co.jp[torvalds]|ChangeSet|20040802210150|02337

22 years ago[PKT_SCHED]: Disable local bh's when grabbing qdisc_tree_lock in tc_dump_tfilter.
Patrick McHardy [Mon, 9 Aug 2004 09:53:43 +0000 (02:53 -0700)]
[PKT_SCHED]: Disable local bh's when grabbing qdisc_tree_lock in tc_dump_tfilter.

I missed this one when fixing locking in __qdisc_destroy.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[PATCH] dvb: missing includes
Johannes Stezenbach [Mon, 9 Aug 2004 09:46:38 +0000 (02:46 -0700)]
[PATCH] dvb: missing includes

Although the current DVB stuff compiles fine, for correctness the following
patch adds the necessary include for __user annotations.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] boolean typo in DVB
Dave Jones [Mon, 9 Aug 2004 09:46:26 +0000 (02:46 -0700)]
[PATCH] boolean typo in DVB

This looks like what was intended here..

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PKT_SCHED]: Fix borrowing fairness in htb.
Martin Devera [Mon, 9 Aug 2004 09:45:36 +0000 (02:45 -0700)]
[PKT_SCHED]: Fix borrowing fairness in htb.

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Mon, 9 Aug 2004 09:44:39 +0000 (02:44 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[ARM] Fix two makefile problems
Russell King [Mon, 9 Aug 2004 19:22:30 +0000 (20:22 +0100)]
[ARM] Fix two makefile problems

- bootp.lds is a source file not a target
- vmlinux.lds doesn't need to depend on the top level Makefile

22 years ago[CRYPTO]: Add Khazad algorithm.
Aaron Grothe [Mon, 9 Aug 2004 09:44:16 +0000 (02:44 -0700)]
[CRYPTO]: Add Khazad algorithm.

Signed-off-by: Aaron Grothe <ajgrothe@yahoo.com>
Signed-off-by: James Morris <jmorris@redhat.com>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[NET]: Kill stray NET_FASTROUTE references.
Pawel Sikora [Mon, 9 Aug 2004 09:41:53 +0000 (02:41 -0700)]
[NET]: Kill stray NET_FASTROUTE references.

Signed-off-by: Pawel Sikora <pluto@pld-linux.org>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[BRIDGE]: Fix problems with filtering and defragmentation.
Stephen Hemminger [Mon, 9 Aug 2004 09:40:29 +0000 (02:40 -0700)]
[BRIDGE]: Fix problems with filtering and defragmentation.

Dave, this patch from Bart De Schuymer <bdschuym@pandora.be> fixes problems
when using filtering and defragmentation.  The bridge needs to enforce the
MTU restriction after going through the filtering chain not before, because
the incoming filter may have reassembled an IP packet, that then needs to
be fragmented on the output chain.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[IPSEC]: Add missing flow_cache_genid update to xfrm_policy_delete()
Eugene Surovegin [Mon, 9 Aug 2004 09:38:57 +0000 (02:38 -0700)]
[IPSEC]: Add missing flow_cache_genid update to xfrm_policy_delete()

Signed-off-by: Eugene Surovegin <ebs@ebshome.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[PATCH] knfsd: fix some signed ints that should be unsigned
Neil Brown [Mon, 9 Aug 2004 09:37:34 +0000 (02:37 -0700)]
[PATCH] knfsd: fix some signed ints that should be unsigned

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[VLAN]: Fix device refcount bug.
Stephen Hemminger [Mon, 9 Aug 2004 09:36:44 +0000 (02:36 -0700)]
[VLAN]: Fix device refcount bug.

If you rmmod a network device that is in a vlan, the system hangs waiting
for the refcount to go to zero, because it is -1.  The problem is that the
vlan notifier does an extra dev_put in NETDEV_UNREGISTER case of notifier.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[VLAN]: Use RCU for group operations.
Stephen Hemminger [Mon, 9 Aug 2004 09:35:43 +0000 (02:35 -0700)]
[VLAN]: Use RCU for group operations.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[VLAN]: Mirror real devices carrier and hotplug state.
Stephen Hemminger [Mon, 9 Aug 2004 09:34:46 +0000 (02:34 -0700)]
[VLAN]: Mirror real devices carrier and hotplug state.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[VLAN]: Propagate ethtool/mii ioctls to the real device.
Stephen Hemminger [Mon, 9 Aug 2004 09:33:10 +0000 (02:33 -0700)]
[VLAN]: Propagate ethtool/mii ioctls to the real device.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[SPARC64]: More entropy in add_timer_randomness.
David S. Miller [Mon, 9 Aug 2004 09:11:14 +0000 (02:11 -0700)]
[SPARC64]: More entropy in add_timer_randomness.

Based upon a patch from Richard Mortimer.

Signed-off-by: David S. Miller <davem@redhat.com>
22 years agoFix up sound driver proc-reading interfaces.
Linus Torvalds [Mon, 9 Aug 2004 09:09:47 +0000 (02:09 -0700)]
Fix up sound driver proc-reading interfaces.

The old ones were not only hard to use, they were in fact
impossible or a low-level sound driver to get right, since
the core sound code didn't even export all the necessary
information.

Add the file offset to the /proc read interfaces, and make
them simpler to use. The core now does a offset updates, and
sanity-checks the values so that the low-level drivers don't
need to worry.