From ac8c461d50cb4d020c0a684121d320150ff8b59a Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 25 Sep 2009 14:15:21 +0000 Subject: x86: use libata in 2.6.30, fix pata support for sc1200 (used on wrap) SVN-Revision: 17722 --- target/linux/x86/patches-2.6.30/100-pata_sc1200-wrap.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 target/linux/x86/patches-2.6.30/100-pata_sc1200-wrap.patch (limited to 'target/linux/x86/patches-2.6.30') 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); + } -- cgit v1.2.3