summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/i386/shared/comm/uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/i386/shared/comm/uart.c')
-rw-r--r--c/src/lib/libbsp/i386/shared/comm/uart.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/c/src/lib/libbsp/i386/shared/comm/uart.c b/c/src/lib/libbsp/i386/shared/comm/uart.c
index bc5e805c4e..78b4f70cb5 100644
--- a/c/src/lib/libbsp/i386/shared/comm/uart.c
+++ b/c/src/lib/libbsp/i386/shared/comm/uart.c
@@ -146,7 +146,6 @@ BSP_uart_init
/* 8-bit, no parity , 1 stop */
uwrite(uart, LCR, databits | parity | stopbits);
-
/* Set DTR, RTS and OUT2 high */
uwrite(uart, MCR, DTR | RTS | OUT_2);
@@ -354,7 +353,6 @@ BSP_uart_polled_status(int uart)
return BSP_UART_STATUS_ERROR;
}
-
/*
* Polled mode write function
*/
@@ -442,7 +440,6 @@ BSP_poll_char_via_serial()
return BSP_uart_polled_read(BSPConsolePort);
}
-
/* ================ Termios support =================*/
static volatile int termios_stopped_com1 = 0;
@@ -478,7 +475,6 @@ void uart_set_driver_handler( int port, void ( *handler )( void *, char *, int
}
}
-
/*
* Set channel parameters
*/
@@ -619,7 +615,6 @@ BSP_uart_termios_write_com2(int minor, const char *buf, int len)
return 0;
}
-
/* If there TX buffer is busy - something is royally screwed up */
assert((uread(BSP_UART_COM2, LSR) & THRE) != 0);
@@ -644,7 +639,6 @@ BSP_uart_termios_write_com2(int minor, const char *buf, int len)
return 0;
}
-
void
BSP_uart_termios_isr_com1(void)
{
@@ -836,7 +830,6 @@ BSP_uart_termios_isr_com2()
}
}
-
/* ================= GDB support ===================*/
static int sav[4] __attribute__ ((unused));
@@ -918,7 +911,6 @@ asm (" outb %al, $0x20");
asm (" movl sav, %eax"); /* Restore eax */
asm (" iret"); /* Done */
-
/*
* Interrupt service routine for COM2 - all,
* it does it check whether ^C is received