svn commit: r261653 - in stable/9/sys/dev/drm2: . i915
Jean-Sebastien Pedron
dumbbell at FreeBSD.org
Sun Feb 9 13:56:38 UTC 2014
Author: dumbbell
Date: Sun Feb 9 13:56:37 2014
New Revision: 261653
URL: http://svnweb.freebsd.org/changeset/base/261653
Log:
MFC r254818:
drm: Move definition of EREMOTEIO to drmP.h
It will be used by both i915 and radeon drivers.
Add ERESTARTSYS definition at the same time.
Modified:
stable/9/sys/dev/drm2/drmP.h
stable/9/sys/dev/drm2/i915/intel_dp.c
Directory Properties:
stable/9/sys/ (props changed)
stable/9/sys/dev/ (props changed)
Modified: stable/9/sys/dev/drm2/drmP.h
==============================================================================
--- stable/9/sys/dev/drm2/drmP.h Sun Feb 9 13:50:08 2014 (r261652)
+++ stable/9/sys/dev/drm2/drmP.h Sun Feb 9 13:56:37 2014 (r261653)
@@ -1405,5 +1405,10 @@ do { \
#define KTR_DRM KTR_DEV
#define KTR_DRM_REG KTR_SPARE3
+/* Error codes conversion from Linux to FreeBSD. */
+/* XXXKIB what is the right code for EREMOTEIO on FreeBSD? */
+#define EREMOTEIO ENXIO
+#define ERESTARTSYS ERESTART
+
#endif /* __KERNEL__ */
#endif /* _DRM_P_H_ */
Modified: stable/9/sys/dev/drm2/i915/intel_dp.c
==============================================================================
--- stable/9/sys/dev/drm2/i915/intel_dp.c Sun Feb 9 13:50:08 2014 (r261652)
+++ stable/9/sys/dev/drm2/i915/intel_dp.c Sun Feb 9 13:56:37 2014 (r261653)
@@ -43,9 +43,6 @@ __FBSDID("$FreeBSD$");
#define DP_LINK_CONFIGURATION_SIZE 9
-/* XXXKIB what is the right code for the FreeBSD ? */
-#define EREMOTEIO ENXIO
-
struct intel_dp {
struct intel_encoder base;
uint32_t output_reg;
More information about the svn-src-stable-9
mailing list