Name

ata_port_init — Initialize an ata_port structure

Synopsis

void ata_port_init (struct ata_port *  ap,
 struct ata_host *  host,
 const struct ata_probe_ent *  ent,
 unsigned int  port_no);

Arguments

ap

Structure to initialize

host

Collection of hosts to which ap belongs

ent

Probe information provided by low-level driver

port_no

Port number associated with this ata_port

Description

Initialize a new ata_port structure.

LOCKING

Inherited from caller.