add missing initializers
This commit is contained in:
parent
b33a26ac88
commit
4e0d743b9e
@ -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}},
|
||||
{ 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}},
|
||||
{ 4, OPL_L, {0x09, 0x0c, 0x00, 0x00}},
|
||||
{ 5, OPL_L, {0x0a, 0x0d, 0x00, 0x00}},
|
||||
{ 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}},
|
||||
{ 7, OPL_L, {0x11, 0x14, 0x00, 0x00}},
|
||||
{ 8, OPL_L, {0x12, 0x15, 0x00, 0x00}},
|
||||
{ 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}},
|
||||
{ 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}},
|
||||
{ 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}},
|
||||
{ 7, OPL_R, {0x11, 0x14, 0x00, 0x00}},
|
||||
{ 8, OPL_R, {0x12, 0x15, 0x00, 0x00}}
|
||||
{ 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);
|
||||
|
Loading…
Reference in New Issue
Block a user