Mon Sep 21 08:04:43 2015 UTC ()
Fix typo.  display.contrast is 0-15, not 0-1.


(isaki)
diff -r1.4 -r1.5 src/usr.sbin/memswitch/properties.c

cvs diff -r1.4 -r1.5 src/usr.sbin/memswitch/properties.c (expand / switch to unified diff)

--- src/usr.sbin/memswitch/properties.c 2008/04/28 20:24:17 1.4
+++ src/usr.sbin/memswitch/properties.c 2015/09/21 08:04:43 1.5
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: properties.c,v 1.4 2008/04/28 20:24:17 martin Exp $ */ 1/* $NetBSD: properties.c,v 1.5 2015/09/21 08:04:43 isaki Exp $ */
2 2
3/*- 3/*-
4 * Copyright (c) 1999 The NetBSD Foundation, Inc. 4 * Copyright (c) 1999 The NetBSD Foundation, Inc.
5 * All rights reserved. 5 * All rights reserved.
6 * 6 *
7 * This code is derived from software contributed to The NetBSD Foundation 7 * This code is derived from software contributed to The NetBSD Foundation
8 * by Minoura Makoto. 8 * by Minoura Makoto.
9 * 9 *
10 * Redistribution and use in source and binary forms, with or without 10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted provided that the following conditions 11 * modification, are permitted provided that the following conditions
12 * are met: 12 * are met:
13 * 1. Redistributions of source code must retain the above copyright 13 * 1. Redistributions of source code must retain the above copyright
14 * notice, this list of conditions and the following disclaimer. 14 * notice, this list of conditions and the following disclaimer.
@@ -110,27 +110,27 @@ struct property properties[] = { @@ -110,27 +110,27 @@ struct property properties[] = {
110 " If boot.device specifies to boot from RAM, the start address is stored.\n" 110 " If boot.device specifies to boot from RAM, the start address is stored.\n"
111 }, 111 },
112 { 112 {
113 "boot", "romaddr", 113 "boot", "romaddr",
114 12, 4, 0, {longword:0}, 0, {longword:0}, {longword:0xbffffc}, 114 12, 4, 0, {longword:0}, 0, {longword:0}, {longword:0xbffffc},
115 parse_ulong, 0xe80000, 0xffffff, 115 parse_ulong, 0xe80000, 0xffffff,
116 print_ulongh, 116 print_ulongh,
117 fill_ulong, flush_ulong, 117 fill_ulong, flush_ulong,
118 " If boot.device specifies to boot from ROM, the start address is stored.\n" 118 " If boot.device specifies to boot from ROM, the start address is stored.\n"
119 }, 119 },
120 { 120 {
121 "display", "contrast", 121 "display", "contrast",
122 40, 1, 0, {byte:{[0] 0}}, 0, {byte:{[0] 0}}, {byte:{[0] 14}}, 122 40, 1, 0, {byte:{[0] 0}}, 0, {byte:{[0] 0}}, {byte:{[0] 14}},
123 parse_uchar, 0, 1, 123 parse_uchar, 0, 15,
124 print_uchar, 124 print_uchar,
125 fill_uchar, flush_uchar, 125 fill_uchar, flush_uchar,
126 " Display contrast (0-15).\n" 126 " Display contrast (0-15).\n"
127 }, 127 },
128 { 128 {
129 "display", "dentakufont", 129 "display", "dentakufont",
130 44, 1, 0, {byte:{[0] 0}}, 0, {byte:{[0] 0}}, {byte:{[0] 0}}, 130 44, 1, 0, {byte:{[0] 0}}, 0, {byte:{[0] 0}}, {byte:{[0] 0}},
131 parse_uchar, 0, 1, 131 parse_uchar, 0, 1,
132 print_uchar, 132 print_uchar,
133 fill_uchar, flush_uchar, 133 fill_uchar, flush_uchar,
134 " In-line calculator font. 0 for LCD-like, 1 for normal.\n" 134 " In-line calculator font. 0 for LCD-like, 1 for normal.\n"
135 " Note on NetBSD in-line calculator is not supported.\n" 135 " Note on NetBSD in-line calculator is not supported.\n"
136 }, 136 },