The patch titled
geode-mfgpt-clock-event-device-support update
has been added to the -mm tree. Its filename is
geode-mfgpt-clock-event-device-support-update.patch
*** Remember to use Documentation/SubmitChecklist when testing your code ***
See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this
------------------------------------------------------
Subject: geode-mfgpt-clock-event-device-support update
From: Andres Salomon <[EMAIL PROTECTED]>
Here's an updated version of this patch which makes scripts/checkpatch.pl
happy, and documents 'mfgpt_irq'.
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
Documentation/kernel-parameters.txt | 4 ++++
arch/i386/kernel/mfgpt.c | 21 ++++++++++++++-------
2 files changed, 18 insertions(+), 7 deletions(-)
diff -puN
Documentation/kernel-parameters.txt~geode-mfgpt-clock-event-device-support-update
Documentation/kernel-parameters.txt
---
a/Documentation/kernel-parameters.txt~geode-mfgpt-clock-event-device-support-update
+++ a/Documentation/kernel-parameters.txt
@@ -1018,6 +1018,10 @@ and is between 256 and 4096 characters.
meye.*= [HW] Set MotionEye Camera parameters
See Documentation/video4linux/meye.txt.
+ mfgpt_irq= [IA-32] Specify the IRQ to use for the
+ Multi-Function General Purpose Timers on AMD Geode
+ platforms.
+
mga= [HW,DRM]
migration_cost=
diff -puN
arch/i386/kernel/mfgpt.c~geode-mfgpt-clock-event-device-support-update
arch/i386/kernel/mfgpt.c
--- a/arch/i386/kernel/mfgpt.c~geode-mfgpt-clock-event-device-support-update
+++ a/arch/i386/kernel/mfgpt.c
@@ -312,9 +312,11 @@ static int __init mfgpt_timer_setup(void
int timer, ret;
u16 val;
- timer = geode_mfgpt_alloc_timer(MFGPT_TIMER_ANY, MFGPT_DOMAIN_WORKING,
THIS_MODULE);
+ timer = geode_mfgpt_alloc_timer(MFGPT_TIMER_ANY, MFGPT_DOMAIN_WORKING,
+ THIS_MODULE);
if (timer < 0) {
- printk(KERN_ERR "mfgpt-timer: Could not allocate a MFPGT
timer\n");
+ printk(KERN_ERR "mfgpt-timer: Could not allocate a MFPGT "
+ "timer\n");
return -ENODEV;
}
@@ -334,23 +336,28 @@ static int __init mfgpt_timer_setup(void
ret = setup_irq(irq, &mfgptirq);
if (ret) {
- printk(KERN_ERR "mfgpt-timer: Unable to set up the
interrupt.\n");
+ printk(KERN_ERR "mfgpt-timer: Unable to set up the "
+ "interrupt.\n");
goto err;
}
/* Set up the clock event */
mfgpt_clockevent.mult = div_sc(MFGPT_HZ, NSEC_PER_SEC, 32);
- mfgpt_clockevent.min_delta_ns = clockevent_delta2ns(0xF,
&mfgpt_clockevent);
- mfgpt_clockevent.max_delta_ns = clockevent_delta2ns(0xFFFE,
&mfgpt_clockevent);
+ mfgpt_clockevent.min_delta_ns = clockevent_delta2ns(0xF,
+ &mfgpt_clockevent);
+ mfgpt_clockevent.max_delta_ns = clockevent_delta2ns(0xFFFE,
+ &mfgpt_clockevent);
- printk("mfgpt-timer: registering the MFGT timer as a clock event.\n");
+ printk(KERN_INFO "mfgpt-timer: registering the MFGT timer as a "
+ "clock event.\n");
clockevents_register_device(&mfgpt_clockevent);
return 0;
err:
geode_mfgpt_release_irq(mfgpt_event_clock, MFGPT_CMP2, irq);
- printk(KERN_ERR "mfgpt-timer: Unable to set up the MFGPT clock
source\n");
+ printk(KERN_ERR "mfgpt-timer: Unable to set up the MFGPT clock "
+ "source\n");
return -EIO;
}
_
Patches currently in -mm which might be from [EMAIL PROTECTED] are
geode-reboot-fixup-for-geode-machines-with-cs5536-boards.patch
geode-basic-infrastructure-support-for-amd-geode-class.patch
geode-basic-infrastructure-support-for-amd-geode-class-update.patch
geode-mfgpt-support-for-geode-class-machines.patch
geode-mfgpt-support-for-geode-class-machines-update.patch
geode-mfgpt-clock-event-device-support.patch
geode-mfgpt-clock-event-device-support-update.patch
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html