pata_sch.c (e5451c8f8330e03ad3cfa16048b4daf961af434f) pata_sch.c (f356b08205f6668248960093faf9326c7852a38d)
1/*
2 * pata_sch.c - Intel SCH PATA controllers
3 *
4 * Copyright (c) 2008 Alek Du <alek.du@intel.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License 2 as published
8 * by the Free Software Foundation.

--- 67 unchanged lines hidden (view full) ---

76
77static struct ata_port_operations sch_pata_ops = {
78 .inherits = &ata_bmdma_port_ops,
79 .cable_detect = ata_cable_unknown,
80 .set_piomode = sch_set_piomode,
81 .set_dmamode = sch_set_dmamode,
82};
83
1/*
2 * pata_sch.c - Intel SCH PATA controllers
3 *
4 * Copyright (c) 2008 Alek Du <alek.du@intel.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License 2 as published
8 * by the Free Software Foundation.

--- 67 unchanged lines hidden (view full) ---

76
77static struct ata_port_operations sch_pata_ops = {
78 .inherits = &ata_bmdma_port_ops,
79 .cable_detect = ata_cable_unknown,
80 .set_piomode = sch_set_piomode,
81 .set_dmamode = sch_set_dmamode,
82};
83
84static struct ata_port_info sch_port_info = {
84static const struct ata_port_info sch_port_info = {
85 .flags = ATA_FLAG_SLAVE_POSS,
86 .pio_mask = ATA_PIO4,
87 .mwdma_mask = ATA_MWDMA2,
88 .udma_mask = ATA_UDMA5,
89 .port_ops = &sch_pata_ops,
90};
91
92MODULE_AUTHOR("Alek Du <alek.du@intel.com>");

--- 88 unchanged lines hidden ---
85 .flags = ATA_FLAG_SLAVE_POSS,
86 .pio_mask = ATA_PIO4,
87 .mwdma_mask = ATA_MWDMA2,
88 .udma_mask = ATA_UDMA5,
89 .port_ops = &sch_pata_ops,
90};
91
92MODULE_AUTHOR("Alek Du <alek.du@intel.com>");

--- 88 unchanged lines hidden ---