Port 0x80 is not safe to use on all x86 boards (see arch/x86/kernel/io_delay.c), so optionally use 0xed from the kernel config instead. Signed-off-by: Simon Kagstrom <simon.kagstrom@xxxxxxxxxxxxxx> --- arch/x86/boot/boot.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/x86/boot/boot.h b/arch/x86/boot/boot.h index 98239d2..79880b1 100644 --- a/arch/x86/boot/boot.h +++ b/arch/x86/boot/boot.h @@ -73,7 +73,12 @@ static inline u32 inl(u32 port) static inline void io_delay(void) { +#ifdef CONFIG_IO_DELAY_0XED + const u16 DELAY_PORT = 0xed; +#else const u16 DELAY_PORT = 0x80; +#endif + asm volatile("outb %%al,%0" : : "dN" (DELAY_PORT)); } -- 1.6.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html