.\" 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 "MACIO_ADD_ONE_DEVICE" "" "06 October 2005" "" ""
.SH NAME
macio_add_one_device \- Add one device from OF node to the device tree
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
struct macio_dev * macio_add_one_device (struct macio_chip * \fIchip\fB, struct device * \fIparent\fB, struct device_node * \fInp\fB, struct macio_dev * \fIin_bay\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIchip\fB\fR
pointer to the macio_chip holding the device
.TP
\fB\fIparent\fB\fR
-- undescribed --
.TP
\fB\fInp\fB\fR
pointer to the device node in the OF tree
.TP
\fB\fIin_bay\fB\fR
set to 1 if device is part of a media-bay
.SH "DESCRIPTION"
.PP
When media-bay is changed to hotswap drivers, this function will
be exposed to the bay driver some way...