#include <asm/io.h>
#include <asm/system.h>
#include <asm/traps.h>
+#include <asm/blinken.h>
#include "ints.h"
/* Clock hardware definitions */
static irqreturn_t hp300_tick(int irq, void *dev_id, struct pt_regs *regs)
{
- unsigned long tmp;
- irqreturn_t (*vector)(int, void *, struct pt_regs *) = dev_id;
- in_8(CLOCKBASE + CLKSR);
- asm volatile ("movpw %1@(5),%0" : "=d" (tmp) : "a" (CLOCKBASE));
- return vector(irq, NULL, regs);
+ unsigned long tmp;
+ irqreturn_t (*vector)(int, void *, struct pt_regs *) = dev_id;
+ in_8(CLOCKBASE + CLKSR);
+ asm volatile ("movpw %1@(5),%0" : "=d" (tmp) : "a" (CLOCKBASE));
+ /* Turn off the network and SCSI leds */
+ blinken_leds(0, 0xe0);
+ return vector(irq, NULL, regs);
}
unsigned long hp300_gettimeoffset(void)