Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Quant-X Alpha Linux Support <stefan@sime.com>
To: axp-list@redhat.com
Subject: Re: AXPpci33 diagnostic LED driver ready!
Date: Sat, 25 Jul 1998 03:26:11 +0200	[thread overview]
Message-ID: <199807250126.DAA19105@stefan.sime.com> (raw)
In-Reply-To: <199807242338.BAA31408@vmax.unix-ag.uni-siegen.de> (message from Nils Faerber on Sat, 25 Jul 1998 01:38:40 +0200 (DFT))

Hi Nils !

> The second is the mostly useless but nice knight-rider type running light,
> i.e. just one LED 'moving' from left to right and vice versa.

> Any comments about the driver, enhancements or additional programs are
> welcome!

Hmm. kernel-timer programming is really easy.
Just make Linux the first operating system with kernel knight-rider 
support ;-} Your procled.c should be in kernel too. (selectable by
insmod-args and mode-switchable by ioctls...)
You have no read support, why not simply keep the last *LED1 = c;
value in a static variable ?
Ok, now the only really good question...
Why do you register a character device (means wasting a major #)
instead of only registering a proc entry ?

   ciao -
     Stefan

-- 

Quant-X Service &                         Ph:  (+43) 4212 6004-0
Consulting Ges.m.b.H.                     Fax: (+43) 4212 600420
http://www.quant-x.com                    Email: support@quant-x.com


  reply	other threads:[~1998-07-25  1:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-24 23:38 AXPpci33 diagnostic LED driver ready! Nils Faerber
1998-07-25  1:26 ` Quant-X Alpha Linux Support [this message]
1998-07-25  2:33 ` Mike Nowlin
1998-07-25 17:00   ` Nils Faerber
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox