i8042-io.h (4b4193256c8d3bc3a5397b5cd9494c2ad386317d) i8042-io.h (f81f335a56a8e90d5cac38b79661e6fbf35249f1)
1/* SPDX-License-Identifier: GPL-2.0-only */
2#ifndef _I8042_IO_H
3#define _I8042_IO_H
4
5
6/*
7 * Names.
8 */
9
10#define I8042_KBD_PHYS_DESC "isa0060/serio0"
11#define I8042_AUX_PHYS_DESC "isa0060/serio1"
12#define I8042_MUX_PHYS_DESC "isa0060/serio%d"
13
14/*
15 * IRQs.
16 */
17
1/* SPDX-License-Identifier: GPL-2.0-only */
2#ifndef _I8042_IO_H
3#define _I8042_IO_H
4
5
6/*
7 * Names.
8 */
9
10#define I8042_KBD_PHYS_DESC "isa0060/serio0"
11#define I8042_AUX_PHYS_DESC "isa0060/serio1"
12#define I8042_MUX_PHYS_DESC "isa0060/serio%d"
13
14/*
15 * IRQs.
16 */
17
18#ifdef __alpha__
19# define I8042_KBD_IRQ 1
20# define I8042_AUX_IRQ (RTC_PORT(0) == 0x170 ? 9 : 12) /* Jensen is special */
21#elif defined(__arm__)
18#if defined(__arm__)
22/* defined in include/asm-arm/arch-xxx/irqs.h */
23#include <asm/irq.h>
24#elif defined(CONFIG_PPC)
25extern int of_i8042_kbd_irq;
26extern int of_i8042_aux_irq;
27# define I8042_KBD_IRQ of_i8042_kbd_irq
28# define I8042_AUX_IRQ of_i8042_aux_irq
29#else

--- 60 unchanged lines hidden ---
19/* defined in include/asm-arm/arch-xxx/irqs.h */
20#include <asm/irq.h>
21#elif defined(CONFIG_PPC)
22extern int of_i8042_kbd_irq;
23extern int of_i8042_aux_irq;
24# define I8042_KBD_IRQ of_i8042_kbd_irq
25# define I8042_AUX_IRQ of_i8042_aux_irq
26#else

--- 60 unchanged lines hidden ---