Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163223108
D7770.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
632 B
Referenced Files
None
Subscribers
None
D7770.id.diff
View Options
Index: head/sys/dev/drm2/drmP.h
===================================================================
--- head/sys/dev/drm2/drmP.h
+++ head/sys/dev/drm2/drmP.h
@@ -103,8 +103,16 @@
#include <dev/drm2/drm_os_freebsd.h>
-#define __OS_HAS_AGP (defined(CONFIG_AGP) || (defined(CONFIG_AGP_MODULE) && defined(MODULE)))
-#define __OS_HAS_MTRR (defined(CONFIG_MTRR))
+#if defined(CONFIG_AGP) || (defined(CONFIG_AGP_MODULE) && defined(MODULE))
+#define __OS_HAS_AGP 1
+#else
+#define __OS_HAS_AGP 0
+#endif
+#if defined(CONFIG_MTRR)
+#define __OS_HAS_MTRR 1
+#else
+#define __OS_HAS_MTRR 0
+#endif
struct drm_file;
struct drm_device;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jul 22, 5:08 AM (47 m, 44 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35322203
Default Alt Text
D7770.id.diff (632 B)
Attached To
Mode
D7770: Define __OS_HAS_AGP in a more portable way
Attached
Detach File
Event Timeline
Log In to Comment