mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-30 16:40:16 +01:00
Make dma_addr_t an unsigned long not a uint32, don't try to use memrange
functions on FreeBSD non-x86, and remove a dead define.
This commit is contained in:
parent
bf4b8ba753
commit
638d45d2a0
4 changed files with 10 additions and 6 deletions
|
|
@ -45,7 +45,11 @@
|
|||
#define __REALLY_HAVE_AGP __HAVE_AGP
|
||||
#endif
|
||||
|
||||
#ifdef __i386__
|
||||
#define __REALLY_HAVE_MTRR (__HAVE_MTRR)
|
||||
#else
|
||||
#define __REALLY_HAVE_MTRR 0
|
||||
#endif
|
||||
#define __REALLY_HAVE_SG (__HAVE_SG)
|
||||
|
||||
#if __REALLY_HAVE_AGP
|
||||
|
|
@ -211,10 +215,9 @@ typedef struct drm_chipinfo
|
|||
|
||||
#define cpu_to_le32(x) (x) /* FIXME */
|
||||
|
||||
typedef u_int32_t dma_addr_t;
|
||||
typedef unsigned long dma_addr_t;
|
||||
typedef u_int32_t atomic_t;
|
||||
typedef u_int32_t cycles_t;
|
||||
typedef u_int32_t spinlock_t;
|
||||
typedef u_int32_t u32;
|
||||
typedef u_int16_t u16;
|
||||
typedef u_int8_t u8;
|
||||
|
|
|
|||
|
|
@ -183,7 +183,6 @@ typedef struct drm_chipinfo
|
|||
typedef u_int32_t dma_addr_t;
|
||||
typedef volatile long atomic_t;
|
||||
typedef u_int32_t cycles_t;
|
||||
typedef u_int32_t spinlock_t;
|
||||
typedef u_int32_t u32;
|
||||
typedef u_int16_t u16;
|
||||
typedef u_int8_t u8;
|
||||
|
|
|
|||
|
|
@ -45,7 +45,11 @@
|
|||
#define __REALLY_HAVE_AGP __HAVE_AGP
|
||||
#endif
|
||||
|
||||
#ifdef __i386__
|
||||
#define __REALLY_HAVE_MTRR (__HAVE_MTRR)
|
||||
#else
|
||||
#define __REALLY_HAVE_MTRR 0
|
||||
#endif
|
||||
#define __REALLY_HAVE_SG (__HAVE_SG)
|
||||
|
||||
#if __REALLY_HAVE_AGP
|
||||
|
|
@ -211,10 +215,9 @@ typedef struct drm_chipinfo
|
|||
|
||||
#define cpu_to_le32(x) (x) /* FIXME */
|
||||
|
||||
typedef u_int32_t dma_addr_t;
|
||||
typedef unsigned long dma_addr_t;
|
||||
typedef u_int32_t atomic_t;
|
||||
typedef u_int32_t cycles_t;
|
||||
typedef u_int32_t spinlock_t;
|
||||
typedef u_int32_t u32;
|
||||
typedef u_int16_t u16;
|
||||
typedef u_int8_t u8;
|
||||
|
|
|
|||
|
|
@ -183,7 +183,6 @@ typedef struct drm_chipinfo
|
|||
typedef u_int32_t dma_addr_t;
|
||||
typedef volatile long atomic_t;
|
||||
typedef u_int32_t cycles_t;
|
||||
typedef u_int32_t spinlock_t;
|
||||
typedef u_int32_t u32;
|
||||
typedef u_int16_t u16;
|
||||
typedef u_int8_t u8;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue