summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/mrm332/console/sci.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/m68k/mrm332/console/sci.h')
-rw-r--r--c/src/lib/libbsp/m68k/mrm332/console/sci.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/c/src/lib/libbsp/m68k/mrm332/console/sci.h b/c/src/lib/libbsp/m68k/mrm332/console/sci.h
index a5d780b10f..237c2897aa 100644
--- a/c/src/lib/libbsp/m68k/mrm332/console/sci.h
+++ b/c/src/lib/libbsp/m68k/mrm332/console/sci.h
@@ -8,11 +8,9 @@
* $Id$
****************************************************************************/
-
#ifndef _sci_h_
#define _sci_h_
-
/*******************************************************************************
IOCTL commands for the sci driver.
I'm still working on these...
@@ -46,12 +44,10 @@
#define SCI_IOCTL_MODE_9_BIT 0x82 // 9600,forced,8,1 command mode
-
/*******************************************************************************
SCI Registers
*******************************************************************************/
-
// SCI Control Register 0 (SCCR0) $FFFC08
// 8 4 2 1 - 8 4 2 1 - 8 4 2 1 - 8 4 2 1
@@ -79,7 +75,6 @@
// 0 0 0 0 - 0 0 0 0 - 0 0 0 0 - 0 1 0 0 reset value - (64k baud?)
-
#define SCI_BAUD_57_6K 9
#define SCI_BAUD_38_4K 14
#define SCI_BAUD_19_2K 27
@@ -89,7 +84,6 @@
#define SCI_BAUD_1200 437
-
// SCI Control Register 1 (SCCR1) $FFFC0A
// 8 4 2 1 - 8 4 2 1 - 8 4 2 1 - 8 4 2 1
@@ -182,7 +176,6 @@
// 0 0 0 0 - 0 0 0 1 - 1 0 0 0 - 0 0 0 0 reset value
-
#define SCI_ERROR_PARITY 0x0001 // 0000-0000-0000-0001
#define SCI_ERROR_FRAMING 0x0002 // 0000-0000-0000-0010
#define SCI_ERROR_NOISE 0x0004 // 0000-0000-0000-0100
@@ -211,17 +204,14 @@
extern "C" {
#endif
-
// look at console_open to see how this is called
const rtems_termios_callbacks * SciGetTermiosHandlers( int32_t polled );
-
/* SCI interrupt */
//rtems_isr SciIsr( rtems_vector_number vector );
-
//int32_t SciOpenPolled ( int32_t major, int32_t minor, void *arg );
//int32_t SciOpenInterrupt ( int32_t major, int32_t minor, void *arg );
@@ -234,10 +224,8 @@ const rtems_termios_callbacks * SciGetTermiosHandlers( int32_t polled );
//int32_t SciSetAttributes ( int32_t minor, const struct termios *t );
-
#ifdef __cplusplus
}
#endif
-
#endif // _sci_h_