diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2017-10-11 08:14:29 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2017-10-11 08:14:29 +0000 |
commit | df2ecd77e7d76ec919eb4111d9c13de351912e5c (patch) | |
tree | e93eccc4f343aef1b86b36f38f992734916dfc34 /sys/arch/alpha | |
parent | 1bca0e4393927b56ade5e03588568233f2091bbe (diff) |
Make the tc alpha blinkenlichten start by default.
Restores the balance of serenity and peace of mind of the last
real alpha user, to some extent.
From miod@
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r-- | sys/arch/alpha/tc/ioasic.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/alpha/tc/ioasic.c b/sys/arch/alpha/tc/ioasic.c index facb9918959..6e507095bca 100644 --- a/sys/arch/alpha/tc/ioasic.c +++ b/sys/arch/alpha/tc/ioasic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ioasic.c,v 1.17 2010/09/20 06:33:46 matthew Exp $ */ +/* $OpenBSD: ioasic.c,v 1.18 2017/10/11 08:14:28 mpi Exp $ */ /* $NetBSD: ioasic.c,v 1.34 2000/07/18 06:10:06 thorpej Exp $ */ /*- @@ -91,6 +91,7 @@ struct cfdriver ioasic_cd = { int ioasic_intr(void *); int ioasic_intrnull(void *); +void ioasic_led_blink(void *); #define C(x) ((void *)(u_long)(x)) #define KV(x) (ALPHA_PHYS_TO_K0SEG(x)) @@ -207,6 +208,8 @@ ioasicattach(parent, self, aux) * Try to configure each device. */ ioasic_attach_devs(sc, ioasic_devs, ioasic_ndevs); + + ioasic_led_blink(NULL); } void @@ -348,7 +351,7 @@ static const uint8_t led_pattern8[] = { void ioasic_led_blink(void *unused) { - extern int alpha_led_blink; + extern int alpha_led_blink; /* machdep.c */ vaddr_t rw_csr; u_int32_t pattern; int display_loadavg; |