summaryrefslogtreecommitdiff
path: root/sys/modules/syscons/blank
diff options
context:
space:
mode:
authorRodney W. Grimes <rgrimes@FreeBSD.org>1995-05-30 06:12:45 +0000
committerRodney W. Grimes <rgrimes@FreeBSD.org>1995-05-30 06:12:45 +0000
commit5ebc7e6281887681c3a348a5a4c902e262ccd656 (patch)
tree4d38911cf1e5e1ef56a662eddcbe2f706b2e6973 /sys/modules/syscons/blank
parent6c06b4e2aa2a28d1f0bbd29ecdce35aaaf600ce8 (diff)
Notes
Diffstat (limited to 'sys/modules/syscons/blank')
-rw-r--r--sys/modules/syscons/blank/blank_saver.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/modules/syscons/blank/blank_saver.c b/sys/modules/syscons/blank/blank_saver.c
index 9362c0bdc4cf..e48e03796e4b 100644
--- a/sys/modules/syscons/blank/blank_saver.c
+++ b/sys/modules/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;
}