diff options
author | Keith Packard <keithp@keithp.com> | 2008-09-29 17:37:28 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2008-10-01 16:39:01 -0700 |
commit | 8304b405e0dc2f31fd2d2fd82e150ba502ab74e2 (patch) | |
tree | d44cf78d0876a4103ec2177ea80c9e824d445bf5 /src/i810_driver.c | |
parent | ab2b70f831314f81a581bfb1e48d059a3a2b0b06 (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_driver.c')
-rw-r--r-- | src/i810_driver.c | 10 |
1 files changed, 1 insertions, 9 deletions
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 |