.\" 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 "WL3501_EVENT" "" "06 October 2005" "" "" .SH NAME wl3501_event \- The card status event handler .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int wl3501_event (event_t \fIevent\fB, int \fIpri\fB, event_callback_args_t * \fIargs\fB); \fR .SH "ARGUMENTS" .TP \fB\fIevent\fB\fR -- undescribed -- .TP \fB\fIpri\fB\fR -- undescribed -- .TP \fB\fIargs\fB\fR -- undescribed -- .SH "DESCRIPTION" .PP \fIevent\fR - event \fIpri\fR - priority \fIargs\fR - arguments for this event .PP The card status event handler. Mostly, this schedules other stuff to run after an event is received. A CARD_REMOVAL event also sets some flags to discourage the net drivers from trying to talk to the card any more. .PP When a CARD_REMOVAL event is received, we immediately set a flag to block future accesses to this device. All the functions that actually access the device should check this flag to make sure the card is still present.