ata_host_alloc man page on Scientific

Man page or keyword search:  
man Server   26626 pages
apropos Keyword Search (all sections)
Output format
Scientific logo
[printable version]

ATA_HOST_ALLOC(9)		libata Library		     ATA_HOST_ALLOC(9)

NAME
       ata_host_alloc - allocate and init basic ATA host resources

SYNOPSIS
       struct ata_host * ata_host_alloc(struct device * dev, int max_ports);

ARGUMENTS
       dev
	   generic device this host is associated with

       max_ports
	   maximum number of ATA ports associated with this host

DESCRIPTION
       Allocate and initialize basic ATA host resources. LLD calls this
       function to allocate a host, initializes it fully and attaches it using
       ata_host_register.

       max_ports ports are allocated and host->n_ports is initialized to
       max_ports. The caller is allowed to decrease host->n_ports before
       calling ata_host_register. The unused ports will be automatically freed
       on registration.

RETURNS
       Allocate ATA host on success, NULL on failure.

LOCKING
       Inherited from calling layer (may sleep).

AUTHOR
       Jeff Garzik
	   Author.

COPYRIGHT
Kernel Hackers Manual 2.6.	 November 2013		     ATA_HOST_ALLOC(9)
[top]

List of man pages available for Scientific

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net