30 May, 2005
9 commits
-
Signed-off-by: Jon Mason
Signed-off-by: David S. Miller -
It cannot work properly, so just ignore it in drr
and rr multipath algorithms just like the random
multipath algorithm does.Suggested by Herbert Xu.
Signed-off by: Pravin B. Shelar
Signed-off-by: David S. Miller -
This patch adds is_multicast_ether_addr() to go along with
is_valid_ether_addr() and friends. It then changes
is_valid_ether_addr() to use the new macro, and fixes up the comment
on that function to move implementation details out of the API doco.Signed-off-by: Michael Ellerman
Signed-off-by: David S. Miller -
Add an option to make secondary IP addresses get promoted
when primary IP addresses are removed from the device.
It defaults to off to preserve existing behavior.Signed-off-by: Harald Welte
Signed-off-by: David S. Miller -
rsync://rsync.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev
-
The features field in netdevice is really a bitmask, and bitmask's should
be unsigned.Signed-off-by: Stephen Hemminger
Signed-off-by: David S. Miller -
Resend of earlier patch (no changes) from Catalin used to provide
device feature change notification.Signed-off-by: Catalin BOIE
Acked-by: Stephen Hemminger
Signed-off-by: David S. Miller -
rsync://rsync.kernel.org/pub/scm/linux/kernel/git/dtor/input
29 May, 2005
7 commits
-
This patch adds on-chip PCI bridge support for the PQ2 family. The
incomplete existent code is updated with interrupt handling stuff and
board-specific bits for 8272ADS and PQ2FADS; the related files were renamed
(from m8260_pci to m82xx_pci) to be of more generic fashion. This is
tested with 8266ADS and 8272ADS, should work on PQ2FADS as well.Signed-off-by: Vitaly Bordug
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
This var is currently useless, as it's apparent from reading the code. Until
2.6.11 it was used in some code related to jail mode, in the same proc.:if(jail){
while(!reading) sched_yield();
}jail mode has been dropped, together with that use, so let's finish dropping
this.Also, remove some other useless definitions I met.
Acked-by: Jeff Dike
Signed-off-by: Paolo 'Blaisorblade' Giarrusso
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
After porting this fixlet to UML:
http://linux.bkbits.net:8080/linux-2.5/cset@41791ab52lfMuF2i3V-eTIGRBbDYKQ
, I've also added a warning which should refuse compilation with insane values
for PREEMPT_ACTIVE... maybe we should simply move PREEMPT_ACTIVE out of
architectures using GENERIC_IRQS.Signed-off-by: Paolo 'Blaisorblade' Giarrusso
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Port Paulus's ppc64 fix to sh:
When the generic IRQ stuff went in, it seems that HARDIRQ_BITS got bumped
from 9 (for ppc64) up to 12. Consequently, the PREEMPT_ACTIVE bit is now
within HARDIRQ_MASK, and I get in_interrupt() falsely returning true when
PREEMPT_ACTIVE is set, and thus a BUG_ON tripping in arch/ppc64/mm/tlb.c.Signed-off-by: Paul Mundt
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
This is a continuation for UML of:
http://linux.bkbits.net:8080/linux-2.5/cset@41791ab52lfMuF2i3V-eTIGRBbDYKQ
Signed-off-by: Paolo 'Blaisorblade' Giarrusso
Cc: Paul Mackerras
Cc: Ingo Molnar
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Copy (and adapt) to UML the stack code dumper used in i386 when
CONFIG_FRAME_POINTER is enabled.Signed-off-by: Paolo 'Blaisorblade' Giarrusso
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Eliminate an unused variable warning in ptrace.c and a size mismatch warning
by adding a cast to __pa.Signed-off-by: Jeff Dike
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
28 May, 2005
1 commit
-
This patch adds dummy gameport_register_port, gameport_unregister_port
and gameport_set_phys functions to gameport.h for the case when a driver
can't use gameport.This fixes the compilation of some OSS drivers with GAMEPORT=n without
the need to #if inside every single driver.This patch also removes the non-working and now obsolete SOUND_GAMEPORT.
This patch is also an alternative solution for ALSA drivers with similar
problems (but #if's inside the drivers might have the advantage of
saving some more bytes of gameport is not available).The only user-visible change is that for GAMEPORT=m the affected OSS
drivers are now allowed to be built statically (but they won't have
gameport support).Signed-off-by: Adrian Bunk
Signed-off-by: Vojtech Pavlik
Signed-off-by: Dmitry Torokhov
27 May, 2005
7 commits
-
Delete quirk_via_bridge(), restore quirk_via_irqpic() -- but now
improved to be invoked upon device ENABLE, and now only for VIA devices
-- not all devices behind VIA bridges.Signed-off-by: Bjorn Helgaas
Signed-off-by: Len Brown
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Jens Axboe pointed out that the iounmap() call in libata was occurring
too early, and some drivers (ahci, probably others) were using ioremap'd
memory after it had been unmapped.The patch should address that problem by way of improving the libata
driver API:* move ->host_stop() call after all ->port_stop() calls have occurred.
* create default helper function ata_host_stop(), and move iounmap()
call there.* add ->host_stop_prewalk() hook, use it in sata_qstor.c (hi Mark).
sata_qstor appears to require the host-stop-before-port-stop ordering
that existed prior to applying the attached patch. -
We fixed this bug before, but it didn't take. It may have been the case
that the problem was first noticed to occur in a CONFIG_REGPARM compile.
But it's not regparm functions that need not to make tail calls, it's
asmlinkage functions called with a user pt_regs frame on the stack
supplying their arguments. prevent_tail_call probably doesn't do anything
at all in regparm functions (your argument registers are going to be
clobbered, period). It was a braino to conditionalize that definition in
the first place.Signed-off-by: Roland McGrath
Signed-off-by: Linus Torvalds -
A new driver bnx2 for Broadcom bcm5706 is available.
The patch also includes new 1000BASE-X advertisement bit definitions in
mii.hThanks to David Miller and Jeff Garzik for reviewing and their valuable
feedback.Signed-off-by: Michael Chan
Signed-off-by: David S. Miller -
Signed-off-by: Alexey Dobriyan
Signed-off-by: David S. Miller -
[XFRM] Call dst_check() with appropriate cookie
This fixes infinite loop issue with IPv6 tunnel mode.
Signed-off-by: Kazunori Miyazawa
Signed-off-by: Hideaki YOSHIFUJI
Signed-off-by: David S. Miller -
Here is a fixed up version of the reorder feature of netem.
It is the same as the earlier patch plus with the bugfix from Julio merged in.
Has expected backwards compatibility behaviour.Go ahead and merge this one, the TCP strangeness I was seeing was due
to the reordering bug, and previous version of TSO patch.Signed-off-by: Stephen Hemminger
Signed-off-by: David S. Miller
26 May, 2005
5 commits
-
* add ide_bus_match() and export ide_bus_type
* split ide_remove_driver_from_hwgroup() out of ide_unregister()
* move device cleanup from ide_unregister() to drive_release_dev()
* convert ide_driver_t->name to driver->name
* convert ide_driver_t->{attach,cleanup} to driver->{probe,remove}
* remove ide_driver_t->busy as ide_bus_type->subsys.rwsem
protects against concurrent ->{probe,remove} calls
* make ide_{un}register_driver() void as it cannot fail now
* use driver_{un}register() directly, remove ide_{un}register_driver()
* use device_register() instead of ata_attach(), remove ata_attach()
* add proc_print_driver() and ide_drivers_show(), remove ide_drivers_op
* fix ide_replace_subdriver() and move it to ide-proc.c
* remove ide_driver_t->drives, ide_drives and drives_lock
* remove ide_driver_t->drivers, drivers and drivers_lock
* remove ide_drive_t->driver and DRIVER() macroSigned-off-by: Bartlomiej Zolnierkiewicz
-
Fixes some !CONFIG_BUG warnings:
include/asm/mmu_context.h: I funktion `switch_mm':
include/asm/mmu_context.h:57: varning: implicit declaration of function `out_of_line_bug'Signed-off-by: Alexander Nyberg
Cc: Andi Kleen
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
For quite a while, there has existed a hypervisor bug on legacy iSeries
which means that we do not get the boot time set in the kernel. This
patch works around that bug. This was most noticable when the root
partition needed to be checked at every boot as the kernel thought it
was some time in 1905 until user mode reset the time correctly.Signed-off-by: Stephen Rothwell
Signed-off-by: Linus Torvalds
25 May, 2005
2 commits
-
Use LIST_HEAD_INIT rather than doing it by hand in DEFINE_WAIT.
Signed-off-by: Paolo 'Blaisorblade' Giarrusso
Signed-off-by: Linus Torvalds
24 May, 2005
5 commits
-
Older UltraSPARC-III chips have a P-Cache bug that makes us disable it
by default at boot time.However, this does hurt performance substantially, particularly with
memcpy(), and the bug is _incredibly_ obscure. I have never seen it
triggered in practice, ever.So provide a "-P" boot option that forces the P-Cache on. It taints
the kernel, so if it does trigger and cause some data corruption or
OOPS, we will find out in the logs that this option was on when it
happened.Signed-off-by: David S. Miller
-
Everybody does
struct packet_type foo_packet_type = {
.type = __constant_htons(ETH_P_FOO);
};5 introduced warnings will be properly fixed later.
Signed-off-by: Alexey Dobriyan
Signed-off-by: David S. Miller -
Add 0x1601 as 5752M, it's a 5752 but for mobile PCs.
Stolen from Broadcom bcm5700-8.1.55 driver.Someone forgot to add it to tg3 ;-)
Signed-off-by: David S. Miller
-
I removed the ethernet definitions (which were commented out) and
cleaned up the tabs.Signed-off-by: Jon Mason
-
That struct member was deleted, but a comment
was not updated to reflect this.Signed-off-by: David S. Miller
22 May, 2005
2 commits
-
In _spin_unlock_bh(lock):
do { \
_raw_spin_unlock(lock); \
preempt_enable(); \
local_bh_enable(); \
__release(lock); \
} while (0)there is no reason for using preempt_enable() instead of a simple
preempt_enable_no_resched()Since we know bottom halves are disabled, preempt_schedule() will always
return at once (preempt_count!=0), and hence preempt_check_resched() is
useless here...This fixes it by using "preempt_enable_no_resched()" instead of the
"preempt_enable()", and thus avoids the useless preempt_check_resched()
just before re-enabling bottom halves.Signed-off-by: Samuel Thibault
Signed-off-by: Linus Torvalds
21 May, 2005
2 commits
-
Defines for the different command classes as defined in the MMC and SD
specifications.Removes the check for high command classes and instead checks that the
command classes needed are present.
Previous solution killed forward compatibility at no apparent gain.Signed-of-by: Pierre Ossman