changeset 841:e34f641b6e5c

Fix inconsistent use of CYG_IO_SET_CONFIG_SERIAL_HW_RX_FLOW_THROTTLE "flag"
author gthomas
date Tue, 18 Mar 2003 18:18:38 +0000
parents cd69699b7e0b
children 3c5c8c8ffa30
files packages/devs/serial/arm/integrator/current/ChangeLog packages/devs/serial/arm/integrator/current/src/integrator_serial_with_ints.c packages/devs/serial/generic/16x5x/current/ChangeLog packages/devs/serial/generic/16x5x/current/src/ser_16x5x.c packages/devs/serial/sh/scif/current/ChangeLog packages/devs/serial/sh/scif/current/src/sh_scif_serial.c
diffstat 6 files changed, 18 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/packages/devs/serial/arm/integrator/current/ChangeLog
+++ b/packages/devs/serial/arm/integrator/current/ChangeLog
@@ -1,3 +1,8 @@
+2003-03-18  Gary Thomas  <gary@mlbassoc.com>
+
+	* src/integrator_serial_with_ints.c (integrator_serial_set_config): 
+	Flag for CYG_IO_SET_CONFIG_SERIAL_HW_RX_FLOW_THROTTLE is 32 bits.
+	
 2003-02-24  Jonathan Larmour  <jifl@eCosCentric.com>
 
 	* cdl/ser_arm_integrator.cdl: Remove irrelevant doc link.
--- a/packages/devs/serial/arm/integrator/current/src/integrator_serial_with_ints.c
+++ b/packages/devs/serial/arm/integrator/current/src/integrator_serial_with_ints.c
@@ -323,7 +323,7 @@ integrator_serial_set_config(serial_chan
     case CYG_IO_SET_CONFIG_SERIAL_HW_RX_FLOW_THROTTLE:
       {
           volatile struct serial_port *port = (volatile struct serial_port *)integrator_chan->base;
-          cyg_uint8 *f = (cyg_uint8 *)xbuf;
+          cyg_uint32 *f = (cyg_uint32 *)xbuf;
           unsigned char mask=0;
           if ( *len < *f )
               return -EINVAL;
--- a/packages/devs/serial/generic/16x5x/current/ChangeLog
+++ b/packages/devs/serial/generic/16x5x/current/ChangeLog
@@ -1,3 +1,8 @@
+2003-03-18  Gary Thomas  <gary@mlbassoc.com>
+
+	* src/ser_16x5x.c (pc_serial_set_config): 
+	Flag for CYG_IO_SET_CONFIG_SERIAL_HW_RX_FLOW_THROTTLE is 32 bits.
+	
 2003-02-24  Jonathan Larmour  <jifl@eCosCentric.com>
 
 	* cdl/ser_generic_16x5x.cdl: Remove irrelevant doc link.
--- a/packages/devs/serial/generic/16x5x/current/src/ser_16x5x.c
+++ b/packages/devs/serial/generic/16x5x/current/src/ser_16x5x.c
@@ -423,7 +423,7 @@ pc_serial_set_config(serial_channel *cha
           cyg_uint8 _mcr;
           pc_serial_info *ser_chan = (pc_serial_info *)chan->dev_priv;
           cyg_addrword_t base = ser_chan->base;
-          cyg_uint8 *f = (cyg_uint8 *)xbuf;
+          cyg_uint32 *f = (cyg_uint32 *)xbuf;
           unsigned char mask=0;
           if ( *len < sizeof(*f) )
               return -EINVAL;
--- a/packages/devs/serial/sh/scif/current/ChangeLog
+++ b/packages/devs/serial/sh/scif/current/ChangeLog
@@ -1,3 +1,8 @@
+2003-03-18  Gary Thomas  <gary@mlbassoc.com>
+
+	* src/sh_scif_serial.c (sh_scif_set_config): 
+	Flag for CYG_IO_SET_CONFIG_SERIAL_HW_RX_FLOW_THROTTLE is 32 bits.
+
 2003-02-24  Jonathan Larmour  <jifl@eCosCentric.com>
 
 	* cdl/ser_sh_scif.cdl: Remove irrelevant doc link.
--- a/packages/devs/serial/sh/scif/current/src/sh_scif_serial.c
+++ b/packages/devs/serial/sh/scif/current/src/sh_scif_serial.c
@@ -528,7 +528,7 @@ sh_scif_set_config(serial_channel *chan,
       {
           sh_scif_info *ser_chan = (sh_scif_info *)chan->dev_priv;
           cyg_addrword_t base = ser_chan->ctrl_base;
-          cyg_uint8 *f = (cyg_uint8 *)xbuf;
+          cyg_uint32 *f = (cyg_uint32 *)xbuf;
           if ( *len < *f )
               return -EINVAL;