summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2006-09-03 20:59:18 +0000
committerchristos <christos@NetBSD.org>2006-09-03 20:59:18 +0000
commit4e0d743b9ed85605bd929a60696bc95fe903fa3c (patch)
treedeb8744316ba15468485dbc3a16e1e9b6d0453b7 /sys/dev
parentb33a26ac886630249ee361a8d91e89c15f5f17ac (diff)
add missing initializers
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/opl.c48
1 files changed, 24 insertions, 24 deletions
diff --git a/sys/dev/ic/opl.c b/sys/dev/ic/opl.c
index 528aa8304f7..504d98895bb 100644
--- a/sys/dev/ic/opl.c
+++ b/sys/dev/ic/opl.c
@@ -1,4 +1,4 @@
-/* $NetBSD: opl.c,v 1.28 2006/08/17 17:11:28 christos Exp $ */
+/* $NetBSD: opl.c,v 1.29 2006/09/03 20:59:18 christos Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: opl.c,v 1.28 2006/08/17 17:11:28 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: opl.c,v 1.29 2006/09/03 20:59:18 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -86,28 +86,28 @@ struct real_voice {
const struct opl_voice voicetab[] = {
/* No I/O offs OP1 OP2 OP3 OP4 */
/* --------------------------------------------- */
- { 0, OPL_L, {0x00, 0x03, 0x08, 0x0b}},
- { 1, OPL_L, {0x01, 0x04, 0x09, 0x0c}},
- { 2, OPL_L, {0x02, 0x05, 0x0a, 0x0d}},
-
- { 3, OPL_L, {0x08, 0x0b, 0x00, 0x00}},
- { 4, OPL_L, {0x09, 0x0c, 0x00, 0x00}},
- { 5, OPL_L, {0x0a, 0x0d, 0x00, 0x00}},
-
- { 6, OPL_L, {0x10, 0x13, 0x00, 0x00}},
- { 7, OPL_L, {0x11, 0x14, 0x00, 0x00}},
- { 8, OPL_L, {0x12, 0x15, 0x00, 0x00}},
-
- { 0, OPL_R, {0x00, 0x03, 0x08, 0x0b}},
- { 1, OPL_R, {0x01, 0x04, 0x09, 0x0c}},
- { 2, OPL_R, {0x02, 0x05, 0x0a, 0x0d}},
- { 3, OPL_R, {0x08, 0x0b, 0x00, 0x00}},
- { 4, OPL_R, {0x09, 0x0c, 0x00, 0x00}},
- { 5, OPL_R, {0x0a, 0x0d, 0x00, 0x00}},
-
- { 6, OPL_R, {0x10, 0x13, 0x00, 0x00}},
- { 7, OPL_R, {0x11, 0x14, 0x00, 0x00}},
- { 8, OPL_R, {0x12, 0x15, 0x00, 0x00}}
+ { 0, OPL_L, {0x00, 0x03, 0x08, 0x0b}, NULL, 0, },
+ { 1, OPL_L, {0x01, 0x04, 0x09, 0x0c}, NULL, 0, },
+ { 2, OPL_L, {0x02, 0x05, 0x0a, 0x0d}, NULL, 0, },
+
+ { 3, OPL_L, {0x08, 0x0b, 0x00, 0x00}, NULL, 0, },
+ { 4, OPL_L, {0x09, 0x0c, 0x00, 0x00}, NULL, 0, },
+ { 5, OPL_L, {0x0a, 0x0d, 0x00, 0x00}, NULL, 0, },
+
+ { 6, OPL_L, {0x10, 0x13, 0x00, 0x00}, NULL, 0, },
+ { 7, OPL_L, {0x11, 0x14, 0x00, 0x00}, NULL, 0, },
+ { 8, OPL_L, {0x12, 0x15, 0x00, 0x00}, NULL, 0, },
+
+ { 0, OPL_R, {0x00, 0x03, 0x08, 0x0b}, NULL, 0, },
+ { 1, OPL_R, {0x01, 0x04, 0x09, 0x0c}, NULL, 0, },
+ { 2, OPL_R, {0x02, 0x05, 0x0a, 0x0d}, NULL, 0, },
+ { 3, OPL_R, {0x08, 0x0b, 0x00, 0x00}, NULL, 0, },
+ { 4, OPL_R, {0x09, 0x0c, 0x00, 0x00}, NULL, 0, },
+ { 5, OPL_R, {0x0a, 0x0d, 0x00, 0x00}, NULL, 0, },
+
+ { 6, OPL_R, {0x10, 0x13, 0x00, 0x00}, NULL, 0, },
+ { 7, OPL_R, {0x11, 0x14, 0x00, 0x00}, NULL, 0, },
+ { 8, OPL_R, {0x12, 0x15, 0x00, 0x00}, NULL, 0, }
};
static void opl_command(struct opl_softc *, int, int, int);