.\" 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 "GSCPS2_INTERRUPT" "9" "09 October 2005" "" ""
.SH NAME
gscps2_interrupt \- Interruption service routine
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
irqreturn_t gscps2_interrupt (int \fIirq\fB, void * \fIdev\fB, struct pt_regs * \fIregs\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIirq\fB\fR
-- undescribed --
.TP
\fB\fIdev\fB\fR
-- undescribed --
.TP
\fB\fIregs\fB\fR
-- undescribed --
.SH "DESCRIPTION"
.PP
.PP
This function reads received PS/2 bytes and processes them on
all interfaces.
The problematic part here is, that the keyboard and mouse PS/2 port
share the same interrupt and it's not possible to send data if any
one of them holds input data. To solve this problem we try to receive
the data as fast as possible and handle the reporting to the upper layer
later.