.\" 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_MATCH_DEVICE" "9" "09 October 2005" "" "" .SH NAME vio_match_device \- Tell if a VIO device has a matching VIO device id structure. .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp const struct vio_device_id * vio_match_device (const struct vio_device_id * \fIids\fB, const struct vio_dev * \fIdev\fB); \fR .SH "ARGUMENTS" .TP \fB\fIids\fB\fR array of VIO device id structures to search in .TP \fB\fIdev\fB\fR the VIO device structure to match against .SH "DESCRIPTION" .PP Used by a driver to check whether a VIO device present in the system is in its list of supported devices. Returns the matching vio_device_id structure or NULL if there is no match.