From 8304b405e0dc2f31fd2d2fd82e150ba502ab74e2 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 29 Sep 2008 17:37:28 -0700 Subject: 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 --- src/i810_driver.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/i810_driver.c') diff --git a/src/i810_driver.c b/src/i810_driver.c index a7f408c4..cc28ad8b 100644 --- a/src/i810_driver.c +++ b/src/i810_driver.c @@ -342,14 +342,6 @@ const char *I810ddcSymbols[] = { NULL }; -const char *I810int10Symbols[] = { - "xf86ExecX86int10", - "xf86InitInt10", - "xf86Int10AllocPages", - "xf86int10Addr", - NULL -}; - const char *I810xaaSymbols[] = { "XAACreateInfoRec", "XAADestroyInfoRec", @@ -518,7 +510,7 @@ i810Setup(pointer module, pointer opts, int *errmaj, int *errmin) #endif I810shadowFBSymbols, I810vbeSymbols, vbeOptionalSymbols, - I810ddcSymbols, I810int10Symbols, NULL); + I810ddcSymbols, NULL); /* * The return value must be non-NULL on success even though there -- cgit v1.2.3