From a36159eec6ca17402b0e146b86efaf76568dc353 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Fri, 20 Sep 2024 01:41:23 +0000 Subject: [PATCH] 重命名 AX88772C_eeprom/asix.c 为 asix_mac.c --- kernel/arch/mips/sgi-ip27/ip27-console.c | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/kernel/arch/mips/sgi-ip27/ip27-console.c b/kernel/arch/mips/sgi-ip27/ip27-console.c index 6bdb48d..7737a88 100644 --- a/kernel/arch/mips/sgi-ip27/ip27-console.c +++ b/kernel/arch/mips/sgi-ip27/ip27-console.c @@ -9,13 +9,14 @@ #include <asm/page.h> #include <asm/setup.h> #include <asm/sn/addrs.h> -#include <asm/sn/sn0/hub.h> +#include <asm/sn/agent.h> #include <asm/sn/klconfig.h> #include <asm/sn/ioc3.h> -#include <asm/sn/sn_private.h> #include <linux/serial.h> #include <linux/serial_core.h> + +#include "ip27-common.h" #define IOC3_CLK (22000000 / 3) #define IOC3_FLAGS (0) @@ -35,6 +36,7 @@ { struct ioc3_uartregs *uart = console_uart(); - while ((uart->iu_lsr & 0x20) == 0); - uart->iu_thr = c; + while ((readb(&uart->iu_lsr) & 0x20) == 0) + ; + writeb(c, &uart->iu_thr); } -- Gitblit v1.6.2