lkml.org 
[lkml]   [2000]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subjectpatch for include/linux/agpgart.h
Date
From

I dont see an appropriate section in the MAINTAINERS file of
2.4test9 for AGP stuff, so I'm submitting this patch to you folks.

Once you read the patch, you might wonder "why the hell is he submitting
this patch to linux?" :-) But agpgart is being used as one of the primary
components for the "cross-platform" xfree DRI effort. So the
header file should be usable across multiple platforms, to maximize
portability.



*** agpgart.h Thu Oct 19 09:49:04 2000
--- newagpgart.h Thu Oct 19 09:49:58 2000
***************
*** 50,58 ****
#endif

#ifndef __KERNEL__
! #include <linux/types.h>
! #include <asm/types.h>

typedef struct _agp_version {
__u16 major;
__u16 minor;
--- 50,70 ----
#endif

#ifndef __KERNEL__
! #ifdef __linux__
! # include <linux/types.h>
! # include <asm/types.h>
! #endif

+ #ifdef __sun__
+ #include <sys/types.h>
+ typedef uint8_t __u8;
+ typedef uint16_t __u16;
+ typedef uint32_t __u32;
+
+ #endif
+
+
+
typedef struct _agp_version {
__u16 major;
__u16 minor;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:41    [W:0.418 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site