Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Adapt to proplib interface changes



details:   https://anonhg.NetBSD.org/src/rev/1630600a6ba7
branches:  trunk
changeset: 935545:1630600a6ba7
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Jul 05 09:23:42 2020 +0000

description:
Adapt to proplib interface changes

diffstat:

 sys/dev/pci/machfb.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b6e33c6761bf -r 1630600a6ba7 sys/dev/pci/machfb.c
--- a/sys/dev/pci/machfb.c      Sun Jul 05 05:16:50 2020 +0000
+++ b/sys/dev/pci/machfb.c      Sun Jul 05 09:23:42 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machfb.c,v 1.98 2019/12/07 01:00:40 macallan Exp $     */
+/*     $NetBSD: machfb.c,v 1.99 2020/07/05 09:23:42 martin Exp $       */
 
 /*
  * Copyright (c) 2002 Bang Jun-Young
@@ -34,7 +34,7 @@
 
 #include <sys/cdefs.h>
 __KERNEL_RCSID(0,
-       "$NetBSD: machfb.c,v 1.98 2019/12/07 01:00:40 macallan Exp $");
+       "$NetBSD: machfb.c,v 1.99 2020/07/05 09:23:42 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -517,7 +517,7 @@
 
                sc->sc_edid_size = uimin(1024, prop_data_size(edid_data));
                memset(sc->sc_edid_data, 0, sizeof(sc->sc_edid_data));
-               memcpy(sc->sc_edid_data, prop_data_data_nocopy(edid_data),
+               memcpy(sc->sc_edid_data, prop_data_value(edid_data),
                    sc->sc_edid_size);
 
                edid_parse(sc->sc_edid_data, &sc->sc_ei);



Home | Main Index | Thread Index | Old Index