Russell King [Wed, 26 Mar 2003 14:58:05 +0000 (14:58 +0000)]
[ARM] Update Cyber2000fb driver for new fbcon API
This cset updates cyber2000fb (used on NetWinders) to the new
fbcon API, and adds cfbfillrect, cfbcopyarea and cfbimgblt
objects when building cyber2000fb.
Russell King [Wed, 26 Mar 2003 01:11:28 +0000 (01:11 +0000)]
[ARM] Fix ARM do_div() implementation
The ARM do_div() implementation was rather lax in that it only
performed a 32-bit divide. This cset fixes this oversight by
providing a 64-bit by 32-bit division in asm.
This is necessary for posix-timers to function correctly.
Ivan Kokshaysky [Mon, 24 Mar 2003 14:24:28 +0000 (06:24 -0800)]
[PATCH] alpha: pci update
- Check for parent PCI bus instead of bridge device to break the
look in common_swizzle(). Functionally it's the same, but it's
cleaner for PC-style host bridges (nautiluses).
- Generic PCI setup changes finally went in (thanks to rmk), so that
FIXME in common_init_pci() can go.
[PATCH] i2c: set up a "generic" i2c driver to prevent oopses when devices are registering.
This is needed as we are still not using the driver core model for
matching up devices to drivers, but doing it by hand. Once that is
changed, this will not be needed.
Davide Libenzi [Mon, 24 Mar 2003 04:48:01 +0000 (20:48 -0800)]
[PATCH] epoll with selectable ET/LT behaviour ...
This patch adds selectable EdgeTriggered/LevelTriggered behaviour to
epoll.
It has been widely discussed on lkml about two weeks ago and everyone
very welcome the change. It has been even more widely discussed through
private emails with application developers, that do not feel confortable
posting on lkml. The great value of the patch is that selecting the LT
behaviour, applications using poll/select can be ported very easily to
epoll, making existing apps to benefit from epoll scalability with very
short ETA's.
The API remains the same with the addition of a EPOLLET event flag that
sets the LT/ET behaviour for that fd.
Many usb drivers use the usb_devfs_handle variable instead of just
adding the usb/ prefix directly to their devfs_register calls. Fix
that and make usb_devfs_handle static and unexported.
[PATCH] make devfs_alloc_unique_number private to devfs
.. by moving a bunch of devfs-related code from fs/partition/check.c
to fs/devfs/base.c. Also has the nice sideffect of getting rid of
a bunch of ugly ifdefs.
[This is the new and improved, rediffed, applying and compilable
version. In short it's perfect]
Linus Torvalds [Mon, 24 Mar 2003 01:32:59 +0000 (17:32 -0800)]
Avoid using the gcc-ism of creating an anonymous structure directly
by having a cast followed by an initializer. It seems even gcc can't
do it right anyway in some versions (as reported by Jens Axboe).
Stephen Rothwell [Mon, 24 Mar 2003 00:20:13 +0000 (16:20 -0800)]
[PATCH] another fix for compat_ptr
This is the other part of the missing bits of the compat_ptr patch
pointed out to me by Andrew Morton and Dave Miller. This is just
the architectures I have permission to send you. Dave has sent you
his own already.
The problem turns out to be that q->backing_dev_info.memory_backed is not
initialized, leaving it to be whatever was there before. The end result is
that my "driver" never saw write requests, but reads came through fine.
Took a while to figure out that one...
Here's the fix, for what it's worth. (I had, BTW, tried just zeroing the
whole structure in blk_init_queue(), but that makes IDE oops at boot - it
sets q->queuedata early).
Stephen Rothwell [Sun, 23 Mar 2003 12:59:16 +0000 (04:59 -0800)]
[PATCH] compat_uptr_t and compat_ptr
This creates compat_uptr_t (to represent a user mode pointer passed to
the kernel other than as a syscall parameter) and compat_ptr() to
convert it to a kernel pointer.
This fixes a couple of bugs in s390x (where the conversion of pointers
actually does something).
swap.h is basically the header for MM internals instead of the
public API (mm_internal.h would have been a better name..). Stop
including it in mm.h - this only needs moving one function that
should be in swap.h anyway to the right place and fixing up a bunch
of places using it.
Ulrich Drepper [Sun, 23 Mar 2003 11:39:43 +0000 (03:39 -0800)]
[PATCH] more generic syscall return value type fixes
It was good to see the syscall return value types being fixed but still
some cases are missing. I attach a patch which fixes at least those
which cause problems to me in the moment.
Linus Torvalds [Sun, 23 Mar 2003 08:56:08 +0000 (00:56 -0800)]
Use '#ifdef' instead of '#if' to test CONFIG_xxxx variables. It works
both ways, but anal compilers will warn about using identifiers that
have never been defined in preprocessor expression statements.