ata_host_activate — start host, request IRQ and register it
int ata_host_activate
(struct ata_host * host, int irq, irq_handler_t irq_handler, unsigned long irq_flags, struct scsi_host_template * sht);
target ATA host
IRQ to request
irq_handler used when requesting IRQ
irq_flags used when requesting IRQ
scsi_host_template to use when registering the host
After allocating an ATA host and initializing it, most libata LLDs perform three steps to activate the host - start host, request IRQ and register it. This helper takes necessasry arguments and performs the three steps in one go.
Inherited from calling layer (may sleep).
0 on success, -errno otherwise.