diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-11-22 19:32:17 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-11-22 19:32:17 +0100 |
commit | 2ba5a8bb9f383740ab503b79445da1e924665c51 (patch) | |
tree | aa9e4b9ea12dcad8e2a386630343e1dd9a6c7783 /target/wrap/patches/fix-pata-sc1200.patch | |
parent | 4088c6eaebb868c4533c83a3d7880b9fab31d45e (diff) |
fix compact flash support for wrap
Diffstat (limited to 'target/wrap/patches/fix-pata-sc1200.patch')
-rw-r--r-- | target/wrap/patches/fix-pata-sc1200.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/target/wrap/patches/fix-pata-sc1200.patch b/target/wrap/patches/fix-pata-sc1200.patch new file mode 100644 index 000000000..c3d3ce527 --- /dev/null +++ b/target/wrap/patches/fix-pata-sc1200.patch @@ -0,0 +1,12 @@ +diff -Nur linux-2.6.31.5.orig/drivers/ata/pata_sc1200.c linux-2.6.31.5/drivers/ata/pata_sc1200.c +--- linux-2.6.31.5.orig/drivers/ata/pata_sc1200.c 2009-10-23 00:57:56.000000000 +0200 ++++ linux-2.6.31.5/drivers/ata/pata_sc1200.c 2009-11-22 19:19:29.000000000 +0100 +@@ -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); + } |