summaryrefslogtreecommitdiffstats
path: root/sys/dev/syscons/blank/blank_saver.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/syscons/blank/blank_saver.c')
-rw-r--r--sys/dev/syscons/blank/blank_saver.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/syscons/blank/blank_saver.c b/sys/dev/syscons/blank/blank_saver.c
index 9362c0b..e48e037 100644
--- a/sys/dev/syscons/blank/blank_saver.c
+++ b/sys/dev/syscons/blank/blank_saver.c
@@ -6,7 +6,7 @@
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer
+ * notice, this list of conditions and the following disclaimer
* in this position and unchanged.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id$
+ * $Id: blank_saver.c,v 1.1 1995/02/22 13:45:30 sos Exp $
*/
#include <sys/param.h>
@@ -42,17 +42,17 @@ MOD_MISC("blank_saver")
void (*current_saver)();
void (*old_saver)();
-static void
+static void
blank_saver(int blank)
{
u_char val;
if (blank) {
scrn_blanked = 1;
- outb(TSIDX, 0x01); val = inb(TSREG);
+ outb(TSIDX, 0x01); val = inb(TSREG);
outb(TSIDX, 0x01); outb(TSREG, val | 0x20);
}
else {
- outb(TSIDX, 0x01); val = inb(TSREG);
+ outb(TSIDX, 0x01); val = inb(TSREG);
outb(TSIDX, 0x01); outb(TSREG, val & 0xDF);
scrn_blanked = 0;
}
OpenPOWER on IntegriCloud