ata_host_alloc_pinfo — alloc host and init with port_info array
struct ata_host * ata_host_alloc_pinfo ( | struct device * dev, |
const struct ata_port_info *const * ppi, | |
int n_ports) ; |
struct device * dev
generic device this host is associated with
const struct ata_port_info *const * ppi
array of ATA port_info to initialize host with
int n_ports
number of ATA ports attached to this host