aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86/patches-2.6.30
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-09-25 14:15:21 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-09-25 14:15:21 +0000
commitc18213b428f0e233f10d4c162d2b514e5871dac6 (patch)
tree4cab486e00aca98507d792500ddb385941173d8b /target/linux/x86/patches-2.6.30
parent77a33894a1b819cb707438c2c84a8fb1926a578b (diff)
downloadmaster-187ad058-c18213b428f0e233f10d4c162d2b514e5871dac6.tar.gz
master-187ad058-c18213b428f0e233f10d4c162d2b514e5871dac6.tar.bz2
master-187ad058-c18213b428f0e233f10d4c162d2b514e5871dac6.zip
x86: use libata in 2.6.30, fix pata support for sc1200 (used on wrap)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17722 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/x86/patches-2.6.30')
-rw-r--r--target/linux/x86/patches-2.6.30/100-pata_sc1200-wrap.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/x86/patches-2.6.30/100-pata_sc1200-wrap.patch b/target/linux/x86/patches-2.6.30/100-pata_sc1200-wrap.patch
new file mode 100644
index 0000000000..691d1ca852
--- /dev/null
+++ b/target/linux/x86/patches-2.6.30/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);
+ }