summaryrefslogtreecommitdiffstats
path: root/videocard.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2002-01-21 21:01:21 +0000
committerMike Fulbright <msf@redhat.com>2002-01-21 21:01:21 +0000
commita0908acbe832d7f76be25fe3fdd1288f25464d36 (patch)
treec4ab0ec21bb81d7a610dcc98a925f19d5cb9a3af /videocard.py
parent05209b79f463f3a12f01e251401791f445983409 (diff)
downloadanaconda-before.bootloader.merge.tar.gz
anaconda-before.bootloader.merge.tar.xz
anaconda-before.bootloader.merge.zip
handle framebuffer and vga16 casesbefore.bootloader.merge
Diffstat (limited to 'videocard.py')
-rw-r--r--videocard.py25
1 files changed, 11 insertions, 14 deletions
diff --git a/videocard.py b/videocard.py
index 34887b9b0..5d66a1b79 100644
--- a/videocard.py
+++ b/videocard.py
@@ -32,6 +32,8 @@ Videocard_blacklist = ["Generic VGA compatible",
Video_cardslist = {}
+USE_XFREE86_V4_FB = 0
+
def Video_cardsDBLookup(thecard):
card = Video_cardslist[thecard]
@@ -169,26 +171,21 @@ class FrameBufferCard(VideoCard):
card = {}
# This makes it use the XFree86 4.x fbdev
-# also uncomment the code below in getXServer()
-# card["DRIVER"] = "fbdev"
-#
-# This makes is use the XFree 3.x.x fbdev
-# also uncomment the code below in getXServer()
- card["SERVER"] = "FBDev"
+ if USE_XFREE86_V4_FB:
+ card["DRIVER"] = "fbdev"
+ else:
+ card["SERVER"] = "FBDev"
card["NAME"] = "VGA VESA Framebuffer"
return card
def getXServer(self):
-
-# This makes it use the XFree86 4.x fbdev
-# also uncomment the code above in getCardData()
-# return "XFree86"
-#
-# This makes is use the XFree 3.x.x fbdev
-# also uncomment the code above in getCardData()
- return "XF86_FBDev"
+
+ if USE_XFREE86_V4_FB:
+ return "XFree86"
+ else:
+ return "XF86_FBDev"
def isFrameBuffer(self):
return 1