Module Name: src
Committed By: macallan
Date: Wed Jun 29 03:15:18 UTC 2011
Modified Files:
src/sys/dev/pci: machfb.c
Log Message:
support WSDISPLAYIO_GET_EDID
To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/sys/dev/pci/machfb.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/pci/machfb.c
diff -u src/sys/dev/pci/machfb.c:1.67 src/sys/dev/pci/machfb.c:1.68
--- src/sys/dev/pci/machfb.c:1.67 Wed Jun 1 05:06:17 2011
+++ src/sys/dev/pci/machfb.c Wed Jun 29 03:15:18 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: machfb.c,v 1.67 2011/06/01 05:06:17 macallan Exp $ */
+/* $NetBSD: machfb.c,v 1.68 2011/06/29 03:15:18 macallan Exp $ */
/*
* Copyright (c) 2002 Bang Jun-Young
@@ -34,7 +34,7 @@
#include <sys/cdefs.h>
__KERNEL_RCSID(0,
- "$NetBSD: machfb.c,v 1.67 2011/06/01 05:06:17 macallan Exp $");
+ "$NetBSD: machfb.c,v 1.68 2011/06/29 03:15:18 macallan Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1771,7 +1771,10 @@
}
}
return 0;
-
+ case WSDISPLAYIO_GET_EDID: {
+ struct wsdisplayio_edid_info *d = data;
+ return wsdisplayio_get_edid(sc->sc_dev, d);
+ }
}
return EPASSTHROUGH;
}
@@ -2057,10 +2060,6 @@
sc->sc_pcitag, data);
default:
-#ifdef MACHFB_DEBUG
- log(LOG_NOTICE, "machfb_fbioctl(0x%lx) (%s[%d])\n", cmd,
- p->p_comm, p->p_pid);
-#endif
return ENOTTY;
}
#ifdef MACHFB_DEBUG