- 16 Mar, 2004 40 commits
-
-
Andrew Morton authored
From: "Kenneth Chen" <kenneth.w.chen@intel.com> Even though there is a CONFIG_MAX_RAW_DEVS option, it doesn't actually increase the number of raw devices beyond 256 because during the char registration, it uses the standard register_chrdev() interface which has hard coded 256 minor in it. Here is a patch that fix this problem by using register_chrdev_region() and cdev_(init/add/del) functions.
-
Andrew Morton authored
From: Andy Whitcroft <andyw@uk.ibm.com> The vsyscall implementation for ia32 provides two different vsyscall pages; one to use int80 and the other to use sysenter. Each includes a common signal trailer. The kernel requires the alignment of routines in this trailer be consistent in both copies. However this is not enforced at compile time. Failure to maintain this alignment typically leads to an obscure SIGSEGV in init during boot. This critical alignment requirement is not well documented. Below is a patch to better document the alignment requirements and to enforce the requirement.
-
Andrew Morton authored
From: Martin Schwidefsky <schwidefsky@de.ibm.com> tape driver fixes: - Link from ccw device to class device in sysfs. - Cosmetic changes. - Add copyright statements.
-
Andrew Morton authored
From: Martin Schwidefsky <schwidefsky@de.ibm.com> Fix for z/VM monitor stream: - Add try_module_get and module_put to the [un]register functions. - Some code beautification.
-
Andrew Morton authored
From: Martin Schwidefsky <schwidefsky@de.ibm.com> dasd driver fixes: - Remove additional dasd attributes for a ccw-device if the discipline (=driver) gets unloaded. - Fix race of dasd_generic_offline against dasd_open. - Remove irq_exit calls from diag interrupt handler. The irq_enter/ irq_exit is done in the external interrupt handler.
-
Andrew Morton authored
From: Martin Schwidefsky <schwidefsky@de.ibm.com> network driver fixes: - Use SET_NETDEV_DEV to create the link from the network device to the physical device. Remove link from physical to network device. - Remove some unnecessary casts in netiucv. - Add missing strings to dev_stat_names & dev_event_names. - Add missing preempt_disable/preempt_enable pairs in iucv. - Allow to change the peer username in netiucv.
-
Andrew Morton authored
From: Martin Schwidefsky <schwidefsky@de.ibm.com> sclp console fixes: - Replace irq_enter/irq_exit pair with Add local_bh_enable/local_bh_disable.
-
Andrew Morton authored
From: Martin Schwidefsky <schwidefsky@de.ibm.com> Common i/o layer fixes: - Improve blacklist argument parsing. - Fix device recognition for devices where SenseID fails. - Don't try to set a device online that has no driver. - Chain a release ccw to the unconditional reserve ccw for forced online. - Fix irb accumulation for pure status pending with eswf set. - Fix rc handling in qdio_shutdown. - Improve retry behavious for busy conditions on qdio. - Fix activity check in ccw_device_start/read_dev_chars and read_conf_data.
-
Andrew Morton authored
From: Martin Schwidefsky <schwidefsky@de.ibm.com> s390 core changes: - Merge 31 and 64 bit NR_CPUS config option. Default to 32 cpus. - Remove unused system calls from compat_linux.c. - Add statfs64 and fstatfs64. Reserve system call number for remap_file_pages. - Merge do_signal32 into do_signal. - Don't remove the per bit and the program mask from the user psw due to a signal. - Fix a problem with gdb and interrupted system calls. - Fix single stepping of interrupted system calls. - Fix compiler warnings in bitops.h.
-
Andrew Morton authored
From: Anton Blanchard <anton@samba.org> bitops.c was a bit of a mess wrt formatting so run it through Lindent. No code changes.
-
Andrew Morton authored
From: Tom Rini <trini@kernel.crashing.org> When I converted the use of PCI_DMA_foo constants to DMA_foo constants, I forgot that it's PCI_DMA_FROMDEVICE and DMA_FROM_DEVICE. The following fixes that.
-
Andrew Morton authored
From: Tom Rini <trini@kernel.crashing.org> include/asm-ppc/dma-mapping.h was made to be a 'real' header recently and therefore missed out on the updates that davem did to all of the other versions. This updates <asm-ppc/dma-mapping.h> to match what's expected now.
-
Andrew Morton authored
From: Tom Rini <trini@kernel.crashing.org> When Dave Miller updated <asm-ppc/pci.h> for the _for_device and _for_cpu portions of the PCI DMA API, he assumed that on PPC32 consistent_sync* would also need to be changed for device or cpu. This is not the case, so what this does is the pci_*_for_{cpu,device} calls call consistent_sync{,page} again.
-
Andrew Morton authored
From: Tom Rini <trini@kernel.crashing.org> Fix a cut & paste error in forward porting from 2.4, we don't reference dev->bus or dev->devfn, both are passed as arguments.
-
bk://gkernel.bkbits.net/misc-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-
Andi Kleen authored
Fix memory corruption in the HT init on x86-64 recently introduced by me. Fix from from Suresh B. Siddha.
-
Chen Yang authored
- Chen Yang's fix to work with NGROUPS - Chen Yang's fix to handle file deletion - Remove TCGETS handling and return -ENOTTY for unknown ioctl code. - Removed InterMezzo from BROKEN state
-
Jeff Garzik authored
-
Anton Blanchard authored
The proc_rtas_init call in procfs was removed (replaced with an initcall) but the prototype was still hiding. Kill it.
-
Bartlomiej Zolnierkiewicz authored
From: Andre Hedrick <andre@linux-ide.org> Tested on Epox 8K9A3+ and 4PCA3+ by Tomi Orava <Tomi.Orava@ncircle.nullnet.fi>.
-
Bartlomiej Zolnierkiewicz authored
It was tested by a few people and has been in -mm since 2.6.4-rc2-mm1.
-
Bartlomiej Zolnierkiewicz authored
-
Bartlomiej Zolnierkiewicz authored
ATAPI multi-lun support has been broken for a long time. It used to be that "(drive->id->last_id & 0x7) + 1" was used as shost->max_lun and the "hdXlun=" kernel parameter could be used to override this value. However it was far from optimal: - people played with "hdXlun=" and then complained about multiple instances of the same device (most ATAPI drives respond to each LUN) - probably some devices return 7 not 0 in id->last_id (=> 7 x same device) This patch from Willem Riede <wrlk@riede.org> fixes it w/o need for "hdXlun=" option. It was tested by Willem on ATAPI PD/CD drive.
-
Rusty Russell authored
wait_task_inactive is now only used in two non-time-critical places: the ptrace code to guarantee a schedule and kthread_bind so we can change the thread CPU. Unfortunately with preempt, the code as stands has a race: we might return because the thread is preempted, not because it actually reached schedule(). The ptrace code (probably) doesn't care, but the kthread code does. This patch simplifies the (now over-optimized) code, and does a yield() for the preemption case.
-
Jeff Garzik authored
-
Greg Kroah-Hartman authored
into kroah.com:/home/greg/linux/BK/usb-2.6
-
Jeremy Katz authored
Simple obvious patch so that all calls to blkpg from the non-native environment don't get -EINVAL
-
bk://gkernel.bkbits.net/net-drivers-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-
Jeff Garzik authored
into redhat.com:/spare/repo/net-drivers-2.6
-
Jeff Garzik authored
RX skbs are always considered maximally sized, until actual reception of the RX frame occurs. So, update this driver to always map and unmap a maximally sized skb. This fixes this driver on several non-x86 platforms.
-
bk://gkernel.bkbits.net/misc-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-
bk://gkernel.bkbits.net/libata-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-
http://jfs.bkbits.net/linux-2.5Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-
Dave Kleikamp authored
-
Linus Torvalds authored
Verified to not break anything on x86 either.
-
Greg Kroah-Hartman authored
This saves some memory and is easier to understand what is happening.
-
http://lia64.bkbits.net/to-linus-2.5Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-
Bjorn Helgaas authored
We also need the following patch to build the generic_defconfig after the DMA API change: http://linux.bkbits.net:8080/linux-2.5/cset@405490e15inT3T0H2x887j9SaMkYRQ
-
Greg Kroah-Hartman authored
into kroah.com:/home/linux/BK/usb-2.6
-
bk://kernel.bkbits.net/vojtech/inputLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-