diff options
author | 2017-10-11 08:14:28 +0000 | |
---|---|---|
committer | 2017-10-11 08:14:28 +0000 | |
commit | 8816e63a46e617be424321fcd5667e4db0e18ebc (patch) | |
tree | ba31925f9163f03c3196997df390e7e0771748bc | |
parent | Fix debug printf, from Dave Voutila. (diff) | |
download | wireguard-openbsd-8816e63a46e617be424321fcd5667e4db0e18ebc.tar.xz wireguard-openbsd-8816e63a46e617be424321fcd5667e4db0e18ebc.zip |
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@
-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; |