~ubuntu-branches/ubuntu/wily/linux-ti-omap4/wily

« back to all changes in this revision

Viewing changes to drivers/ata/ata_piix.c

  • Committer: Package Import Robot
  • Author(s): Paolo Pisati, Paolo Pisati
  • Date: 2013-07-11 18:35:20 UTC
  • Revision ID: package-import@ubuntu.com-20130711183520-htnf1x4y5r11hndr
Tags: 3.5.0-229.42
* Release Tracking Bug
  - LP: #1199276

[ Paolo Pisati ]

* [Config] CONFIG_ATH9K_LEGACY_RATE_CONTROL is not set

Show diffs side-by-side

added added

removed removed

Lines of Context:
151
151
        piix_pata_vmw,                  /* PIIX4 for VMware, spurious DMA_ERR */
152
152
        ich8_sata_snb,
153
153
        ich8_2port_sata_snb,
 
154
        ich8_2port_sata_byt,
154
155
};
155
156
 
156
157
struct piix_map_db {
356
357
        { 0x8086, 0x8d60, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich8_sata_snb },
357
358
        /* SATA Controller IDE (Wellsburg) */
358
359
        { 0x8086, 0x8d68, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich8_2port_sata },
 
360
        /* SATA Controller IDE (BayTrail) */
 
361
        { 0x8086, 0x0F20, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich8_2port_sata_byt },
 
362
        { 0x8086, 0x0F21, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich8_2port_sata_byt },
359
363
 
360
364
        { }     /* terminate list */
361
365
};
521
525
        [tolapai_sata]          = &tolapai_map_db,
522
526
        [ich8_sata_snb]         = &ich8_map_db,
523
527
        [ich8_2port_sata_snb]   = &ich8_2port_map_db,
 
528
        [ich8_2port_sata_byt]   = &ich8_2port_map_db,
524
529
};
525
530
 
526
531
static struct ata_port_info piix_port_info[] = {
671
676
                .udma_mask      = ATA_UDMA6,
672
677
                .port_ops       = &piix_sata_ops,
673
678
        },
 
679
 
 
680
        [ich8_2port_sata_byt] =
 
681
        {
 
682
                .flags          = PIIX_SATA_FLAGS | PIIX_FLAG_SIDPR | PIIX_FLAG_PIO16,
 
683
                .pio_mask       = ATA_PIO4,
 
684
                .mwdma_mask     = ATA_MWDMA2,
 
685
                .udma_mask      = ATA_UDMA6,
 
686
                .port_ops       = &piix_sata_ops,
 
687
        },
674
688
};
675
689
 
676
690
static struct pci_bits piix_enable_bits[] = {