Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _I8042_X86IA64IO_H |
| 2 | #define _I8042_X86IA64IO_H |
| 3 | |
| 4 | /* |
| 5 | * This program is free software; you can redistribute it and/or modify it |
| 6 | * under the terms of the GNU General Public License version 2 as published by |
| 7 | * the Free Software Foundation. |
| 8 | */ |
| 9 | |
| 10 | /* |
| 11 | * Names. |
| 12 | */ |
| 13 | |
| 14 | #define I8042_KBD_PHYS_DESC "isa0060/serio0" |
| 15 | #define I8042_AUX_PHYS_DESC "isa0060/serio1" |
| 16 | #define I8042_MUX_PHYS_DESC "isa0060/serio%d" |
| 17 | |
| 18 | /* |
| 19 | * IRQs. |
| 20 | */ |
| 21 | |
| 22 | #if defined(__ia64__) |
| 23 | # define I8042_MAP_IRQ(x) isa_irq_to_vector((x)) |
| 24 | #else |
| 25 | # define I8042_MAP_IRQ(x) (x) |
| 26 | #endif |
| 27 | |
| 28 | #define I8042_KBD_IRQ i8042_kbd_irq |
| 29 | #define I8042_AUX_IRQ i8042_aux_irq |
| 30 | |
| 31 | static int i8042_kbd_irq; |
| 32 | static int i8042_aux_irq; |
| 33 | |
| 34 | /* |
| 35 | * Register numbers. |
| 36 | */ |
| 37 | |
| 38 | #define I8042_COMMAND_REG i8042_command_reg |
| 39 | #define I8042_STATUS_REG i8042_command_reg |
| 40 | #define I8042_DATA_REG i8042_data_reg |
| 41 | |
| 42 | static int i8042_command_reg = 0x64; |
| 43 | static int i8042_data_reg = 0x60; |
| 44 | |
| 45 | |
| 46 | static inline int i8042_read_data(void) |
| 47 | { |
| 48 | return inb(I8042_DATA_REG); |
| 49 | } |
| 50 | |
| 51 | static inline int i8042_read_status(void) |
| 52 | { |
| 53 | return inb(I8042_STATUS_REG); |
| 54 | } |
| 55 | |
| 56 | static inline void i8042_write_data(int val) |
| 57 | { |
| 58 | outb(val, I8042_DATA_REG); |
| 59 | } |
| 60 | |
| 61 | static inline void i8042_write_command(int val) |
| 62 | { |
| 63 | outb(val, I8042_COMMAND_REG); |
| 64 | } |
| 65 | |
Jiri Kosina | c3a34f4 | 2008-05-28 01:10:52 -0400 | [diff] [blame] | 66 | #ifdef CONFIG_X86 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 67 | |
| 68 | #include <linux/dmi.h> |
| 69 | |
| 70 | static struct dmi_system_id __initdata i8042_dmi_noloop_table[] = { |
| 71 | { |
Dmitry Torokhov | 90245c1 | 2007-06-12 00:33:27 -0400 | [diff] [blame] | 72 | /* AUX LOOP command does not raise AUX IRQ */ |
Dmitry Torokhov | 87d9173 | 2008-07-19 00:35:43 -0400 | [diff] [blame] | 73 | .ident = "Arima-Rioworks HDAMB", |
| 74 | .matches = { |
| 75 | DMI_MATCH(DMI_BOARD_VENDOR, "RIOWORKS"), |
| 76 | DMI_MATCH(DMI_BOARD_NAME, "HDAMB"), |
| 77 | DMI_MATCH(DMI_BOARD_VERSION, "Rev E"), |
| 78 | }, |
| 79 | }, |
| 80 | { |
| 81 | /* AUX LOOP command does not raise AUX IRQ */ |
Dmitry Torokhov | 90245c1 | 2007-06-12 00:33:27 -0400 | [diff] [blame] | 82 | .ident = "ASUS P65UP5", |
| 83 | .matches = { |
| 84 | DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTeK Computer INC."), |
| 85 | DMI_MATCH(DMI_BOARD_NAME, "P/I-P65UP5"), |
| 86 | DMI_MATCH(DMI_BOARD_VERSION, "REV 2.X"), |
| 87 | }, |
| 88 | }, |
| 89 | { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 90 | .ident = "Compaq Proliant 8500", |
| 91 | .matches = { |
| 92 | DMI_MATCH(DMI_SYS_VENDOR, "Compaq"), |
| 93 | DMI_MATCH(DMI_PRODUCT_NAME , "ProLiant"), |
| 94 | DMI_MATCH(DMI_PRODUCT_VERSION, "8500"), |
| 95 | }, |
| 96 | }, |
| 97 | { |
| 98 | .ident = "Compaq Proliant DL760", |
| 99 | .matches = { |
| 100 | DMI_MATCH(DMI_SYS_VENDOR, "Compaq"), |
| 101 | DMI_MATCH(DMI_PRODUCT_NAME , "ProLiant"), |
| 102 | DMI_MATCH(DMI_PRODUCT_VERSION, "DL760"), |
| 103 | }, |
| 104 | }, |
Ben Collins | 6020baf | 2006-01-05 23:00:38 -0500 | [diff] [blame] | 105 | { |
| 106 | .ident = "OQO Model 01", |
| 107 | .matches = { |
| 108 | DMI_MATCH(DMI_SYS_VENDOR, "OQO"), |
| 109 | DMI_MATCH(DMI_PRODUCT_NAME, "ZEPTO"), |
| 110 | DMI_MATCH(DMI_PRODUCT_VERSION, "00"), |
| 111 | }, |
| 112 | }, |
Dmitry Torokhov | 8c4df74 | 2007-06-12 00:33:32 -0400 | [diff] [blame] | 113 | { |
| 114 | /* AUX LOOP does not work properly */ |
| 115 | .ident = "ULI EV4873", |
| 116 | .matches = { |
| 117 | DMI_MATCH(DMI_SYS_VENDOR, "ULI"), |
| 118 | DMI_MATCH(DMI_PRODUCT_NAME, "EV4873"), |
| 119 | DMI_MATCH(DMI_PRODUCT_VERSION, "5a"), |
| 120 | }, |
| 121 | }, |
Jiri Kosina | 8bf4215 | 2007-11-21 14:17:38 -0500 | [diff] [blame] | 122 | { |
| 123 | .ident = "Microsoft Virtual Machine", |
| 124 | .matches = { |
| 125 | DMI_MATCH(DMI_SYS_VENDOR, "Microsoft Corporation"), |
| 126 | DMI_MATCH(DMI_PRODUCT_NAME, "Virtual Machine"), |
| 127 | DMI_MATCH(DMI_PRODUCT_VERSION, "VS2005R2"), |
| 128 | }, |
| 129 | }, |
Dmitry Torokhov | 89cdb8c | 2008-07-03 11:00:28 -0400 | [diff] [blame] | 130 | { |
| 131 | .ident = "Medion MAM 2070", |
| 132 | .matches = { |
| 133 | DMI_MATCH(DMI_SYS_VENDOR, "Notebook"), |
| 134 | DMI_MATCH(DMI_PRODUCT_NAME, "MAM 2070"), |
| 135 | DMI_MATCH(DMI_PRODUCT_VERSION, "5a"), |
| 136 | }, |
| 137 | }, |
Stefan Bader | 2c6f2cb | 2008-10-16 22:00:56 -0400 | [diff] [blame] | 138 | { |
| 139 | .ident = "Blue FB5601", |
| 140 | .matches = { |
| 141 | DMI_MATCH(DMI_SYS_VENDOR, "blue"), |
| 142 | DMI_MATCH(DMI_PRODUCT_NAME, "FB5601"), |
| 143 | DMI_MATCH(DMI_PRODUCT_VERSION, "M606"), |
| 144 | }, |
| 145 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 146 | { } |
| 147 | }; |
| 148 | |
| 149 | /* |
Dmitry Torokhov | 59311de | 2005-05-28 02:12:05 -0500 | [diff] [blame] | 150 | * Some Fujitsu notebooks are having trouble with touchpads if |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 151 | * active multiplexing mode is activated. Luckily they don't have |
| 152 | * external PS/2 ports so we can safely disable it. |
Dmitry Torokhov | 59311de | 2005-05-28 02:12:05 -0500 | [diff] [blame] | 153 | * ... apparently some Toshibas don't like MUX mode either and |
| 154 | * die horrible death on reboot. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 155 | */ |
| 156 | static struct dmi_system_id __initdata i8042_dmi_nomux_table[] = { |
| 157 | { |
| 158 | .ident = "Fujitsu Lifebook P7010/P7010D", |
| 159 | .matches = { |
| 160 | DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"), |
| 161 | DMI_MATCH(DMI_PRODUCT_NAME, "P7010"), |
| 162 | }, |
| 163 | }, |
| 164 | { |
Dmitry Torokhov | bb06ec3c | 2006-12-08 01:36:32 -0500 | [diff] [blame] | 165 | .ident = "Fujitsu Lifebook P7010", |
| 166 | .matches = { |
| 167 | DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU SIEMENS"), |
| 168 | DMI_MATCH(DMI_PRODUCT_NAME, "0000000000"), |
| 169 | }, |
| 170 | }, |
| 171 | { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 172 | .ident = "Fujitsu Lifebook P5020D", |
| 173 | .matches = { |
| 174 | DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"), |
| 175 | DMI_MATCH(DMI_PRODUCT_NAME, "LifeBook P Series"), |
| 176 | }, |
| 177 | }, |
| 178 | { |
| 179 | .ident = "Fujitsu Lifebook S2000", |
| 180 | .matches = { |
| 181 | DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"), |
| 182 | DMI_MATCH(DMI_PRODUCT_NAME, "LifeBook S Series"), |
| 183 | }, |
| 184 | }, |
| 185 | { |
Dmitry Torokhov | b4ff99b | 2005-05-28 02:12:10 -0500 | [diff] [blame] | 186 | .ident = "Fujitsu Lifebook S6230", |
| 187 | .matches = { |
| 188 | DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"), |
| 189 | DMI_MATCH(DMI_PRODUCT_NAME, "LifeBook S6230"), |
| 190 | }, |
| 191 | }, |
| 192 | { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 193 | .ident = "Fujitsu T70H", |
| 194 | .matches = { |
| 195 | DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"), |
| 196 | DMI_MATCH(DMI_PRODUCT_NAME, "FMVLT70H"), |
| 197 | }, |
| 198 | }, |
Dmitry Torokhov | 59311de | 2005-05-28 02:12:05 -0500 | [diff] [blame] | 199 | { |
Vojtech Pavlik | 20f0794 | 2005-07-11 01:06:28 -0500 | [diff] [blame] | 200 | .ident = "Fujitsu-Siemens Lifebook T3010", |
| 201 | .matches = { |
| 202 | DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU SIEMENS"), |
| 203 | DMI_MATCH(DMI_PRODUCT_NAME, "LIFEBOOK T3010"), |
| 204 | }, |
| 205 | }, |
| 206 | { |
Dmitry Torokhov | 7545c24 | 2005-09-04 01:42:10 -0500 | [diff] [blame] | 207 | .ident = "Fujitsu-Siemens Lifebook E4010", |
| 208 | .matches = { |
| 209 | DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU SIEMENS"), |
| 210 | DMI_MATCH(DMI_PRODUCT_NAME, "LIFEBOOK E4010"), |
| 211 | }, |
| 212 | }, |
| 213 | { |
Jiri Kosina | 3f79b1e | 2008-01-30 16:34:52 -0500 | [diff] [blame] | 214 | .ident = "Fujitsu-Siemens Amilo Pro 2010", |
| 215 | .matches = { |
| 216 | DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU SIEMENS"), |
| 217 | DMI_MATCH(DMI_PRODUCT_NAME, "AMILO Pro V2010"), |
| 218 | }, |
| 219 | }, |
| 220 | { |
Jiri Kosina | efd5184 | 2008-06-06 00:56:43 -0400 | [diff] [blame] | 221 | .ident = "Fujitsu-Siemens Amilo Pro 2030", |
| 222 | .matches = { |
| 223 | DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU SIEMENS"), |
| 224 | DMI_MATCH(DMI_PRODUCT_NAME, "AMILO PRO V2030"), |
| 225 | }, |
| 226 | }, |
| 227 | { |
Dmitry Torokhov | 6e78258 | 2007-03-16 00:59:42 -0400 | [diff] [blame] | 228 | /* |
Dmitry Torokhov | cc8310e | 2007-04-25 00:40:32 -0400 | [diff] [blame] | 229 | * No data is coming from the touchscreen unless KBC |
| 230 | * is in legacy mode. |
| 231 | */ |
| 232 | .ident = "Panasonic CF-29", |
| 233 | .matches = { |
| 234 | DMI_MATCH(DMI_SYS_VENDOR, "Matsushita"), |
| 235 | DMI_MATCH(DMI_PRODUCT_NAME, "CF-29"), |
| 236 | }, |
| 237 | }, |
| 238 | { |
| 239 | /* |
Dmitry Torokhov | 6e78258 | 2007-03-16 00:59:42 -0400 | [diff] [blame] | 240 | * Errors on MUX ports are reported without raising AUXDATA |
| 241 | * causing "spurious NAK" messages. |
| 242 | */ |
| 243 | .ident = "HP Pavilion DV4017EA", |
| 244 | .matches = { |
| 245 | DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"), |
| 246 | DMI_MATCH(DMI_PRODUCT_NAME, "Pavilion dv4000 (EA032EA#ABF)"), |
| 247 | }, |
| 248 | }, |
| 249 | { |
Dmitry Torokhov | 9d9d50b | 2007-06-28 00:44:27 -0400 | [diff] [blame] | 250 | /* |
| 251 | * Like DV4017EA does not raise AUXERR for errors on MUX ports. |
| 252 | */ |
| 253 | .ident = "HP Pavilion ZT1000", |
| 254 | .matches = { |
| 255 | DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"), |
| 256 | DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion Notebook PC"), |
| 257 | DMI_MATCH(DMI_PRODUCT_VERSION, "HP Pavilion Notebook ZT1000"), |
| 258 | }, |
| 259 | }, |
| 260 | { |
Elvis Pranskevichus | 749aea7 | 2007-09-04 23:18:21 -0400 | [diff] [blame] | 261 | /* |
| 262 | * Like DV4017EA does not raise AUXERR for errors on MUX ports. |
| 263 | */ |
| 264 | .ident = "HP Pavilion DV4270ca", |
| 265 | .matches = { |
| 266 | DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"), |
| 267 | DMI_MATCH(DMI_PRODUCT_NAME, "Pavilion dv4000 (EH476UA#ABL)"), |
| 268 | }, |
| 269 | }, |
| 270 | { |
Dmitry Torokhov | 59311de | 2005-05-28 02:12:05 -0500 | [diff] [blame] | 271 | .ident = "Toshiba P10", |
| 272 | .matches = { |
| 273 | DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"), |
| 274 | DMI_MATCH(DMI_PRODUCT_NAME, "Satellite P10"), |
| 275 | }, |
| 276 | }, |
Dmitry Torokhov | 865190c | 2005-07-11 01:06:06 -0500 | [diff] [blame] | 277 | { |
Dmitry Torokhov | a91eaa1 | 2006-09-14 01:31:06 -0400 | [diff] [blame] | 278 | .ident = "Toshiba Equium A110", |
| 279 | .matches = { |
| 280 | DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"), |
| 281 | DMI_MATCH(DMI_PRODUCT_NAME, "EQUIUM A110"), |
| 282 | }, |
| 283 | }, |
| 284 | { |
Dmitry Torokhov | 865190c | 2005-07-11 01:06:06 -0500 | [diff] [blame] | 285 | .ident = "Alienware Sentia", |
| 286 | .matches = { |
| 287 | DMI_MATCH(DMI_SYS_VENDOR, "ALIENWARE"), |
| 288 | DMI_MATCH(DMI_PRODUCT_NAME, "Sentia"), |
| 289 | }, |
| 290 | }, |
Dmitry Torokhov | 4eb38ac | 2005-12-21 00:51:51 -0500 | [diff] [blame] | 291 | { |
| 292 | .ident = "Sharp Actius MM20", |
| 293 | .matches = { |
| 294 | DMI_MATCH(DMI_SYS_VENDOR, "SHARP"), |
| 295 | DMI_MATCH(DMI_PRODUCT_NAME, "PC-MM20 Series"), |
| 296 | }, |
| 297 | }, |
Vojtech Pavlik | 3dd01a8 | 2006-01-14 00:24:06 -0500 | [diff] [blame] | 298 | { |
| 299 | .ident = "Sony Vaio FS-115b", |
| 300 | .matches = { |
| 301 | DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"), |
| 302 | DMI_MATCH(DMI_PRODUCT_NAME, "VGN-FS115B"), |
| 303 | }, |
| 304 | }, |
Cjacker Huang | e2df452 | 2006-08-08 23:38:22 -0400 | [diff] [blame] | 305 | { |
| 306 | .ident = "Amoi M636/A737", |
| 307 | .matches = { |
| 308 | DMI_MATCH(DMI_SYS_VENDOR, "Amoi Electronics CO.,LTD."), |
| 309 | DMI_MATCH(DMI_PRODUCT_NAME, "M636/A737 platform"), |
| 310 | }, |
| 311 | }, |
Jiri Kosina | 2a2dcd6 | 2008-03-10 03:08:54 -0700 | [diff] [blame] | 312 | { |
| 313 | .ident = "Lenovo 3000 n100", |
| 314 | .matches = { |
| 315 | DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), |
Jiri Kosina | 9ce1ca2 | 2008-09-04 22:28:48 -0400 | [diff] [blame] | 316 | DMI_MATCH(DMI_PRODUCT_NAME, "076804U"), |
Jiri Kosina | 2a2dcd6 | 2008-03-10 03:08:54 -0700 | [diff] [blame] | 317 | }, |
| 318 | }, |
Jiri Kosina | 0376bce | 2008-07-03 10:45:38 -0400 | [diff] [blame] | 319 | { |
| 320 | .ident = "Acer Aspire 1360", |
| 321 | .matches = { |
| 322 | DMI_MATCH(DMI_SYS_VENDOR, "Acer"), |
| 323 | DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 1360"), |
| 324 | }, |
| 325 | }, |
Jiri Kosina | 5b5b43d | 2008-07-03 11:00:28 -0400 | [diff] [blame] | 326 | { |
| 327 | .ident = "Gericom Bellagio", |
| 328 | .matches = { |
| 329 | DMI_MATCH(DMI_SYS_VENDOR, "Gericom"), |
| 330 | DMI_MATCH(DMI_PRODUCT_NAME, "N34AS6"), |
| 331 | }, |
| 332 | }, |
Colin B Macdonald | 5bd8a05 | 2008-10-11 18:16:38 -0400 | [diff] [blame] | 333 | { |
| 334 | .ident = "IBM 2656", |
| 335 | .matches = { |
| 336 | DMI_MATCH(DMI_SYS_VENDOR, "IBM"), |
| 337 | DMI_MATCH(DMI_PRODUCT_NAME, "2656"), |
| 338 | }, |
| 339 | }, |
Herton Ronaldo Krzesinski | 786b11c | 2008-11-11 09:37:14 -0500 | [diff] [blame^] | 340 | { |
| 341 | .ident = "Dell XPS M1530", |
| 342 | .matches = { |
| 343 | DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), |
| 344 | DMI_MATCH(DMI_PRODUCT_NAME, "XPS M1530"), |
| 345 | }, |
| 346 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 347 | { } |
| 348 | }; |
| 349 | |
Jiri Kosina | c3a34f4 | 2008-05-28 01:10:52 -0400 | [diff] [blame] | 350 | #ifdef CONFIG_PNP |
| 351 | static struct dmi_system_id __initdata i8042_dmi_nopnp_table[] = { |
| 352 | { |
| 353 | .ident = "Intel MBO Desktop D845PESV", |
| 354 | .matches = { |
| 355 | DMI_MATCH(DMI_BOARD_NAME, "D845PESV"), |
| 356 | DMI_MATCH(DMI_BOARD_VENDOR, "Intel Corporation"), |
| 357 | }, |
| 358 | }, |
| 359 | { } |
| 360 | }; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 361 | #endif |
| 362 | |
Carlos Corbacho | 8987fec | 2008-01-21 01:04:40 -0500 | [diff] [blame] | 363 | /* |
| 364 | * Some Wistron based laptops need us to explicitly enable the 'Dritek |
| 365 | * keyboard extension' to make their extra keys start generating scancodes. |
| 366 | * Originally, this was just confined to older laptops, but a few Acer laptops |
| 367 | * have turned up in 2007 that also need this again. |
| 368 | */ |
| 369 | static struct dmi_system_id __initdata i8042_dmi_dritek_table[] = { |
| 370 | { |
| 371 | .ident = "Acer Aspire 5630", |
| 372 | .matches = { |
| 373 | DMI_MATCH(DMI_SYS_VENDOR, "Acer"), |
| 374 | DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 5630"), |
| 375 | }, |
| 376 | }, |
| 377 | { |
| 378 | .ident = "Acer Aspire 5650", |
| 379 | .matches = { |
| 380 | DMI_MATCH(DMI_SYS_VENDOR, "Acer"), |
| 381 | DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 5650"), |
| 382 | }, |
| 383 | }, |
| 384 | { |
| 385 | .ident = "Acer Aspire 5680", |
| 386 | .matches = { |
| 387 | DMI_MATCH(DMI_SYS_VENDOR, "Acer"), |
| 388 | DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 5680"), |
| 389 | }, |
| 390 | }, |
| 391 | { |
Carlos Corbacho | 0e7e92f | 2008-07-07 08:55:31 -0400 | [diff] [blame] | 392 | .ident = "Acer Aspire 5720", |
| 393 | .matches = { |
| 394 | DMI_MATCH(DMI_SYS_VENDOR, "Acer"), |
| 395 | DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 5720"), |
| 396 | }, |
| 397 | }, |
| 398 | { |
Carlos Corbacho | 5799ddb | 2008-01-30 16:34:12 -0500 | [diff] [blame] | 399 | .ident = "Acer Aspire 9110", |
| 400 | .matches = { |
| 401 | DMI_MATCH(DMI_SYS_VENDOR, "Acer"), |
| 402 | DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 9110"), |
| 403 | }, |
| 404 | }, |
| 405 | { |
Bruno Prémont | 65e660a | 2008-05-20 13:47:28 -0400 | [diff] [blame] | 406 | .ident = "Acer TravelMate 660", |
| 407 | .matches = { |
| 408 | DMI_MATCH(DMI_SYS_VENDOR, "Acer"), |
| 409 | DMI_MATCH(DMI_PRODUCT_NAME, "TravelMate 660"), |
| 410 | }, |
| 411 | }, |
| 412 | { |
Carlos Corbacho | 8987fec | 2008-01-21 01:04:40 -0500 | [diff] [blame] | 413 | .ident = "Acer TravelMate 2490", |
| 414 | .matches = { |
| 415 | DMI_MATCH(DMI_SYS_VENDOR, "Acer"), |
| 416 | DMI_MATCH(DMI_PRODUCT_NAME, "TravelMate 2490"), |
| 417 | }, |
| 418 | }, |
Carlos Corbacho | 8e4ae10 | 2008-08-06 14:28:43 -0400 | [diff] [blame] | 419 | { |
| 420 | .ident = "Acer TravelMate 4280", |
| 421 | .matches = { |
| 422 | DMI_MATCH(DMI_SYS_VENDOR, "Acer"), |
| 423 | DMI_MATCH(DMI_PRODUCT_NAME, "TravelMate 4280"), |
| 424 | }, |
| 425 | }, |
Carlos Corbacho | 8987fec | 2008-01-21 01:04:40 -0500 | [diff] [blame] | 426 | { } |
| 427 | }; |
| 428 | |
| 429 | #endif /* CONFIG_X86 */ |
| 430 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 431 | #ifdef CONFIG_PNP |
| 432 | #include <linux/pnp.h> |
| 433 | |
| 434 | static int i8042_pnp_kbd_registered; |
Bjorn Helgaas | 2bfc3c6 | 2006-03-14 00:12:24 -0500 | [diff] [blame] | 435 | static unsigned int i8042_pnp_kbd_devices; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 436 | static int i8042_pnp_aux_registered; |
Bjorn Helgaas | 2bfc3c6 | 2006-03-14 00:12:24 -0500 | [diff] [blame] | 437 | static unsigned int i8042_pnp_aux_devices; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 438 | |
| 439 | static int i8042_pnp_command_reg; |
| 440 | static int i8042_pnp_data_reg; |
| 441 | static int i8042_pnp_kbd_irq; |
| 442 | static int i8042_pnp_aux_irq; |
| 443 | |
| 444 | static char i8042_pnp_kbd_name[32]; |
| 445 | static char i8042_pnp_aux_name[32]; |
| 446 | |
| 447 | static int i8042_pnp_kbd_probe(struct pnp_dev *dev, const struct pnp_device_id *did) |
| 448 | { |
| 449 | if (pnp_port_valid(dev, 0) && pnp_port_len(dev, 0) == 1) |
| 450 | i8042_pnp_data_reg = pnp_port_start(dev,0); |
| 451 | |
| 452 | if (pnp_port_valid(dev, 1) && pnp_port_len(dev, 1) == 1) |
| 453 | i8042_pnp_command_reg = pnp_port_start(dev, 1); |
| 454 | |
| 455 | if (pnp_irq_valid(dev,0)) |
| 456 | i8042_pnp_kbd_irq = pnp_irq(dev, 0); |
| 457 | |
Roel Kluin | 8c6deb9 | 2008-04-18 00:25:18 -0400 | [diff] [blame] | 458 | strlcpy(i8042_pnp_kbd_name, did->id, sizeof(i8042_pnp_kbd_name)); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 459 | if (strlen(pnp_dev_name(dev))) { |
Roel Kluin | 8c6deb9 | 2008-04-18 00:25:18 -0400 | [diff] [blame] | 460 | strlcat(i8042_pnp_kbd_name, ":", sizeof(i8042_pnp_kbd_name)); |
| 461 | strlcat(i8042_pnp_kbd_name, pnp_dev_name(dev), sizeof(i8042_pnp_kbd_name)); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 462 | } |
| 463 | |
Bjorn Helgaas | 2bfc3c6 | 2006-03-14 00:12:24 -0500 | [diff] [blame] | 464 | i8042_pnp_kbd_devices++; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 465 | return 0; |
| 466 | } |
| 467 | |
| 468 | static int i8042_pnp_aux_probe(struct pnp_dev *dev, const struct pnp_device_id *did) |
| 469 | { |
| 470 | if (pnp_port_valid(dev, 0) && pnp_port_len(dev, 0) == 1) |
| 471 | i8042_pnp_data_reg = pnp_port_start(dev,0); |
| 472 | |
| 473 | if (pnp_port_valid(dev, 1) && pnp_port_len(dev, 1) == 1) |
| 474 | i8042_pnp_command_reg = pnp_port_start(dev, 1); |
| 475 | |
| 476 | if (pnp_irq_valid(dev, 0)) |
| 477 | i8042_pnp_aux_irq = pnp_irq(dev, 0); |
| 478 | |
Roel Kluin | 8c6deb9 | 2008-04-18 00:25:18 -0400 | [diff] [blame] | 479 | strlcpy(i8042_pnp_aux_name, did->id, sizeof(i8042_pnp_aux_name)); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 480 | if (strlen(pnp_dev_name(dev))) { |
Roel Kluin | 8c6deb9 | 2008-04-18 00:25:18 -0400 | [diff] [blame] | 481 | strlcat(i8042_pnp_aux_name, ":", sizeof(i8042_pnp_aux_name)); |
| 482 | strlcat(i8042_pnp_aux_name, pnp_dev_name(dev), sizeof(i8042_pnp_aux_name)); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 483 | } |
| 484 | |
Bjorn Helgaas | 2bfc3c6 | 2006-03-14 00:12:24 -0500 | [diff] [blame] | 485 | i8042_pnp_aux_devices++; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 486 | return 0; |
| 487 | } |
| 488 | |
| 489 | static struct pnp_device_id pnp_kbd_devids[] = { |
| 490 | { .id = "PNP0303", .driver_data = 0 }, |
| 491 | { .id = "PNP030b", .driver_data = 0 }, |
| 492 | { .id = "", }, |
| 493 | }; |
| 494 | |
| 495 | static struct pnp_driver i8042_pnp_kbd_driver = { |
| 496 | .name = "i8042 kbd", |
| 497 | .id_table = pnp_kbd_devids, |
| 498 | .probe = i8042_pnp_kbd_probe, |
| 499 | }; |
| 500 | |
| 501 | static struct pnp_device_id pnp_aux_devids[] = { |
Dmitry Torokhov | b997395 | 2007-04-25 00:40:53 -0400 | [diff] [blame] | 502 | { .id = "FJC6000", .driver_data = 0 }, |
| 503 | { .id = "FJC6001", .driver_data = 0 }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 504 | { .id = "PNP0f03", .driver_data = 0 }, |
| 505 | { .id = "PNP0f0b", .driver_data = 0 }, |
| 506 | { .id = "PNP0f0e", .driver_data = 0 }, |
| 507 | { .id = "PNP0f12", .driver_data = 0 }, |
| 508 | { .id = "PNP0f13", .driver_data = 0 }, |
| 509 | { .id = "PNP0f19", .driver_data = 0 }, |
| 510 | { .id = "PNP0f1c", .driver_data = 0 }, |
| 511 | { .id = "SYN0801", .driver_data = 0 }, |
| 512 | { .id = "", }, |
| 513 | }; |
| 514 | |
| 515 | static struct pnp_driver i8042_pnp_aux_driver = { |
| 516 | .name = "i8042 aux", |
| 517 | .id_table = pnp_aux_devids, |
| 518 | .probe = i8042_pnp_aux_probe, |
| 519 | }; |
| 520 | |
| 521 | static void i8042_pnp_exit(void) |
| 522 | { |
Kurt Garloff | 74af42b | 2005-05-28 02:11:38 -0500 | [diff] [blame] | 523 | if (i8042_pnp_kbd_registered) { |
| 524 | i8042_pnp_kbd_registered = 0; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 525 | pnp_unregister_driver(&i8042_pnp_kbd_driver); |
Kurt Garloff | 74af42b | 2005-05-28 02:11:38 -0500 | [diff] [blame] | 526 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 527 | |
Kurt Garloff | 74af42b | 2005-05-28 02:11:38 -0500 | [diff] [blame] | 528 | if (i8042_pnp_aux_registered) { |
| 529 | i8042_pnp_aux_registered = 0; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 530 | pnp_unregister_driver(&i8042_pnp_aux_driver); |
Kurt Garloff | 74af42b | 2005-05-28 02:11:38 -0500 | [diff] [blame] | 531 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 532 | } |
| 533 | |
Dmitry Torokhov | 8d5987a | 2005-09-04 01:41:38 -0500 | [diff] [blame] | 534 | static int __init i8042_pnp_init(void) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 535 | { |
Dmitry Torokhov | c3d31e7 | 2005-09-04 01:41:51 -0500 | [diff] [blame] | 536 | char kbd_irq_str[4] = { 0 }, aux_irq_str[4] = { 0 }; |
Dmitry Torokhov | 080c652 | 2007-07-18 00:38:01 -0400 | [diff] [blame] | 537 | int pnp_data_busted = 0; |
Bjorn Helgaas | 2bfc3c6 | 2006-03-14 00:12:24 -0500 | [diff] [blame] | 538 | int err; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 539 | |
Jiri Kosina | c3a34f4 | 2008-05-28 01:10:52 -0400 | [diff] [blame] | 540 | #ifdef CONFIG_X86 |
| 541 | if (dmi_check_system(i8042_dmi_nopnp_table)) |
| 542 | i8042_nopnp = 1; |
| 543 | #endif |
| 544 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 545 | if (i8042_nopnp) { |
Vojtech Pavlik | 39fa580 | 2005-05-28 02:11:16 -0500 | [diff] [blame] | 546 | printk(KERN_INFO "i8042: PNP detection disabled\n"); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 547 | return 0; |
| 548 | } |
| 549 | |
Bjorn Helgaas | 2bfc3c6 | 2006-03-14 00:12:24 -0500 | [diff] [blame] | 550 | err = pnp_register_driver(&i8042_pnp_kbd_driver); |
| 551 | if (!err) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 552 | i8042_pnp_kbd_registered = 1; |
Dmitry Torokhov | c3d31e7 | 2005-09-04 01:41:51 -0500 | [diff] [blame] | 553 | |
Bjorn Helgaas | 2bfc3c6 | 2006-03-14 00:12:24 -0500 | [diff] [blame] | 554 | err = pnp_register_driver(&i8042_pnp_aux_driver); |
| 555 | if (!err) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 556 | i8042_pnp_aux_registered = 1; |
| 557 | |
Bjorn Helgaas | 2bfc3c6 | 2006-03-14 00:12:24 -0500 | [diff] [blame] | 558 | if (!i8042_pnp_kbd_devices && !i8042_pnp_aux_devices) { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 559 | i8042_pnp_exit(); |
| 560 | #if defined(__ia64__) |
| 561 | return -ENODEV; |
| 562 | #else |
Dmitry Torokhov | 5a72afc | 2005-05-28 02:11:32 -0500 | [diff] [blame] | 563 | printk(KERN_INFO "PNP: No PS/2 controller found. Probing ports directly.\n"); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 564 | return 0; |
| 565 | #endif |
| 566 | } |
| 567 | |
Bjorn Helgaas | 2bfc3c6 | 2006-03-14 00:12:24 -0500 | [diff] [blame] | 568 | if (i8042_pnp_kbd_devices) |
Dmitry Torokhov | c3d31e7 | 2005-09-04 01:41:51 -0500 | [diff] [blame] | 569 | snprintf(kbd_irq_str, sizeof(kbd_irq_str), |
| 570 | "%d", i8042_pnp_kbd_irq); |
Bjorn Helgaas | 2bfc3c6 | 2006-03-14 00:12:24 -0500 | [diff] [blame] | 571 | if (i8042_pnp_aux_devices) |
Dmitry Torokhov | c3d31e7 | 2005-09-04 01:41:51 -0500 | [diff] [blame] | 572 | snprintf(aux_irq_str, sizeof(aux_irq_str), |
| 573 | "%d", i8042_pnp_aux_irq); |
| 574 | |
| 575 | printk(KERN_INFO "PNP: PS/2 Controller [%s%s%s] at %#x,%#x irq %s%s%s\n", |
Bjorn Helgaas | 2bfc3c6 | 2006-03-14 00:12:24 -0500 | [diff] [blame] | 576 | i8042_pnp_kbd_name, (i8042_pnp_kbd_devices && i8042_pnp_aux_devices) ? "," : "", |
Dmitry Torokhov | c3d31e7 | 2005-09-04 01:41:51 -0500 | [diff] [blame] | 577 | i8042_pnp_aux_name, |
| 578 | i8042_pnp_data_reg, i8042_pnp_command_reg, |
Bjorn Helgaas | 2bfc3c6 | 2006-03-14 00:12:24 -0500 | [diff] [blame] | 579 | kbd_irq_str, (i8042_pnp_kbd_devices && i8042_pnp_aux_devices) ? "," : "", |
Dmitry Torokhov | c3d31e7 | 2005-09-04 01:41:51 -0500 | [diff] [blame] | 580 | aux_irq_str); |
| 581 | |
| 582 | #if defined(__ia64__) |
Bjorn Helgaas | 2bfc3c6 | 2006-03-14 00:12:24 -0500 | [diff] [blame] | 583 | if (!i8042_pnp_kbd_devices) |
Dmitry Torokhov | 945ef0d | 2005-09-04 01:42:00 -0500 | [diff] [blame] | 584 | i8042_nokbd = 1; |
Bjorn Helgaas | 2bfc3c6 | 2006-03-14 00:12:24 -0500 | [diff] [blame] | 585 | if (!i8042_pnp_aux_devices) |
Dmitry Torokhov | c3d31e7 | 2005-09-04 01:41:51 -0500 | [diff] [blame] | 586 | i8042_noaux = 1; |
| 587 | #endif |
| 588 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 589 | if (((i8042_pnp_data_reg & ~0xf) == (i8042_data_reg & ~0xf) && |
Dmitry Torokhov | 080c652 | 2007-07-18 00:38:01 -0400 | [diff] [blame] | 590 | i8042_pnp_data_reg != i8042_data_reg) || |
| 591 | !i8042_pnp_data_reg) { |
| 592 | printk(KERN_WARNING |
| 593 | "PNP: PS/2 controller has invalid data port %#x; " |
| 594 | "using default %#x\n", |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 595 | i8042_pnp_data_reg, i8042_data_reg); |
| 596 | i8042_pnp_data_reg = i8042_data_reg; |
Dmitry Torokhov | 080c652 | 2007-07-18 00:38:01 -0400 | [diff] [blame] | 597 | pnp_data_busted = 1; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 598 | } |
| 599 | |
| 600 | if (((i8042_pnp_command_reg & ~0xf) == (i8042_command_reg & ~0xf) && |
Dmitry Torokhov | 080c652 | 2007-07-18 00:38:01 -0400 | [diff] [blame] | 601 | i8042_pnp_command_reg != i8042_command_reg) || |
| 602 | !i8042_pnp_command_reg) { |
| 603 | printk(KERN_WARNING |
| 604 | "PNP: PS/2 controller has invalid command port %#x; " |
| 605 | "using default %#x\n", |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 606 | i8042_pnp_command_reg, i8042_command_reg); |
| 607 | i8042_pnp_command_reg = i8042_command_reg; |
Dmitry Torokhov | 080c652 | 2007-07-18 00:38:01 -0400 | [diff] [blame] | 608 | pnp_data_busted = 1; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 609 | } |
| 610 | |
Dmitry Torokhov | 945ef0d | 2005-09-04 01:42:00 -0500 | [diff] [blame] | 611 | if (!i8042_nokbd && !i8042_pnp_kbd_irq) { |
Dmitry Torokhov | 080c652 | 2007-07-18 00:38:01 -0400 | [diff] [blame] | 612 | printk(KERN_WARNING |
| 613 | "PNP: PS/2 controller doesn't have KBD irq; " |
| 614 | "using default %d\n", i8042_kbd_irq); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 615 | i8042_pnp_kbd_irq = i8042_kbd_irq; |
Dmitry Torokhov | 080c652 | 2007-07-18 00:38:01 -0400 | [diff] [blame] | 616 | pnp_data_busted = 1; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 617 | } |
| 618 | |
Dmitry Torokhov | c3d31e7 | 2005-09-04 01:41:51 -0500 | [diff] [blame] | 619 | if (!i8042_noaux && !i8042_pnp_aux_irq) { |
Dmitry Torokhov | 080c652 | 2007-07-18 00:38:01 -0400 | [diff] [blame] | 620 | if (!pnp_data_busted && i8042_pnp_kbd_irq) { |
| 621 | printk(KERN_WARNING |
| 622 | "PNP: PS/2 appears to have AUX port disabled, " |
| 623 | "if this is incorrect please boot with " |
| 624 | "i8042.nopnp\n"); |
| 625 | i8042_noaux = 1; |
| 626 | } else { |
| 627 | printk(KERN_WARNING |
| 628 | "PNP: PS/2 controller doesn't have AUX irq; " |
| 629 | "using default %d\n", i8042_aux_irq); |
| 630 | i8042_pnp_aux_irq = i8042_aux_irq; |
| 631 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 632 | } |
| 633 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 634 | i8042_data_reg = i8042_pnp_data_reg; |
| 635 | i8042_command_reg = i8042_pnp_command_reg; |
| 636 | i8042_kbd_irq = i8042_pnp_kbd_irq; |
| 637 | i8042_aux_irq = i8042_pnp_aux_irq; |
| 638 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 639 | return 0; |
| 640 | } |
| 641 | |
Dmitry Torokhov | 8d5987a | 2005-09-04 01:41:38 -0500 | [diff] [blame] | 642 | #else |
| 643 | static inline int i8042_pnp_init(void) { return 0; } |
| 644 | static inline void i8042_pnp_exit(void) { } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 645 | #endif |
| 646 | |
Dmitry Torokhov | 8d5987a | 2005-09-04 01:41:38 -0500 | [diff] [blame] | 647 | static int __init i8042_platform_init(void) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 648 | { |
Dmitry Torokhov | 8d5987a | 2005-09-04 01:41:38 -0500 | [diff] [blame] | 649 | int retval; |
| 650 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 651 | /* |
| 652 | * On ix86 platforms touching the i8042 data register region can do really |
| 653 | * bad things. Because of this the region is always reserved on ix86 boxes. |
| 654 | * |
| 655 | * if (!request_region(I8042_DATA_REG, 16, "i8042")) |
Dmitry Torokhov | 8d5987a | 2005-09-04 01:41:38 -0500 | [diff] [blame] | 656 | * return -EBUSY; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 657 | */ |
| 658 | |
| 659 | i8042_kbd_irq = I8042_MAP_IRQ(1); |
| 660 | i8042_aux_irq = I8042_MAP_IRQ(12); |
| 661 | |
Dmitry Torokhov | 8d5987a | 2005-09-04 01:41:38 -0500 | [diff] [blame] | 662 | retval = i8042_pnp_init(); |
| 663 | if (retval) |
| 664 | return retval; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 665 | |
| 666 | #if defined(__ia64__) |
| 667 | i8042_reset = 1; |
| 668 | #endif |
| 669 | |
Jiri Kosina | c3a34f4 | 2008-05-28 01:10:52 -0400 | [diff] [blame] | 670 | #ifdef CONFIG_X86 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 671 | if (dmi_check_system(i8042_dmi_noloop_table)) |
| 672 | i8042_noloop = 1; |
| 673 | |
| 674 | if (dmi_check_system(i8042_dmi_nomux_table)) |
| 675 | i8042_nomux = 1; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 676 | |
Carlos Corbacho | 8987fec | 2008-01-21 01:04:40 -0500 | [diff] [blame] | 677 | if (dmi_check_system(i8042_dmi_dritek_table)) |
| 678 | i8042_dritek = 1; |
| 679 | #endif /* CONFIG_X86 */ |
| 680 | |
Dmitry Torokhov | 8d5987a | 2005-09-04 01:41:38 -0500 | [diff] [blame] | 681 | return retval; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 682 | } |
| 683 | |
| 684 | static inline void i8042_platform_exit(void) |
| 685 | { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 686 | i8042_pnp_exit(); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 687 | } |
| 688 | |
| 689 | #endif /* _I8042_X86IA64IO_H */ |