diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-08-01 18:09:41 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-08-01 18:09:41 +0000 |
commit | 9e0fabfc7b33f318e53c37f8b6827bd80fe3a2b8 (patch) | |
tree | 2faa9f822e2b65400ce894bd0e5ffd4a3954c589 | |
parent | 237ac1f04594df5623272a25f5254ad0bd9bfe8d (diff) |
make this more like a real cylon mode (no pauses at the end!)
-rw-r--r-- | sys/arch/sparc/dev/led.c | 6 | ||||
-rw-r--r-- | sys/arch/vax/vax/led.c | 9 |
2 files changed, 7 insertions, 8 deletions
diff --git a/sys/arch/sparc/dev/led.c b/sys/arch/sparc/dev/led.c index 10b7bde68cc..209d5e587c2 100644 --- a/sys/arch/sparc/dev/led.c +++ b/sys/arch/sparc/dev/led.c @@ -1,4 +1,4 @@ -/* $OpenBSD: led.c,v 1.11 2006/03/04 12:38:58 miod Exp $ */ +/* $OpenBSD: led.c,v 1.12 2006/08/01 18:09:40 deraadt Exp $ */ /* * Copyright (c) 1998 Jason L. Wright (jason@thought.net) @@ -60,8 +60,8 @@ struct cfdriver led_cd = { }; static u_int8_t led_pattern[] = { - 0xff, 0xfe, 0xfd, 0xfb, 0xf7, 0xef, 0xdf, 0xbf, 0x7f, - 0xff, 0x7f, 0xbf, 0xdf, 0xef, 0xf7, 0xfb, 0xfd, 0xfe, + 0xfe, 0xfd, 0xfb, 0xf7, 0xef, 0xdf, 0xbf, 0x7f, + 0xbf, 0xdf, 0xef, 0xf7, 0xfb, 0xfd, }; struct led_softc *led_sc = NULL; diff --git a/sys/arch/vax/vax/led.c b/sys/arch/vax/vax/led.c index 1ed5420ee9d..d97db5d0558 100644 --- a/sys/arch/vax/vax/led.c +++ b/sys/arch/vax/vax/led.c @@ -1,4 +1,4 @@ -/* $OpenBSD: led.c,v 1.2 2006/07/29 14:16:15 miod Exp $ */ +/* $OpenBSD: led.c,v 1.3 2006/08/01 18:08:55 deraadt Exp $ */ /* $NetBSD: leds.c,v 1.4 2005/12/11 12:19:37 christos Exp $ */ /* @@ -88,12 +88,11 @@ struct led_softc { * Patterns for 8 and 4 led displays. */ static const u_int8_t led_pattern8[] = { - 0xff, 0xfe, 0xfd, 0xfb, 0xf7, 0xef, 0xdf, 0xbf, 0x7f, - 0xff, 0x7f, 0xbf, 0xdf, 0xef, 0xf7, 0xfb, 0xfd, 0xfe, 0x00 + 0xfe, 0xfd, 0xfb, 0xf7, 0xef, 0xdf, 0xbf, 0x7f, + 0xbf, 0xdf, 0xef, 0xf7, 0xfb, 0xfd, 0x00 }; static const u_int8_t led_pattern4[] = { - 0x0f, 0x0e, 0x0d, 0x0b, 0x07, - 0x0f, 0x07, 0x0b, 0x0d, 0x0e, 0x00 + 0x0e, 0x0d, 0x0b, 0x07, 0x0b, 0x0d, 0x00 }; int ledmatch(struct device *, void *, void *); |