opensuse:kernel.git
15 years agoMerge tp1.ruhr-uni-bochum.de:/home/kai/kernel/linux-2.5
Kai Germaschewski [Sat, 16 Feb 2002 17:05:17 +0000 (18:05 +0100)]
Merge tp1.ruhr-uni-bochum.de:/home/kai/kernel/linux-2.5
into tp1.ruhr-uni-bochum.de:/home/kai/kernel/linux-2.5.isdn.hisax_hfcpci

15 years ago[PATCH] pid allocator bugfix
J. A. Magallon [Thu, 14 Feb 2002 09:33:14 +0000 (01:33 -0800)]
[PATCH] pid allocator bugfix

This patch fixes a bug in the Linux process ID allocator.  It isn't quite
SMP safe since it references "last_pid" after releasing the lock protecting
it.  This can result in two processes getting assigned the same process ID.

15 years ago[PATCH] NeoMagic FPU fix (2.5.5-pre1)
Denis Oliver Kropp [Thu, 14 Feb 2002 09:30:48 +0000 (01:30 -0800)]
[PATCH] NeoMagic FPU fix (2.5.5-pre1)

this is the NeoMagic floating foint removal patch
I posted previously for Linux 2.4.18-pre9-ac3.

Best regards,
  Denis Oliver Kropp

15 years agoMerge http://linux-isdn.bkbits.net/linux-2.5.isdn
Linus Torvalds [Thu, 14 Feb 2002 07:09:39 +0000 (23:09 -0800)]
Merge http://linux-isdn.bkbits.net/linux-2.5.isdn
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

15 years agoMerge tp1.ruhr-uni-bochum.de:/home/kai/kernel/linux-2.5
Kai Germaschewski [Thu, 14 Feb 2002 01:27:14 +0000 (02:27 +0100)]
Merge tp1.ruhr-uni-bochum.de:/home/kai/kernel/linux-2.5
into tp1.ruhr-uni-bochum.de:/home/kai/kernel/linux-2.5.isdn.hisax_hfcpci

15 years agoMerge linux-isdn@linux-isdn.bkbits.net:linux-2.5.isdn
Kai Germaschewski [Thu, 14 Feb 2002 00:55:44 +0000 (01:55 +0100)]
Merge linux-isdn@linux-isdn.bkbits.net:linux-2.5.isdn
into tp1.ruhr-uni-bochum.de:/home/kai/kernel/linux-2.5.isdn

15 years ago[PATCH] xattr updates (minor, 4/4)
Nathan Scott [Wed, 13 Feb 2002 13:45:51 +0000 (05:45 -0800)]
[PATCH] xattr updates (minor, 4/4)

This final patch is a simple documentation fixup patch filling
in the blanks for the extended attribute interfaces; and fixes
a typo in the same spot: "permission".

Nathan

15 years ago[PATCH] xattr updates (minor, 3/4)
Nathan Scott [Wed, 13 Feb 2002 13:45:45 +0000 (05:45 -0800)]
[PATCH] xattr updates (minor, 3/4)

This next incremental patch tidies up the data types passed back
from the `list' and `get' extended attribute syscalls - these now
match the design (ie. using ssize_t) rather than simply using long
or int everywhere; also now use const types in the VFS interface,
where appropriate.

Nathan

15 years ago[PATCH] xattr updates (minor, 2/4)
Nathan Scott [Wed, 13 Feb 2002 13:45:40 +0000 (05:45 -0800)]
[PATCH] xattr updates (minor, 2/4)

This incremental patch fixes copying out of an extended attribute
value or name list.  Previously we copied out the entire buffer
passed in from userspace, now we only copy out the size which the
underlying filesystem tells us to (ie. we will no longer include
potentialy-initialised data as well).

Nathan

15 years ago[PATCH] xattr updates (minor, 1/4)
Nathan Scott [Wed, 13 Feb 2002 13:45:35 +0000 (05:45 -0800)]
[PATCH] xattr updates (minor, 1/4)

This first patch fixes the copying in of extended attribute
names from userspace in the extended attribute syscalls (a
problem found when using electric fence on the user tools).

Nathan

15 years ago[PATCH] alsa + x86-64
Peter Samuelson [Wed, 13 Feb 2002 13:43:33 +0000 (05:43 -0800)]
[PATCH] alsa + x86-64

Obvious patch to make x86_64 pick up new sound location

15 years agoMerge bk://linuxusb.bkbits.net/linus-2.5
Linus Torvalds [Wed, 13 Feb 2002 13:41:26 +0000 (05:41 -0800)]
Merge bk://linuxusb.bkbits.net/linus-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

15 years agoMerge master.kernel.org:/home/mochel/BK/linux-2.5
Linus Torvalds [Wed, 13 Feb 2002 13:38:52 +0000 (05:38 -0800)]
Merge master.kernel.org:/home/mochel/BK/linux-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

15 years agomem_flags added to usb_submit_urb().
Greg Kroah-Hartman [Wed, 13 Feb 2002 09:39:56 +0000 (01:39 -0800)]
mem_flags added to usb_submit_urb().
This fixes usb drivers outside of the drivers/usb directory.

15 years agoadded mem_flags to usb_submit_urb().
Greg Kroah-Hartman [Wed, 13 Feb 2002 09:38:41 +0000 (01:38 -0800)]
added mem_flags to usb_submit_urb().
Fixes drivers/usb/storage.
Patch done by Oliver Neukum.

15 years agoadded mem_flags to usb_submit_urb().
Greg Kroah-Hartman [Wed, 13 Feb 2002 09:37:10 +0000 (01:37 -0800)]
added mem_flags to usb_submit_urb().
This fixes the drivers in drivers/usb/serial.
Patch done by Oliver Neukum.

15 years agoAdded mem_flags to usb_submit_urb().
Greg Kroah-Hartman [Wed, 13 Feb 2002 09:36:19 +0000 (01:36 -0800)]
Added mem_flags to usb_submit_urb().
This modifies the drivers in drivers/usb.
Patch done by Oliver Neukum.

15 years agoAdded mem_flags to usb_submit_urb(), this is the USB core code changes.
Greg Kroah-Hartman [Wed, 13 Feb 2002 09:34:58 +0000 (01:34 -0800)]
Added mem_flags to usb_submit_urb(), this is the USB core code changes.

15 years agousb vicam driver:
Oliver Neukum [Wed, 13 Feb 2002 09:18:52 +0000 (01:18 -0800)]
usb vicam driver:
- fix for memory leak.

15 years agousb hpusbscsi driver fixes:
Oliver Neukum [Wed, 13 Feb 2002 09:15:28 +0000 (01:15 -0800)]
usb hpusbscsi driver fixes:
- special case for REQUEST_SENSE
- reset handling won't work properly -> disabled
- error reporting corrected

15 years ago[PATCH] USB OHCI powerbook fix (v2.5.4)
Paul Mackerras [Wed, 13 Feb 2002 09:12:38 +0000 (01:12 -0800)]
[PATCH] USB OHCI powerbook fix (v2.5.4)

The patch below fixes a compile problem in the USB OHCI HCD driver on
powerbooks, namely that the ohci_hcd structure doesn't have an irq
member.

Paul.

15 years agodevice model/driverfs updates
Patrick Mochel [Wed, 13 Feb 2002 07:27:07 +0000 (23:27 -0800)]
device model/driverfs updates

15 years agoupdate version
Linus Torvalds [Wed, 13 Feb 2002 04:53:55 +0000 (20:53 -0800)]
update version

15 years ago[PATCH] BKL shifted inside ->unlink()
Alexander Viro [Wed, 13 Feb 2002 04:31:22 +0000 (20:31 -0800)]
[PATCH] BKL shifted inside ->unlink()

Next one in the series - this time it's ->unlink()...

15 years ago[PATCH] misc fixes
Alexander Viro [Wed, 13 Feb 2002 04:31:17 +0000 (20:31 -0800)]
[PATCH] misc fixes

1) proc/<pid>/fd readdir() has broken locking - sometimes it ends up with
task->files->file_lock locked.

2) missing variable definition in arch/s390x/kernel/linux32.c::cp_new_stat32().

Please, apply - the first one is really serious.

15 years ago[PATCH] BKL shifted into ->mknod()
Alexander Viro [Wed, 13 Feb 2002 04:31:13 +0000 (20:31 -0800)]
[PATCH] BKL shifted into ->mknod()

15 years ago[PATCH] SMP-safe ext2/namei.c
Alexander Viro [Wed, 13 Feb 2002 04:31:09 +0000 (20:31 -0800)]
[PATCH] SMP-safe ext2/namei.c

BKL held around ->i_nlink changes in ext2/namei.c.  That makes
namei.c SMP-safe (dir.c already is).  BKL dropped around ext2_free_inode() -
it's already SMP-safe (the only place that needed BKL was DQUOT_FREE_INODE()
and it got BKL in the previous patch).

15 years ago[PATCH] BKL shifted into ->create()
Alexander Viro [Wed, 13 Feb 2002 04:31:05 +0000 (20:31 -0800)]
[PATCH] BKL shifted into ->create()

BKL shifted into ->create().  lock_kernel()/unlock_kernel() added
in dquot_{alloc,free}_inode() - that makes {ext2,minix,sysv,ufs}_read_inode()
SMP-safe.

15 years ago[PATCH] ext2/inode.c cleanup.
Alexander Viro [Wed, 13 Feb 2002 04:31:00 +0000 (20:31 -0800)]
[PATCH] ext2/inode.c cleanup.

ext2_read_inode() and ext2_update_inode() share large chunk
of code - getting a buffer_head with raw inode in it.
Moved into a helper function (ext2_get_inode()), the rest
of ext2_{read,update}_inode() slightly cleaned up.

15 years ago[PATCH] x86_64 merge: fs/proc/inode.c #include fix
Andi Kleen [Wed, 13 Feb 2002 04:17:43 +0000 (20:17 -0800)]
[PATCH] x86_64 merge: fs/proc/inode.c #include fix

fs/proc/inode.c is using __init, but for some reason missing an
#include <linux/init.h>. Add this.

15 years ago[PATCH] x86-64 MAINTAINERS
Andi Kleen [Wed, 13 Feb 2002 04:17:39 +0000 (20:17 -0800)]
[PATCH] x86-64 MAINTAINERS

Add Andi Kleen as x86-64 maintainer.

15 years ago[PATCH] x86_64 merge: arch + asm
Andi Kleen [Wed, 13 Feb 2002 04:17:35 +0000 (20:17 -0800)]
[PATCH] x86_64 merge: arch + asm

This adds the x86_64 arch and asm directories and a Documentation/x86_64.

It took a bit longer because I first had to make preemption and thread_info
work and also found some other bugs while doing this. The port has been
tested for a long time on UP.

I'm not sure what I should describe.  A lot is based on i386 with
a lot of cleanups. I wrote a paper about it for last year's OLS that describes
most of the changes (ftp://ftp.firstfloor.org/pub/ak/x86_64.ps.gz). It is
a bit outdated now, but should give a good overview.

It currently has a completely cut'n'pasted from others+hacked 32bit
emulation. I hope to clean that up in the future by merging the generic
core of this with other 64bit archs.

Thanks,
-Andi

15 years ago[PATCH] x86_64-merge file.c warning
Andi Kleen [Wed, 13 Feb 2002 04:17:29 +0000 (20:17 -0800)]
[PATCH] x86_64-merge file.c warning

Just an gcc 3.1 warning fix. It now warns about __FUNCTION__ string
concatenation. Also remove the check because it does not seem to trigger
ever.

-Andi

15 years agoAvoid pci driver warnings on 64-bit hosts
Linus Torvalds [Wed, 13 Feb 2002 04:09:34 +0000 (20:09 -0800)]
Avoid pci driver warnings on 64-bit hosts

15 years agoupdate version
Linus Torvalds [Wed, 13 Feb 2002 03:34:48 +0000 (19:34 -0800)]
update version

15 years agoMerge http://gkernel.bkbits.net/misc-2.5
Linus Torvalds [Wed, 13 Feb 2002 05:02:27 +0000 (21:02 -0800)]
Merge http://gkernel.bkbits.net/misc-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

15 years agoInclude linux/compiler.h in include/asm-i386/bitops.h,
Jeff Garzik [Wed, 13 Feb 2002 09:05:47 +0000 (04:05 -0500)]
Include linux/compiler.h in include/asm-i386/bitops.h,
for the definition of unlikely().

15 years ago[PATCH] flush_icache_user_range (v2.5.4)
Paul Mackerras [Wed, 13 Feb 2002 04:27:37 +0000 (20:27 -0800)]
[PATCH] flush_icache_user_range (v2.5.4)

The patch below changes access_process_vm to use a new architecture
hook, flush_icache_user_range, instead of flush_icache_page, and adds
a definition of flush_icache_user_range which does the same thing as
flush_icache_page for all architectures except PPC.  (The PPC update
that is in Linus' BK tree already includes a suitable definition of
flush_icache_user_range.)

The reason for doing this is that when flush_icache_page is called
from do_no_page or do_swap_page, I want to be able to do the flush
conditionally, based on the state of the page.  In contrast,
access_process_vm needs to do the flush unconditionally since it has
just modified the page.  In the access_process_vm case it is useful to
have the information about the user address and length that have been
modified since then we can just flush the affected cache lines rather
than the whole page.

This patch should make it easy to improve performance on alpha, since
there (as I understand it) the icache flush is not needed at all in
do_no_page or do_swap_page, but is needed in access_process_vm.  All
that is needed is to make flush_icache_page a noop on alpha.  The
patch below doesn't do this, I'll let the alpha maintainers push that
change if they want.

15 years ago[PATCH] fix sd_find_target (v2.5.4)
Paul Mackerras [Wed, 13 Feb 2002 04:27:31 +0000 (20:27 -0800)]
[PATCH] fix sd_find_target (v2.5.4)

This patch fixes a compile error on PPC.  It's in sd_find_target, a
function that returns a kdev_t.

15 years agoMerge bk://linuxusb.bkbits.net/linus-2.5
Linus Torvalds [Wed, 13 Feb 2002 04:24:15 +0000 (20:24 -0800)]
Merge bk://linuxusb.bkbits.net/linus-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

15 years ago[PATCH] menuconfig: fix error exit if awk fails
Michael Elizabeth Chastain [Wed, 13 Feb 2002 04:23:42 +0000 (20:23 -0800)]
[PATCH] menuconfig: fix error exit if awk fails

This one-liner fixes an error case in Menuconfig when awk fails.
Written by Andrew Church (achurch@achurch.org).
Reviewed and tested by Michael Elizabeth Chastain (mec@shout.net).

Michael Elizabeth Chastain

===

15 years agoMake Jaroslav the sound maintainer, remove Alan on his request.
Linus Torvalds [Wed, 13 Feb 2002 04:05:43 +0000 (20:05 -0800)]
Make Jaroslav the sound maintainer, remove Alan on his request.

15 years ago[PATCH] 2.5.4, add help texts to drivers/net/pcmcia/Config.help
Steven Cole [Wed, 13 Feb 2002 03:58:48 +0000 (19:58 -0800)]
[PATCH] 2.5.4, add help texts to drivers/net/pcmcia/Config.help

Add help texts for CONFIG_PCMCIA_AXNET and CONFIG_PCMCIA_XIRCOM

15 years agoMerge http://gkernel.bkbits.net/net-drivers-2.5
Linus Torvalds [Wed, 13 Feb 2002 03:57:41 +0000 (19:57 -0800)]
Merge http://gkernel.bkbits.net/net-drivers-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

15 years agoMerge http://gkernel.bkbits.net/misc-2.5
Linus Torvalds [Wed, 13 Feb 2002 03:56:50 +0000 (19:56 -0800)]
Merge http://gkernel.bkbits.net/misc-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

15 years agoMerge home.transmeta.com:/home/torvalds/v2.5/alsa
Linus Torvalds [Wed, 13 Feb 2002 03:34:08 +0000 (19:34 -0800)]
Merge home.transmeta.com:/home/torvalds/v2.5/alsa
into home.transmeta.com:/home/torvalds/v2.5/linux

15 years ago[PATCH] ALSA patch for 2.5.4
Jaroslav Kysela [Wed, 13 Feb 2002 03:32:11 +0000 (19:32 -0800)]
[PATCH] ALSA patch for 2.5.4

Integrate ALSA into v2.5.4

            Jaroslav

15 years agoMerge master.kernel.org:BK/linux-2.5
Linus Torvalds [Wed, 13 Feb 2002 02:57:46 +0000 (18:57 -0800)]
Merge master.kernel.org:BK/linux-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

15 years agocleanups.
Ingo Molnar [Wed, 13 Feb 2002 20:32:25 +0000 (21:32 +0100)]
cleanups.

15 years ago- make the preempt-enable test cheaper - only test for the (very rare) TIF_NEED_RESCHED
Ingo Molnar [Wed, 13 Feb 2002 15:01:58 +0000 (16:01 +0100)]
- make the preempt-enable test cheaper - only test for the (very rare) TIF_NEED_RESCHED
  condition, we test the preemption count in preempt_schedule(). This reduces the icache
  footprint and the overhead of preemption.

- plus optimize the irq-path preemption check a bit.

15 years agothis is a fragile piece of the ptrace code, the code relies on a single wakeup coming...
Ingo Molnar [Wed, 13 Feb 2002 14:32:22 +0000 (15:32 +0100)]
this is a fragile piece of the ptrace code, the code relies on a single wakeup coming from the parent.
This fix is necessery after the preempt_schedule() cleanups, it unbreaks 'strace strace ...'.

15 years agodo not unlock irqs before calling schedule() - besides being a small exit() speedup...
Ingo Molnar [Wed, 13 Feb 2002 03:45:03 +0000 (04:45 +0100)]
do not unlock irqs before calling schedule() - besides being a small exit() speedup, this also
fixes a preemption race that was introduced by my removal of PREEMPT_ACTIVE.

15 years agoMerge hostme.bitkeeper.com:/ua/repos/g/gkernel/linus-2.5
Jeff Garzik [Wed, 13 Feb 2002 02:01:25 +0000 (18:01 -0800)]
Merge hostme.bitkeeper.com:/ua/repos/g/gkernel/linus-2.5
into hostme.bitkeeper.com:/ua/repos/g/gkernel/net-drivers-2.5

15 years agoMerge hostme.bitkeeper.com:/ua/repos/g/gkernel/linus-2.5
Jeff Garzik [Wed, 13 Feb 2002 01:57:20 +0000 (17:57 -0800)]
Merge hostme.bitkeeper.com:/ua/repos/g/gkernel/linus-2.5
into hostme.bitkeeper.com:/ua/repos/g/gkernel/misc-2.5

15 years agoMerge tp1.ruhr-uni-bochum.de:/home/kai/kernel/linux-2.5.isdn.hisax_netjet
Kai Germaschewski [Wed, 13 Feb 2002 00:05:22 +0000 (01:05 +0100)]
Merge tp1.ruhr-uni-bochum.de:/home/kai/kernel/linux-2.5.isdn.hisax_netjet
into tp1.ruhr-uni-bochum.de:/home/kai/kernel/linux-2.5.isdn

15 years agoHiSax netjet driver update
Kai Germaschewski [Wed, 13 Feb 2002 00:04:51 +0000 (01:04 +0100)]
HiSax netjet driver update

Move netjet driver to new PCI DMA API.

15 years agoHiSax HFC PCI driver udpate
Kai Germaschewski [Tue, 12 Feb 2002 23:14:24 +0000 (00:14 +0100)]
HiSax HFC PCI driver udpate

Move to PCI DMA API.
Make it work on big endian machines.

Contributed by Benjamin Herrenschmidt.

15 years agoa cleanup and a bugfix in the preemptive kernel:
Ingo Molnar [Tue, 12 Feb 2002 19:57:41 +0000 (20:57 +0100)]
a cleanup and a bugfix in the preemptive kernel:

- the PREEMPT_ACTIVE trick is not needed

- schedule() should check for need_resched, we might miss a
  reschedule otherwise.

the cleanup also fixes the bug. The only reason why i kept
preempt_schedule() was to fix up p->state to TASK_RUNNING,
to make it possible to preempt from places that mark the
task TASK_UNINTERRUPTIBLE before adding the task to a waitqueue,
and thus a preemption in that small window could cause the
task to be removed from the runqueue erroneously.

15 years agomove sched_find_first_bit() from mmu_context.h to bitops.h, it belongs there.
Ingo Molnar [Tue, 12 Feb 2002 19:05:41 +0000 (20:05 +0100)]
move sched_find_first_bit() from mmu_context.h to bitops.h, it belongs there.

15 years agooptimization, cleanup: switch_to(3 parameter) => switch_to(2 parameter).
Ingo Molnar [Tue, 12 Feb 2002 18:53:21 +0000 (19:53 +0100)]
optimization, cleanup: switch_to(3 parameter) => switch_to(2 parameter).

15 years ago[PATCH] usb_set_interface: correct toggle reset
Martin Diehl [Tue, 12 Feb 2002 14:55:33 +0000 (06:55 -0800)]
[PATCH] usb_set_interface: correct toggle reset

this is a patch to prevent usb_set_interface() from erroneously resetting
the toggles for all endpoints instead of only the affected ones from the
requested interface/altsetting. I've also added some missing parentheses
to related macros in usb.h as I prefered not to take special care for
nasty side-effects ;-)

Patch below was created against 2.4.18-pre9 (with some lines of offset it
applies to 2.5.4-pre5 as well).

Tested in multi-interface configuration to provide evidence it:
* correctly identifies the affected endpoints and resets the toggles
* doesn't touch endpoints from other interfaces
* provides correct handling of shared EP0
* solves an issue I had with 2.4.18-pre9 where setting one interface
  occasionally caused transfers on other interface to hang due to lost
  toggle synchronisation

Despite being a pure bugfix, well localized and (IMHO) pretty obviously
correct wrt. USB-spec, I'd like to suggest including this in early
2.4.19-pre. Just in case some existing driver would somehow workaround
the currently wrong behavior and might break with this fix. And it's
not very urgent right now, as we are probably close to 2.4.18-rc1.

Regards,
Martin

15 years agousb hid driver:
Vojtech Pavlik [Tue, 12 Feb 2002 14:48:06 +0000 (06:48 -0800)]
usb hid driver:
- patch to fix bug where urbs were freed too soon.

15 years agoAdd Macrolink board PCI ids to pci.ids and pci_ids.h.
Jeff Garzik [Tue, 12 Feb 2002 03:40:11 +0000 (22:40 -0500)]
Add Macrolink board PCI ids to pci.ids and pci_ids.h.

Contributor: Ed Vance @ Macrolink

15 years agoAdd new pci id to 8139too net driver, for Allied Telesyn cardbus cards.
Jeff Garzik [Tue, 12 Feb 2002 03:24:42 +0000 (22:24 -0500)]
Add new pci id to 8139too net driver, for Allied Telesyn cardbus cards.

Contributor: Go Taniguchi

15 years agoMerge bug fixes and PPC-specific feature additions from 2.4.x
Jeff Garzik [Tue, 12 Feb 2002 03:22:45 +0000 (22:22 -0500)]
Merge bug fixes and PPC-specific feature additions from 2.4.x
into bmac and mace net drivers.

Via Dave Jones.

15 years agoRemove GMAC net driver, with the ok of the PPC folks.
Jeff Garzik [Tue, 12 Feb 2002 03:19:14 +0000 (22:19 -0500)]
Remove GMAC net driver, with the ok of the PPC folks.
'sungem' which DaveM is maintaining is the replacement.

15 years agoMerge vaio.(none):/home/kai/kernel/linux-2.5
Kai Germaschewski [Tue, 12 Feb 2002 01:15:55 +0000 (02:15 +0100)]
Merge vaio.(none):/home/kai/kernel/linux-2.5
into vaio.(none):/home/kai/kernel/linux-2.5.isdn.hisax_hfcpci

15 years agoAdd new pci id to via-rhine net driver.
Jeff Garzik [Mon, 11 Feb 2002 20:56:54 +0000 (15:56 -0500)]
Add new pci id to via-rhine net driver.

15 years agoCleanup and fixes to sleeping/scheduling in the olympic token ring
Jeff Garzik [Mon, 11 Feb 2002 20:43:07 +0000 (15:43 -0500)]
Cleanup and fixes to sleeping/scheduling in the olympic token ring
net driver.  Also included are a couple of minor error reporting
updates and the proper detection for cardbus removal.

Contributor:
Mike Phillips
Linux Token Ring Project

15 years agoA minor patch to remove the last isa_read/isa_write function in
Jeff Garzik [Mon, 11 Feb 2002 20:39:21 +0000 (15:39 -0500)]
A minor patch to remove the last isa_read/isa_write function in
the ibmtr token ring net driver.

Contributor:
Mike Phillips
Linux Token Ring Project

15 years agoMerge changes from yellowfin GigE net driver version LK1.1.6:
Jeff Garzik [Mon, 11 Feb 2002 20:36:17 +0000 (15:36 -0500)]
Merge changes from yellowfin GigE net driver version LK1.1.6:
* Only print warning on truly "oversized" packets
* Fix theoretical bug on gigabit cards - return to 1.1.3 behavior

Contributor: Val Henson

15 years agoMerge ethtool support and PPC fix into pcnet32 net driver,
Jeff Garzik [Mon, 11 Feb 2002 20:29:52 +0000 (15:29 -0500)]
Merge ethtool support and PPC fix into pcnet32 net driver,
from 2.4.x.
Also, remove deprecated SIOCDEVPRIVATE ioctl calls.

Via Dave Jones.

15 years agoMerge ns83820 GigE net driver changes from 2.4.x kernel:
Jeff Garzik [Mon, 11 Feb 2002 20:26:18 +0000 (15:26 -0500)]
Merge ns83820 GigE net driver changes from 2.4.x kernel:
0.13a - optical transceiver support added
by Michael Clark <michael@metaparadigm.com>
0.13b - call register_netdev earlier in initialization
suppress duplicate link status messages
0.15 get ppc (big endian) working

Via Dave Jones.

15 years agoMerge 8139too net driver oops fix from 2.4.x.
Jeff Garzik [Mon, 11 Feb 2002 20:24:27 +0000 (15:24 -0500)]
Merge 8139too net driver oops fix from 2.4.x.

Fix originally by Andreas Dilger IIRC, merged by Dave Jones.

15 years agoAdd new ISAPNP card id to 'ne' net driver.
Jeff Garzik [Mon, 11 Feb 2002 20:22:39 +0000 (15:22 -0500)]
Add new ISAPNP card id to 'ne' net driver.

Via Dave Jones.

15 years agoMerge cosmetic cleanup and driver version increment
Jeff Garzik [Mon, 11 Feb 2002 20:21:42 +0000 (15:21 -0500)]
Merge cosmetic cleanup and driver version increment
for dmfe net driver from 2.4.x.

Via Dave Jones.

15 years agoFix typo in aironet4500 net driver return value, s/NODEV/-ENODEV/,
Jeff Garzik [Mon, 11 Feb 2002 20:19:38 +0000 (15:19 -0500)]
Fix typo in aironet4500 net driver return value, s/NODEV/-ENODEV/,
which prevented the driver from building.

Via Dave Jones.

15 years agoMerge basic ethtool ioctl support from 2.4.x for 3c505 and sis900
Jeff Garzik [Mon, 11 Feb 2002 20:14:40 +0000 (15:14 -0500)]
Merge basic ethtool ioctl support from 2.4.x for 3c505 and sis900
net drivers.  Merge two sis900 bug fixes from 2.4.x.

Via Dave Jones.

15 years agoRemove deprecated SIOCDEVPRIVATE ioctls in net drivers
Jeff Garzik [Mon, 11 Feb 2002 20:10:04 +0000 (15:10 -0500)]
Remove deprecated SIOCDEVPRIVATE ioctls in net drivers
3c59x, eepro100, sis900, and tulip.

Also, update eepro100 Becker URL.

Contributor: Dave Jones

15 years agorequest_region cleanups from 2.4 and the kernel janitors.
Jeff Garzik [Mon, 11 Feb 2002 20:04:17 +0000 (15:04 -0500)]
request_region cleanups from 2.4 and the kernel janitors.

Via Dave Jones.

15 years agoVarious minor documentation / comment typo fixes
Jeff Garzik [Mon, 11 Feb 2002 20:01:22 +0000 (15:01 -0500)]
Various minor documentation / comment typo fixes
for net drivers 3c509, acenic, ni52, and skfp.

Via Dave Jones.

15 years ago[PATCH] BKL shifted into ->truncate()
Alexander Viro [Mon, 11 Feb 2002 18:03:32 +0000 (10:03 -0800)]
[PATCH] BKL shifted into ->truncate()

BKL shifted into all instances of ->truncate().  Callers updated.

15 years agoMerge
Linus Torvalds [Mon, 11 Feb 2002 18:03:04 +0000 (10:03 -0800)]
Merge

15 years ago[PATCH] BKL shifted into ->lookup()
Alexander Viro [Mon, 11 Feb 2002 18:01:17 +0000 (10:01 -0800)]
[PATCH] BKL shifted into ->lookup()

OK, here comes: ->lookup() had lost BKL, all in-tree instances of
->lookup() converted.

I'm adding Documentation/filesystems/porting - with the list of
API changes since 2.4.  Are you OK with that format?

(and yes, this sucker is *post*-compile ;-)

15 years agoMerge http://linuxusb.bkbits.net/linus-2.5
Linus Torvalds [Mon, 11 Feb 2002 17:43:42 +0000 (09:43 -0800)]
Merge http://linuxusb.bkbits.net/linus-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

15 years agoMerge http://gkernel.bkbits.net/net-drivers-2.5
Linus Torvalds [Mon, 11 Feb 2002 17:19:34 +0000 (09:19 -0800)]
Merge http://gkernel.bkbits.net/net-drivers-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

15 years agoMerge master.kernel.org:/home/davem/BK/davem-2.5
Linus Torvalds [Mon, 11 Feb 2002 17:18:16 +0000 (09:18 -0800)]
Merge master.kernel.org:/home/davem/BK/davem-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

15 years ago[PATCH] Update of USB input drivers to the latest versions
Vojtech Pavlik [Mon, 11 Feb 2002 15:32:56 +0000 (07:32 -0800)]
[PATCH] Update of USB input drivers to the latest versions

Now that the input core changes have made it into 2.5 I can finally
update the USB input drivers to their latest versions.

Here is a patch that does that.

In detail:

HID driver:
Fix a bug in descriptor parsing (array/variable),
namely visible with Logitech new joysticks and mice
Fix bugs in logical/physical min/max parsing
Fix bugs in exponent parsing
Remove workaround for low-speed devices with >8 byte
reports, fix this in a correct way (bigger irq
request)
Untangle some code (fetc_item())
Implement asynchronous input/output/feature report
reading and writing
Implement (hopefully) proper locking in the above
Implement support for devices with an output endpoint
Add some support functions for force feedback support
currently in development
Add entries to the debug dump code, including FF and
exponents
Add more mappings into the hid-input interface
Cleanups here and there

usbkbd driver:

Make LED URBS use GFP_ATOMIC, they'll be called from a
completion handler
Remove dependency on hid.h

usbmouse driver:

Just conversion to the new input core, minor cleanups

wacom driver:

Just conversion to the new input core.

15 years ago[PATCH] pegasus.h
Petko Manolov [Mon, 11 Feb 2002 15:32:49 +0000 (07:32 -0800)]
[PATCH] pegasus.h

this patch somehow didn't get applied to 2.5.4
so i resend it.  It is pretty harmless - only
adds 3 more devices and 2 vendor ids into pegasus.h :-)

15 years ago[PATCH] mmap can return incorrect errno
Christopher Yeoh [Mon, 11 Feb 2002 14:50:33 +0000 (06:50 -0800)]
[PATCH] mmap can return incorrect errno

mmap currently sets errno to EINVAL when it should be ENOMEM.
SUS/POSIX states that ENOMEM should be returned when:

"MAP_FIXED was specified, and the range [addr, addr + len) exceeds
that allowed for the address space of a process; or if MAP_FIXED was
not specified and there is insufficient room in the address space to
effect the mapping."

The following patch (against 2.4.17) fixes this behaviour:

15 years agoFix up typo from Al's ext2 balloc cleanups.
Linus Torvalds [Mon, 11 Feb 2002 14:47:08 +0000 (06:47 -0800)]
Fix up typo from Al's ext2 balloc cleanups.

15 years agoFix recalc_sigpending handling.
David S. Miller [Mon, 11 Feb 2002 14:39:57 +0000 (06:39 -0800)]
Fix recalc_sigpending handling.

15 years ago[PATCH] 2.5.4-pre5 and ncpfs fill_super changes
Petr Vandrovec [Mon, 11 Feb 2002 13:39:50 +0000 (05:39 -0800)]
[PATCH] 2.5.4-pre5 and ncpfs fill_super changes

* fs/ncpfs/inode.c: Return reasonable error codes instead of universal
     -EINVAL. Remove printk() as reasonable code is returned.
     Set maximum file size limit on ncpfs to 4GB-1.

* fs/ncpfs/sock.c: Return correct error code when send() fails.

Petr Vandrovec

15 years ago[PATCH] zisofs compilation error
Petr Vandrovec [Mon, 11 Feb 2002 13:39:46 +0000 (05:39 -0800)]
[PATCH] zisofs compilation error

* zisofs_cleanup cannot be __exit, as it is invoked from __init
  section when register_filesystem() fails.

Petr Vandrovec

15 years agoMerge bk://ppc.bkbits.net/for-linus-ppc
Linus Torvalds [Mon, 11 Feb 2002 13:34:27 +0000 (05:34 -0800)]
Merge bk://ppc.bkbits.net/for-linus-ppc
into home.transmeta.com:/home/torvalds/v2.5/linux

15 years agoUpdate PPC for recent generic changes; in particular adapt to
Paul Mackerras [Tue, 12 Feb 2002 09:26:28 +0000 (20:26 +1100)]
Update PPC for recent generic changes; in particular adapt to
having the thread_info struct at the base of the stack and
the task_struct elsewhere.

15 years agoMerge quango.(none):/home/paulus/kernel/linux-2.5
Paul Mackerras [Mon, 11 Feb 2002 22:56:01 +0000 (09:56 +1100)]
Merge quango.(none):/home/paulus/kernel/linux-2.5
into quango.(none):/home/paulus/kernel/linuxppc-2.5

15 years ago[PATCH] BKL-free ext2_get_block()
Alexander Viro [Mon, 11 Feb 2002 13:26:50 +0000 (05:26 -0800)]
[PATCH] BKL-free ext2_get_block()

Linus, I've got the first of BKL-removal ext2 patches ready to
go.  It removes BKL from ext2_get_block() and guts of ext2_truncate().
The only place where we hold BKL on these paths is in dquot.c - probably
can be easily dealt with, but threading quota is a separate story.

Inode metadata (pointers to blocks, both in inode itself and in
indirect blocks, preallocation data and allocation goal) are protected
by rwlock - EXT2_I(inode)->i_meta_lock.

Next steps will involve threading the group descriptors and bitmaps
handling - lock_super() uses in ext2 are going to die.  However, that's
a separate story - let's do that step-by-step.

I suspect that patch below will take care of almost all BKL contention
from ext2 - we still have BKL held over directory operations, but for regular
files that's it.

15 years ago[PATCH] 08-truncate_update_mtime.diff
Hans Reiser [Mon, 11 Feb 2002 13:15:52 +0000 (05:15 -0800)]
[PATCH] 08-truncate_update_mtime.diff

   truncate now correctly sets mtime always. Before this fix, mtime was not
   updated if truncated file was of zero length or if new filesize was bigger
   then old.
   Problem was noticed by Matthias Andree <ma@dt.e-technik.uni-dortmund.de>

15 years ago[PATCH] 07-reiserfs-bitmap-journal-read-ahead.diff
Hans Reiser [Mon, 11 Feb 2002 13:15:47 +0000 (05:15 -0800)]
[PATCH] 07-reiserfs-bitmap-journal-read-ahead.diff

   Speed up reading of journal bitmaps. RAID users should notice significant
   speedup when mounting reiserfs over self-rebuilding RAID arays.