# HG changeset patch # User gthomas # Date 1048011518 0 # Node ID e34f641b6e5c602be3c53a494de1d64ca9475fa9 # Parent cd69699b7e0b0bc31b6c9dc972b8eebcca30d50f Fix inconsistent use of CYG_IO_SET_CONFIG_SERIAL_HW_RX_FLOW_THROTTLE "flag" diff --git a/packages/devs/serial/arm/integrator/current/ChangeLog b/packages/devs/serial/arm/integrator/current/ChangeLog --- 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 + + * 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 * cdl/ser_arm_integrator.cdl: Remove irrelevant doc link. diff --git 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 --- 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; diff --git a/packages/devs/serial/generic/16x5x/current/ChangeLog b/packages/devs/serial/generic/16x5x/current/ChangeLog --- 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 + + * 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 * cdl/ser_generic_16x5x.cdl: Remove irrelevant doc link. diff --git a/packages/devs/serial/generic/16x5x/current/src/ser_16x5x.c b/packages/devs/serial/generic/16x5x/current/src/ser_16x5x.c --- 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; diff --git a/packages/devs/serial/sh/scif/current/ChangeLog b/packages/devs/serial/sh/scif/current/ChangeLog --- 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 + + * 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 * cdl/ser_sh_scif.cdl: Remove irrelevant doc link. diff --git a/packages/devs/serial/sh/scif/current/src/sh_scif_serial.c b/packages/devs/serial/sh/scif/current/src/sh_scif_serial.c --- 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;