aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86/patches-2.6.31
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-09-25 14:15:26 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-09-25 14:15:26 +0000
commit77fc4ffcc78bb31f4646bd99d83f6066269fcf35 (patch)
tree73141ee0e345911a583c3242a507fcbb755e7189 /target/linux/x86/patches-2.6.31
parentac8c461d50cb4d020c0a684121d320150ff8b59a (diff)
downloadupstream-77fc4ffcc78bb31f4646bd99d83f6066269fcf35.tar.gz
upstream-77fc4ffcc78bb31f4646bd99d83f6066269fcf35.tar.bz2
upstream-77fc4ffcc78bb31f4646bd99d83f6066269fcf35.zip
x86: add support for 2.6.31
SVN-Revision: 17723
Diffstat (limited to 'target/linux/x86/patches-2.6.31')
-rw-r--r--target/linux/x86/patches-2.6.31/100-pata_sc1200-wrap.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/x86/patches-2.6.31/100-pata_sc1200-wrap.patch b/target/linux/x86/patches-2.6.31/100-pata_sc1200-wrap.patch
new file mode 100644
index 0000000000..691d1ca852
--- /dev/null
+++ b/target/linux/x86/patches-2.6.31/100-pata_sc1200-wrap.patch
@@ -0,0 +1,11 @@
+--- a/drivers/ata/pata_sc1200.c
++++ b/drivers/ata/pata_sc1200.c
+@@ -236,7 +236,7 @@
+ .port_ops = &sc1200_port_ops
+ };
+ /* Can't enable port 2 yet, see top comments */
+- const struct ata_port_info *ppi[] = { &info, };
++ const struct ata_port_info *ppi[] = { &info, &ata_dummy_port_info };
+
+ return ata_pci_sff_init_one(dev, ppi, &sc1200_sht, NULL);
+ }