Skip to contentSkip to conversation

atyfb: Remove BIOS-less booting

PATCH In review Antonino A. Daplas 1 participant 1 message Nov 30, 2005 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 16/16 atyfb: Remove BIOS-less booting

CONFIG_ATYFB_XL_INIT option is broken for a long time. It will always cause a kernel hang.

Since no one has fixed this problem for some time now, remove it from atyfb.

---

 drivers/video/Kconfig          |    6 -
 drivers/video/aty/Makefile     |    1 
 drivers/video/aty/atyfb.h      |    1 
 drivers/video/aty/atyfb_base.c |    4 
 drivers/video/aty/xlinit.c     |  359 ----------------------------------------
 5 files changed, 0 insertions(+), 371 deletions(-)
drivers/video/Kconfig +0 -6
index 3e470c8..d6940ec 100644
@@ -993,12 +993,6 @@ config FB_ATY_GENERIC_LCD
 	  Say Y if you have a laptop with an ATI Rage LT PRO, Rage Mobility,
 	  Rage XC, or Rage XL chipset.
 
-config FB_ATY_XL_INIT
-	bool "Rage XL No-BIOS Init support"
-	depends on FB_ATY_CT
-	help
-	  Say Y here to support booting a Rage XL without BIOS support.
-
 config FB_ATY_GX
 	bool "Mach64 GX support" if PCI
 	depends on FB_ATY
drivers/video/aty/Makefile +0 -1
index 9dec962..1852139 100644
@@ -5,7 +5,6 @@ obj-$(CONFIG_FB_RADEON) += radeonfb.o
 atyfb-y				:= atyfb_base.o mach64_accel.o mach64_cursor.o
 atyfb-$(CONFIG_FB_ATY_GX)	+= mach64_gx.o
 atyfb-$(CONFIG_FB_ATY_CT)	+= mach64_ct.o
-atyfb-$(CONFIG_FB_ATY_XL_INIT)  += xlinit.o
 
 atyfb-objs			:= $(atyfb-y)
 
drivers/video/aty/atyfb.h +0 -1
index 09de173..71d30b5 100644
@@ -354,6 +354,5 @@ static inline void wait_for_idle(struct 
 
 extern void aty_reset_engine(const struct atyfb_par *par);
 extern void aty_init_engine(struct atyfb_par *par, struct fb_info *info);
-extern int  atyfb_xl_init(struct fb_info *info);
 extern void aty_st_pll_ct(int offset, u8 val, const struct atyfb_par *par);
 extern u8   aty_ld_pll_ct(int offset, const struct atyfb_par *par);
drivers/video/aty/atyfb_base.c +0 -4
index de684cf..4645d07 100644
@@ -2291,10 +2291,6 @@ static int __init aty_init(struct fb_inf
 		par->dac_ops = &aty_dac_ct;
 		par->pll_ops = &aty_pll_ct;
 		par->bus_type = PCI;
-#ifdef CONFIG_FB_ATY_XL_INIT
-		if (IS_XL(par->pci_id))
-			atyfb_xl_init(info);
-#endif
 		par->ram_type = (aty_ld_le32(CONFIG_STAT0, par) & 0x07);
 		ramname = aty_ct_ram[par->ram_type];
 		/* for many chips, the mclk is 67 MHz for SDRAM, 63 MHz otherwise */
drivers/video/aty/xlinit.c deleted +0 -359

359 lines not on this page · raw message

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click