pata_rdc.c (e5451c8f8330e03ad3cfa16048b4daf961af434f) | pata_rdc.c (f356b08205f6668248960093faf9326c7852a38d) |
---|---|
1/* 2 * pata_rdc - Driver for later RDC PATA controllers 3 * 4 * This is actually a driver for hardware meeting 5 * INCITS 370-2004 (1510D): ATA Host Adapter Standards 6 * 7 * Based on ata_piix. 8 * --- 278 unchanged lines hidden (view full) --- 287static struct ata_port_operations rdc_pata_ops = { 288 .inherits = &ata_bmdma32_port_ops, 289 .cable_detect = rdc_pata_cable_detect, 290 .set_piomode = rdc_set_piomode, 291 .set_dmamode = rdc_set_dmamode, 292 .prereset = rdc_pata_prereset, 293}; 294 | 1/* 2 * pata_rdc - Driver for later RDC PATA controllers 3 * 4 * This is actually a driver for hardware meeting 5 * INCITS 370-2004 (1510D): ATA Host Adapter Standards 6 * 7 * Based on ata_piix. 8 * --- 278 unchanged lines hidden (view full) --- 287static struct ata_port_operations rdc_pata_ops = { 288 .inherits = &ata_bmdma32_port_ops, 289 .cable_detect = rdc_pata_cable_detect, 290 .set_piomode = rdc_set_piomode, 291 .set_dmamode = rdc_set_dmamode, 292 .prereset = rdc_pata_prereset, 293}; 294 |
295static struct ata_port_info rdc_port_info = { | 295static const struct ata_port_info rdc_port_info = { |
296 297 .flags = ATA_FLAG_SLAVE_POSS, 298 .pio_mask = ATA_PIO4, 299 .mwdma_mask = ATA_MWDMA12_ONLY, 300 .udma_mask = ATA_UDMA5, 301 .port_ops = &rdc_pata_ops, 302}; 303 --- 95 unchanged lines hidden --- | 296 297 .flags = ATA_FLAG_SLAVE_POSS, 298 .pio_mask = ATA_PIO4, 299 .mwdma_mask = ATA_MWDMA12_ONLY, 300 .udma_mask = ATA_UDMA5, 301 .port_ops = &rdc_pata_ops, 302}; 303 --- 95 unchanged lines hidden --- |