From: Greg Kroah-Hartman Date: Tue, 3 Feb 2009 22:44:51 +0000 (-0800) Subject: .28 patches X-Git-Tag: v2.6.28.3~4 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=40b40f1162999fd82d72b5c294cb525796e225e3;p=thirdparty%2Fkernel%2Fstable-queue.git .28 patches --- diff --git a/queue-2.6.28/add-enable_ms-to-jsm-driver.patch b/queue-2.6.28/add-enable_ms-to-jsm-driver.patch new file mode 100644 index 00000000000..0bad659b424 --- /dev/null +++ b/queue-2.6.28/add-enable_ms-to-jsm-driver.patch @@ -0,0 +1,43 @@ +From 0461ec5bc7745b89a8ab67ba0ea497abd58a6301 Mon Sep 17 00:00:00 2001 +From: Paul Larson +Date: Fri, 30 Jan 2009 10:21:49 -0600 +Subject: Add enable_ms to jsm driver + +From: Paul Larson + +commit 0461ec5bc7745b89a8ab67ba0ea497abd58a6301 upstream. + +This fixes a crash observed when non-existant enable_ms function is +called for jsm driver. + +Signed-off-by: Scott Kilau +Signed-off-by: Paul Larson +Signed-off-by: Linus Torvalds +Signed-off-by: Greg Kroah-Hartman + +--- + drivers/serial/jsm/jsm_tty.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +--- a/drivers/serial/jsm/jsm_tty.c ++++ b/drivers/serial/jsm/jsm_tty.c +@@ -161,6 +161,11 @@ static void jsm_tty_stop_rx(struct uart_ + channel->ch_bd->bd_ops->disable_receiver(channel); + } + ++static void jsm_tty_enable_ms(struct uart_port *port) ++{ ++ /* Nothing needed */ ++} ++ + static void jsm_tty_break(struct uart_port *port, int break_state) + { + unsigned long lock_flags; +@@ -345,6 +350,7 @@ static struct uart_ops jsm_ops = { + .start_tx = jsm_tty_start_tx, + .send_xchar = jsm_tty_send_xchar, + .stop_rx = jsm_tty_stop_rx, ++ .enable_ms = jsm_tty_enable_ms, + .break_ctl = jsm_tty_break, + .startup = jsm_tty_open, + .shutdown = jsm_tty_close, diff --git a/queue-2.6.28/fbdev-atyfb-fix-dsp-config-on-some-powermacs-powerbooks.patch b/queue-2.6.28/fbdev-atyfb-fix-dsp-config-on-some-powermacs-powerbooks.patch new file mode 100644 index 00000000000..e57781b548c --- /dev/null +++ b/queue-2.6.28/fbdev-atyfb-fix-dsp-config-on-some-powermacs-powerbooks.patch @@ -0,0 +1,56 @@ +From 7fbb7cadd062baf299fd8b26a80ea99da0c3fe01 Mon Sep 17 00:00:00 2001 +From: Risto Suominen +Date: Tue, 13 Jan 2009 20:09:30 +0000 +Subject: fbdev/atyfb: Fix DSP config on some PowerMacs & PowerBooks + +From: Risto Suominen + +commit 7fbb7cadd062baf299fd8b26a80ea99da0c3fe01 upstream. + +Since the complete re-write in 2.6.10, some PowerMacs (At least PowerMac 5500 +and PowerMac G3 Beige rev A) with ATI Mach64 chip have suffered from unstable +columns in their framebuffer image. This seems to depend on a value (4) read +from PLL_EXT_CNTL register, which leads to incorrect DSP config parameters to +be written to the chip. This patch uses a value calculated by aty_init_pll_ct +instead, as a starting point. + +There are questions as to whether this should be extended to other platforms +or maybe made dependent on specific chip types, but in the meantime, this has +been tested on various powermacs and works for them so let's commit it. + +Signed-off-by: Risto Suominen +Tested-by: Michael Pettersson +Signed-off-by: Benjamin Herrenschmidt +Signed-off-by: Greg Kroah-Hartman + +--- + drivers/video/aty/mach64_ct.c | 11 +++++++++++ + 1 file changed, 11 insertions(+) + +--- a/drivers/video/aty/mach64_ct.c ++++ b/drivers/video/aty/mach64_ct.c +@@ -8,6 +8,9 @@ + #include + #include