.\" 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 "IA64_PCI_LEGACY_READ" "9" "09 October 2005" "" ""
.SH NAME
ia64_pci_legacy_read \- read from legacy I/O space
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int ia64_pci_legacy_read (struct pci_bus * \fIbus\fB, u16 \fIport\fB, u32 * \fIval\fB, u8 \fIsize\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIbus\fB\fR
bus to read
.TP
\fB\fIport\fB\fR
legacy port value
.TP
\fB\fIval\fB\fR
caller allocated storage for returned value
.TP
\fB\fIsize\fB\fR
number of bytes to read
.SH "DESCRIPTION"
.PP
Simply reads \fIsize\fR bytes from \fIport\fR and puts the result in \fIval\fR\&.
.PP
Again, this (and the write routine) are generic versions that can be
overridden by the platform. This is necessary on platforms that don't
support legacy I/O routing or that hard fail on legacy I/O timeouts.