.\" 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 "IDE_SETUP_PCI_BASEREGS" "" "06 October 2005" "" ""
.SH NAME
ide_setup_pci_baseregs \- place a PCI IDE controller native
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int ide_setup_pci_baseregs (struct pci_dev * \fIdev\fB, const char * \fIname\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdev\fB\fR
PCI device of interface to switch native
.TP
\fB\fIname\fB\fR
Name of interface
.SH "DESCRIPTION"
.PP
We attempt to place the PCI interface into PCI native mode. If
we succeed the BARs are ok and the controller is in PCI mode.
Returns 0 on success or an errno code.
.SH "FIXME"
.PP
if we program the interface and then fail to set the BARS
we don't switch it back to legacy mode. Do we actually care ??