[PATCH 2/5] config: Remove atimisc workaround

Mark Kettenis mark.kettenis at xs4all.nl
Thu Oct 14 16:02:12 PDT 2010


> From: Adam Jackson <ajax at redhat.com>
> Date: Thu, 14 Oct 2010 15:13:25 -0400
> 
> Signed-off-by: Adam Jackson <ajax at redhat.com>
> ---
>  hw/xfree86/common/xf86Config.c |   18 ------------------
>  1 files changed, 0 insertions(+), 18 deletions(-)

Reviewed-by: Mark Kettenis <kettenis at openbsd.org>

> diff --git a/hw/xfree86/common/xf86Config.c b/hw/xfree86/common/xf86Config.c
> index 15ff750..a63f487 100644
> --- a/hw/xfree86/common/xf86Config.c
> +++ b/hw/xfree86/common/xf86Config.c
> @@ -524,24 +524,6 @@ fixup_video_driver_list(char **drivers)
>              }
>          }
>      }
> -    /*
> -     * since the ati wrapper driver is gross and awful, sort ati before
> -     * atimisc, which makes sure all the ati symbols are visible in xorgcfg.
> -     */
> -    for (drv = drivers; drv != end; drv++) {
> -        if (!strcmp(*drv, "atimisc")) {
> -            atimisc = drv;
> -            for (drv = atimisc; drv != end; drv++) {
> -                if (!strcmp(*drv, "ati")) {
> -                    ati = drv;
> -                    x = *ati; *ati = *atimisc; *atimisc = x;
> -                    return;
> -                }
> -            }
> -            /* if we get here, ati was already ahead of atimisc */
> -            return;
> -        }
> -    }
>  }
>  
>  static char **
> -- 
> 1.7.2.3
> 
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
> 


More information about the xorg-devel mailing list