.\" 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 "VIO_GET_ATTRIBUTE" "9" "09 October 2005" "" ""
.SH NAME
vio_get_attribute \- get attribute for virtual device
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
const void * vio_get_attribute (struct vio_dev * \fIvdev\fB, void * \fIwhich\fB, int * \fIlength\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIvdev\fB\fR
The vio device to get property.
.TP
\fB\fIwhich\fB\fR
The property/attribute to be extracted.
.TP
\fB\fIlength\fB\fR
Pointer to length of returned data size (unused if NULL).
.SH "DESCRIPTION"
.PP
Calls prom.c's \fBget_property\fR to return the value of the
attribute specified by the preprocessor constant \fIwhich\fR