summaryrefslogtreecommitdiffstats
path: root/sys/isa/vga_isa.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-05-08 20:20:18 +0000
committerpeter <peter@FreeBSD.org>1999-05-08 20:20:18 +0000
commitf2de3d7c14e4a1ccf9cc4c42142764aef1edd776 (patch)
treedf240071b4354807a7c090de71dd8649d9c2efe7 /sys/isa/vga_isa.c
parent3f78b53e891ab6209969f0df0bf383af3dac0ebe (diff)
downloadFreeBSD-src-f2de3d7c14e4a1ccf9cc4c42142764aef1edd776.zip
FreeBSD-src-f2de3d7c14e4a1ccf9cc4c42142764aef1edd776.tar.gz
Brace initializers to avoid a warning.
Diffstat (limited to 'sys/isa/vga_isa.c')
-rw-r--r--sys/isa/vga_isa.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/sys/isa/vga_isa.c b/sys/isa/vga_isa.c
index 8715636..e198f39 100644
--- a/sys/isa/vga_isa.c
+++ b/sys/isa/vga_isa.c
@@ -26,7 +26,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: vga_isa.c,v 1.4 1999/04/16 21:22:35 peter Exp $
+ * $Id: vga_isa.c,v 1.5 1999/04/16 23:54:24 peter Exp $
*/
#include "vga.h"
@@ -888,21 +888,21 @@ comp_adpregs(u_char *buf1, u_char *buf2)
static struct {
u_char mask;
} params[V_MODE_PARAM_SIZE] = {
- 0xff, 0x00, 0xff, /* COLS, ROWS, POINTS */
- 0x00, 0x00, /* page length */
- 0xfe, 0xff, 0xff, 0xff, /* sequencer registers */
- 0xf3, /* misc register */
- 0xff, 0xff, 0xff, 0x7f, 0xff, /* CRTC */
- 0xff, 0xff, 0xff, 0x7f, 0xff,
- 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0xff, 0x7f, 0xff, 0xff,
- 0x7f, 0xff, 0xff, 0xef, 0xff,
- 0xff, 0xff, 0xff, 0xff, 0xff, /* attribute controller registers */
- 0xff, 0xff, 0xff, 0xff, 0xff,
- 0xff, 0xff, 0xff, 0xff, 0xff,
- 0xff, 0xff, 0xff, 0xff, 0xf0,
- 0xff, 0xff, 0xff, 0xff, 0xff, /* GDC register */
- 0xff, 0xff, 0xff, 0xff,
+ {0xff}, {0x00}, {0xff}, /* COLS, ROWS, POINTS */
+ {0x00}, {0x00}, /* page length */
+ {0xfe}, {0xff}, {0xff}, {0xff}, /* sequencer registers */
+ {0xf3}, /* misc register */
+ {0xff}, {0xff}, {0xff}, {0x7f}, {0xff}, /* CRTC */
+ {0xff}, {0xff}, {0xff}, {0x7f}, {0xff},
+ {0x00}, {0x00}, {0x00}, {0x00}, {0x00},
+ {0x00}, {0xff}, {0x7f}, {0xff}, {0xff},
+ {0x7f}, {0xff}, {0xff}, {0xef}, {0xff},
+ {0xff}, {0xff}, {0xff}, {0xff}, {0xff}, /* attribute controller regs */
+ {0xff}, {0xff}, {0xff}, {0xff}, {0xff},
+ {0xff}, {0xff}, {0xff}, {0xff}, {0xff},
+ {0xff}, {0xff}, {0xff}, {0xff}, {0xf0},
+ {0xff}, {0xff}, {0xff}, {0xff}, {0xff}, /* GDC register */
+ {0xff}, {0xff}, {0xff}, {0xff},
};
int identical = TRUE;
int i;
OpenPOWER on IntegriCloud