From 40b40f1162999fd82d72b5c294cb525796e225e3 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Tue, 3 Feb 2009 14:44:51 -0800 Subject: [PATCH] .28 patches --- .../add-enable_ms-to-jsm-driver.patch | 43 +++ ...-config-on-some-powermacs-powerbooks.patch | 56 ++++ ...mory-corruption-in-console-selection.patch | 41 +++ ...ut-atkbd-samsung-nc10-key-repeat-fix.patch | 65 ++++ .../iwlwifi-fix-rs_get_rate-warn_on.patch | 105 +++++++ ...-return-null-instead-of-link-failure.patch | 67 +++++ ...lowest-supported-rate-index-is-not-0.patch | 70 +++++ ...s-the-underlying-filesystem-on-lockt.patch | 86 ++++++ ...nfsd4_lockt-if-a-stateowner-is-found.patch | 39 +++ .../p54-fix-lm87-checksum-endianness.patch | 54 ++++ ..._read_eeprom-to-cope-with-tx_hdr_len.patch | 61 ++++ ...-make-use-of-usb_anchor-s-facilities.patch | 282 ++++++++++++++++++ ...patch-for-intel-tigerpoint-deviceids.patch | 40 +++ queue-2.6.28/sata_nv-fix-mcp5x-reset.patch | 105 +++++++ queue-2.6.28/series | 14 + 15 files changed, 1128 insertions(+) create mode 100644 queue-2.6.28/add-enable_ms-to-jsm-driver.patch create mode 100644 queue-2.6.28/fbdev-atyfb-fix-dsp-config-on-some-powermacs-powerbooks.patch create mode 100644 queue-2.6.28/fix-memory-corruption-in-console-selection.patch create mode 100644 queue-2.6.28/input-atkbd-samsung-nc10-key-repeat-fix.patch create mode 100644 queue-2.6.28/iwlwifi-fix-rs_get_rate-warn_on.patch create mode 100644 queue-2.6.28/kmalloc-return-null-instead-of-link-failure.patch create mode 100644 queue-2.6.28/minstrel-fix-warning-if-lowest-supported-rate-index-is-not-0.patch create mode 100644 queue-2.6.28/nfsd-ensure-nfsv4-calls-the-underlying-filesystem-on-lockt.patch create mode 100644 queue-2.6.28/nfsd-only-set-file_lock.fl_lmops-in-nfsd4_lockt-if-a-stateowner-is-found.patch create mode 100644 queue-2.6.28/p54-fix-lm87-checksum-endianness.patch create mode 100644 queue-2.6.28/p54-fix-p54_read_eeprom-to-cope-with-tx_hdr_len.patch create mode 100644 queue-2.6.28/p54usb-rewriting-rx-tx-routines-to-make-use-of-usb_anchor-s-facilities.patch create mode 100644 queue-2.6.28/pci-irq-and-pci_ids-patch-for-intel-tigerpoint-deviceids.patch create mode 100644 queue-2.6.28/sata_nv-fix-mcp5x-reset.patch 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