diff -urN linux-2.4.5-rmk7-np2/drivers/video/sa1100fb.c linux-2.4.5-rmk7-np2-ssv1/drivers/video/sa1100fb.c --- linux-2.4.5-rmk7-np2/drivers/video/sa1100fb.c Sat Jul 13 19:35:17 2002 +++ linux-2.4.5-rmk7-np2-ssv1/drivers/video/sa1100fb.c Wed Oct 10 21:22:48 2001 @@ -460,6 +460,33 @@ transp: { offset: 0, length: 0, }, }; +//-------------------- SSV-CHANGE -------------------- +#ifdef CONFIG_SA1100_DNP1110 +static struct sa1100fb_mach_info dnp1110_info __initdata = { + pixclock: 39721, bpp: 16, + xres: 640, yres: 480, + + hsync_len: 64, vsync_len: 2, + left_margin: 80, upper_margin: 31, + right_margin: 16, lower_margin: 12, + + sync: 0, + + lccr0: LCCR0_Color | LCCR0_Dual | LCCR0_Act, + lccr3: LCCR3_OutEnH| LCCR3_PixFlEdg | LCCR3_ACBsDiv(512) | + LCCR3_HorSnchL | LCCR3_VrtSnchL | + LCCR3_PixClkDiv(12), +}; + //***** RGB 565 ***** +static struct sa1100fb_rgb dnp1110_rgb_16 = { + red: { offset: 11, length: 5, }, + green: { offset: 5, length: 6, }, + blue: { offset: 0, length: 5, }, + transp: { offset: 0, length: 0, }, +}; +#endif +//------------------------------------------------------------ + #ifdef CONFIG_SA1100_ASSABET static struct sa1100fb_mach_info assabet_info __initdata = { #ifdef ASSABET_PAL_VIDEO @@ -742,6 +769,16 @@ * bitsy {12,4}, { 7,4}, { 1,4}, { 0,0} * freebird { 8,4}, { 4,4}, { 0,4}, {12,4} */ + +//---------- SSV-CHANGE ---------- +#ifdef CONFIG_SA1100_DNP1110 + if (machine_is_dnp1110()) { + inf = &dnp1110_info; + fbi->rgb[RGB_16] = &dnp1110_rgb_16; + } +#endif +//---------------------------------------- + #ifdef CONFIG_SA1100_ASSABET if (machine_is_assabet()) { inf = &assabet_info;