Name

ata_pci_init_native_mode — Initialize native-mode driver

Synopsis

struct ata_probe_ent * ata_pci_init_native_mode (struct pci_dev *  pdev,
 struct ata_port_info **  port);

Arguments

pdev

pci device to be initialized

port

array[2] of pointers to port info structures.

Description

Utility function which allocates and initializes an ata_probe_ent structure for a standard dual-port PIO-based IDE controller. The returned ata_probe_ent structure can be passed to ata_device_add. The returned ata_probe_ent structure should then be freed with kfree.