Re: [rtl] Patch available: use 8254 ch.1 instead of ch.2

2000-11-22 Thread David Schleef

On Tue, Nov 21, 2000 at 05:05:47PM -0500, jason sodergren wrote:
> 
> Hi, all.
> 
> I've made a small patch to schedulers/i386/rtl_time.c in rtlinux-3.0pre8
> that allows use of the 8254's channel 1 instead of channel 2.
> Use of channel 1 is selected by means of a module parameter.
> 
> This is useful to my project because I'm using a 486-class system
> that does not need channel 1 for DRAM refresh (it's based on the AMD
> Elan SC400).  This frees up channel 2 for the usual role of driving
> the PC speaker.


Note that timer 1 is used for other things, particularly APM.
Using timer one on one of my machines works fine -- until I
put it to sleep, at which point it blows up.  And I haven't
found a way to replace the original value.




dave...

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl " | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/




[rtl] Patch available: use 8254 ch.1 instead of ch.2

2000-11-21 Thread jason sodergren


Hi, all.

I've made a small patch to schedulers/i386/rtl_time.c in rtlinux-3.0pre8
that allows use of the 8254's channel 1 instead of channel 2.
Use of channel 1 is selected by means of a module parameter.

This is useful to my project because I'm using a 486-class system
that does not need channel 1 for DRAM refresh (it's based on the AMD
Elan SC400).  This frees up channel 2 for the usual role of driving
the PC speaker.

If anyone is interested in the patch, I'll post it here.

- Jason Sodergren / [EMAIL PROTECTED]
  Dearborn Group /  248-488-2080 x306

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl " | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/