summaryrefslogtreecommitdiff
path: root/src/i810.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2008-09-29 17:37:28 -0700
committerKeith Packard <keithp@keithp.com>2008-10-01 16:39:01 -0700
commit8304b405e0dc2f31fd2d2fd82e150ba502ab74e2 (patch)
treed44cf78d0876a4103ec2177ea80c9e824d445bf5 /src/i810.h
parentab2b70f831314f81a581bfb1e48d059a3a2b0b06 (diff)
Eliminate INT10 call to get BIOS contents
libpciaccess (and the old X server PCI code as well) provides a function to get the ROM contents. Code to use that was already present in the driver and used if the INT10 function failed. Skip the INT10 and just use libpciaccess as that eliminates several module loads and scary use of vm86. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/i810.h')
-rw-r--r--src/i810.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/i810.h b/src/i810.h
index e7331f6d..7ea20439 100644
--- a/src/i810.h
+++ b/src/i810.h
@@ -47,7 +47,6 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "xaa.h"
#include "xf86Cursor.h"
#include "xf86xv.h"
-#include "xf86int10.h"
#include "vbe.h"
#include "vgaHW.h"
@@ -276,6 +275,8 @@ typedef struct _I810Rec {
int drmMinor;
} I810Rec;
+extern const char *I810vbeSymbols[];
+
#define I810PTR(p) ((I810Ptr)((p)->driverPrivate))
#define I810_SELECT_FRONT 0