1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */ 2*4882a593Smuzhiyun #ifndef _LIBATA_TRANSPORT_H 3*4882a593Smuzhiyun #define _LIBATA_TRANSPORT_H 4*4882a593Smuzhiyun 5*4882a593Smuzhiyun 6*4882a593Smuzhiyun extern struct scsi_transport_template *ata_scsi_transport_template; 7*4882a593Smuzhiyun 8*4882a593Smuzhiyun int ata_tlink_add(struct ata_link *link); 9*4882a593Smuzhiyun void ata_tlink_delete(struct ata_link *link); 10*4882a593Smuzhiyun 11*4882a593Smuzhiyun int ata_tport_add(struct device *parent, struct ata_port *ap); 12*4882a593Smuzhiyun void ata_tport_delete(struct ata_port *ap); 13*4882a593Smuzhiyun 14*4882a593Smuzhiyun struct scsi_transport_template *ata_attach_transport(void); 15*4882a593Smuzhiyun void ata_release_transport(struct scsi_transport_template *t); 16*4882a593Smuzhiyun 17*4882a593Smuzhiyun __init int libata_transport_init(void); 18*4882a593Smuzhiyun void __exit libata_transport_exit(void); 19*4882a593Smuzhiyun #endif 20