Dave Jones [Sun, 25 May 2003 19:23:27 +0000 (15:23 -0400)]
[PATCH] hamachi PCI DMA fix from 2.4
Maintainer fix that went into 2.4 last August with the comments
"Get hamachi net driver RX working again.
Apparently the PCI DMA conversion still has a bug or two left in it..."
Greg Ungerer [Sun, 25 May 2003 15:11:26 +0000 (08:11 -0700)]
[PATCH] FEC driver updates to support the ColdFire 5282 CPU (header)
For reasons only Motorola will ever know they decided to use a
substantially different register layout for the FEC ethernet device on
the 5282 ColdFire silicon. This defines an appropriate access structure
for it.
Greg Ungerer [Sun, 25 May 2003 15:10:30 +0000 (08:10 -0700)]
[PATCH] add support for 5282 ColdFire to the ColdFire serial header
Add support for the 5282 ColdFire to the common ColdFire serial
driver header. Also added the additional registers of the 5272,
they are used to setup a more accurate baud rate timers
John Levon [Sun, 25 May 2003 14:42:35 +0000 (07:42 -0700)]
[PATCH] OProfile: minimize sample error
The code that attempts to reset last_task and in_kernel has a race
against samples appearing during the handling of the buffers, that
causes a small number of mis-attribution of samples. Closing the
window is non-obvious, and not worth it, so we just make it smaller.
Even without the patch, there seem to be few such "bad" samples
because its effects are mitigated on a switch into userspace or
a task switch.
Greg Ungerer [Sun, 25 May 2003 14:36:24 +0000 (07:36 -0700)]
[PATCH] create SIM header definitions for ColdFire 5282
Create header definitions file to support the ColdFire 5282 CPU.
Unfortunately its register layout and setup is quite different
to previous ColdFire CPU family members.
Greg Ungerer [Sun, 25 May 2003 13:34:55 +0000 (06:34 -0700)]
[PATCH] m68knommu/5206 check timer irq pending
Add a function to allow checking if the timer interrupt is pending for
the m68knommu/5206 CPU. This is used by the architecture timer code for
microsecond accurate time calculations.
Greg Ungerer [Sun, 25 May 2003 13:34:46 +0000 (06:34 -0700)]
[PATCH] m68knommu/5249 check timer irq pending
Add a function to allow checking if the timer interrupt is pending for
the m68knommu/5249 CPU. This is used by the architecture timer code for
microsecond accurate time calculations.
Greg Ungerer [Sun, 25 May 2003 13:34:37 +0000 (06:34 -0700)]
[PATCH] m68knommu/5206e check timer irq pending
Add a function to allow checking if the timer interrupt is pending for
the m68knommu/5206e CPU. This is used by the architecture timer code
for microsecond accurate time calculations.
Jens Axboe [Sun, 25 May 2003 12:28:57 +0000 (05:28 -0700)]
[PATCH] bio splitting
So here it is, easy split support for md and dm. Neil, the changes over
your version are merely:
- Make a global bio split pool instead of requring device setup of one.
Will waste 8 * sizeof(struct bio_pair) of RAM, but... For 2.6 at least
it has to be a core functionality.
- Various style changes to follow the kernel guide lines.
Greg Ungerer [Sun, 25 May 2003 11:41:45 +0000 (04:41 -0700)]
[PATCH] m68knommu/5407 check timer irq pending
Add a function to allow checking if the timer interrupt is pending for
the m68knommu/5407 CPU. This is used by the architecture timer code for
microsecond accurate time calculations.
Greg Ungerer [Sun, 25 May 2003 11:41:38 +0000 (04:41 -0700)]
[PATCH] m68knommu/5272 check timer irq pending
Add a function to allow checking if the timer interrupt is pending for
the m68knommu/5272 CPU. This is used by the architecture timer code for
microsecond accurate time calculations.
Greg Ungerer [Sun, 25 May 2003 11:41:29 +0000 (04:41 -0700)]
[PATCH] m68knommu/5307 check timer irq pending
Add a function to allow checking if the timer interrupt is pending for
the m68knommu/5307 CPU. This is used by the architecture timer code for
microsecond accurate time calculations.
Greg Ungerer [Sun, 25 May 2003 11:20:56 +0000 (04:20 -0700)]
[PATCH] update m68knommu link script with 5282 support
This patch does a couple of things to the m68knommu common linker
script:
- adds support for the 5282 ColdFire CPU
- fixes broken setup for the Dragon Engine board
(i) The prototypes for free_vfsmnt(), alloc_vfsmnt(), do_kern_mount()
so far occurred in several individual c files. Now they are in
<linux/mount.h>.
(ii) do_kern_mount() has a third argument name that is typically a
constant. It is called with "rootfs", "nfsd", type->name,
"capifs", "usbdevfs", "binfmt_misc" etc. So, it should have a
prototype that expresses this:
do_kern_mount(const char *fstype, int flags, const char *name, void *data);
go away. Now do_kern_mount() calls type->get_sb(), so also get_sb()
must have a const third argument. That is what the patch below does.
If I am not mistaken, precisely two filesystems do not treat this
argument as a constant, namely afs and cifs. A separate patch
gives some cleanup there.
Greg Ungerer [Sun, 25 May 2003 10:33:22 +0000 (03:33 -0700)]
[PATCH] fix ColdFire 5407 cache flushing
This fixes some ColdFire 5407 cache bogosity. Previous code was pushing
all cache lines and the invalidating all of the cache. The push should
be enough, and now with underlying fixes the the cache setup registers
it is. Removed the whole invalidate cycle.
Paul Mackerras [Sun, 25 May 2003 16:00:29 +0000 (12:00 -0400)]
[PATCH] module refcounts for airport driver
This patch takes out the MOD_INC/DEC_USE_COUNT in the airport (Apple
wireless ethernet) driver. The driver already does SET_MODULE_OWNER
on the netdevice, so the MOD_INC/DEC_USE_COUNT are unnecessary and
just cause warnings.
Paul Mackerras [Sun, 25 May 2003 16:00:05 +0000 (12:00 -0400)]
[PATCH] module owner for ppp_synctty.c
This patch fixes ppp_synctty.c (used for doing PPP over some synchronous
serial HDLC links) so that it sets the owner field of the tty line
discipline it exports, rather than using MOD_INC/DEC_USE_COUNT. This
is more or less from Stephen Hemminger.
Ben Collins [Sun, 25 May 2003 09:19:58 +0000 (02:19 -0700)]
[PATCH] fs/* conversions for strlcpy
I only converted the cases where it was obvious that the intent was to
truncate on overflow. Lots of places for maxpath/readlink type stuff I
left alone.
Ben Collins [Sun, 25 May 2003 09:19:48 +0000 (02:19 -0700)]
[PATCH] sound/* strncpy conversion
This does a lot of cleanup for strncpy->strlcpy, replaces some
sprintf/snprintf's aswell. There were only two places where things
weren't straight forward. All-in-all a good cleanup though.
Andrew Morton [Sun, 25 May 2003 08:14:58 +0000 (01:14 -0700)]
[PATCH] Change mmu_gathers into per-cpu data
From: Martin Hicks <mort@wildopensource.com>
Here is a patch that changes mmu_gathers into a per-cpu resource. It
includes the changes for all arches except ia64. I've sent a separate patch
to David Mosberger for ia64.
Andrew Morton [Sun, 25 May 2003 08:14:18 +0000 (01:14 -0700)]
[PATCH] Better fix for ia32 subarch circular dependencies
From: john stultz <johnstul@us.ibm.com>
This is a rework of John's recent change which resolved a circular include
dependency: a function in mach_apic.h requires hard_smp_processor_id() and
hard_smp_processor_id() requires macros from mach_apic.h
So this patch (against bk-current) reverts the previous, and fixes the same
circular dependency in a much cleaner way, by moving a piece of the circular
chain into its own .h file, rather then removing hard_smp_processor_id() and
accessing the apic by hand.
Andrew Morton [Sun, 25 May 2003 08:14:07 +0000 (01:14 -0700)]
[PATCH] rd.c: separate queue per disk
From: Maneesh Soni <maneesh@in.ibm.com>
Provides a separate request queue for each ramdisk instance. Without this,
the kernel oopses when the block later tries to unregister the same set of
kobject things multiple times. This makes rd.c consistent with all other
"disk" devices.