Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/microcode/siop Add the led_on/led_off script fragments.
details: https://anonhg.NetBSD.org/src/rev/44fc35a0c14a
branches: trunk
changeset: 525963:44fc35a0c14a
user: bouyer <bouyer%NetBSD.org@localhost>
date: Mon Apr 22 15:55:09 2002 +0000
description:
Add the led_on/led_off script fragments.
diffstat:
sys/dev/microcode/siop/esiop.ss | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r f5d48e9ec301 -r 44fc35a0c14a sys/dev/microcode/siop/esiop.ss
--- a/sys/dev/microcode/siop/esiop.ss Mon Apr 22 15:53:39 2002 +0000
+++ b/sys/dev/microcode/siop/esiop.ss Mon Apr 22 15:55:09 2002 +0000
@@ -1,4 +1,4 @@
-; $NetBSD: esiop.ss,v 1.2 2002/04/22 15:53:40 bouyer Exp $
+; $NetBSD: esiop.ss,v 1.3 2002/04/22 15:55:09 bouyer Exp $
;
; Copyright (c) 2002 Manuel Bouyer.
@@ -356,3 +356,9 @@
CLEAR ACK;
MOVE FROM t_ext_msg_data, WHEN MSG_IN;
INT int_extmsgdata;
+
+PROC siop_led_on:
+ MOVE GPREG & 0xfe TO GPREG;
+
+PROC siop_led_off:
+ MOVE GPREG | 0x01 TO GPREG;
Home |
Main Index |
Thread Index |
Old Index