Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/isa correct spkr softc.



details:   https://anonhg.NetBSD.org/src/rev/1149dddfcbad
branches:  trunk
changeset: 349565:1149dddfcbad
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Dec 14 21:52:43 2016 +0000

description:
correct spkr softc.

diffstat:

 sys/dev/isa/spkr_pcppi.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 73e3aaec3b3d -r 1149dddfcbad sys/dev/isa/spkr_pcppi.c
--- a/sys/dev/isa/spkr_pcppi.c  Wed Dec 14 21:47:50 2016 +0000
+++ b/sys/dev/isa/spkr_pcppi.c  Wed Dec 14 21:52:43 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: spkr_pcppi.c,v 1.5 2016/12/13 20:20:34 christos Exp $  */
+/*     $NetBSD: spkr_pcppi.c,v 1.6 2016/12/14 21:52:43 christos Exp $  */
 
 /*
  * Copyright (c) 1990 Eric S. Raymond (esr%snark.thyrsus.com@localhost)
@@ -43,7 +43,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: spkr_pcppi.c,v 1.5 2016/12/13 20:20:34 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: spkr_pcppi.c,v 1.6 2016/12/14 21:52:43 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -65,8 +65,7 @@
 #include <dev/spkrio.h>
 
 struct spkr_pcppi_softc {
-       device_t sc_dev;
-       device_t sc_spkr_dev;
+       struct spkr_softc sc_spkr;
        pcppi_tag_t sc_pcppicookie;
 };
 



Home | Main Index | Thread Index | Old Index