Source-Changes-HG archive

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

[src/riastradh-drm2]: src/sys/external/bsd/drm2/dist/drm Restore use of print...



details:   https://anonhg.NetBSD.org/src/rev/a39d310525c7
branches:  riastradh-drm2
changeset: 788389:a39d310525c7
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Jul 24 03:34:21 2013 +0000

description:
Restore use of print_hex_dump in drm_edid.c.

diffstat:

 sys/external/bsd/drm2/dist/drm/drm_edid.c |  10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diffs (22 lines):

diff -r ab2920877ffd -r a39d310525c7 sys/external/bsd/drm2/dist/drm/drm_edid.c
--- a/sys/external/bsd/drm2/dist/drm/drm_edid.c Wed Jul 24 03:34:04 2013 +0000
+++ b/sys/external/bsd/drm2/dist/drm/drm_edid.c Wed Jul 24 03:34:21 2013 +0000
@@ -220,18 +220,8 @@
 bad:
        if (raw_edid && print_bad_edid) {
                printk(KERN_ERR "Raw EDID:\n");
-#ifdef __NetBSD__
-               for (i = 0; i < EDID_LENGTH; i++) {
-                       printf("%02x", raw_edid[i]);
-                       if ((i % 16) == 15)
-                               printf("\n");
-                       else
-                               printf(" ");
-               }
-#else
                print_hex_dump(KERN_ERR, " \t", DUMP_PREFIX_NONE, 16, 1,
                               raw_edid, EDID_LENGTH, false);
-#endif
        }
        return 0;
 }



Home | Main Index | Thread Index | Old Index