Re: [PATCH v2 5/6] Alchemy: DB1300 blink leds on timer tick

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 24 Mar 2009 14:17:07 +0100, Ralf Baechle <ralf@xxxxxxxxxxxxxx> wrote:
> > Blinks the dots on the hex display on the DB1300 board every 1000 timer ticks.
> > This can help tell the difference between a soft and hard hung board.
> 
> How about putting this into a software timer.  The Malta does that for its
> ASCII display, see arch/mips/mti-malta/malta-display.c.

Or you can implement a LED driver or GPIO accessors (with leds-gpio)
and enable LEDS_TRIGGER_HEARTBEAT.  As a bonus you can control these
dots from userland and/or use them as HDD access LEDs, etc.

---
Atsushi Nemoto


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux