diff options
author | Eric Anholt <anholt@freebsd.org> | 2005-11-08 02:38:01 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2005-11-08 02:38:01 +0000 |
commit | 1a256df4804e4e987f81226a5d8e0573363607ee (patch) | |
tree | 31749f8042cfdd36260f195fb3af65c7bab46e51 /linux-core/drmP.h | |
parent | 145b23b55220bdfc6639d3279ad96310faa650a3 (diff) |
Catch FreeBSD up to the pcie gart changes. Required minor modification to
radeon_cp.c to use a drm_local_map_t-type mapping (drm_core_ioremap
rather than drm_ioremap), which contains private device mapping
information on BSD. I also changed the ati_pcigart interface to use
"void *" for pointers to kva rather than "unsigned long". While PCIGART
support appears to be broken on FreeBSD currently, I think this is not
new, and BusType PCI remains working on my r100 in Linux.
Diffstat (limited to 'linux-core/drmP.h')
-rw-r--r-- | linux-core/drmP.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h index c0ac922f..7b344c7a 100644 --- a/linux-core/drmP.h +++ b/linux-core/drmP.h @@ -529,8 +529,9 @@ typedef struct drm_vbl_sig { typedef struct ati_pcigart_info { int gart_table_location; int is_pcie; - unsigned long addr; + void *addr; dma_addr_t bus_addr; + drm_local_map_t mapping; } drm_ati_pcigart_info; /** |