Ticket 2897
I will be sending a small patch for ticket 2897. It updates the default initialization of the termios structure. I know Sebastian is out on holiday so if someone can process the patch through the ticket I would appreciated it. Kevin Kirspel Electrical Engineer - Sr. Staff Idexx Roswell 235 Hembree Park Drive Roswell GA 30076 Tel: (770)-510- ext. 81642 Direct: (770)-688-1642 Fax: (770)-510-4445 ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
[PATCH] Updating default termios initialization for dedicated input/output baud rates
--- cpukit/libcsupport/src/termios.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cpukit/libcsupport/src/termios.c b/cpukit/libcsupport/src/termios.c index 6557135..2fb9d4f 100644 --- a/cpukit/libcsupport/src/termios.c +++ b/cpukit/libcsupport/src/termios.c @@ -578,10 +578,13 @@ rtems_termios_open_tty( */ tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL; tty->termios.c_oflag = OPOST | ONLCR | XTABS; -tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL; +tty->termios.c_cflag = CS8 | CREAD | CLOCAL; tty->termios.c_lflag = ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL; +tty->termios.c_ispeed = B9600; +tty->termios.c_ospeed = B9600; + tty->termios.c_cc[VINTR] = '\003'; tty->termios.c_cc[VQUIT] = '\034'; tty->termios.c_cc[VERASE] = '\177'; -- 1.9.1 ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
Re: Ticket 2897
Done. I edited the message a bit to include the ticket. --joel On Mon, Apr 10, 2017 at 8:36 AM, Kirspel, Kevin wrote: > I will be sending a small patch for ticket 2897. It updates the default > initialization of the termios structure. I know Sebastian is out on > holiday so if someone can process the patch through the ticket I would > appreciated it. > > > > Kevin Kirspel > > Electrical Engineer - Sr. Staff > > Idexx Roswell > > 235 Hembree Park Drive > > Roswell GA 30076 > > Tel: (770)-510- ext. 81642 <(770)%20510-> > > Direct: (770)-688-1642 <(770)%20688-1642> > > Fax: (770)-510-4445 <(770)%20510-4445> > > > > ___ > devel mailing list > devel@rtems.org > http://lists.rtems.org/mailman/listinfo/devel > ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
Re: [PATCH 1/9] libbsp/powerpc/./pci/detect_raven_bridge.c: Use inttypes.h to fix 1 warning.
All of these patches look good to me. I will try to apply them today. Thanks. --joel On Sat, Apr 8, 2017 at 6:30 AM, Cillian O'Donnell wrote: > --- > c/src/lib/libbsp/powerpc/shared/pci/detect_raven_bridge.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/c/src/lib/libbsp/powerpc/shared/pci/detect_raven_bridge.c > b/c/src/lib/libbsp/powerpc/shared/pci/detect_raven_bridge.c > index fc2127e..423dc6f 100644 > --- a/c/src/lib/libbsp/powerpc/shared/pci/detect_raven_bridge.c > +++ b/c/src/lib/libbsp/powerpc/shared/pci/detect_raven_bridge.c > @@ -1,5 +1,6 @@ > #include > #include > +#include > > #include > #include > @@ -149,7 +150,7 @@ void detect_host_bridge(void) >} >pci_read_config_dword(0, 0, 0, 0, &id0); > #ifdef SHOW_RAVEN_SETTINGS > - printk("idreg 0 = 0x%x\n",id0); > + printk("idreg 0 = 0x%" PRIu32 "\n",id0); > #endif >if((id0 == PCI_VENDOR_ID_MOTOROLA + >(PCI_DEVICE_ID_MOTOROLA_RAVEN<<16)) || > -- > 2.7.4 > > ___ > devel mailing list > devel@rtems.org > http://lists.rtems.org/mailman/listinfo/devel > ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel