forked from Imagelibrary/rtems
2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/console.c: Reflect termios_baud_to_number having been renamed to rtems_termios_baud_to_number.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
* console/console.c: Reflect termios_baud_to_number having been
|
||||||
|
renamed to rtems_termios_baud_to_number.
|
||||||
|
|
||||||
2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* configure.ac: Remove RTEMS_BSP_BOOTCARD_OPTIONS.
|
* configure.ac: Remove RTEMS_BSP_BOOTCARD_OPTIONS.
|
||||||
|
|||||||
@@ -173,7 +173,7 @@ IntUartSetAttributes(int minor, const struct termios *t)
|
|||||||
if ( t != (const struct termios *)0 )
|
if ( t != (const struct termios *)0 )
|
||||||
{
|
{
|
||||||
/* determine baud rate index */
|
/* determine baud rate index */
|
||||||
baud = termios_baud_to_number(t->c_cflag & CBAUD);
|
baud = rtems_termios_baud_to_number(t->c_cflag & CBAUD);
|
||||||
|
|
||||||
/* determine data bits */
|
/* determine data bits */
|
||||||
switch ( t->c_cflag & CSIZE )
|
switch ( t->c_cflag & CSIZE )
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
* console/console.c: Reflect termios_baud_to_number having been
|
||||||
|
renamed to rtems_termios_baud_to_number.
|
||||||
|
|
||||||
2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* configure.ac: Remove RTEMS_BSP_BOOTCARD_OPTIONS.
|
* configure.ac: Remove RTEMS_BSP_BOOTCARD_OPTIONS.
|
||||||
|
|||||||
@@ -486,8 +486,8 @@ SetAttributes (int minor, const struct termios *t)
|
|||||||
isp = (t->c_cflag / (CIBAUD / CBAUD)) & CBAUD;
|
isp = (t->c_cflag / (CIBAUD / CBAUD)) & CBAUD;
|
||||||
|
|
||||||
/* convert it */
|
/* convert it */
|
||||||
ispeed = termios_baud_to_number(isp);
|
ispeed = rtems_termios_baud_to_number(isp);
|
||||||
ospeed = termios_baud_to_number(osp);
|
ospeed = rtems_termios_baud_to_number(osp);
|
||||||
|
|
||||||
if (ispeed || ospeed) {
|
if (ispeed || ospeed) {
|
||||||
/* update config table */
|
/* update config table */
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
* console/console.c: Reflect termios_baud_to_number having been
|
||||||
|
renamed to rtems_termios_baud_to_number.
|
||||||
|
|
||||||
2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* configure.ac: Remove RTEMS_BSP_BOOTCARD_OPTIONS.
|
* configure.ac: Remove RTEMS_BSP_BOOTCARD_OPTIONS.
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ smc1SetAttributes (int minor, const struct termios *t)
|
|||||||
{
|
{
|
||||||
int baud;
|
int baud;
|
||||||
|
|
||||||
baud = termios_baud_to_number(t->c_cflag & CBAUD);
|
baud = rtems_termios_baud_to_number(t->c_cflag & CBAUD);
|
||||||
if (baud > 0)
|
if (baud > 0)
|
||||||
m360.brgc1 = smc1BRGC (baud);
|
m360.brgc1 = smc1BRGC (baud);
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
@@ -1,8 +1,13 @@
|
|||||||
|
2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
* console/console.c: Reflect termios_baud_to_number having been
|
||||||
|
renamed to rtems_termios_baud_to_number.
|
||||||
|
|
||||||
2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* configure.ac: Remove RTEMS_BSP_BOOTCARD_OPTIONS.
|
* configure.ac: Remove RTEMS_BSP_BOOTCARD_OPTIONS.
|
||||||
|
|
||||||
2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* configure.ac: Rename BSP_BOOTCARD_OPTIONS to
|
* configure.ac: Rename BSP_BOOTCARD_OPTIONS to
|
||||||
RTEMS_BSP_BOOTCARD_OPTIONS. Add RTEMS_BSP_CLEANUP_OPTIONS so all BSPs
|
RTEMS_BSP_BOOTCARD_OPTIONS. Add RTEMS_BSP_CLEANUP_OPTIONS so all BSPs
|
||||||
|
|||||||
@@ -151,7 +151,7 @@ static int IntUartSetAttributes(int minor, const struct termios *t)
|
|||||||
/* check to see if input is valid */
|
/* check to see if input is valid */
|
||||||
if (t != (const struct termios *) 0) {
|
if (t != (const struct termios *) 0) {
|
||||||
/* determine baud rate index */
|
/* determine baud rate index */
|
||||||
baud = termios_baud_to_number(t->c_cflag & CBAUD);
|
baud = rtems_termios_baud_to_number(t->c_cflag & CBAUD);
|
||||||
|
|
||||||
/* determine data bits */
|
/* determine data bits */
|
||||||
switch (t->c_cflag & CSIZE) {
|
switch (t->c_cflag & CSIZE) {
|
||||||
|
|||||||
@@ -1,8 +1,13 @@
|
|||||||
|
2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
* console/console.c: Reflect termios_baud_to_number having been
|
||||||
|
renamed to rtems_termios_baud_to_number.
|
||||||
|
|
||||||
2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* configure.ac: Remove RTEMS_BSP_BOOTCARD_OPTIONS.
|
* configure.ac: Remove RTEMS_BSP_BOOTCARD_OPTIONS.
|
||||||
|
|
||||||
2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* configure.ac: Rename BSP_BOOTCARD_OPTIONS to
|
* configure.ac: Rename BSP_BOOTCARD_OPTIONS to
|
||||||
RTEMS_BSP_BOOTCARD_OPTIONS. Add RTEMS_BSP_CLEANUP_OPTIONS so all BSPs
|
RTEMS_BSP_BOOTCARD_OPTIONS. Add RTEMS_BSP_CLEANUP_OPTIONS so all BSPs
|
||||||
|
|||||||
@@ -173,7 +173,7 @@ IntUartSetAttributes(int minor, const struct termios *t)
|
|||||||
if ( t != (const struct termios *)0 )
|
if ( t != (const struct termios *)0 )
|
||||||
{
|
{
|
||||||
/* determine baud rate index */
|
/* determine baud rate index */
|
||||||
baud = termios_baud_to_number(t->c_cflag & CBAUD);
|
baud = rtems_termios_baud_to_number(t->c_cflag & CBAUD);
|
||||||
|
|
||||||
/* determine data bits */
|
/* determine data bits */
|
||||||
switch ( t->c_cflag & CSIZE )
|
switch ( t->c_cflag & CSIZE )
|
||||||
|
|||||||
@@ -1,8 +1,13 @@
|
|||||||
|
2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
* console/console.c: Reflect termios_baud_to_number having been
|
||||||
|
renamed to rtems_termios_baud_to_number.
|
||||||
|
|
||||||
2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* configure.ac: Remove RTEMS_BSP_BOOTCARD_OPTIONS.
|
* configure.ac: Remove RTEMS_BSP_BOOTCARD_OPTIONS.
|
||||||
|
|
||||||
2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* configure.ac: Rename BSP_BOOTCARD_OPTIONS to
|
* configure.ac: Rename BSP_BOOTCARD_OPTIONS to
|
||||||
RTEMS_BSP_BOOTCARD_OPTIONS. Add RTEMS_BSP_CLEANUP_OPTIONS so all BSPs
|
RTEMS_BSP_BOOTCARD_OPTIONS. Add RTEMS_BSP_CLEANUP_OPTIONS so all BSPs
|
||||||
|
|||||||
@@ -168,7 +168,7 @@ static int IntUartSetAttributes(int minor, const struct termios *t)
|
|||||||
/* check to see if input is valid */
|
/* check to see if input is valid */
|
||||||
if (t != (const struct termios *) 0) {
|
if (t != (const struct termios *) 0) {
|
||||||
/* determine baud rate index */
|
/* determine baud rate index */
|
||||||
baud = termios_baud_to_number(t->c_cflag & CBAUD);
|
baud = rtems_termios_baud_to_number(t->c_cflag & CBAUD);
|
||||||
|
|
||||||
/* determine data bits */
|
/* determine data bits */
|
||||||
switch (t->c_cflag & CSIZE) {
|
switch (t->c_cflag & CSIZE) {
|
||||||
|
|||||||
@@ -1,8 +1,13 @@
|
|||||||
|
2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
* console/console.c: Reflect termios_baud_to_number having been
|
||||||
|
renamed to rtems_termios_baud_to_number.
|
||||||
|
|
||||||
2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* configure.ac: Remove RTEMS_BSP_BOOTCARD_OPTIONS.
|
* configure.ac: Remove RTEMS_BSP_BOOTCARD_OPTIONS.
|
||||||
|
|
||||||
2009-08-21 Joel Sherrill <joel.sherrill@OARcorp.com>
|
2009-08-21 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
* include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
|
* include/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
|
||||||
Should be automatically handled by confdefs.h or the application.
|
Should be automatically handled by confdefs.h or the application.
|
||||||
|
|||||||
@@ -826,8 +826,8 @@ int cd2401_setAttributes(
|
|||||||
/* Determine what the line parameters should be */
|
/* Determine what the line parameters should be */
|
||||||
|
|
||||||
/* baud rates */
|
/* baud rates */
|
||||||
out_baud = termios_baud_to_number(t->c_cflag & CBAUD);
|
out_baud = rtems_termios_baud_to_number(t->c_cflag & CBAUD);
|
||||||
in_baud = termios_baud_to_number(t->c_cflag & CBAUD);
|
in_baud = rtems_termios_baud_to_number(t->c_cflag & CBAUD);
|
||||||
|
|
||||||
/* Number of bits per char */
|
/* Number of bits per char */
|
||||||
csize = 0x07; /* to avoid a warning */
|
csize = 0x07; /* to avoid a warning */
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
* console/console.c: Reflect termios_baud_to_number having been
|
||||||
|
renamed to rtems_termios_baud_to_number.
|
||||||
|
|
||||||
2009-09-28 Joel Sherrill <joel.sherrill@OARcorp.com>
|
2009-09-28 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
* console/console.c: Add pointer to method used by getchark().
|
* console/console.c: Add pointer to method used by getchark().
|
||||||
@@ -6,7 +11,7 @@
|
|||||||
|
|
||||||
* configure.ac: Remove RTEMS_BSP_BOOTCARD_OPTIONS.
|
* configure.ac: Remove RTEMS_BSP_BOOTCARD_OPTIONS.
|
||||||
|
|
||||||
2009-09-09 Till Straumann <strauman@slac.stanford.edu>
|
2009-09-09 Till Straumann <strauman@slac.stanford.edu>
|
||||||
|
|
||||||
* startup/bspstart.c: Added dummy implementation of firmware
|
* startup/bspstart.c: Added dummy implementation of firmware
|
||||||
syscalls for use with QEMU. Dummy handler is installed if no
|
syscalls for use with QEMU. Dummy handler is installed if no
|
||||||
|
|||||||
@@ -187,7 +187,7 @@ IntUartSetAttributes(int minor, const struct termios *t)
|
|||||||
if ( t != (const struct termios *)0 )
|
if ( t != (const struct termios *)0 )
|
||||||
{
|
{
|
||||||
/* determine baud rate index */
|
/* determine baud rate index */
|
||||||
baud = termios_baud_to_number(t->c_cflag & CBAUD);
|
baud = rtems_termios_baud_to_number(t->c_cflag & CBAUD);
|
||||||
|
|
||||||
/* determine data bits */
|
/* determine data bits */
|
||||||
switch ( t->c_cflag & CSIZE )
|
switch ( t->c_cflag & CSIZE )
|
||||||
|
|||||||
Reference in New Issue
Block a user