.\" 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_DEVICE_ADD" "9" "09 October 2005" "" ""
.SH NAME
ata_device_add \- Register hardware device with ATA and SCSI layers
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int ata_device_add (struct ata_probe_ent * \fIent\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIent\fB\fR
Probe information describing hardware device to be registered
.SH "DESCRIPTION"
.PP
This function processes the information provided in the probe
information struct \fIent\fR, allocates the necessary ATA and SCSI
host information structures, initializes them, and registers
everything with requisite kernel subsystems.
.PP
This function requests irqs, probes the ATA bus, and probes
the SCSI bus.
.SH "LOCKING"
.PP
PCI/etc. bus probe sem.
.SH "RETURNS"
.PP
Number of ports registered. Zero on error (no ports registered).