diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-11-29 14:59:41 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-11-29 14:59:41 +0000 |
commit | d4b4664b99044b888bc178bdbd870edd4404b710 (patch) | |
tree | 59d216d0cd5a964ea9b4a4f965d994865f479f7c /c/src/lib/libbsp/m68k/mcf5235/console/console.c | |
parent | Whitespace removal. (diff) | |
download | rtems-d4b4664b99044b888bc178bdbd870edd4404b710.tar.bz2 |
Whitespace removal.
Diffstat (limited to 'c/src/lib/libbsp/m68k/mcf5235/console/console.c')
-rw-r--r-- | c/src/lib/libbsp/m68k/mcf5235/console/console.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/c/src/lib/libbsp/m68k/mcf5235/console/console.c b/c/src/lib/libbsp/m68k/mcf5235/console/console.c index ccf7636a8d..c5ddf8f5c5 100644 --- a/c/src/lib/libbsp/m68k/mcf5235/console/console.c +++ b/c/src/lib/libbsp/m68k/mcf5235/console/console.c @@ -27,7 +27,7 @@ static int IntUartInterruptWrite (int minor, const char *buf, int len); static void _BSP_null_char( char c ) -{ +{ int level; if (c == '\n') @@ -155,7 +155,7 @@ IntUartSet(int minor, int baud, int databits, int parity, int stopbits, int hwfl Description : This provides the hardware-dependent portion of tcsetattr(). value and sets it. At the moment this just sets the baud rate. - Note: The highest baudrate is 115200 as this stays within + Note: The highest baudrate is 115200 as this stays within an error of +/- 5% at 25MHz processor clock ***************************************************************************/ static int @@ -385,9 +385,9 @@ IntUartInitialize(void) /*************************************************************************** Function : IntUartInterruptWrite - Description : This writes a single character to the appropriate uart + Description : This writes a single character to the appropriate uart channel. This is either called during an interrupt or in the user's task - to initiate a transmit sequence. Calling this routine enables Tx + to initiate a transmit sequence. Calling this routine enables Tx interrupts. ***************************************************************************/ static int @@ -494,7 +494,7 @@ IntUartTaskRead(int minor) /* copy data into local buffer from rx buffer */ while ( ( index < count ) && ( index < RX_BUFFER_SIZE ) ) { - /* copy data byte */ + /* copy data byte */ buffer[index] = info->rx_buffer[info->rx_out]; index++; @@ -521,7 +521,7 @@ IntUartTaskRead(int minor) /*************************************************************************** Function : IntUartPollRead - Description : This reads a character from the internal uart. It returns + Description : This reads a character from the internal uart. It returns to the caller without blocking if not character is waiting. ***************************************************************************/ static int @@ -537,8 +537,8 @@ IntUartPollRead (int minor) /*************************************************************************** Function : IntUartPollWrite - Description : This writes out each character in the buffer to the - appropriate internal uart channel waiting till each one is sucessfully + Description : This writes out each character in the buffer to the + appropriate internal uart channel waiting till each one is sucessfully transmitted. ***************************************************************************/ static int @@ -575,7 +575,7 @@ rtems_device_driver console_initialize( /* set io modes for the different channels and initialize device */ IntUartInfo[minor].iomode = TERMIOS_IRQ_DRIVEN; - IntUartInitialize(); + IntUartInitialize(); /* Register the console port */ status = rtems_io_register_name ("/dev/console", major, CONSOLE_PORT); @@ -608,7 +608,7 @@ rtems_device_driver console_initialize( /*************************************************************************** Function : console_open - Description : This actually opens the device depending on the minor + Description : This actually opens the device depending on the minor number set during initialisation. The device specific access routines are passed to termios when the devices is opened depending on whether it is polled or not. |