ata_host_alloc_pinfo(9)

ata_host_alloc_pinfo9

Alloc host and init with port_info array

Usage

struct ata_host * ata_host_alloc_pinfo(struct device * dev, const struct ata_port_info *const * ppi, int n_ports);

Arguments

dev

generic device this host is associated with

ppi

array of ATA port_info to initialize host with

n_ports

number of ATA ports attached to this host

Overview

Allocate ATA host and initialize with info from ppi. If NULL terminated, ppi may contain fewer entries than n_ports. The last entry will be used for the remaining ports.

Return

Allocate ATA host on success, NULL on failure.

LOCKING: Inherited from calling layer (may sleep).

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

Author

Jeff Garzik

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.