1ATA_HOST_REGISTER(9)            libata Library            ATA_HOST_REGISTER(9)
2
3
4

NAME

6       ata_host_register - register initialized ATA host
7

SYNOPSIS

9       int ata_host_register(struct ata_host * host,
10                             struct scsi_host_template * sht);
11

ARGUMENTS

13       host
14           ATA host to register
15
16       sht
17           template for SCSI host
18

DESCRIPTION

20       Register initialized ATA host.  host is allocated using ata_host_alloc
21       and fully initialized by LLD. This function starts ports, registers
22       host with ATA and SCSI layers and probe registered devices.
23

LOCKING

25       Inherited from calling layer (may sleep).
26

RETURNS

28       0 on success, -errno otherwise.
29

AUTHOR

31       Jeff Garzik
32           Author.
33
35Kernel Hackers Manual 3.10         June 2019              ATA_HOST_REGISTER(9)
Impressum