aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/usb/input/appletouch.c27
1 files changed, 17 insertions, 10 deletions
diff --git a/drivers/usb/input/appletouch.c b/drivers/usb/input/appletouch.c
index 69c445620f15..c77291d3d063 100644
--- a/drivers/usb/input/appletouch.c
+++ b/drivers/usb/input/appletouch.c
@@ -38,14 +38,21 @@
38#define APPLE_VENDOR_ID 0x05AC 38#define APPLE_VENDOR_ID 0x05AC
39 39
40/* These names come from Info.plist in AppleUSBTrackpad.kext */ 40/* These names come from Info.plist in AppleUSBTrackpad.kext */
41#define GEYSER_ANSI_PRODUCT_ID 0x0214 41#define FOUNTAIN_ANSI_PRODUCT_ID 0x020E
42#define GEYSER_ISO_PRODUCT_ID 0x0215 42#define FOUNTAIN_ISO_PRODUCT_ID 0x020F
43#define GEYSER_JIS_PRODUCT_ID 0x0216 43
44#define FOUNTAIN_TP_ONLY_PRODUCT_ID 0x030A
45
46#define GEYSER1_TP_ONLY_PRODUCT_ID 0x030B
47
48#define GEYSER_ANSI_PRODUCT_ID 0x0214
49#define GEYSER_ISO_PRODUCT_ID 0x0215
50#define GEYSER_JIS_PRODUCT_ID 0x0216
44 51
45/* MacBook devices */ 52/* MacBook devices */
46#define GEYSER3_ANSI_PRODUCT_ID 0x0217 53#define GEYSER3_ANSI_PRODUCT_ID 0x0217
47#define GEYSER3_ISO_PRODUCT_ID 0x0218 54#define GEYSER3_ISO_PRODUCT_ID 0x0218
48#define GEYSER3_JIS_PRODUCT_ID 0x0219 55#define GEYSER3_JIS_PRODUCT_ID 0x0219
49 56
50/* 57/*
51 * Geyser IV: same as Geyser III according to Info.plist in AppleUSBTrackpad.kext 58 * Geyser IV: same as Geyser III according to Info.plist in AppleUSBTrackpad.kext
@@ -66,10 +73,10 @@
66 73
67/* table of devices that work with this driver */ 74/* table of devices that work with this driver */
68static struct usb_device_id atp_table [] = { 75static struct usb_device_id atp_table [] = {
69 { ATP_DEVICE(0x020E) }, 76 { ATP_DEVICE(FOUNTAIN_ANSI_PRODUCT_ID) },
70 { ATP_DEVICE(0x020F) }, 77 { ATP_DEVICE(FOUNTAIN_ISO_PRODUCT_ID) },
71 { ATP_DEVICE(0x030A) }, 78 { ATP_DEVICE(FOUNTAIN_TP_ONLY_PRODUCT_ID) },
72 { ATP_DEVICE(0x030B) }, 79 { ATP_DEVICE(GEYSER1_TP_ONLY_PRODUCT_ID) },
73 80
74 /* PowerBooks Oct 2005 */ 81 /* PowerBooks Oct 2005 */
75 { ATP_DEVICE(GEYSER_ANSI_PRODUCT_ID) }, 82 { ATP_DEVICE(GEYSER_ANSI_PRODUCT_ID) },