print more info during autoconfig
This commit is contained in:
parent
dc64f7ed79
commit
7ce3281839
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: spkr_pcppi.c,v 1.6 2016/12/14 21:52:43 christos Exp $ */
|
/* $NetBSD: spkr_pcppi.c,v 1.7 2016/12/14 22:30:42 christos Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1990 Eric S. Raymond (esr@snark.thyrsus.com)
|
* Copyright (c) 1990 Eric S. Raymond (esr@snark.thyrsus.com)
|
||||||
@ -43,7 +43,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: spkr_pcppi.c,v 1.6 2016/12/14 21:52:43 christos Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: spkr_pcppi.c,v 1.7 2016/12/14 22:30:42 christos Exp $");
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/systm.h>
|
#include <sys/systm.h>
|
||||||
@ -126,7 +126,7 @@ spkr_pcppi_attach(device_t parent, device_t self, void *aux)
|
|||||||
struct spkr_pcppi_softc *sc = device_private(self);
|
struct spkr_pcppi_softc *sc = device_private(self);
|
||||||
|
|
||||||
aprint_naive("\n");
|
aprint_naive("\n");
|
||||||
aprint_normal("\n");
|
aprint_normal(": PC Speaker\n");
|
||||||
|
|
||||||
sc->sc_pcppicookie = pa->pa_cookie;
|
sc->sc_pcppicookie = pa->pa_cookie;
|
||||||
spkr_attach(self, spkr_pcppi_tone, spkr_pcppi_rest);
|
spkr_attach(self, spkr_pcppi_tone, spkr_pcppi_rest);
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: spkr_synth.c,v 1.8 2016/12/13 20:50:13 christos Exp $ */
|
/* $NetBSD: spkr_synth.c,v 1.9 2016/12/14 22:30:42 christos Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2016 Nathanial Sloss <nathanialsloss@yahoo.com.au>
|
* Copyright (c) 2016 Nathanial Sloss <nathanialsloss@yahoo.com.au>
|
||||||
@ -27,7 +27,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: spkr_synth.c,v 1.8 2016/12/13 20:50:13 christos Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: spkr_synth.c,v 1.9 2016/12/14 22:30:42 christos Exp $");
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/systm.h>
|
#include <sys/systm.h>
|
||||||
@ -137,7 +137,8 @@ spkr_synth_attach(device_t parent, device_t self, void *aux)
|
|||||||
{
|
{
|
||||||
struct spkr_synth_softc *sc = device_private(self);
|
struct spkr_synth_softc *sc = device_private(self);
|
||||||
|
|
||||||
aprint_normal("\n");
|
aprint_naive("\n");
|
||||||
|
aprint_normal(": PC Speaker (synthesized)\n");
|
||||||
|
|
||||||
sc->sc_audiodev = parent;
|
sc->sc_audiodev = parent;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user