staging: xgifb: drop XG45 code
authorAaro Koskinen <aaro.koskinen@iki.fi>
Fri, 6 Apr 2012 22:13:52 +0000 (01:13 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Apr 2012 17:19:07 +0000 (10:19 -0700)
XG45 is not recognized/supported by the driver.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xgifb/XGI_main_26.c
drivers/staging/xgifb/XGIfb.h

index 8d10952..3eeb58a 100644 (file)
@@ -1656,17 +1656,6 @@ static int XGIfb_get_dram_size(struct xgifb_video_info *xgifb_info)
                        ChannelNum = 1;
                break;
 
-       case XG45:
-               if (tmp == 1)
-                       ChannelNum = 2;
-               else if (tmp == 2)
-                       ChannelNum = 3;
-               else if (tmp == 3)
-                       ChannelNum = 4;
-               else
-                       ChannelNum = 1;
-               break;
-
        case XG40:
        default:
                if (tmp == 2)
index 223ba66..9068c5a 100644 (file)
@@ -24,7 +24,6 @@ enum xgifb_display_type {
 enum XGI_CHIP_TYPE {
        XG40 = 32,
        XG42,
-       XG45,
        XG20 = 48,
        XG21,
        XG27,