Re: [Linux-fbdev-devel] Re: [PATCH 5/5] [I810FB]: i810fb fixes

From: Antonino A. Daplas (adaplas_at_hotpop.com)
Date: 07/31/04

  • Next message: Dave Airlie: "Re: drm - first steps towards 64-bit correctness.."
    To: Adrian Bunk <bunk@fs.tum.de>
    Date:	Sat, 31 Jul 2004 18:32:29 +0800
    
    

    Oops, forgot the X86_64 dependency.

    Tony

    1. Make i810fb depend on X86 but not X86_64
    2. Fixed typo in i810_init_monspecs(). Reported by Manuel Lauss <slauss@resi.at>.

    Signed-off-by: Antonino Daplas <adaplas@pol.net>

    ---
    diff -uprN linux-2.6.8-rc2-mm1-orig/drivers/video/i810/i810_main.c linux-2.6.8-rc2-mm1/drivers/video/i810/i810_main.c
    --- linux-2.6.8-rc2-mm1-orig/drivers/video/i810/i810_main.c	2004-07-31 16:52:12.341681400 +0800
    +++ linux-2.6.8-rc2-mm1/drivers/video/i810/i810_main.c	2004-07-31 16:53:18.937557288 +0800
    @@ -1656,7 +1656,7 @@ static void __devinit i810_init_monspecs
     		info->monspecs.hfmax = hsync2;
     	if (!info->monspecs.hfmin)
     		info->monspecs.hfmin = hsync1;
    -	if (hsync1 < hsync2) 
    +	if (hsync2 < hsync1) 
     		info->monspecs.hfmin = hsync2;
     
     	if (!vsync1)
    diff -uprN linux-2.6.8-rc2-mm1-orig/drivers/video/Kconfig linux-2.6.8-rc2-mm1/drivers/video/Kconfig
    --- linux-2.6.8-rc2-mm1-orig/drivers/video/Kconfig	2004-07-31 16:52:12.337682008 +0800
    +++ linux-2.6.8-rc2-mm1/drivers/video/Kconfig	2004-07-31 18:29:37.812034832 +0800
    @@ -457,7 +457,7 @@ config FB_RIVA_DEBUG
     
     config FB_I810
     	tristate "Intel 810/815 support (EXPERIMENTAL)"
    -	depends on FB && EXPERIMENTAL && PCI	
    +	depends on FB && EXPERIMENTAL && PCI && X86 && !X86_64	
     	select AGP
     	select AGP_INTEL
     	help
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Dave Airlie: "Re: drm - first steps towards 64-bit correctness.."