blob: 08a57fb9dc6183da08d7c4b8f45309b10dbb503d [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Gwendal Grignoud9027472010-05-25 12:31:38 -07002#ifndef _LIBATA_TRANSPORT_H
3#define _LIBATA_TRANSPORT_H
4
5
6extern struct scsi_transport_template *ata_scsi_transport_template;
7
8int ata_tlink_add(struct ata_link *link);
9void ata_tlink_delete(struct ata_link *link);
10
11int ata_tport_add(struct device *parent, struct ata_port *ap);
12void ata_tport_delete(struct ata_port *ap);
13
14struct scsi_transport_template *ata_attach_transport(void);
15void ata_release_transport(struct scsi_transport_template *t);
16
17__init int libata_transport_init(void);
18void __exit libata_transport_exit(void);
19#endif