.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "ATA_PCI_INIT_NATIVE_MODE" "9" "09 October 2005" "" "" .SH NAME ata_pci_init_native_mode \- Initialize native-mode driver .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp struct ata_probe_ent * ata_pci_init_native_mode (struct pci_dev * \fIpdev\fB, struct ata_port_info ** \fIport\fB); \fR .SH "ARGUMENTS" .TP \fB\fIpdev\fB\fR pci device to be initialized .TP \fB\fIport\fB\fR array[2] of pointers to port info structures. .SH "DESCRIPTION" .PP 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 \fBata_device_add\fR\&. The returned ata_probe_ent structure should then be freed with \fBkfree\fR\&.