]> git.hungrycats.org Git - linux/log
linux
23 years ago[PATCH] read-ahead and failfast
Jens Axboe [Fri, 25 Jul 2003 07:39:23 +0000 (00:39 -0700)]
[PATCH] read-ahead and failfast

Here's the patch to enable failfast flag in the bio submission code, and
use it for multipath and readahead.

23 years ago[PATCH] mark James as SCSI maintainer
Jens Axboe [Fri, 25 Jul 2003 07:39:16 +0000 (00:39 -0700)]
[PATCH] mark James as SCSI maintainer

Long overdue, make James the listed maintainer. He _is_ doing the
maintenance, lets put him on the front line :-)

23 years ago[PATCH] ide tcq enable
Jens Axboe [Fri, 25 Jul 2003 07:39:09 +0000 (00:39 -0700)]
[PATCH] ide tcq enable

A recent change moved the tcq init too early in the init sequence, the
queue isn't initialized at this point which causes the task file
executions to kill elevator with a NULL EIP (->add_req_fn()).  This
patch fixes it, acked by Bart.

23 years agoMerge http://linux-isdn.bkbits.net/linux-2.5.isdn
Linus Torvalds [Fri, 25 Jul 2003 06:47:20 +0000 (23:47 -0700)]
Merge http://linux-isdn.bkbits.net/linux-2.5.isdn
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoMerge bk://are.twiddle.net/axp-2.5
Linus Torvalds [Fri, 25 Jul 2003 03:28:47 +0000 (20:28 -0700)]
Merge bk://are.twiddle.net/axp-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.5
Linus Torvalds [Fri, 25 Jul 2003 03:12:47 +0000 (20:12 -0700)]
Merge bk://kernel.bkbits.net/davem/sparc-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoMerge bk://kernel.bkbits.net/davem/net-2.5
Linus Torvalds [Fri, 25 Jul 2003 03:11:54 +0000 (20:11 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoMerge bk://kernel.bkbits.net/jgarzik/net-drivers-2.6
Linus Torvalds [Fri, 25 Jul 2003 03:10:47 +0000 (20:10 -0700)]
Merge bk://kernel.bkbits.net/jgarzik/net-drivers-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[ALPHA] Finish adding asm/local.h.
Richard Henderson [Mon, 21 Jul 2003 16:56:56 +0000 (09:56 -0700)]
[ALPHA] Finish adding asm/local.h.

23 years ago[ALPHA] Add atomic64_t.
Richard Henderson [Mon, 21 Jul 2003 16:46:09 +0000 (09:46 -0700)]
[ALPHA] Add atomic64_t.

23 years ago[ALPHA] Add asm/sections.h.
Richard Henderson [Mon, 21 Jul 2003 16:44:35 +0000 (09:44 -0700)]
[ALPHA] Add asm/sections.h.

23 years agoISDN: [TRIVIAL] Remove un-needed MOD___USE_COUNT from divamnt's init function.
Bob Miller [Mon, 21 Jul 2003 11:10:54 +0000 (07:10 -0400)]
ISDN: [TRIVIAL] Remove un-needed MOD___USE_COUNT from divamnt's init function.

The module load code adds a reference to the owner field before calling
the modules init function so it isn't necessary for the init function
to do a similar action.

23 years agoISDN: [TRIVIAL] Remove un-needed MOD___USE_COUNT from divamnt's init fuction.
Bob Miller [Mon, 21 Jul 2003 11:08:46 +0000 (07:08 -0400)]
ISDN: [TRIVIAL] Remove un-needed MOD___USE_COUNT from divamnt's init fuction.

The module load code adds a reference to the owner field before calling
the modules init function so it isn't necessary for the init function
to do a similar action.

23 years agoISDN: [TRIVIAL] Remove un-needed MOD___USE_COUNT from divamnt's init fuction.
Bob Miller [Mon, 21 Jul 2003 11:07:09 +0000 (07:07 -0400)]
ISDN: [TRIVIAL] Remove un-needed MOD___USE_COUNT from divamnt's init fuction.

The module load code adds a reference to the owner field before calling
the modules init function so it isn't necessary for the init function
to do a similar action.

23 years agoISDN: [TRIVIAL] Remove un-needed MOD___USE_COUNT from capimain.c
Bob Miller [Mon, 21 Jul 2003 11:05:04 +0000 (07:05 -0400)]
ISDN: [TRIVIAL] Remove un-needed MOD___USE_COUNT from capimain.c

Module init methods are called with a reference already taken by the
module code so the MOD_*_USE_COUNT can be deleted.

23 years agoISDN: [TRIVIAL] Remove un-needed MOD___USE_COUNT from i4lididrv.c
Bob Miller [Mon, 21 Jul 2003 11:03:20 +0000 (07:03 -0400)]
ISDN: [TRIVIAL] Remove un-needed MOD___USE_COUNT from i4lididrv.c

Module init methods are called with a reference already taken by the
module code so the MOD_*_USE_COUNT can be deleted.

23 years agoISDN: [TRIVIAL] Remove un-needed MOD___USE_COUNT from divasmain's init fuction.
Bob Miller [Mon, 21 Jul 2003 11:01:30 +0000 (07:01 -0400)]
ISDN: [TRIVIAL] Remove un-needed MOD___USE_COUNT from divasmain's init fuction.

The module load code adds a reference to the owner field before calling
the modules init function so it isn't necessary for the init function
to do a similar action.

Also fixed the racy check_region()/request_region() calls.

23 years agoISDN: Export "kstat"
Kai Germaschewski [Mon, 21 Jul 2003 10:55:52 +0000 (06:55 -0400)]
ISDN: Export "kstat"

This patch exports the kstat per-cpu variable, needed for
hisax, which uses kstat_irqs() during card probing to make sure
that irqs actually work. This could possibly replaced by a
private counter in the hisax ISRs, but that's really just
unnecessary overhead, since the core kernel already does the work
anyway.

23 years agoISDN/HiSax: Fix up dynamic registration
Kai Germaschewski [Mon, 21 Jul 2003 10:54:05 +0000 (06:54 -0400)]
ISDN/HiSax: Fix up dynamic registration

Instead of faking a hisax-internal card, just register a card
driven by a submodule directly, which fixes the current crashes
when loading such a driver. This makes use of the just introduced
do_register_isdn() and do_init() helpers.

23 years agoISDN/HiSax: Move some init code out of line
Kai Germaschewski [Mon, 21 Jul 2003 10:52:57 +0000 (06:52 -0400)]
ISDN/HiSax: Move some init code out of line

Again, just introduce do_init() and move some code into it.
It'll be needed in the next cset.

23 years agoISDN/HiSax: Move registering of a card out of line
Kai Germaschewski [Mon, 21 Jul 2003 10:51:11 +0000 (06:51 -0400)]
ISDN/HiSax: Move registering of a card out of line

This cset just introduces a new function do_register_isdn() which
takes care of what's necessary to register with the i4l link level.

23 years agoISDN: Fix mem leak in ST5481 driver
Kai Germaschewski [Mon, 21 Jul 2003 10:49:34 +0000 (06:49 -0400)]
ISDN: Fix mem leak in ST5481 driver

In the unload path, we forgot to free the D-Channel state machines.

23 years agoISDN: FsmNew() can't be __init
Kai Germaschewski [Mon, 21 Jul 2003 10:47:45 +0000 (06:47 -0400)]
ISDN: FsmNew() can't be __init

FsmNew() is exported, so it sure can't be __init (and since we now
discard __init in modules, it in fact crashes).

23 years agoISDN: Fix avm_pci driver for irqreturn_t changes
Kai Germaschewski [Mon, 21 Jul 2003 10:46:21 +0000 (06:46 -0400)]
ISDN: Fix avm_pci driver for irqreturn_t changes

Somehow, this one had been overlooked...

23 years agoISDN: Fix i4l subsystem crash
Kai Germaschewski [Mon, 21 Jul 2003 10:45:06 +0000 (06:45 -0400)]
ISDN: Fix i4l subsystem crash

A loop over all drivers obviously should use ISDN_MAX_DRIVERS, not
ISDN_MAX_CHANNELS.

23 years ago[SPARC64]: Now the brlocks are gone, the udelay garbage in cpu_relax() can go.
David S. Miller [Sun, 20 Jul 2003 22:44:16 +0000 (15:44 -0700)]
[SPARC64]: Now the brlocks are gone, the udelay garbage in cpu_relax() can go.

23 years ago[ARCNET]: Fix module refcounting.
Christoph Hellwig [Sun, 20 Jul 2003 22:31:16 +0000 (15:31 -0700)]
[ARCNET]: Fix module refcounting.

23 years ago[ATM]: If !IFF_UP drop the frames.
Chas Williams [Sun, 20 Jul 2003 22:23:18 +0000 (15:23 -0700)]
[ATM]: If !IFF_UP drop the frames.

23 years ago[ATM]: Return ENODEV if !dev.
Chas Williams [Sun, 20 Jul 2003 22:22:19 +0000 (15:22 -0700)]
[ATM]: Return ENODEV if !dev.

23 years ago[ATM]: Make sigd_sleep conditional with WAIT_FOR_DEMON.
Chas Williams [Sun, 20 Jul 2003 22:21:22 +0000 (15:21 -0700)]
[ATM]: Make sigd_sleep conditional with WAIT_FOR_DEMON.

23 years ago[EBTABLES]: Copy skb when shared.
Bart De Schuymer [Sun, 20 Jul 2003 22:06:00 +0000 (15:06 -0700)]
[EBTABLES]: Copy skb when shared.

23 years ago[NET]: Makefile cleanups for net/.
Sam Ravnborg [Sun, 20 Jul 2003 22:04:47 +0000 (15:04 -0700)]
[NET]: Makefile cleanups for net/.

23 years ago[IPSEC]: Make reqids 32-bits.
Herbert Xu [Sun, 20 Jul 2003 21:50:02 +0000 (14:50 -0700)]
[IPSEC]: Make reqids 32-bits.

23 years ago[IPV4/IPVS]: Deactivate the timer in connection expire if it is activated by other...
Wensong Zhang [Sun, 20 Jul 2003 19:37:02 +0000 (12:37 -0700)]
[IPV4/IPVS]: Deactivate the timer in connection expire if it is activated by other users

23 years agoMerge bk://kernel.bkbits.net/jmorris/net-2.5
David S. Miller [Sun, 20 Jul 2003 18:57:30 +0000 (11:57 -0700)]
Merge bk://kernel.bkbits.net/jmorris/net-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5

23 years ago[IPSEC] correct 'discvovery' typo
Sean Neakums [Mon, 21 Jul 2003 20:47:48 +0000 (06:47 +1000)]
[IPSEC] correct 'discvovery' typo

23 years agoMerge nuts.ninka.net:/home/davem/src/BK/network-2.5
David S. Miller [Sun, 20 Jul 2003 15:52:43 +0000 (08:52 -0700)]
Merge nuts.ninka.net:/home/davem/src/BK/network-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5

23 years agoMerge nuts.ninka.net:/home/davem/src/BK/sparcwork-2.5
David S. Miller [Sun, 20 Jul 2003 15:45:29 +0000 (08:45 -0700)]
Merge nuts.ninka.net:/home/davem/src/BK/sparcwork-2.5
into nuts.ninka.net:/home/davem/src/BK/sparc-2.5

23 years agoMerge kanga.twiddle.net:/home/rth/work/linux/linus-2.5
Richard Henderson [Sun, 20 Jul 2003 13:11:02 +0000 (06:11 -0700)]
Merge kanga.twiddle.net:/home/rth/work/linux/linus-2.5
into kanga.twiddle.net:/home/rth/work/linux/axp-2.5

23 years ago[SPARC64]: Add JIO/Tomatillo PCI controller support.
David S. Miller [Sat, 19 Jul 2003 23:50:44 +0000 (16:50 -0700)]
[SPARC64]: Add JIO/Tomatillo PCI controller support.

23 years ago[SPARC64]: Add Ultra-IIIi/Jalapeno support.
David S. Miller [Sat, 19 Jul 2003 23:43:26 +0000 (16:43 -0700)]
[SPARC64]: Add Ultra-IIIi/Jalapeno support.

23 years ago[wireless airo] fix 2.4-isms that break build
Jeff Garzik [Sat, 19 Jul 2003 19:17:19 +0000 (15:17 -0400)]
[wireless airo] fix 2.4-isms that break build

23 years ago[bonding] sync ifenslave with 2.4 (pulls in several bug fixes)
Jeff Garzik [Sat, 19 Jul 2003 18:58:12 +0000 (14:58 -0400)]
[bonding] sync ifenslave with 2.4 (pulls in several bug fixes)

23 years ago[wireless airo] Update to wireless extensions 16 (new spy API).
Javier Achirica [Sat, 19 Jul 2003 18:44:07 +0000 (14:44 -0400)]
[wireless airo] Update to wireless extensions 16 (new spy API).

23 years ago[wireless airo] Update to wireless extensions 15 (add monitor mode).
Javier Achirica [Sat, 19 Jul 2003 18:40:05 +0000 (14:40 -0400)]
[wireless airo] Update to wireless extensions 15 (add monitor mode).

23 years ago[wireless airo] Return channel in infrastructure mode.
Javier Achirica [Sat, 19 Jul 2003 18:38:31 +0000 (14:38 -0400)]
[wireless airo] Return channel in infrastructure mode.

23 years ago[wireless airo] Checks for small packets before transmitting them.
Javier Achirica [Sat, 19 Jul 2003 18:37:15 +0000 (14:37 -0400)]
[wireless airo] Checks for small packets before transmitting them.

23 years ago[wireless airo] Returns proper status in case of transmission error.
Javier Achirica [Sat, 19 Jul 2003 18:35:38 +0000 (14:35 -0400)]
[wireless airo] Returns proper status in case of transmission error.

23 years ago[wireless airo] Fix small endianness bug.
Javier Achirica [Sat, 19 Jul 2003 18:34:23 +0000 (14:34 -0400)]
[wireless airo] Fix small endianness bug.

23 years ago[wireless airo] Don't call MIC functions if the card doesn't support them.
Javier Achirica [Sat, 19 Jul 2003 18:32:56 +0000 (14:32 -0400)]
[wireless airo] Don't call MIC functions if the card doesn't support them.

23 years ago[wireless airo] Don't sleep when the stats are requested.
Javier Achirica [Sat, 19 Jul 2003 18:28:39 +0000 (14:28 -0400)]
[wireless airo] Don't sleep when the stats are requested.

23 years ago[wireless airo] Make locking "per thread" so it's fully preemptive.
Javier Achirica [Sat, 19 Jul 2003 18:24:06 +0000 (14:24 -0400)]
[wireless airo] Make locking "per thread" so it's fully preemptive.

23 years ago[wireless airo] Update structs with the new fields in latest firmwares.
Javier Achirica [Sat, 19 Jul 2003 18:21:16 +0000 (14:21 -0400)]
[wireless airo] Update structs with the new fields in latest firmwares.

23 years ago[wireless airo] Simplify dynamic buffer code in Cisco extensions.
Javier Achirica [Sat, 19 Jul 2003 18:19:30 +0000 (14:19 -0400)]
[wireless airo] Simplify dynamic buffer code in Cisco extensions.

23 years ago[NET]: Eliminate MOD_* from wanrouter.
Stephen Hemminger [Sat, 19 Jul 2003 14:57:04 +0000 (07:57 -0700)]
[NET]: Eliminate MOD_* from wanrouter.

Wan router register/unregister does not need MOD_INC/MOD_DEC because it
can not be unloaded as long as its symbols are in use by the calling module.

23 years ago[NET]: Allow LAPB to be unloaded.
Stephen Hemminger [Sat, 19 Jul 2003 14:54:41 +0000 (07:54 -0700)]
[NET]: Allow LAPB to be unloaded.

Without an exit routine lapb can't be unloaded.

23 years ago[NET]: remove MOD_* from LAPB.
Stephen Hemminger [Sat, 19 Jul 2003 14:53:04 +0000 (07:53 -0700)]
[NET]: remove MOD_* from LAPB.

The MOD_INC and MOD_DEC in lapb are no longer necessary in 2.6 since
the module subsystem will not allow lapb to be unloaded as long as a module
that is referencing the symbols (lapb_register/lapb_unregister) is loaded.

23 years ago[PATCH] 3c574_cs initialise spinlock
Simon Evans [Sat, 19 Jul 2003 08:39:47 +0000 (04:39 -0400)]
[PATCH] 3c574_cs initialise spinlock

This patch against 2.5.75 initialises a spinlock when the structure containing
it is allocated

23 years ago[PATCH] Software suspend and RTL 8139too in 2.6.0-test1
Peter Osterlund [Sat, 19 Jul 2003 08:39:21 +0000 (04:39 -0400)]
[PATCH] Software suspend and RTL 8139too in 2.6.0-test1

This patch is needed to make software suspend work with the 8139too
driver loaded.

23 years ago[PATCH] via-rhine 1.19-2.5: One more Rhine-I fix
Roger Luethi [Sat, 19 Jul 2003 08:38:56 +0000 (04:38 -0400)]
[PATCH] via-rhine 1.19-2.5: One more Rhine-I fix

This patch fixes another way the Rhine-I found to break down under load. It
should bring Rhine-I behavior on par with the Rhine-II.

23 years ago[PATCH] sk_mca
Angelo Dell\'Aera [Sat, 19 Jul 2003 08:38:31 +0000 (04:38 -0400)]
[PATCH] sk_mca

23 years ago[PATCH] Add ethtool TSO, Rx/Tx csum, SG Get/Set support
Scott Feldman [Sat, 19 Jul 2003 08:38:06 +0000 (04:38 -0400)]
[PATCH] Add ethtool TSO, Rx/Tx csum, SG Get/Set support

* Add ethtool TSO, Rx/Tx csum, SG Get/Set support.

23 years ago[PATCH] add ethtool TSO get/set
Scott Feldman [Sat, 19 Jul 2003 08:37:41 +0000 (04:37 -0400)]
[PATCH] add ethtool TSO get/set

* Add TSO get/set command to ethtool interface.  Applies to both 2.4/2.5.
  Ethtool application patch sent under separate cover.

23 years ago[PATCH] mark comx obsolete, by request
Stephen Hemminger [Sat, 19 Jul 2003 08:37:16 +0000 (04:37 -0400)]
[PATCH] mark comx obsolete, by request

23 years ago[PATCH] fix ne2k-pci memleak
Daniel Ritz [Sat, 19 Jul 2003 08:36:51 +0000 (04:36 -0400)]
[PATCH] fix ne2k-pci memleak

ne2k-pci leaks memory on unload. dev->priv is allocated in ethdev_init(), but
never freed. against 2.4-bk, but also applies to 2.5-bk with offset.

23 years ago[netdrvr b44] tons of fixes. should work now.
Pekka Pietikäinen [Sat, 19 Jul 2003 08:36:13 +0000 (04:36 -0400)]
[netdrvr b44] tons of fixes. should work now.

23 years agoMerge bk://kernel.bkbits.net/acme/wl3501-2.5
Jeff Garzik [Sat, 19 Jul 2003 08:28:31 +0000 (04:28 -0400)]
Merge bk://kernel.bkbits.net/acme/wl3501-2.5
into redhat.com:/garz/repo/net-drivers-2.6

23 years ago[netdrvr wan] update comx maintainer, by request
Madarasz Gergely [Sat, 19 Jul 2003 08:24:55 +0000 (04:24 -0400)]
[netdrvr wan] update comx maintainer, by request

Previous entry said to be out of date by two years or more.

23 years ago[PATCH] janitor: mem leak and copy_from_user in wan/comx driver
Randy Dunlap [Sat, 19 Jul 2003 01:37:17 +0000 (18:37 -0700)]
[PATCH] janitor: mem leak and copy_from_user in wan/comx driver

author: Daniele Bellucci <bellucda@tiscali.it>

Fix a memory leak and checks a copy_from_user in wan/comx driver.

23 years ago[PATCH] janitor: unchecked copy_from_user in parisc/led.c
Randy Dunlap [Sat, 19 Jul 2003 01:36:30 +0000 (18:36 -0700)]
[PATCH] janitor: unchecked copy_from_user in parisc/led.c

author: Daniele Bellucci <bellucda@tiscali.it>

23 years ago[PATCH] janitor: unchecked copy_from_user in ieee1394/amdtp
Randy Dunlap [Sat, 19 Jul 2003 01:35:58 +0000 (18:35 -0700)]
[PATCH] janitor: unchecked copy_from_user in ieee1394/amdtp

author: Daniele Bellucci <bellucda@tiscali.it>

Fix an unchecked copy_from_user in ieee1394/amdtp.

23 years ago[PATCH] janitor: unchecked copy_to_user in drivers/sbus/char/envctrl
Randy Dunlap [Sat, 19 Jul 2003 01:35:23 +0000 (18:35 -0700)]
[PATCH] janitor: unchecked copy_to_user in drivers/sbus/char/envctrl

author: Daniele Bellucci <bellucda@tiscali.it>

Fix several unchecked copy_to_user()s in sbus/char/envctrl

23 years ago[PATCH] janitor: unchecked copy/put_user in umsdos ioctl
Randy Dunlap [Sat, 19 Jul 2003 01:34:53 +0000 (18:34 -0700)]
[PATCH] janitor: unchecked copy/put_user in umsdos ioctl

author:  Daniele Bellucci <bellucda@tiscali.it>

Fix a series of unchecked copy/put_user()s in umsdos ioctl.

23 years ago[PATCH] janitor: copy_to_user in wireless/ray_cs ioctl
Randy Dunlap [Sat, 19 Jul 2003 01:34:28 +0000 (18:34 -0700)]
[PATCH] janitor: copy_to_user in wireless/ray_cs ioctl

From: Daniele Bellucci <bellucda@tiscali.it>

Fix an unchecked copy_to_user in ray_cs ioctl.

23 years ago[PATCH] janitor: copy_to_user in net/irda/vlsi_ir
Randy Dunlap [Sat, 19 Jul 2003 01:33:59 +0000 (18:33 -0700)]
[PATCH] janitor: copy_to_user in net/irda/vlsi_ir

From:  Matthew Wilcox <willy@debian.org> and Daniele Bellucci <bellucda@tiscali.it>

Fix an unchecked copy_to_user() in net/irda/vlsi_ir.c.

23 years ago[PATCH] janitor: copy_to_user in media/video/pms
Randy Dunlap [Sat, 19 Jul 2003 01:33:39 +0000 (18:33 -0700)]
[PATCH] janitor: copy_to_user in media/video/pms

From: Daniele Bellucci <bellucda@tiscali.it>

Add a status check to copy_to_user() in a media/video driver.

23 years ago[PATCH] janitor: audit misc_register in wdt977
Randy Dunlap [Sat, 19 Jul 2003 01:33:23 +0000 (18:33 -0700)]
[PATCH] janitor: audit misc_register in wdt977

From: Daniele Bellucci <bellucda@tiscali.it>

Add a check to misc_register() in the wdt977 driver.

23 years ago[PATCH] janitor: drivers/telephony/ixj
Randy Dunlap [Sat, 19 Jul 2003 01:33:14 +0000 (18:33 -0700)]
[PATCH] janitor: drivers/telephony/ixj

From: Daniele Bellucci <bellucda@tiscali.it>

This is an audit (copy_*_user), cleanup, and coding-style fix
for this driver.

23 years ago[SPARC64]: Update defconfig.
David S. Miller [Fri, 18 Jul 2003 22:10:25 +0000 (15:10 -0700)]
[SPARC64]: Update defconfig.

23 years ago[SERIAL]: rev in sunsu.c uart port info needs to be a short.
David S. Miller [Fri, 18 Jul 2003 21:11:03 +0000 (14:11 -0700)]
[SERIAL]: rev in sunsu.c uart port info needs to be a short.

23 years agoo wl3501: cleanup types
Arnaldo Carvalho de Melo [Fri, 18 Jul 2003 20:47:03 +0000 (17:47 -0300)]
o wl3501: cleanup types

23 years agoMerge nuts.ninka.net:/home/davem/src/BK/sctp-2.5
David S. Miller [Fri, 18 Jul 2003 18:32:18 +0000 (11:32 -0700)]
Merge nuts.ninka.net:/home/davem/src/BK/sctp-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5

23 years agoMerge http://linux-lksctp.bkbits.net/lksctp-2.5
David S. Miller [Fri, 18 Jul 2003 18:29:13 +0000 (11:29 -0700)]
Merge http://linux-lksctp.bkbits.net/lksctp-2.5
into nuts.ninka.net:/home/davem/src/BK/sctp-2.5

23 years ago[IPV6]: Fix anycast usage.
Alexey Kuznetsov [Fri, 18 Jul 2003 16:44:04 +0000 (09:44 -0700)]
[IPV6]: Fix anycast usage.

- Recognition of reserved anycasts is removed from ipv6_addr_type()
  Flag IPV6_ADDR_ANYCAST is removed as well.
- Some meaningless noop code checking for anycast which are not
  going to happen is removed from ndisc.c
- ipv6_unicast_destination() replaces suboptimal ipv6_chk_acast_addr()
  in data paths

23 years ago[TCP/IPV6]: Revert previous anycast changes.
David S. Miller [Fri, 18 Jul 2003 16:37:09 +0000 (09:37 -0700)]
[TCP/IPV6]: Revert previous anycast changes.

23 years agoMerge nuts.ninka.net:/home/davem/src/BK/network-2.5
David S. Miller [Fri, 18 Jul 2003 16:29:39 +0000 (09:29 -0700)]
Merge nuts.ninka.net:/home/davem/src/BK/network-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5

23 years agoMerge nuts.ninka.net:/home/davem/src/BK/sparcwork-2.5
David S. Miller [Fri, 18 Jul 2003 16:21:09 +0000 (09:21 -0700)]
Merge nuts.ninka.net:/home/davem/src/BK/sparcwork-2.5
into nuts.ninka.net:/home/davem/src/BK/sparc-2.5

23 years ago[PATCH] Use before initialisation in devfs_mk_cdev()
Christoph Hellwig [Fri, 18 Jul 2003 13:00:06 +0000 (06:00 -0700)]
[PATCH] Use before initialisation in devfs_mk_cdev()

As noted by Gergely Nagy:

  "devfs_mk_cdev() first checks the mode passed to it, and if it thinks
   it is not a char device, it prints a warning and aborts.  Now, this
   printing involves the local variable `buf' (char buf[64]), which is
   not initialised at that point."

The same problem also affects devfs_mk_bdev.

Fixed thus.

23 years ago[PATCH] Make percpu_modcopy a macro
Rusty Russell [Fri, 18 Jul 2003 12:23:55 +0000 (05:23 -0700)]
[PATCH] Make percpu_modcopy a macro

davidm@hpl.hp.com writes:
  "I'm working on updating the ia64 tree with local_t etc.  One
   thing that would really help me: could you make
   asm-generic/percpu_modcopy() a macro?  The routine depends on
   cpu_possible(), but I can't including smp.h in percpu.h since
   that would lead to recusive header-file dependencies (and in my
   opinion, percpu.h should be more "primitive" than smp.h, so that
   it can be included virtually everywhere)."

23 years ago[PATCH] Delete init/cleanup_module prototypes in obscure places.
Rusty Russell [Fri, 18 Jul 2003 12:23:46 +0000 (05:23 -0700)]
[PATCH] Delete init/cleanup_module prototypes in obscure places.

A few places pre-declare "int module_init(void);" and "void
module_cleanup(void);".  Other than being obsolete, this is
unneccessary (it's in init.h anyway).

There are still about 100 places which still use the
obsolete-since-2.2 "a function named module_init() magically gets
called": this change frees us up implement that via a macro.

23 years ago[PATCH] module_put_and_exit
Rusty Russell [Fri, 18 Jul 2003 12:23:37 +0000 (05:23 -0700)]
[PATCH] module_put_and_exit

Author: Neil Brown

Define module_put_and_exit() and use it for nfsd/lockd

Both nfsd and lockd have threads which expect to hold a reference
to the module while the thread is running.  In order for the thread
to be able to put_module() the module before exiting, the
put_module code must be call from outside the module.

This patch provides module_put_and_exit in non-modular code which a
thread-in-a-module can call.  It also gets nfsd and lockd to use it
as appropriate.

Note that in lockd, we can __get_module in the thread itself as the
creator of the thread is waiting for the thread to startup.

In nfsd and for the 'reclaimer' threaded started by locked, we
__get_module first and put_module if the thread failed to start.

23 years ago[PATCH] Make rmmod -f taint kernel.
Rusty Russell [Fri, 18 Jul 2003 12:23:29 +0000 (05:23 -0700)]
[PATCH] Make rmmod -f taint kernel.

Somehow, the code which taints the kernel when rmmod -f is used got
lost.  Restore it.

23 years ago[PATCH] Sparc64 local_t support
Rusty Russell [Fri, 18 Jul 2003 12:23:22 +0000 (05:23 -0700)]
[PATCH] Sparc64 local_t support

These are the local_t bits for sparc64.

Other platforms such as PPC64 and Alpha (and in fact any "load locked/
store conditional" like platform other than IA64), probably want to do
something similar.

23 years ago[PATCH] Resolve module local_t conflict
Rusty Russell [Fri, 18 Jul 2003 12:23:14 +0000 (05:23 -0700)]
[PATCH] Resolve module local_t conflict

Uses local_t for module reference counts.

23 years ago[PATCH] introduce "local_t" - cpu-local atomic variables
Rusty Russell [Fri, 18 Jul 2003 12:23:07 +0000 (05:23 -0700)]
[PATCH] introduce "local_t" - cpu-local atomic variables

Introduces local_t, a type which is like atomic_t, but the
operations are only atomic from a single CPU's point of view
(ie. atomic against interrupts and softirqs). Some architectures
(eg. i386) can implement these very efficiently.

There are special operations for the case of a local operation on a
per-cpu variable (which is common), which some architectures can
implement efficiently (eg. IA64 keeps all per-cpu variables mapped
at the same address, so no address arithmetic is needed).

The generic implementation given here simply uses atomics on 32-bit
archs, three variables on others.  x86 is already implemented specially.

23 years ago[PATCH] Centralize Linker Symbols
Rusty Russell [Fri, 18 Jul 2003 12:22:58 +0000 (05:22 -0700)]
[PATCH] Centralize Linker Symbols

Richard Henderson point out a while back that linker generated symbols
should be declared as: "char _text[]" so that the compiler can't make
assumptions about them sitting in small sections, etc.

Centralize these defintions in asm/sections.h (where some already
are on x86).

23 years ago[PATCH] Allow struct members inside percpu macros
Rusty Russell [Fri, 18 Jul 2003 12:22:50 +0000 (05:22 -0700)]
[PATCH] Allow struct members inside percpu macros

The current percpu macros do not allow __get_cpu_var(foo.val1)
which makes building macros on top of them really difficult.  The
reason for this is the __per_cpu postfix appended to per-cpu
variables, designed to catch direct uses.  Prepend it instead.

23 years agoFix vfat shortname character logic that had wrong signedness
Linus Torvalds [Fri, 18 Jul 2003 11:50:01 +0000 (04:50 -0700)]
Fix vfat shortname character logic that had wrong signedness
tests.

From Dennis Vshivkov:

  "whenever I was trying to create a file using only national
   characters for its name, it was always created with an
   uppercased shortname (provided that the name was not too
   long for 8.3, of course). Everything was fine with latin
   filenames, though."

The bug is that we check "buf[0]" as an unsigned character, but
"buf" is just "char *", which (depending on architecture and
compiler options) tends to be signed.

23 years agoo wl3501: slow_down_io exists only on __i386___
Arnaldo Carvalho de Melo [Fri, 18 Jul 2003 10:32:54 +0000 (07:32 -0300)]
o wl3501: slow_down_io exists only on __i386___

The joys of having several arches at my home lab, thanks
to parisc this time.

23 years ago[PATCH] add new sound drivers to Makefile/Kconfig
François Romieu [Fri, 18 Jul 2003 10:15:43 +0000 (03:15 -0700)]
[PATCH] add new sound drivers to Makefile/Kconfig

Adds kahlua, harmony and hal2 drivers to the build options.