drivers/sn/ioc3.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---- linux-2.6.16.16.orig/drivers/sn/ioc3.c
-+++ linux-2.6.16.16/drivers/sn/ioc3.c
+--- linux-2.6.16.19.orig/drivers/sn/ioc3.c
++++ linux-2.6.16.19/drivers/sn/ioc3.c
@@ -677,7 +677,7 @@ static int ioc3_probe(struct pci_dev *pd
/* Track PCI-device specific data */
pci_set_drvdata(pdev, idd);
drivers/sn/ioc4.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---- linux-2.6.16.16.orig/drivers/sn/ioc4.c
-+++ linux-2.6.16.16/drivers/sn/ioc4.c
+--- linux-2.6.16.19.orig/drivers/sn/ioc4.c
++++ linux-2.6.16.19/drivers/sn/ioc4.c
@@ -313,7 +313,7 @@ ioc4_probe(struct pci_dev *pdev, const s
idd->idd_serial_data = NULL;
pci_set_drvdata(idd->idd_pdev, idd);
Signed-off-by: Paul Jackson <pj@sgi.com>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
mm/page_alloc.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---- linux-2.6.16.18.orig/mm/page_alloc.c
-+++ linux-2.6.16.18/mm/page_alloc.c
+--- linux-2.6.16.19.orig/mm/page_alloc.c
++++ linux-2.6.16.19/mm/page_alloc.c
@@ -949,7 +949,8 @@ restart:
alloc_flags |= ALLOC_HARDER;
if (gfp_mask & __GFP_HIGH)
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Cc: Daniel Drake <dsd@gentoo.org>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/input/mouse/psmouse-base.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---- linux-2.6.16.18.orig/drivers/input/mouse/psmouse-base.c
-+++ linux-2.6.16.18/drivers/input/mouse/psmouse-base.c
+--- linux-2.6.16.19.orig/drivers/input/mouse/psmouse-base.c
++++ linux-2.6.16.19/drivers/input/mouse/psmouse-base.c
@@ -300,8 +300,10 @@ static irqreturn_t psmouse_interrupt(str
* Check if this is a new device announcement (0xAA 0x00)
*/
--- /dev/null
+From nobody Mon Sep 17 00:00:00 2001
+From: Zhu Yi <yi.zhu@intel.com>
+Date: Thu, 2 Mar 2006 05:55:51 +0800
+Subject: [PATCH] ipw2200: Filter unsupported channels out in ad-hoc mode
+
+Currently iwlist ethX freq[uency]/channel lists all the channels the card
+supported for the current region, which includes some channels can only
+be used in infrastructure mode. This patch filters these channels out if
+the card is currently in ad-hoc mode.
+
+Signed-off-by: Zhu Yi <yi.zhu@intel.com>
+Signed-off-by: John W. Linville <linville@tuxdriver.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
+
+---
+
+ drivers/net/wireless/ipw2200.c | 16 ++++++++++++----
+ 1 file changed, 12 insertions(+), 4 deletions(-)
+
+--- linux-2.6.16.19.orig/drivers/net/wireless/ipw2200.c
++++ linux-2.6.16.19/drivers/net/wireless/ipw2200.c
+@@ -8391,20 +8391,28 @@ static int ipw_wx_get_range(struct net_d
+
+ i = 0;
+ if (priv->ieee->mode & (IEEE_B | IEEE_G)) {
+- for (j = 0; j < geo->bg_channels && i < IW_MAX_FREQUENCIES;
+- i++, j++) {
++ for (j = 0; j < geo->bg_channels && i < IW_MAX_FREQUENCIES; j++) {
++ if ((priv->ieee->iw_mode == IW_MODE_ADHOC) &&
++ (geo->bg[j].flags & IEEE80211_CH_PASSIVE_ONLY))
++ continue;
++
+ range->freq[i].i = geo->bg[j].channel;
+ range->freq[i].m = geo->bg[j].freq * 100000;
+ range->freq[i].e = 1;
++ i++;
+ }
+ }
+
+ if (priv->ieee->mode & IEEE_A) {
+- for (j = 0; j < geo->a_channels && i < IW_MAX_FREQUENCIES;
+- i++, j++) {
++ for (j = 0; j < geo->a_channels && i < IW_MAX_FREQUENCIES; j++) {
++ if ((priv->ieee->iw_mode == IW_MODE_ADHOC) &&
++ (geo->a[j].flags & IEEE80211_CH_PASSIVE_ONLY))
++ continue;
++
+ range->freq[i].i = geo->a[j].channel;
+ range->freq[i].m = geo->a[j].freq * 100000;
+ range->freq[i].e = 1;
++ i++;
+ }
+ }
+
Tested-by: Vanei Heidemann <linux@javanei.com.br>
Tested-by: Martin Putzlocher <mputzi@gmx.de> (chip type unconfirmed)
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/ieee1394/ohci1394.c | 2 +-
drivers/ieee1394/sbp2.c | 9 +++++++--
2 files changed, 8 insertions(+), 3 deletions(-)
---- linux-2.6.16.18.orig/drivers/ieee1394/ohci1394.c
-+++ linux-2.6.16.18/drivers/ieee1394/ohci1394.c
+--- linux-2.6.16.19.orig/drivers/ieee1394/ohci1394.c
++++ linux-2.6.16.19/drivers/ieee1394/ohci1394.c
@@ -2525,7 +2525,7 @@ static irqreturn_t ohci_irq_handler(int
if (phys_dma) {
reg_write(ohci,OHCI1394_PhyReqFilterHiSet, 0xffffffff);
} else {
reg_write(ohci,OHCI1394_PhyReqFilterHiSet, 0x00000000);
reg_write(ohci,OHCI1394_PhyReqFilterLoSet, 0x00000000);
---- linux-2.6.16.18.orig/drivers/ieee1394/sbp2.c
-+++ linux-2.6.16.18/drivers/ieee1394/sbp2.c
+--- linux-2.6.16.19.orig/drivers/ieee1394/sbp2.c
++++ linux-2.6.16.19/drivers/ieee1394/sbp2.c
@@ -754,11 +754,16 @@ static struct scsi_id_instance_data *sbp
/* Register the status FIFO address range. We could use the same FIFO
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
arch/powerpc/platforms/powermac/setup.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
---- linux-2.6.16.18.orig/arch/powerpc/platforms/powermac/setup.c
-+++ linux-2.6.16.18/arch/powerpc/platforms/powermac/setup.c
+--- linux-2.6.16.19.orig/arch/powerpc/platforms/powermac/setup.c
++++ linux-2.6.16.19/arch/powerpc/platforms/powermac/setup.c
@@ -456,11 +456,23 @@ static int pmac_pm_finish(suspend_state_
return 0;
}
input-psmouse-fix-new-device-detection-logic.patch
ohci1394-sbp2-fix-scsi_add_device-failed-with-pl-3507-based-devices.patch
the-latest-consensus-libata-resume-fix.patch
+ipw2200-Filter-unsupported-channels-out-in-ad-hoc-mode.patch
Acked-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/scsi/libata-core.c | 1 +