12 #include <linux/kernel.h>
14 #include <linux/module.h>
20 #include <asm/setup.h>
21 #include <asm/i8259.h>
24 #include <asm/emergency-restart.h>
26 static int ce4100_i8042_detect(
void)
38 static void ce4100_power_off(
void)
43 #ifdef CONFIG_SERIAL_8250
63 unsigned int ret,
ier, lsr;
77 ret &= ~UART_IIR_NO_INT;
81 ret = mem_serial_in(p, offset);
85 static void ce4100_mem_serial_out(
struct uart_port *p,
int offset,
int value)
92 unsigned short *capabilites)
94 #ifdef CONFIG_EARLY_PRINTK
116 *capabilites |= (1 << 12);
119 static __init void sdv_serial_fixup(
void)
125 static inline void sdv_serial_fixup(
void) {};
128 static void __init sdv_arch_setup(
void)
133 #ifdef CONFIG_X86_IO_APIC
148 x86_init.oem.arch_setup = sdv_arch_setup;
164 #ifdef CONFIG_X86_IO_APIC
165 x86_init.pci.init_irq = sdv_pci_init;
166 x86_init.mpparse.setup_ioapic_ids = setup_ioapic_ids_from_mpc_nocheck;