X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fvideo%2Fsis%2Fsis_main.c;h=9ad218d6a05f75b1529c13f0a386cc86b966cd40;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=960cdbb5593162fe1b3733feb6d0410739b332a8;hpb=db216c3d5e4c040e557a50f8f5d35d5c415e8c1c;p=linux-2.6.git diff --git a/drivers/video/sis/sis_main.c b/drivers/video/sis/sis_main.c index 960cdbb55..9ad218d6a 100644 --- a/drivers/video/sis/sis_main.c +++ b/drivers/video/sis/sis_main.c @@ -1,6 +1,7 @@ /* - * SiS 300/630/730/540/315/550/650/651/M650/661FX/M661FX/740/741/M741/330/760 - * frame buffer driver for Linux kernels 2.4.x and 2.5.x + * SiS 300/305/540/630(S)/730(S) + * SiS 315(H/PRO)/55x/(M)65x/(M)661(F/M)X/740/741(GX)/330/(M)760 + * frame buffer driver for Linux kernels >= 2.4.14 and >=2.6.3 * * Copyright (C) 2001-2004 Thomas Winischhofer, Vienna, Austria. * @@ -20,8 +21,8 @@ * * Author: Thomas Winischhofer * - * Author of code base: - * SiS (www.sis.com.tw) + * Author of (practically wiped) code base: + * SiS (www.sis.com) * Copyright (C) 1999 Silicon Integrated Systems, Inc. * * See http://www.winischhofer.net/ for more information and updates @@ -34,7 +35,11 @@ #include #include #include +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0) +#include +#endif #include +#include #include #include #include @@ -47,28 +52,12 @@ #include #include #include -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) #include -#endif #include #include #include -#include #include #include - -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0) -#include -#endif - -#include "osdef.h" - -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0) -#include