#ifndef _I8042_IO_H #define _I8042_IO_H /* * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published by * the Free Software Foundation. */ /* * Names. */ #define I8042_KBD_PHYS_DESC "isa0060/serio0" #define I8042_AUX_PHYS_DESC "isa0060/serio1" #define I8042_MUX_PHYS_DESC "isa0060/serio%d" /* * IRQs. */ #ifdef __alpha__ # define I8042_KBD_IRQ 1 # define I8042_AUX_IRQ (RTC_PORT(0) == 0x170 ? 9 : 12) /* Jensen is special */ #elif defined(__arm__) /* defined in include/asm-arm/arch-xxx/irqs.h */ #include <asm/irq.h> #elif defined(CONFIG_SH_CAYMAN) #include <asm/irq.h> #elif defined(CONFIG_PPC) extern int of_i8042_kbd_irq; extern int of_i8042_aux_irq; # define I8042_KBD_IRQ of_i8042_kbd_irq # define I8042_AUX_IRQ of_i8042_aux_irq #else # define I8042_KBD_IRQ 1 # define I8042_AUX_IRQ 12 #endif /* * Register numbers. */ #define I8042_COMMAND_REG 0x64 #define I8042_STATUS_REG 0x64 #define I8042_DATA_REG 0x60
static inline int i8042_read_data(void) { return inb(I8042_DATA_REG); }Contributors
Person | Tokens | Prop | Commits | CommitProp | |
vojtech pavlik | vojtech pavlik | 15 | 100.00% | 1 | 100.00% |
Total | 15 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
vojtech pavlik | vojtech pavlik | 15 | 100.00% | 1 | 100.00% |
Total | 15 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
vojtech pavlik | vojtech pavlik | 17 | 100.00% | 1 | 100.00% |
Total | 17 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
vojtech pavlik | vojtech pavlik | 17 | 100.00% | 1 | 100.00% |
Total | 17 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
benjamin herrenschmidt | benjamin herrenschmidt | 26 | 38.81% | 1 | 14.29% |
vojtech pavlik | vojtech pavlik | 25 | 37.31% | 2 | 28.57% |
olaf hering | olaf hering | 13 | 19.40% | 1 | 14.29% |
bjorn helgaas | bjorn helgaas | 1 | 1.49% | 1 | 14.29% |
kumar gala | kumar gala | 1 | 1.49% | 1 | 14.29% |
dmitry torokhov | dmitry torokhov | 1 | 1.49% | 1 | 14.29% |
Total | 67 | 100.00% | 7 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
vojtech pavlik | vojtech pavlik | 31 | 100.00% | 1 | 100.00% |
Total | 31 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
vojtech pavlik | vojtech pavlik | 180 | 68.18% | 3 | 23.08% |
benjamin herrenschmidt | benjamin herrenschmidt | 26 | 9.85% | 1 | 7.69% |
martyn welch | martyn welch | 22 | 8.33% | 1 | 7.69% |
olaf hering | olaf hering | 13 | 4.92% | 1 | 7.69% |
paul mundt | paul mundt | 9 | 3.41% | 2 | 15.38% |
russell king | russell king | 6 | 2.27% | 1 | 7.69% |
peter chubb | peter chubb | 4 | 1.52% | 1 | 7.69% |
bjorn helgaas | bjorn helgaas | 2 | 0.76% | 1 | 7.69% |
dmitry torokhov | dmitry torokhov | 1 | 0.38% | 1 | 7.69% |
kumar gala | kumar gala | 1 | 0.38% | 1 | 7.69% |
Total | 264 | 100.00% | 13 | 100.00% |