diff options
author | Jamey Sharp <jamey@minilop.net> | 2011-09-14 11:23:03 -0500 |
---|---|---|
committer | Jamey Sharp <jamey@minilop.net> | 2011-09-15 10:11:43 -0500 |
commit | 94b2eea86319934316bdb013f6f3940685a88a2f (patch) | |
tree | 9386a88576282e3fc27f341ea88fdd8641622fa1 /hw | |
parent | 6ad7bb69eebd5e5b4068bd9aa0b9a7168f075006 (diff) |
int10: Delete #if 0'd implementation that's older than our git history.
Throughout the xserver git history, the generic portion of the int10
module has always used other methods for reading the video BIOS. For
some time now it's been purely libpciaccess based. This commented-out
use of xf86ReadBIOS is entirely superfluous.
Signed-off-by: Jamey Sharp <jamey@minilop.net>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/xfree86/int10/generic.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/hw/xfree86/int10/generic.c b/hw/xfree86/int10/generic.c index fe8bb69ac..994085493 100644 --- a/hw/xfree86/int10/generic.c +++ b/hw/xfree86/int10/generic.c @@ -128,10 +128,6 @@ xf86ExtendedInitInt10(int entityIndex, int Flags) int screen; legacyVGARec vga; -#if 0 - CARD32 cs; -#endif - screen = (xf86FindScreenForEntity(entityIndex))->scrnIndex; options = xf86HandleInt10Options(xf86Screens[screen],entityIndex); @@ -174,17 +170,9 @@ xf86ExtendedInitInt10(int entityIndex, int Flags) /* * Retrieve everything between V_BIOS and SYS_BIOS as some system BIOSes - * have executable code there. Note that xf86ReadBIOS() can only read in - * 64kB at a time. + * have executable code there. */ memset((char *)base + V_BIOS, 0, SYS_BIOS - V_BIOS); -#if 0 - for (cs = V_BIOS; cs < SYS_BIOS; cs += V_BIOS_SIZE) - if (xf86ReadBIOS(cs, 0, (unsigned char *)base + cs, V_BIOS_SIZE) < - V_BIOS_SIZE) - xf86DrvMsg(screen, X_WARNING, - "Unable to retrieve all of segment 0x%06X.\n", cs); -#endif INTPriv(pInt)->highMemory = V_BIOS; if (xf86IsEntityPrimary(entityIndex) && !(initPrimary(options))) { |