libata-transport.h 575 B

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