- 21 Sep, 2003 9 commits
-
-
Andrew Morton authored
From: "Nakajima, Jun" <jun.nakajima@intel.com> Split the increasingly messy compiler.h file into per-compiler files and also add support for non-gcc compilers. With the current implementation: include/linux/compiler.h defines the compiler-dependent abstractions which can be overwritten by per-compiler definitions. include/linux/compiler-gcc.h contains the common definitions for all gcc versions. include/linux/compiler-gcc[2,3,+].h contains gcc major version specific definitions. include/linux/compiler-intel.h contains intel compiler specific definitions."
-
Andrew Morton authored
- declarations come first - fix bizarre coding style.
-
bk://bk.arm.linux.org.uk/linux-2.6-pcmciaLinus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Russell King authored
The problem was that the semaphore which prevents ds interfering with the sleepy card initialisation (skt_sem in pccardd) is blocking insmod of the socket driver. However, the socket driver is being called with the PCI bus semaphore held by the driver model. pccardd in turn discovered a cardbus card (with skt_sem held), so it is trying to add the PCI devices to the PCI bus, and this requires the driver model to grab the PCI bus semaphore, but its already locked. We move the class device register into pccardd so we get a natural ordering between the ds socket initialisation and pccardd trying to detect inserted cards. We also fix a potential use-after-free caused by rmmod'ing the socket driver before ds has shut down.
-
bk://bk.arm.linux.org.uk/linux-2.6-rmkLinus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Russell King authored
Don't issue a system call from kernel_thread(), but call do_fork() directly. This avoids all the unnecessary syscall overhead.
-
Albert Cahalan authored
It's bad to make (CLONE_THREAD | CLONE_DETACHED) tasks be _completely_ hidden. Resource consumption is hard to track down if a user can hide a task from /bin/ps. This patch, supported by the procps-3.1.13 release, gives admins the ability to search for such tasks. The top-level /proc directory remains uncontaminated.
-
Linus Torvalds authored
-
Matthew Wilcox authored
When I change the setting of CONFIG_EISA, everything rebuilds. This is because EISA_bus is declared in <asm/processor.h> which is implicitly included by just about everything. This is a silly place to declare it, so this patch moves it to include/linux/eisa.h. While I'm at it, I also move the variable definition to drivers/eisa/eisa-bus.c. The rest of this patch is fixing up the fallout from having to include <linux/eisa.h> if you use EISA_bus.
-
- 20 Sep, 2003 31 commits
-
-
Linus Torvalds authored
automatically as needed.
-
Russell King authored
Remove duplicate includes, ensure that linux/config.h is included where necessary, and linux/config.h isn't included where it isn't needed.
-
bk://kernel.bkbits.net/gregkh/linux/linus-2.6Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
bk://kernel.bkbits.net/jgarzik/misc-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Jeff Garzik authored
* increase length of wait for analog-ready * fix printk prefix (cosmetic) * bail out for pure MMIO interfaces, instead of attempting to use it via PIO and hanging the system.
-
Linus Torvalds authored
-
bk://kernel.bkbits.net/jgarzik/net-drivers-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Stephen Hemminger authored
Small clean up, to use current APIs.
-
Javier Achirica authored
-
Javier Achirica authored
-
Jochen Friedrich authored
this one fixes both drivers. They have been broken since the reorganization in June. Unfortunately, my major build platform (alpha) had some issues with later 2.5.X kernels (cache problems causing all kind of funny behaviour), so i waited until these problems had been resolved by the alpha gurus :-/... In the mean time i also upgraded pine. I hope the patch corruption issue is resolved by now.
-
Stephen Hemminger authored
Update hamradio/scc for 2.6.0-test5 - use seq_file for /proc - get rid of dev_get() - use alloc_netdev Don't have hardware, but can load/unload the module fine.
-
Amir Noam authored
This patch converts /proc/net/bondX/info into /proc/net/bonding/bondX using the seq_file interface. This is based on Stephen's recent patch, but slightly modified to work with the propagation patch set and with some locking changes to make it simpler. The patch applies both on 2.4 (after the sync set from earlier today) and on 2.6 (after the propagation set from 2003/11/9). Amir
-
Adrian Bunk authored
sbni.c in 2.6.0-test5 fails to compile with gcc 3.3 with the following error: <-- snip --> ... CC drivers/net/wan/sbni.o ... drivers/net/wan/sbni.c: In function `calc_crc32': drivers/net/wan/sbni.c:1568: error: asm-specifier for variable `_crc' conflicts with asm clobber list make[3]: *** [drivers/net/wan/sbni.o] Error 1 <-- snip --> Below is the patch by Margit Schubert-White to fix this issue (it is already in 2.4). cu Adrian
-
Andrew Morton authored
Rick Lindsley <ricklind@us.ibm.com> wrote: > > since it's been out for a while you probably already know, but the patch > for e1000_main.c has a bug in it. Looks like it will fail at line 1550 if > compiled with NETIF_F_TSO defined. > So it will. I blame the gcc developers. 25-akpm/drivers/net/e1000/e1000_main.c | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-)
-
Amir Noam authored
-
Amir Noam authored
-
Amir Noam authored
-
Amir Noam authored
-
Amir Noam authored
-
Amir Noam authored
-
Amir Noam authored
-
Amir Noam authored
-
Amir Noam authored
-
Stephen Hemminger authored
Redo of earlier patch to get rid of MOD_INC/DEC and use alloc_netdev. This is against 2.6.0-test5 bk latest.
-
Stephen Hemminger authored
Update sealevel driver to match current net_device interface: - dynamically allocate netdevice and private data. - get rid of MOD_INC/DEC - if_ptr not used - bugfix: not all of board structure was being zeroed. Note: this driver still doesn't probe() correctly since it just assumes that if loaded the hardware is there! Since I don't have one of these boards... tested it by #ifdef'ing out all the bits that touch actual hardware.
-
Stephen Hemminger authored
Convert ali-ircc driver to: - use alloc_net_dev not dev_alloc - allocate private data at same time - cleanup error unwinds - call free_netdev. Builds and loads, but don't have real hardware.
-
Stephen Hemminger authored
Convert via-ircc 2.6.0-test5 - use alloc_net_dev not dev_alloc - allocate private data at same time - cleanup error unwinds - call free_netdev. Builds and loads, but don't have real hardware.
-
Stephen Hemminger authored
Cleanup nsc-ircc driver for 2.6.0-test5 - replace dev_alloc with alloc_netdev - use private data allocated with alloc_netdev - error unwind cleanup
-
Stephen Hemminger authored
Fixes for donauboe for 2.6.0-test5 - replace dev_alloc with alloc_netdev - error unwind cleanup
-
Stephen Hemminger authored
Yet another irda driver cleanup for 2.6.0-test5 - replace dev_alloc with alloc_netdev - use private data allocated with alloc_netdev - use free_netdev
-