'\" t .\" Title: wimax_reset .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Linux Networking .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "WIMAX_RESET" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "Linux Networking" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" wimax_reset \- Reset a WiMAX device .SH "SYNOPSIS" .HP \w'int\ wimax_reset('u .BI "int wimax_reset(struct\ wimax_dev\ *\ " "wimax_dev" ");" .SH "ARGUMENTS" .PP \fIwimax_dev\fR .RS 4 WiMAX device descriptor .RE .SH "RETURNS" .PP .PP \fB0\fR if ok and a warm reset was done (the device still exists in the system)\&. .PP \-\fBENODEV\fR if a cold/bus reset had to be done (device has disconnected and reconnected, so current handle is not valid any more)\&. .PP \-\fBEINVAL\fR if the device is not even registered\&. .PP Any other negative error code shall be considered as non\-recoverable\&. .SH "DESCRIPTION" .PP .PP Called when wanting to reset the device for any reason\&. Device is taken back to power on status\&. .PP This call blocks; on successful return, the device has completed the reset process and is ready to operate\&. .SH "COPYRIGHT" .br