[rtems commit] pc386/console/conscfg.c: Fix name of Edison console

Joel Sherrill joel at rtems.org
Thu Mar 17 22:44:30 UTC 2016


Module:    rtems
Branch:    master
Commit:    0d2067c4516cb5c298f731ec1df34a6742d82301
Changeset: http://git.rtems.org/rtems/commit/?id=0d2067c4516cb5c298f731ec1df34a6742d82301

Author:    Joel Sherrill <joel at rtems.org>
Date:      Thu Mar 17 17:42:55 2016 -0500

pc386/console/conscfg.c: Fix name of Edison console

---

 c/src/lib/libbsp/i386/pc386/console/conscfg.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/c/src/lib/libbsp/i386/pc386/console/conscfg.c b/c/src/lib/libbsp/i386/pc386/console/conscfg.c
index e59498b..5b7ebc5 100644
--- a/c/src/lib/libbsp/i386/pc386/console/conscfg.c
+++ b/c/src/lib/libbsp/i386/pc386/console/conscfg.c
@@ -49,13 +49,13 @@
   {
     register uint8_t val;
 
-    inport_byte( (addr + i),val );
+    inport_byte( (addr + i), val );
     return val;
   }
 
   static void com_set_register(uint32_t addr, uint8_t i, uint8_t val)
   {
-    outport_byte( (addr + i),val );
+    outport_byte( (addr + i), val );
   }
 
   extern bool pc386_com1_com4_enabled(int);
@@ -68,7 +68,7 @@
 console_tbl     Console_Configuration_Ports[] = {
 #if (BSP_IS_EDISON == 1)
   {
-    "/dev/vgacons",                        /* sDeviceName */
+    "/dev/com1",                           /* sDeviceName */
     -1,                                    /* deviceType */
     &edison_fns,                           /* pDeviceFns */
     NULL,                                  /* deviceProbe */




More information about the vc mailing list