Skip to contentSkip to conversation

missing break? linux/drivers/video/riva/fbdev.c

DISCUSSION Petr Vandrovec 1 participant 1 message Sep 14, 2001

lore
Share & tools
lore
#0 lore raw

drivers/video/riva/fbdev.c Fri Sep 7 09:28:38 2001 line 1116

Quoted 12 lines · andrew may

diff -u --recursive --new-file v2.4.9/linux/drivers/video/riva/fbdev.c linux/drivers/video/riva/fbdev.c

drivers/video/riva/fbdev.c Fri Sep 7 09:28:38 2001 renamed from linux/drivers/video/riva/fbdev.c Wed Jul 25 17:10:24 2001 +2 -0
@@ -1109,6 +1109,8 @@
        break;
 #endif
 #ifdef FBCON_HAS_CFB16
+   case 15:
+       rc = 15;    /* fix for 15 bpp depths on Riva 128 based cards */
    case 16:
        rc = 16;    /* directcolor... 16 entries SW palette */
        break;      /* Mystique: truecolor, 16 entries SW palette, HW palette hardwired into 1:1 mapping */
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

I do not think that this comment should be in rivafb driver ;-) It is completely unrelated to Riva hardware, it came from matroxfb.
Best regards,
Petr Vandrovec [email protected]