1
0

fix-pata-sc1200.patch 557 B

123456789101112
  1. diff -Nur linux-2.6.31.5.orig/drivers/ata/pata_sc1200.c linux-2.6.31.5/drivers/ata/pata_sc1200.c
  2. --- linux-2.6.31.5.orig/drivers/ata/pata_sc1200.c 2009-10-23 00:57:56.000000000 +0200
  3. +++ linux-2.6.31.5/drivers/ata/pata_sc1200.c 2009-11-22 19:19:29.000000000 +0100
  4. @@ -236,7 +236,7 @@
  5. .port_ops = &sc1200_port_ops
  6. };
  7. /* Can't enable port 2 yet, see top comments */
  8. - const struct ata_port_info *ppi[] = { &info, };
  9. + const struct ata_port_info *ppi[] = { &info, &ata_dummy_port_info };
  10. return ata_pci_sff_init_one(dev, ppi, &sc1200_sht, NULL);
  11. }