]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/video/skeletonfb.c
ipv6: AF_INET6 link address family
[net-next-2.6.git] / drivers / video / skeletonfb.c
index a439159204a8490fe79e2e0bebae3f9b47167481..89158bc71da2b3ea982d355c2e6ee0dfeaee7244 100644 (file)
@@ -308,9 +308,11 @@ static int xxxfb_setcolreg(unsigned regno, unsigned red, unsigned green,
      *   color depth = SUM(var->{color}.length)
      *
      * Pseudocolor:
-     *    var->{color}.offset is 0
-     *    var->{color}.length contains width of DAC or the number of unique
-     *                        colors available (color depth)
+     *    var->{color}.offset is 0 unless the palette index takes less than
+     *                        bits_per_pixel bits and is stored in the upper
+     *                        bits of the pixel value
+     *    var->{color}.length is set so that 1 << length is the number of
+     *                        available palette entries
      *    pseudo_palette is not used
      *    RAMDAC[X] is programmed to (red, green, blue)
      *    color depth = var->{color}.length