Rechercher une page de manuel
ata_host_alloc_pinfo
Langue: en
Version: May 2009 (fedora - 06/07/09)
Section: 9 (Appels noyau Linux)
NAME
ata_host_alloc_pinfo - alloc host and init with port_info arraySYNOPSIS
- 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
DESCRIPTION
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.
RETURNS
Allocate ATA host on success, NULL on failure.
LOCKING
Inherited from calling layer (may sleep).
AUTHOR
Jeff Garzik
- Author.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre