Author: paszczus                     Date: Mon Jul 30 15:43:16 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- modified for 2.6.22

---- Files affected:
SOURCES:
   kernel-desktop-fbsplash.patch (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SOURCES/kernel-desktop-fbsplash.patch
diff -u SOURCES/kernel-desktop-fbsplash.patch:1.4 
SOURCES/kernel-desktop-fbsplash.patch:1.5
--- SOURCES/kernel-desktop-fbsplash.patch:1.4   Sun May 13 20:42:14 2007
+++ SOURCES/kernel-desktop-fbsplash.patch       Mon Jul 30 17:43:11 2007
@@ -1,8 +1,7 @@
-diff --git a/Documentation/fb/00-INDEX b/Documentation/fb/00-INDEX
-index 92e89ae..a6cfacc 100644
---- a/Documentation/fb/00-INDEX
-+++ b/Documentation/fb/00-INDEX
-@@ -19,6 +19,8 @@ matroxfb.txt
+diff -urN linux-2.6.22/Documentation/fb/00-INDEX 
linux-2.6.22.fbsplash/Documentation/fb/00-INDEX
+--- linux-2.6.22/Documentation/fb/00-INDEX     2007-07-09 01:32:17.000000000 
+0200
++++ linux-2.6.22.fbsplash/Documentation/fb/00-INDEX    2007-07-30 
17:00:56.907613126 +0200
+@@ -19,6 +19,8 @@
        - info on the Matrox frame buffer driver
  pvr2fb.txt
        - info on the PowerVR 2 frame buffer driver
@@ -11,11 +10,9 @@
  tgafb.txt
        - info on the TGA (DECChip 21030) frame buffer driver
  vesafb.txt
-diff --git a/Documentation/fb/splash.txt b/Documentation/fb/splash.txt
-new file mode 100644
-index 0000000..6b281c9
---- /dev/null
-+++ b/Documentation/fb/splash.txt
+diff -urN linux-2.6.22/Documentation/fb/splash.txt 
linux-2.6.22.fbsplash/Documentation/fb/splash.txt
+--- linux-2.6.22/Documentation/fb/splash.txt   1970-01-01 01:00:00.000000000 
+0100
++++ linux-2.6.22.fbsplash/Documentation/fb/splash.txt  2007-07-30 
17:00:56.911613108 +0200
 @@ -0,0 +1,207 @@
 +What is it?
 +-----------
@@ -224,10 +221,9 @@
 +Fbsplash, splash protocol design, current implementation & docs by:
 +  Michal Januszewski <[EMAIL PROTECTED]>
 +
-diff --git a/drivers/Makefile b/drivers/Makefile
-index 0dd96d1..78779f3 100644
---- a/drivers/Makefile
-+++ b/drivers/Makefile
+diff -urN linux-2.6.22/drivers/Makefile linux-2.6.22.fbsplash/drivers/Makefile
+--- linux-2.6.22/drivers/Makefile      2007-07-09 01:32:17.000000000 +0200
++++ linux-2.6.22.fbsplash/drivers/Makefile     2007-07-30 17:00:56.923613054 
+0200
 @@ -8,6 +8,9 @@
  obj-$(CONFIG_PCI)             += pci/
  obj-$(CONFIG_PARISC)          += parisc/
@@ -238,7 +234,7 @@
  obj-y                         += video/
  obj-$(CONFIG_ACPI)            += acpi/
  # PnP must come after ACPI since it will eventually need to check if acpi
-@@ -15,10 +18,6 @@ obj-$(CONFIG_ACPI)          += acpi/
+@@ -15,10 +18,6 @@
  obj-$(CONFIG_PNP)             += pnp/
  obj-$(CONFIG_ARM_AMBA)                += amba/
  
@@ -249,52 +245,9 @@
  obj-$(CONFIG_CONNECTOR)               += connector/
  
  # i810fb and intelfb depend on char/agp/
-diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
-index 4e83f01..396eaae 100644
---- a/drivers/video/Kconfig
-+++ b/drivers/video/Kconfig
-@@ -884,7 +884,6 @@ config FB_MATROX
-       select FB_CFB_FILLRECT
-       select FB_CFB_COPYAREA
-       select FB_CFB_IMAGEBLIT
--      select FB_TILEBLITTING
-       select FB_MACMODES if PPC_PMAC
-       ---help---
-         Say Y here if you have a Matrox Millennium, Matrox Millennium II,
-@@ -1658,5 +1657,15 @@ if SYSFS
-       source "drivers/video/backlight/Kconfig"
- endif
- 
--endmenu
-+config FB_SPLASH
-+      bool "Support for the framebuffer splash"
-+      depends on FRAMEBUFFER_CONSOLE=y && !FB_TILEBLITTING
-+      default n
-+      ---help---
-+        This option enables support for the Linux boot-up splash screen and
-+        graphical backgrounds on consoles. Note that you will need userspace
-+        splash utilities in order to take advantage of these features. Refer 
-+        to Documentation/fb/splash.txt for more information.
- 
-+        If unsure, say N.
-+endmenu
-diff --git a/drivers/video/Makefile b/drivers/video/Makefile
-index 309a26d..bf98221 100644
---- a/drivers/video/Makefile
-+++ b/drivers/video/Makefile
-@@ -13,6 +13,7 @@ fb-objs                           := $(fb-y)
- obj-$(CONFIG_VT)                += console/
- obj-$(CONFIG_LOGO)              += logo/
- obj-$(CONFIG_SYSFS)             += backlight/
-+obj-$(CONFIG_FB_SPLASH)           += fbsplash.o cfbsplash.o
- 
- obj-$(CONFIG_FB_CFB_FILLRECT)  += cfbfillrect.o
- obj-$(CONFIG_FB_CFB_COPYAREA)  += cfbcopyarea.o
-diff --git a/drivers/video/cfbsplash.c b/drivers/video/cfbsplash.c
-new file mode 100644
-index 0000000..303cd6a
---- /dev/null
-+++ b/drivers/video/cfbsplash.c
+diff -urN linux-2.6.22/drivers/video/cfbsplash.c 
linux-2.6.22.fbsplash/drivers/video/cfbsplash.c
+--- linux-2.6.22/drivers/video/cfbsplash.c     1970-01-01 01:00:00.000000000 
+0100
++++ linux-2.6.22.fbsplash/drivers/video/cfbsplash.c    2007-07-30 
17:00:56.955612910 +0200
 @@ -0,0 +1,471 @@
 +/*
 + *  linux/drivers/video/cfbsplash.c -- Framebuffer splash render functions
@@ -767,10 +720,9 @@
 +      }
 +}
 +
-diff --git a/drivers/video/console/bitblit.c b/drivers/video/console/bitblit.c
-index 308850d..36a885c 100644
---- a/drivers/video/console/bitblit.c
-+++ b/drivers/video/console/bitblit.c
+diff -urN linux-2.6.22/drivers/video/console/bitblit.c 
linux-2.6.22.fbsplash/drivers/video/console/bitblit.c
+--- linux-2.6.22/drivers/video/console/bitblit.c       2007-07-09 
01:32:17.000000000 +0200
++++ linux-2.6.22.fbsplash/drivers/video/console/bitblit.c      2007-07-30 
17:00:56.971612838 +0200
 @@ -17,6 +17,7 @@
  #include <linux/console.h>
  #include <asm/types.h>
@@ -779,7 +731,7 @@
  
  /*
   * Accelerated handlers.
-@@ -54,6 +55,13 @@ static void bit_bmove(struct vc_data *vc, struct fb_info 
*info, int sy,
+@@ -54,6 +55,13 @@
        area.height = height * vc->vc_font.height;
        area.width = width * vc->vc_font.width;
  
@@ -793,7 +745,7 @@
        info->fbops->fb_copyarea(info, &area);
  }
  
-@@ -379,11 +387,15 @@ static void bit_cursor(struct vc_data *vc, struct 
fb_info *info, int mode,
+@@ -379,11 +387,15 @@
        cursor.image.depth = 1;
        cursor.rop = ROP_XOR;
  
@@ -813,11 +765,10 @@
  
        ops->cursor_reset = 0;
  }
-diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c
-index 31f476a..3e15207 100644
---- a/drivers/video/console/fbcon.c
-+++ b/drivers/video/console/fbcon.c
-@@ -91,6 +91,7 @@
+diff -urN linux-2.6.22/drivers/video/console/fbcon.c 
linux-2.6.22.fbsplash/drivers/video/console/fbcon.c
+--- linux-2.6.22/drivers/video/console/fbcon.c 2007-07-09 01:32:17.000000000 
+0200
++++ linux-2.6.22.fbsplash/drivers/video/console/fbcon.c        2007-07-30 
17:00:56.979612802 +0200
+@@ -90,6 +90,7 @@
  #endif
  
  #include "fbcon.h"
@@ -825,16 +776,16 @@
  
  #ifdef FBCONDEBUG
  #  define DPRINTK(fmt, args...) printk(KERN_DEBUG "%s: " fmt, __FUNCTION__ , 
## args)
-@@ -106,7 +107,7 @@ enum {
+@@ -105,7 +106,7 @@
  
  static struct display fb_display[MAX_NR_CONSOLES];
  
 -static signed char con2fb_map[MAX_NR_CONSOLES];
 +signed char con2fb_map[MAX_NR_CONSOLES];
  static signed char con2fb_map_boot[MAX_NR_CONSOLES];
+ #ifndef MODULE
  static int logo_height;
- static int logo_lines;
-@@ -301,7 +302,7 @@ static inline int fbcon_is_inactive(struct vc_data *vc, 
struct fb_info *info)
+@@ -302,7 +303,7 @@
                vc->vc_mode != KD_TEXT || ops->graphics);
  }
  
@@ -843,7 +794,7 @@
              u16 c, int is_fg)
  {
        int depth = fb_get_color_depth(&info->var, &info->fix);
-@@ -409,6 +410,7 @@ static void fb_flashcursor(struct work_struct *work)
+@@ -410,6 +411,7 @@
                CM_ERASE : CM_DRAW;
        ops->cursor(vc, info, mode, softback_lines, get_color(vc, info, c, 1),
                    get_color(vc, info, c, 0));
@@ -851,7 +802,7 @@
        release_console_sem();
  }
  
-@@ -574,6 +576,8 @@ static int fbcon_takeover(int show_logo)
+@@ -575,6 +577,8 @@
                info_idx = -1;
        }
  
@@ -860,7 +811,7 @@
        return err;
  }
  
-@@ -980,6 +984,12 @@ static const char *fbcon_startup(void)
+@@ -1018,6 +1022,12 @@
        rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres);
        cols /= vc->vc_font.width;
        rows /= vc->vc_font.height;
@@ -873,7 +824,7 @@
        vc_resize(vc, cols, rows);
  
        DPRINTK("mode:   %s\n", info->fix.id);
-@@ -1063,7 +1073,7 @@ static void fbcon_init(struct vc_data *vc, int init)
+@@ -1101,7 +1111,7 @@
        cap = info->flags;
  
        if (vc != svc || logo_shown == FBCON_LOGO_DONTSHOW ||
@@ -882,7 +833,7 @@
                logo = 0;
  
        if (var_to_display(p, &info->var, info))
-@@ -1257,6 +1267,11 @@ static void fbcon_clear(struct vc_data *vc, int sy, int 
sx, int height,
+@@ -1297,6 +1307,11 @@
        if (!height || !width)
                return;
  
@@ -894,7 +845,7 @@
        /* Split blits that cross physical y_wrap boundary */
  
        y_break = p->vrows - p->yscroll;
-@@ -1276,10 +1291,15 @@ static void fbcon_putcs(struct vc_data *vc, const 
unsigned short *s,
+@@ -1316,10 +1331,15 @@
        struct display *p = &fb_display[vc->vc_num];
        struct fbcon_ops *ops = info->fbcon_par;
  
@@ -914,7 +865,7 @@
  }
  
  static void fbcon_putc(struct vc_data *vc, int c, int ypos, int xpos)
-@@ -1295,8 +1315,13 @@ static void fbcon_clear_margins(struct vc_data *vc, int 
bottom_only)
+@@ -1335,8 +1355,13 @@
        struct fb_info *info = registered_fb[con2fb_map[vc->vc_num]];
        struct fbcon_ops *ops = info->fbcon_par;
  
@@ -930,7 +881,7 @@
  }
  
  static void fbcon_cursor(struct vc_data *vc, int mode)
-@@ -1769,7 +1794,7 @@ static int fbcon_scroll(struct vc_data *vc, int t, int 
b, int dir,
+@@ -1809,7 +1834,7 @@
                        count = vc->vc_rows;
                if (softback_top)
                        fbcon_softback_note(vc, t, count);
@@ -939,7 +890,7 @@
                        goto redraw_up;
                switch (p->scrollmode) {
                case SCROLL_MOVE:
-@@ -1857,6 +1882,8 @@ static int fbcon_scroll(struct vc_data *vc, int t, int 
b, int dir,
+@@ -1897,6 +1922,8 @@
                        count = vc->vc_rows;
                if (logo_shown >= 0)
                        goto redraw_down;
@@ -948,7 +899,7 @@
                switch (p->scrollmode) {
                case SCROLL_MOVE:
                        ops->bmove(vc, info, t, 0, t + count, 0,
-@@ -1999,6 +2026,13 @@ static void fbcon_bmove_rec(struct vc_data *vc, struct 
display *p, int sy, int s
+@@ -2039,6 +2066,13 @@
                }
                return;
        }
@@ -962,19 +913,7 @@
        ops->bmove(vc, info, real_y(p, sy), sx, real_y(p, dy), dx,
                   height, width);
  }
-@@ -2069,8 +2103,9 @@ static int fbcon_resize(struct vc_data *vc, unsigned int 
width,
-       var.yres = virt_h * virt_fh;
-       x_diff = info->var.xres - var.xres;
-       y_diff = info->var.yres - var.yres;
--      if (x_diff < 0 || x_diff > virt_fw ||
--          y_diff < 0 || y_diff > virt_fh) {
-+
-+      if ((x_diff < 0 || x_diff > virt_fw ||
-+          y_diff < 0 || y_diff > virt_fh) && !vc->vc_splash.state) {
-               struct fb_videomode *mode;
- 
-               DPRINTK("attempting resize %ix%i\n", var.xres, var.yres);
-@@ -2106,6 +2141,25 @@ static int fbcon_switch(struct vc_data *vc)
+@@ -2146,6 +2180,25 @@
  
        info = registered_fb[con2fb_map[vc->vc_num]];
        ops = info->fbcon_par;
@@ -1000,7 +939,7 @@
  
        if (softback_top) {
                if (softback_lines)
-@@ -2124,9 +2178,6 @@ static int fbcon_switch(struct vc_data *vc)
+@@ -2164,9 +2217,6 @@
                logo_shown = FBCON_LOGO_CANSHOW;
        }
  
@@ -1010,7 +949,7 @@
        /*
         * FIXME: If we have multiple fbdev's loaded, we need to
         * update all info->currcon.  Perhaps, we can place this
-@@ -2165,6 +2216,11 @@ static int fbcon_switch(struct vc_data *vc)
+@@ -2205,6 +2255,11 @@
                if (old_info != info)
                        fbcon_del_cursor_timer(old_info);
        }
@@ -1022,7 +961,7 @@
  
        if (fbcon_is_inactive(vc, info) ||
            ops->blank_state != FB_BLANK_UNBLANK)
-@@ -2273,8 +2329,12 @@ static int fbcon_blank(struct vc_data *vc, int blank, 
int mode_switch)
+@@ -2320,8 +2375,12 @@
                        fbcon_cursor(vc, blank ? CM_ERASE : CM_DRAW);
                        ops->cursor_flash = (!blank);
  
@@ -1037,7 +976,7 @@
                }
  
                if (!blank)
-@@ -2425,13 +2485,22 @@ static int fbcon_do_set_font(struct vc_data *vc, int 
w, int h,
+@@ -2472,13 +2531,22 @@
        }
  
        if (resize) {
@@ -1060,7 +999,7 @@
                if (CON_IS_VISIBLE(vc) && softback_buf)
                        fbcon_update_softback(vc);
        } else if (CON_IS_VISIBLE(vc)
-@@ -2549,7 +2618,7 @@ static int fbcon_set_palette(struct vc_data *vc, 
unsigned char *table)
+@@ -2607,7 +2675,7 @@
        int i, j, k, depth;
        u8 val;
  
@@ -1069,7 +1008,7 @@
                return -EINVAL;
  
        if (!CON_IS_VISIBLE(vc))
-@@ -2575,7 +2644,49 @@ static int fbcon_set_palette(struct vc_data *vc, 
unsigned char *table)
+@@ -2633,7 +2701,49 @@
        } else
                fb_copy_cmap(fb_default_cmap(1 << depth), &palette_cmap);
  
@@ -1120,7 +1059,7 @@
  }
  
  static u16 *fbcon_screen_pos(struct vc_data *vc, int offset)
-@@ -2801,7 +2912,14 @@ static void fbcon_modechanged(struct fb_info *info)
+@@ -2859,7 +2969,14 @@
                rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres);
                cols /= vc->vc_font.width;
                rows /= vc->vc_font.height;
@@ -1136,7 +1075,7 @@
                updatescrollmode(p, info, vc);
                scrollback_max = 0;
                scrollback_current = 0;
-@@ -3259,6 +3377,7 @@ static void fbcon_exit(void)
+@@ -3347,6 +3464,7 @@
                }
        }
  
@@ -1144,10 +1083,9 @@
        fbcon_has_exited = 1;
  }
  
-diff --git a/drivers/video/fbcmap.c b/drivers/video/fbcmap.c
-index 148108a..e7babb5 100644
---- a/drivers/video/fbcmap.c
-+++ b/drivers/video/fbcmap.c
+diff -urN linux-2.6.22/drivers/video/fbcmap.c 
linux-2.6.22.fbsplash/drivers/video/fbcmap.c
+--- linux-2.6.22/drivers/video/fbcmap.c        2007-07-09 01:32:17.000000000 
+0200
++++ linux-2.6.22.fbsplash/drivers/video/fbcmap.c       2007-07-30 
17:00:56.995612730 +0200
 @@ -15,6 +15,7 @@
  #include <linux/module.h>
  #include <linux/fb.h>
@@ -1156,7 +1094,7 @@
  
  #include <asm/uaccess.h>
  
-@@ -235,14 +236,17 @@ int fb_set_cmap(struct fb_cmap *cmap, struct fb_info 
*info)
+@@ -235,14 +236,17 @@
                        if (transp)
                                htransp = *transp++;
                        if (info->fbops->fb_setcolreg(start++,
@@ -1177,7 +1115,7 @@
        return rc;
  }
  
-@@ -250,7 +254,7 @@ int fb_set_user_cmap(struct fb_cmap_user *cmap, struct 
fb_info *info)
+@@ -250,7 +254,7 @@
  {
        int rc, size = cmap->len * sizeof(u16);
        struct fb_cmap umap;
@@ -1186,11 +1124,9 @@
        if (cmap->start < 0 || (!info->fbops->fb_setcolreg &&
                                !info->fbops->fb_setcmap))
                return -EINVAL;
-diff --git a/drivers/video/fbsplash.c b/drivers/video/fbsplash.c
-new file mode 100644
-index 0000000..75d8db8
---- /dev/null
-+++ b/drivers/video/fbsplash.c
+diff -urN linux-2.6.22/drivers/video/fbsplash.c 
linux-2.6.22.fbsplash/drivers/video/fbsplash.c
+--- linux-2.6.22/drivers/video/fbsplash.c      1970-01-01 01:00:00.000000000 
+0100
++++ linux-2.6.22.fbsplash/drivers/video/fbsplash.c     2007-07-30 
17:00:56.995612730 +0200
 @@ -0,0 +1,424 @@
 +/* 
 + *  linux/drivers/video/fbsplash.c -- Framebuffer splash routines
@@ -1616,11 +1552,9 @@
 +}
 +
 +EXPORT_SYMBOL(fbsplash_path);
-diff --git a/drivers/video/fbsplash.h b/drivers/video/fbsplash.h
-new file mode 100644
-index 0000000..cb9398f
---- /dev/null
-+++ b/drivers/video/fbsplash.h
+diff -urN linux-2.6.22/drivers/video/fbsplash.h 
linux-2.6.22.fbsplash/drivers/video/fbsplash.h
+--- linux-2.6.22/drivers/video/fbsplash.h      1970-01-01 01:00:00.000000000 
+0100
++++ linux-2.6.22.fbsplash/drivers/video/fbsplash.h     2007-07-30 
17:00:56.999612712 +0200
 @@ -0,0 +1,78 @@
 +/* 
 + *  linux/drivers/video/fbsplash.h -- Framebuffer splash headers
@@ -1700,11 +1634,48 @@
 +#endif /* CONFIG_FB_SPLASH */
 +
 +#endif /* __FB_SPLASH_H */
-diff --git a/include/linux/console_splash.h b/include/linux/console_splash.h
-new file mode 100644
-index 0000000..c448dd2
---- /dev/null
-+++ b/include/linux/console_splash.h
+diff -urN linux-2.6.22/drivers/video/Kconfig 
linux-2.6.22.fbsplash/drivers/video/Kconfig
+--- linux-2.6.22/drivers/video/Kconfig 2007-07-09 01:32:17.000000000 +0200
++++ linux-2.6.22.fbsplash/drivers/video/Kconfig        2007-07-30 
17:00:56.935613000 +0200
+@@ -1057,7 +1057,6 @@
+       select FB_CFB_FILLRECT
+       select FB_CFB_COPYAREA
+       select FB_CFB_IMAGEBLIT
+-      select FB_TILEBLITTING
+       select FB_MACMODES if PPC_PMAC
+       ---help---
+         Say Y here if you have a Matrox Millennium, Matrox Millennium II,
+@@ -1851,5 +1850,15 @@
+       source "drivers/video/logo/Kconfig"
+ endif
+ 
+-endmenu
++config FB_SPLASH
++      bool "Support for the framebuffer splash"
++      depends on FRAMEBUFFER_CONSOLE=y && !FB_TILEBLITTING
++      default n
++      ---help---
++        This option enables support for the Linux boot-up splash screen and
++        graphical backgrounds on consoles. Note that you will need userspace
++        splash utilities in order to take advantage of these features. Refer 
++        to Documentation/fb/splash.txt for more information.
+ 
++        If unsure, say N.
++endmenu
+diff -urN linux-2.6.22/drivers/video/Makefile 
linux-2.6.22.fbsplash/drivers/video/Makefile
+--- linux-2.6.22/drivers/video/Makefile        2007-07-09 01:32:17.000000000 
+0200
++++ linux-2.6.22.fbsplash/drivers/video/Makefile       2007-07-30 
17:03:16.082986834 +0200
+@@ -14,6 +14,7 @@
+ obj-$(CONFIG_VT)                += console/
+ obj-$(CONFIG_LOGO)              += logo/
+ obj-y                           += backlight/ display/
++obj-$(CONFIG_FB_SPLASH)           += fbsplash.o cfbsplash.o
+ 
+ obj-$(CONFIG_FB_CFB_FILLRECT)  += cfbfillrect.o
+ obj-$(CONFIG_FB_CFB_COPYAREA)  += cfbcopyarea.o
+diff -urN linux-2.6.22/include/linux/console_splash.h 
linux-2.6.22.fbsplash/include/linux/console_splash.h
+--- linux-2.6.22/include/linux/console_splash.h        1970-01-01 
01:00:00.000000000 +0100
++++ linux-2.6.22.fbsplash/include/linux/console_splash.h       2007-07-30 
17:00:56.999612712 +0200
 @@ -0,0 +1,13 @@
 +#ifndef _LINUX_CONSOLE_SPLASH_H_
 +#define _LINUX_CONSOLE_SPLASH_H_ 1
@@ -1719,11 +1690,10 @@
 +};
 +
 +#endif
-diff --git a/include/linux/console_struct.h b/include/linux/console_struct.h
-index ed6c0fe..b0cbdfe 100644
---- a/include/linux/console_struct.h
-+++ b/include/linux/console_struct.h
-@@ -15,6 +15,7 @@
+diff -urN linux-2.6.22/include/linux/console_struct.h 
linux-2.6.22.fbsplash/include/linux/console_struct.h
+--- linux-2.6.22/include/linux/console_struct.h        2007-07-09 
01:32:17.000000000 +0200
++++ linux-2.6.22.fbsplash/include/linux/console_struct.h       2007-07-30 
17:00:57.003612694 +0200
+@@ -19,6 +19,7 @@
  struct vt_struct;
  
  #define NPAR 16
@@ -1731,7 +1701,7 @@
  
  struct vc_data {
        unsigned short  vc_num;                 /* Console number */
-@@ -98,6 +99,8 @@ struct vc_data {
+@@ -105,6 +106,8 @@
        struct vc_data **vc_display_fg;         /* [!] Ptr to var holding fg 
console for this display */
        unsigned long   vc_uni_pagedir;
        unsigned long   *vc_uni_pagedir_loc;  /* [!] Location of uni_pagedir 
variable for this console */
@@ -1740,11 +1710,10 @@
        /* additional information is in vt_kern.h */
  };
  
-diff --git a/include/linux/fb.h b/include/linux/fb.h
-index 64177ec..dc99c4f 100644
---- a/include/linux/fb.h
-+++ b/include/linux/fb.h
-@@ -9,6 +9,13 @@
+diff -urN linux-2.6.22/include/linux/fb.h 
linux-2.6.22.fbsplash/include/linux/fb.h
+--- linux-2.6.22/include/linux/fb.h    2007-07-09 01:32:17.000000000 +0200
++++ linux-2.6.22.fbsplash/include/linux/fb.h   2007-07-30 17:00:57.003612694 
+0200
+@@ -11,6 +11,13 @@
  #define FB_MAJOR              29
  #define FB_MAX                        32      /* sufficient for now */
  
@@ -1758,23 +1727,24 @@
  /* ioctls
     0x46 is 'F'                                                                
*/
  #define FBIOGET_VSCREENINFO   0x4600
-@@ -36,7 +43,15 @@
+@@ -38,7 +45,15 @@
  #define FBIOGET_HWCINFO         0x4616
  #define FBIOPUT_MODEINFO        0x4617
  #define FBIOGET_DISPINFO        0x4618
+-
 +#define FBIOSPLASH_SETCFG     _IOWR('F', 0x19, struct fb_splash_iowrapper)
 +#define FBIOSPLASH_GETCFG     _IOR('F', 0x1A, struct fb_splash_iowrapper)
 +#define FBIOSPLASH_SETSTATE   _IOWR('F', 0x1B, struct fb_splash_iowrapper)
 +#define FBIOSPLASH_GETSTATE   _IOR('F', 0x1C, struct fb_splash_iowrapper)
 +#define FBIOSPLASH_SETPIC     _IOWR('F', 0x1D, struct fb_splash_iowrapper)
- 
++
 +#define FB_SPLASH_THEME_LEN           128     /* Maximum lenght of a theme 
name */
 +#define FB_SPLASH_IO_ORIG_KERNEL      0       /* Kernel ioctl origin */
 +#define FB_SPLASH_IO_ORIG_USER                1       /* User ioctl origin */
  
  #define FB_TYPE_PACKED_PIXELS         0       /* Packed Pixels        */
  #define FB_TYPE_PLANES                        1       /* Non interleaved 
planes */
-@@ -787,6 +802,9 @@ struct fb_info {
+@@ -828,6 +843,9 @@
  #define FBINFO_STATE_SUSPENDED        1
        u32 state;                      /* Hardware state i.e suspend */
        void *fbcon_par;                /* fbcon use-only private area */
@@ -1784,11 +1754,10 @@
        /* From here on everything is device dependent */
        void *par;      
  };
-diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h
-index 81480e6..98cd75a 100644
---- a/include/linux/sysctl.h
-+++ b/include/linux/sysctl.h
-@@ -160,6 +160,7 @@ enum
+diff -urN linux-2.6.22/include/linux/sysctl.h 
linux-2.6.22.fbsplash/include/linux/sysctl.h
+--- linux-2.6.22/include/linux/sysctl.h        2007-07-09 01:32:17.000000000 
+0200
++++ linux-2.6.22.fbsplash/include/linux/sysctl.h       2007-07-30 
17:00:57.019612622 +0200
+@@ -165,6 +165,7 @@
        KERN_MAX_LOCK_DEPTH=74,
        KERN_NMI_WATCHDOG=75, /* int: enable/disable nmi watchdog */
        KERN_PANIC_ON_NMI=76, /* int: whether we will panic on an unrecovered */
@@ -1796,11 +1765,10 @@
  };
  
  
-diff --git a/kernel/sysctl.c b/kernel/sysctl.c
-index 600b333..7d0e588 100644
---- a/kernel/sysctl.c
-+++ b/kernel/sysctl.c
-@@ -87,6 +87,9 @@ static int ngroups_max = NGROUPS_MAX;
+diff -urN linux-2.6.22/kernel/sysctl.c linux-2.6.22.fbsplash/kernel/sysctl.c
+--- linux-2.6.22/kernel/sysctl.c       2007-07-09 01:32:17.000000000 +0200
++++ linux-2.6.22.fbsplash/kernel/sysctl.c      2007-07-30 17:00:57.023612604 
+0200
+@@ -89,6 +89,9 @@
  #ifdef CONFIG_KMOD
  extern char modprobe_path[];
  #endif
@@ -1810,7 +1778,7 @@
  #ifdef CONFIG_CHR_DEV_SG
  extern int sg_big_buff;
  #endif
-@@ -453,6 +456,17 @@ static ctl_table kern_table[] = {
+@@ -343,6 +346,17 @@
                .strategy       = &sysctl_string,
        },
  #endif
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/SOURCES/kernel-desktop-fbsplash.patch?r1=1.4&r2=1.5&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to