add missing initializers

This commit is contained in:
christos 2006-09-03 06:46:22 +00:00
parent 328ed75351
commit 0c58aff5f5
3 changed files with 18 additions and 10 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: pas.c,v 1.62 2005/12/11 12:22:03 christos Exp $ */
/* $NetBSD: pas.c,v 1.63 2006/09/03 06:46:22 christos Exp $ */
/*
* Copyright (c) 1991-1993 Regents of the University of California.
@ -57,7 +57,7 @@
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: pas.c,v 1.62 2005/12/11 12:22:03 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: pas.c,v 1.63 2006/09/03 06:46:22 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -150,6 +150,7 @@ const struct audio_hw_if pas_hw_if = {
sbdsp_trigger_output,
sbdsp_trigger_input,
0,
NULL,
};
/* The Address Translation code is used to convert I/O register addresses to

View File

@ -1,4 +1,4 @@
/* $NetBSD: pcdisplay.c,v 1.29 2006/04/12 19:38:23 jmmv Exp $ */
/* $NetBSD: pcdisplay.c,v 1.30 2006/09/03 06:46:22 christos Exp $ */
/*
* Copyright (c) 1998
@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: pcdisplay.c,v 1.29 2006/04/12 19:38:23 jmmv Exp $");
__KERNEL_RCSID(0, "$NetBSD: pcdisplay.c,v 1.30 2006/09/03 06:46:22 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -93,14 +93,16 @@ const struct wsdisplay_emulops pcdisplay_emulops = {
pcdisplay_erasecols,
pcdisplay_copyrows,
pcdisplay_eraserows,
pcdisplay_allocattr
pcdisplay_allocattr,
NULL, /* replaceattr */
};
const struct wsscreen_descr pcdisplay_scr = {
"80x25", 80, 25,
&pcdisplay_emulops,
0, 0, /* no font support */
WSSCREEN_REVERSE /* that's minimal... */
WSSCREEN_REVERSE, /* that's minimal... */
NULL, /* modecookie */
};
const struct wsscreen_descr *_pcdisplay_scrlist[] = {
@ -126,7 +128,9 @@ const struct wsdisplay_accessops pcdisplay_accessops = {
pcdisplay_alloc_screen,
pcdisplay_free_screen,
pcdisplay_show_screen,
0 /* load_font */
NULL, /* load_font */
NULL, /* pollc */
NULL, /* scroll */
};
static int

View File

@ -1,4 +1,4 @@
/* $NetBSD: tcic2_isa.c,v 1.14 2005/12/11 12:22:03 christos Exp $ */
/* $NetBSD: tcic2_isa.c,v 1.15 2006/09/03 06:46:22 christos Exp $ */
/*
*
@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: tcic2_isa.c,v 1.14 2005/12/11 12:22:03 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: tcic2_isa.c,v 1.15 2006/09/03 06:46:22 christos Exp $");
#undef TCICISADEBUG
@ -137,6 +137,8 @@ static struct pcmcia_chip_functions tcic_isa_functions = {
tcic_chip_socket_enable,
tcic_chip_socket_disable,
tcic_chip_socket_settype,
NULL, /* card_detect */
};
int
@ -193,8 +195,9 @@ tcic_isa_probe(parent, match, aux)
found++;
}
}
else
else {
DPRINTF(("tcic: reserved bits didn't check OK\n"));
}
bus_space_unmap(iot, ioh, TCIC_IOSIZE);
bus_space_unmap(ia->ia_memt, memh, msize);