mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
![Gwendal Grignou](/assets/img/avatar_default.png)
This is a scheleton for libata transport class. All information is read only, exporting information from libata: - ata_port class: one per ATA port - ata_link class: one per ATA port or 15 for SATA Port Multiplier - ata_device class: up to 2 for PATA link, usually one for SATA. Signed-off-by: Gwendal Grignou <gwendal@google.com> Reviewed-by: Grant Grundler <grundler@google.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
18 lines
536 B
C
18 lines
536 B
C
#ifndef _LIBATA_TRANSPORT_H
|
|
#define _LIBATA_TRANSPORT_H
|
|
|
|
|
|
extern struct scsi_transport_template *ata_scsi_transport_template;
|
|
|
|
int ata_tlink_add(struct ata_link *link);
|
|
void ata_tlink_delete(struct ata_link *link);
|
|
|
|
int ata_tport_add(struct device *parent, struct ata_port *ap);
|
|
void ata_tport_delete(struct ata_port *ap);
|
|
|
|
struct scsi_transport_template *ata_attach_transport(void);
|
|
void ata_release_transport(struct scsi_transport_template *t);
|
|
|
|
__init int libata_transport_init(void);
|
|
void __exit libata_transport_exit(void);
|
|
#endif
|