Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Gwendal Grignou | d902747 | 2010-05-25 12:31:38 -0700 | [diff] [blame] | 2 | #ifndef _LIBATA_TRANSPORT_H |
| 3 | #define _LIBATA_TRANSPORT_H |
| 4 | |
| 5 | |
| 6 | extern struct scsi_transport_template *ata_scsi_transport_template; |
| 7 | |
| 8 | int ata_tlink_add(struct ata_link *link); |
| 9 | void ata_tlink_delete(struct ata_link *link); |
| 10 | |
| 11 | int ata_tport_add(struct device *parent, struct ata_port *ap); |
| 12 | void ata_tport_delete(struct ata_port *ap); |
| 13 | |
| 14 | struct scsi_transport_template *ata_attach_transport(void); |
| 15 | void ata_release_transport(struct scsi_transport_template *t); |
| 16 | |
| 17 | __init int libata_transport_init(void); |
| 18 | void __exit libata_transport_exit(void); |
| 19 | #endif |