From: "Antonino A. Daplas" 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. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton --- dev/null | 359 ----------------------------------------- drivers/video/Kconfig | 6 drivers/video/aty/Makefile | 1 drivers/video/aty/atyfb.h | 1 drivers/video/aty/atyfb_base.c | 4 5 files changed, 371 deletions(-) diff -puN drivers/video/aty/atyfb_base.c~fbdev-atyfb-remove-bios-less-booting drivers/video/aty/atyfb_base.c --- 25-sparc64/drivers/video/aty/atyfb_base.c~fbdev-atyfb-remove-bios-less-booting 2005-11-29 17:55:56.000000000 -0800 +++ 25-sparc64-akpm/drivers/video/aty/atyfb_base.c 2005-11-29 17:55:56.000000000 -0800 @@ -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 */ diff -puN drivers/video/aty/atyfb.h~fbdev-atyfb-remove-bios-less-booting drivers/video/aty/atyfb.h --- 25-sparc64/drivers/video/aty/atyfb.h~fbdev-atyfb-remove-bios-less-booting 2005-11-29 17:55:56.000000000 -0800 +++ 25-sparc64-akpm/drivers/video/aty/atyfb.h 2005-11-29 17:55:56.000000000 -0800 @@ -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); diff -puN drivers/video/aty/Makefile~fbdev-atyfb-remove-bios-less-booting drivers/video/aty/Makefile --- 25-sparc64/drivers/video/aty/Makefile~fbdev-atyfb-remove-bios-less-booting 2005-11-29 17:55:56.000000000 -0800 +++ 25-sparc64-akpm/drivers/video/aty/Makefile 2005-11-29 17:55:56.000000000 -0800 @@ -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) diff -L drivers/video/aty/xlinit.c -puN drivers/video/aty/xlinit.c~fbdev-atyfb-remove-bios-less-booting /dev/null --- 25-sparc64/drivers/video/aty/xlinit.c +++ /dev/null 2003-09-15 06:40:47.000000000 -0700 @@ -1,359 +0,0 @@ -/* - * ATI Rage XL Initialization. Support for Xpert98 and Victoria - * PCI cards. - * - * Copyright (C) 2002 MontaVista Software Inc. - * Author: MontaVista Software, Inc. - * stevel@mvista.com or source@mvista.com - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the - * Free Software Foundation; either version 2 of the License, or (at your - * option) any later version. - * - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED - * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN - * NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON - * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF - * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 675 Mass Ave, Cambridge, MA 02139, USA. - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include