Linux Audio

Check our new training course

Loading...
v4.10.11
 
 1#ifndef __LINUX_ATA_PLATFORM_H
 2#define __LINUX_ATA_PLATFORM_H
 3
 4struct pata_platform_info {
 5	/*
 6	 * I/O port shift, for platforms with ports that are
 7	 * constantly spaced and need larger than the 1-byte
 8	 * spacing used by ata_std_ports().
 9	 */
10	unsigned int ioport_shift;
11};
12
13struct scsi_host_template;
14
15extern int __pata_platform_probe(struct device *dev,
16				 struct resource *io_res,
17				 struct resource *ctl_res,
18				 struct resource *irq_res,
19				 unsigned int ioport_shift,
20				 int __pio_mask,
21				 struct scsi_host_template *sht);
 
22
23/*
24 * Marvell SATA private data
25 */
26struct mv_sata_platform_data {
27	int	n_ports; /* number of sata ports */
28};
29
30#endif /* __LINUX_ATA_PLATFORM_H */
v6.2
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef __LINUX_ATA_PLATFORM_H
 3#define __LINUX_ATA_PLATFORM_H
 4
 5struct pata_platform_info {
 6	/*
 7	 * I/O port shift, for platforms with ports that are
 8	 * constantly spaced and need larger than the 1-byte
 9	 * spacing used by ata_std_ports().
10	 */
11	unsigned int ioport_shift;
12};
13
14struct scsi_host_template;
15
16extern int __pata_platform_probe(struct device *dev,
17				 struct resource *io_res,
18				 struct resource *ctl_res,
19				 struct resource *irq_res,
20				 unsigned int ioport_shift,
21				 int __pio_mask,
22				 struct scsi_host_template *sht,
23				 bool use16bit);
24
25/*
26 * Marvell SATA private data
27 */
28struct mv_sata_platform_data {
29	int	n_ports; /* number of sata ports */
30};
31
32#endif /* __LINUX_ATA_PLATFORM_H */