- 14 Aug, 2004 4 commits
-
-
Paul Mackerras authored
Rearrange the ste_allocate()/__ste_allocate() path in the PPC64 segment table code more sensibly. This moves various valid address checks into the lower-level __ste_allocate(), meaning the checks don't need to be duplicated in preload_stab(). Signed-off-by: David Gibson <dwg@au1.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
-
Paul Mackerras authored
Clean up various aspects of the PPC64 segment table management code: move code around to suit call order, remove redundant computations, and extra intermediate variables which don't really add to clarity. Signed-off-by: David Gibson <dwg@au1.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
-
Paul Mackerras authored
Remove the overly verbose and hard to follow use of bitfields in the PPC64 segment table code, replacing it with explicit bitmask operations. Signed-off-by: David Gibson <dwg@au1.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
-
Paul Mackerras authored
Move the segment table handling code from arch/ppc64/kernel to arch/ppc64/mm where it better belongs. This patch doesn't actually change the code at all. Signed-off-by: David Gibson <dwg@au1.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
-
- 12 Aug, 2004 5 commits
-
-
Tom Rini authored
In the *ppos cleanups, proc_dol2crvec was updated, but the prototype found at the top of kernel/sysctl.h was not, generating warning. This corrects the prototype to match the code. (I'm gonna take a stab at moving these into arch/ppc shortly) Signed-off-by: Tom Rini <trini@kernel.crashing.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Linus Torvalds authored
We allow more commands if the disk was opened read-write.
-
Linus Torvalds authored
They'll need it for permission checking.
-
Linus Torvalds authored
Normal users shouldn't have access to the raw device anyway unless they are in the trusted "disk" group, but let's require RAWIO capabilities. That's what the original SCSI interfaces did anyhoo. We probably _should_ just require write access, but that will need more of a code change to pass down the file descriptor.
-
Jens Axboe authored
We must setup the queue before calling elevator_init(), otherwise the elevator cannot use the queue members. This really hurts cfq since it checks ->nr_requests, which is zero at that time. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
- 11 Aug, 2004 6 commits
-
-
Tom Rini authored
CONFIG_SERIAL_8250_MANY_PORTS should not be set for these boards, as they only have 2 serial ports. Signed-off-by: Tom Rini <trini@kernel.crashing.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Neil Brown authored
With 'len' being unsigned now, we must make sure it never tries to go negative... Thanks: griffon26@kfk4ever.com (Maurice van der Pot) Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
David S. Miller authored
-
David S. Miller authored
Eliminates costly atomic bitops in do_sparc64_fault. Signed-off-by: David S. Miller <davem@redhat.com>
-
David S. Miller authored
It is bogus, plus it breaks the build with CONFIG_SWAP disabled. Based upon a patch from Ben Collins (bcollins@debian.org) Signed-off-by: David S. Miller <davem@redhat.com>
-
bk://linux-mtd.bkbits.net/mtd-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
- 10 Aug, 2004 25 commits
-
-
David Woodhouse authored
-
bk://linux-mtd.bkbits.net/mtd-2.6David Woodhouse authored
into dwmw2.baythorne.internal:/inst/bk/mtd-2.6
-
David Woodhouse authored
-
David Woodhouse authored
-
Josh Boyer authored
Patch from Jun Sun. Signed-Off-By: David Woodhouse <dwmw2@infradead.org>
-
David Woodhouse authored
- Add Millennium Plus support. - Add advanced probe configuration options - Fix abuse of buffer space in scan for Media Header.
-
David Woodhouse authored
-
David Woodhouse authored
Define callback wrapper function mtd_erase_callback() to handle partition offsets during the callback, rather than attempting to fix them up in the freed erase_info structure after the callback has already happened.
-
bk://gkernel.bkbits.net/net-drivers-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Andrew Morton authored
Signed-off-by: Andrew Morton <akpm@osdl.org>
-
Andrew Morton authored
From: Mathieu LESNIAK <maverick@eskuel.net> This patch corrects a problem with Netgear FA311 ethernet card (a cheap one). Without it, the MAC address is byte swapped ie : HWaddr 02:00:07:E3:E9:F5 instead of : HWaddr 00:02:E3:07:F5:E9 (the correct MAC address vendor code for Netgear/LiteOn is 00:02:E3) Signed-off-by: Andrew Morton <akpm@osdl.org>
-
Andrew Morton authored
Signed-off-by: Andrew Morton <akpm@osdl.org>
-
Simon Kelley authored
The following patch adds a couple of missing byteswaps and allows the Atmel wireless driver to work in WEP mode on big-endian CPUs. (tested on powerPC).
-
Margit Schubert-While authored
* We are not correctly reporting supported bit rates. * Fix it.
-
Margit Schubert-While authored
* Change the "version" OID to what it should be. * Fix memory leaks - mgt_get_request always returns * allocated memory for non-int OIDS (with an exception - * keep reading). If the caller checks the return and itself * returns, then it must free memory. * However, it is possible to return from mgt_get_request * early (!priv->mib). In this case, weird things can happen * in isl_ioctl. Quick fix, at least to force an oops, is * to set the union value to NULL. The real fix is to * recode all mgt_get_request calls in isl_ioctl.
-
Margit Schubert-While authored
* We are handing back HANDLED even though the IRQ is not for us. We also change device state. This is plainly wrong. AFAICT we also need to take the spin lock early. Tested/running on UP/SMP for about a week now. (Discovered on one of my lappies that had the X driver on the same IRQ) (Proposed on Prism54 Devel with no objections)
-
Margit Schubert-While authored
* It seems that Viro patched prism54 with the following patch set : http://www.kernel.org/pub/linux/kernel/v2.6/testing/cset/ cset-viro@www.linux.org.uk[torvalds]|ChangeSet|20040727040034|54764.txt * I do not see any indication in any mailing list of this. It would be nice if we could be informed of such changes :-) * (Changes committed to our CVS)
-
bk://kernel.bkbits.net/jgarzik/libata-upstream-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Andrew Chew authored
-
Andrew Chew authored
-
Dave Hansen authored
Investigation of why the build is failing due to bogus detection of undefined symbols: We're getting this warning: arch/i386/kernel/irq.c {standard input}: Assembler messages: {standard input}:3565: Warning: setting incorrect section type for .bss.page_aligned Which comes from this code in the 4k stacks code: static char softirq_stack[NR_CPUS * THREAD_SIZE] __attribute__((__aligned__(THREAD_SIZE), __section__(".bss.page_aligned"))); static char hardirq_stack[NR_CPUS * THREAD_SIZE] __attribute__((__aligned__(THREAD_SIZE), __section__(".bss.page_aligned"))); Removing the __section__() fixes it, as does moving to gcc 3.2 or 3.3, but gcc 2.95 and 3.0 still exhibit the problem. It seems the 4k stack developers like newer compilers than I do :) The gcc 2.95 section declaration looks like this: .section .bss.page_aligned,"aw",@progbits while the 3.1 section looks like this: .section .bss.page_aligned,"aw",@nobits It's definitely a bug that's been fixed: http://sources.redhat.com/ml/binutils/2002-10/msg00507.html I've been told that I can fix it with a carefully crafted assembly file and maybe a change to the linker script, but all that it buys us is a little space in the uncompressed kernel image. Plus, the warning will still be there at compile-time. I say, put them back in plain old BSS. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Adrian Bunk <bunk@fs.tum.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
bk://kernel.bkbits.net/davem/net-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
bk://kernel.bkbits.net/davem/sparc-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Roger Luethi authored
Without this patch, mainline via-rhine cannot wake the chip if some other driver puts it to D3. The problem has hit quite a few people already. This is a fix for the heisenbug with via-rhine refusing to work sometimes. Patch "[9/9] Restructure reset code" contained a change made necessary by patch [8/9]. Mainline merged [8/9] for 2.6.8 and is still missing the fix, while -mm got it with [9/9]. Jesper Juhl provided crucial test data when no one else was able to reproduce the symptoms. Signed-off-by: Roger Luethi <rl@hellgate.ch> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Jens Axboe authored
This is used by some IBM vscsi driver. It was using schedule_work(), but should be using the block layer queue. Signed-off-by: Jens Axboe <axboe@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-