Comments

From: Kevin Cernekee <cernekee@gmail.com>
If the E6 report test passes, get the E7 and EC reports right away and
then try to match an entry in the table.
Pass in the alps_data struct, so that the detection code will be able to
set operating parameters based on information found during detection.
Change the version (psmouse->model) to report the protocol version only,
in preparation for supporting models that do not show up in the ID table.
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>Tested-by: Dave Turvene <dturvene@dahetral.com>Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
(cherry picked from commit b5d6b851eab7f346ea5e69f46247b363b32b3670)
---
drivers/input/mouse/alps.c | 124 +++++++++++++++++++-------------------------
drivers/input/mouse/alps.h | 8 +--
2 files changed, 56 insertions(+), 76 deletions(-)