- 09 Mar, 2004 19 commits
-
-
Linus Torvalds authored
-
Benjamin Herrenschmidt authored
This fixes possible lockups in pmac_zilog when beeing flooded with incoming data (not that other serial drivers share the same race, I told Russel about it already). It also fixes some SCC initialization problems, add some PM callback, and fix the irda setup code.
-
Benjamin Herrenschmidt authored
This does cosmetic changes the pmac_zilog, changing the use of "up" as an identifier in favor "uap" to avoid collision with semaphores, use proper debug macros, and a few other cosmetic bits.
-
Andrew Morton authored
From Jan-Benedict Glaw <jbglaw@lug-owl.de>
-
Jean Tourrilhes authored
Original patch from Stephen Hemminger Move last bits of code out of irsyms and onto irmod.c where initialization happens. Move irda_debug parameter out of irsyms.c into irmod.c and make it a new style module parameter.
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-
Stephen Hemminger authored
irda_device_setup can now be static, only called from alloc_irdadev.
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-
Stephen Hemminger authored
Also, make type __u16 rather than unsigned short to match input parameter.
-
Stephen Hemminger authored
-
Stephen Hemminger authored
Also, make get_{saddr,daddr} inline and rename lmp_reasons to irlmp_reasons.
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-
Jean Tourrilhes authored
-
Stephen Hemminger authored
-
Dave Jones authored
This got fixed in 2.4, but somehow got missed in 2.6.
-
- 08 Mar, 2004 21 commits
-
-
Rusty Russell authored
This is a cleaner fix for the previous bogon fix.
-
Linus Torvalds authored
-
Rusty Russell authored
- Move free_block prototype, and ac_entry and ac_data functions up in file. - Use list_for_each_entry in cpuup_callback. - Remove unneccessary g_cpucache_up in cpuup_callback. - Make reap_timer_func take CPU number as data, and check if that is offline before rescheduing (noop without CONFIG_HOTPLUG_CPU).
-
Rusty Russell authored
Levent Serinol <levent.serinol@mynet.com> found that the hotplug cpu patch broke Sparc64. I introduced a num_possible_cpus(), which Sparc64 already has. Remove the Sparc64 one. I also removed Sparc64's cpu_online() macro: it's in linux/cpumask.h already.
-
Rusty Russell authored
Note that without CONFIG_HOTPLUG_CPU, online cpus == possible cpus, so substitutions are a noop. - Changes show_stat to print out stats for every possible cpu, not just online CPUs. - Allocate mem in stat_open on possible, not online_cpus. - Add conventient macros to cpu.h: especially cpu_is_offline() for testing if a cpu is still online. - Add a num_possible_cpus() similar to num_online_cpus(), and define cpu_possible_mask for UP. - Allow printk on down cpus once system is running. - Mask cpumask with possible, not online cpus, for sys_getaffinity().
-
Rusty Russell authored
Extracts core of drain_pages() for hotcpu use. Trivial. Hotplug CPU needs to drain pages on a downed CPU (usually it's the current cpu). Introduce "__drain_pages", make the CPU an argument, and expose it if CONFIG_HOTPLUG_CPU as well as CONFIG_PM.
-
bk://kernel.bkbits.net/jgarzik/via-crypto-2.5Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-
Jeff Garzik authored
into redhat.com:/spare/repo/via-crypto-2.5
-
bk://gkernel.bkbits.net/libata-2.5Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-
Jeff Garzik authored
Promise driver uses a custom error handling function, so we need the fix that was applied to the libata core: the SCSI error handling thread requires that we complete commands using a special completion function, since the normal one doesn't work inside the error handling thread.
-
Jeff Garzik authored
-
Jeff Garzik authored
-
Arjan van de Ven authored
The following patch is a very crude one to at least not make sata block suspend-to-ram entirely. Probably you want more powermanagement handling as well... but it's a start
-
bk://gkernel.bkbits.net/net-drivers-2.5Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-
Don Fry authored
The pcnet32 driver will hang after a few frames (<30) with the 79C971 (and probably the 79C972 though I don't have the hardware to prove it). By interrupting slightly more frequently the hang will not occur.
-
Marc Zyngier authored
>>>>> "Pawel" == Pawel Sokolowski <falcon@muflon.linux.pl> writes: Pawel> This machine has RAM BIOS booted from floppy. I ran it and EISA Pawel> configure utility to check this once more. Card is enabled and not Pawel> locked. I added eisa_bus.enable_dev=2 parameter but it didn't help much. Pawel> I'm getting: Pawel> EISA: Probing bus 0 at eisa0 Pawel> EISA: Mainboard HWPC061 detected. Pawel> EISA: slot 2 : HWP1940 detected (forced enabled). Pawel> EISA: Detected 1 card. Pawel> I added this final entry you mailed but nothing changed. Still - module Pawel> loads and unloads cleanly and without any warnings on 2.6.4-rc1. But Pawel> does nothing - not a single line in logs/dmesg after it's loaded. Card Pawel> does not work after modprobe, I can't get interface up. Ok, found it. It really looks like the new EISA probing code in hp100 never got tested, since a precious offset has disappeared during the rewriting process. Please note that you still need to enable the device by hand, since your BIOS (or maybe the EISA CFG file, since I'm seeing the exact same problem on a Compaq machine here) doesn't properly enable the card. Here is what I'm getting on my test system : EISA: Probing bus 0 at 0000:00:0f.0 EISA: Mainboard CPQ0541 detected. EISA: slot 1 : DEC4250 detected. EISA: slot 2 : UNB0048 detected. EISA: slot 3 : HWP1940 detected (forced enabled). hp100: Using (slow) programmed i/o mode. hp100: at 0x3c38, IRQ 3, EISA bus, 128k SRAM (rx/tx 75%). hp100: Adapter is attached to 10Mb/s network (10baseT). EISA: slot 4 : NVL0701 detected.
-
Rusty Russell authored
Now we've moved the bogolock code out to stop_machine.c and generalized it a little, use it in module.c and delete the duplicate code there.
-
Rusty Russell authored
The "bogolock" code was introduced in module.c, as a way of freezing the machine when we wanted to remove a module. This patch moves it out to stop_machine.c and stop_machine.h. Since the code changes affinity and proirity, it's impolite to hijack the current context, so we use a kthread. This means we have to pass the function rather than implement "stop_machine()" and "restart_machine()".
-
bk://kernel.bkbits.net/davem/sparc-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-
bk://kernel.bkbits.net/davem/net-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-
David S. Miller authored
into kernel.bkbits.net:/home/davem/sparc-2.6
-