.\" 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 "PCI_ENABLE_DEVICE_BARS" "" "06 October 2005" "" ""
.SH NAME
pci_enable_device_bars \- Initialize some of a device for use
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int pci_enable_device_bars (struct pci_dev * \fIdev\fB, int \fIbars\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdev\fB\fR
PCI device to be initialized
.TP
\fB\fIbars\fB\fR
bitmask of BAR's that must be configured
.SH "DESCRIPTION"
.PP
Initialize device before it's used by a driver. Ask low-level code
to enable selected I/O and memory resources. Wake up the device if it
was suspended. Beware, this function can fail.