sata_via.c (eadcbfa58ae8693f0d6a0f591d8f51d55cf068e1) sata_via.c (f356b08205f6668248960093faf9326c7852a38d)
1/*
2 * sata_via.c - VIA Serial ATA controllers
3 *
4 * Maintained by: Tejun Heo <tj@kernel.org>
5 * Please ALWAYS copy linux-ide@vger.kernel.org
6 * on emails.
7 *
8 * Copyright 2003-2004 Red Hat, Inc. All rights reserved.

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

20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with this program; see the file COPYING. If not, write to
24 * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
25 *
26 *
27 * libata documentation is available via 'make {ps|pdf}docs',
1/*
2 * sata_via.c - VIA Serial ATA controllers
3 *
4 * Maintained by: Tejun Heo <tj@kernel.org>
5 * Please ALWAYS copy linux-ide@vger.kernel.org
6 * on emails.
7 *
8 * Copyright 2003-2004 Red Hat, Inc. All rights reserved.

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

20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with this program; see the file COPYING. If not, write to
24 * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
25 *
26 *
27 * libata documentation is available via 'make {ps|pdf}docs',
28 * as Documentation/DocBook/libata.*
28 * as Documentation/driver-api/libata.rst
29 *
30 * Hardware documentation available under NDA.
31 *
32 *
33 *
34 */
35
36#include <linux/kernel.h>

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

161static const struct ata_port_info vt6420_port_info = {
162 .flags = ATA_FLAG_SATA,
163 .pio_mask = ATA_PIO4,
164 .mwdma_mask = ATA_MWDMA2,
165 .udma_mask = ATA_UDMA6,
166 .port_ops = &vt6420_sata_ops,
167};
168
29 *
30 * Hardware documentation available under NDA.
31 *
32 *
33 *
34 */
35
36#include <linux/kernel.h>

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

161static const struct ata_port_info vt6420_port_info = {
162 .flags = ATA_FLAG_SATA,
163 .pio_mask = ATA_PIO4,
164 .mwdma_mask = ATA_MWDMA2,
165 .udma_mask = ATA_UDMA6,
166 .port_ops = &vt6420_sata_ops,
167};
168
169static struct ata_port_info vt6421_sport_info = {
169static const struct ata_port_info vt6421_sport_info = {
170 .flags = ATA_FLAG_SATA,
171 .pio_mask = ATA_PIO4,
172 .mwdma_mask = ATA_MWDMA2,
173 .udma_mask = ATA_UDMA6,
174 .port_ops = &vt6421_sata_ops,
175};
176
170 .flags = ATA_FLAG_SATA,
171 .pio_mask = ATA_PIO4,
172 .mwdma_mask = ATA_MWDMA2,
173 .udma_mask = ATA_UDMA6,
174 .port_ops = &vt6421_sata_ops,
175};
176
177static struct ata_port_info vt6421_pport_info = {
177static const struct ata_port_info vt6421_pport_info = {
178 .flags = ATA_FLAG_SLAVE_POSS,
179 .pio_mask = ATA_PIO4,
180 /* No MWDMA */
181 .udma_mask = ATA_UDMA6,
182 .port_ops = &vt6421_pata_ops,
183};
184
178 .flags = ATA_FLAG_SLAVE_POSS,
179 .pio_mask = ATA_PIO4,
180 /* No MWDMA */
181 .udma_mask = ATA_UDMA6,
182 .port_ops = &vt6421_pata_ops,
183};
184
185static struct ata_port_info vt8251_port_info = {
185static const struct ata_port_info vt8251_port_info = {
186 .flags = ATA_FLAG_SATA | ATA_FLAG_SLAVE_POSS,
187 .pio_mask = ATA_PIO4,
188 .mwdma_mask = ATA_MWDMA2,
189 .udma_mask = ATA_UDMA6,
190 .port_ops = &vt8251_ops,
191};
192
193MODULE_AUTHOR("Jeff Garzik");

--- 581 unchanged lines hidden ---
186 .flags = ATA_FLAG_SATA | ATA_FLAG_SLAVE_POSS,
187 .pio_mask = ATA_PIO4,
188 .mwdma_mask = ATA_MWDMA2,
189 .udma_mask = ATA_UDMA6,
190 .port_ops = &vt8251_ops,
191};
192
193MODULE_AUTHOR("Jeff Garzik");

--- 581 unchanged lines hidden ---