diff options
author | Jordan Crouse <jordan.crouse@amd.com> | 2006-12-29 10:58:35 -0700 |
---|---|---|
committer | Jordan Crouse <jordan.crouse@amd.com> | 2006-12-29 10:59:19 -0700 |
commit | cf77a1fe9ec232cbb0d99685f34d0acb91ee5d88 (patch) | |
tree | 7d66e539f5711ad92fedb7ca1dbc4a78fcb8d175 /src/durango.c | |
parent | fb92319afde24b91c64314e4f2d8725fa2cd61fe (diff) |
Remove direct PCI accesses from Durango
Accessing PCI through X is one thing, accessing it directly is quite
another.
Diffstat (limited to 'src/durango.c')
-rw-r--r-- | src/durango.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/durango.c b/src/durango.c index 9f8efb7..527e02b 100644 --- a/src/durango.c +++ b/src/durango.c @@ -49,7 +49,7 @@ #define GFX_INIT_GU1 0 /* SC1200/GX1 */ #define GFX_INIT_GU2 1 /* GX */ -#define GFX_MSR_DYNAMIC 1 /* runtime selection */ +#define GFX_MSR_DYNAMIC 0 /* runtime selection */ #define GFX_MSR_REDCLOUD 1 /* GX */ #define GFX_2DACCEL_DYNAMIC 0 /* runtime selection */ @@ -89,10 +89,6 @@ #include "gfx_regs.h" #include "gfx_defs.h" -#if GFX_MSR_DYNAMIC -int gfx_msr_type = 0; -#endif - unsigned char *gfx_virt_regptr = (unsigned char *)0x40000000; unsigned char *gfx_virt_fbptr = (unsigned char *)0x40800000; unsigned char *gfx_virt_vidptr = (unsigned char *)0x40010000; |