.\" 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 "IBM_GET_ATTENTION_STATUS" "9" "09 October 2005" "" "" .SH NAME ibm_get_attention_status \- callback method to get attention LED status .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int ibm_get_attention_status (struct hotplug_slot * \fIslot\fB, u8 * \fIstatus\fB); \fR .SH "ARGUMENTS" .TP \fB\fIslot\fB\fR the hotplug_slot to work with .TP \fB\fIstatus\fB\fR returns what the LED is set to (0 or 1) .SH "DESCRIPTION" .PP this method is registered with the acpiphp module as a callback to do the device specific task of getting the LED status .PP Because there is no direct method of getting the LED status directly from an ACPI call, we read the aPCI table and parse out our slot descriptor to read the status from that.