changeset 267:797015ac62f3

Remove 'const' from channel information - it _can_ change (timeout period).
author gthomas
date Tue, 06 Aug 2002 16:00:08 +0000
parents 2f403b92a5ac
children 2fd40a752de4
files packages/hal/arm/cma230/current/ChangeLog packages/hal/arm/cma230/current/src/hal_diag.c packages/hal/arm/iq80310/current/ChangeLog packages/hal/arm/iq80310/current/src/hal_diag.c packages/hal/calmrisc16/ceb/current/ChangeLog packages/hal/calmrisc16/ceb/current/src/ser.c packages/hal/calmrisc32/ceb/current/ChangeLog packages/hal/calmrisc32/ceb/current/src/ser.c packages/hal/mips/atlas/current/ChangeLog packages/hal/mips/atlas/current/src/ser16c550c.c packages/hal/mips/malta/current/ChangeLog packages/hal/mips/malta/current/src/ser16c550c.c packages/hal/mips/ref4955/current/ChangeLog packages/hal/mips/ref4955/current/src/pc87338.c packages/hal/mips/vrc437x/current/ChangeLog packages/hal/mips/vrc437x/current/src/plf_serial.c packages/hal/mn10300/asb/current/ChangeLog packages/hal/mn10300/asb/current/src/ser_asb.c packages/hal/mn10300/stb/current/ChangeLog packages/hal/mn10300/stb/current/src/ser_stb.c packages/hal/powerpc/cogent/current/ChangeLog packages/hal/powerpc/cogent/current/src/hal_diag.c packages/hal/sh/hs7729pci/current/ChangeLog packages/hal/sh/hs7729pci/current/src/ser16c550c.c packages/hal/sh/se7751/current/ChangeLog packages/hal/sh/se7751/current/src/ser16c550c.c packages/hal/sh/se77x9/current/ChangeLog packages/hal/sh/se77x9/current/src/ser16c550c.c packages/hal/sh/sh2/current/ChangeLog packages/hal/sh/sh2/current/src/sh2_sci.c packages/hal/sh/sh2/current/src/sh2_scif.c packages/hal/sh/sh3/current/ChangeLog packages/hal/sh/sh3/current/include/sh3_sci.h packages/hal/sh/sh3/current/include/sh3_scif.h packages/hal/sh/sh3/current/src/sh3_sci.c packages/hal/sh/sh3/current/src/sh3_scif.c packages/hal/sh/sh4/current/ChangeLog packages/hal/sh/sh4/current/include/sh4_scif.h packages/hal/sh/sh4/current/src/sh4_scif.c
diffstat 39 files changed, 132 insertions(+), 25 deletions(-) [+]
line wrap: on
line diff
--- a/packages/hal/arm/cma230/current/ChangeLog
+++ b/packages/hal/arm/cma230/current/ChangeLog
@@ -1,3 +1,9 @@
+2002-08-06  Gary Thomas  <gary@chez-thomas.org>
+2002-08-06  Motoya Kurotsu <kurotsu@allied-telesis.co.jp>	
+
+	* src/hal_diag.c: I/O channel data can't be constant - contains
+	timeout information which can be changed.
+
 2002-05-23  Jesper Skov  <jskov@redhat.com>
 
 	* cdl/hal_arm_cma230.cdl: Don't run cache tests.
--- a/packages/hal/arm/cma230/current/src/hal_diag.c
+++ b/packages/hal/arm/cma230/current/src/hal_diag.c
@@ -194,7 +194,7 @@ typedef struct {
 
 //-----------------------------------------------------------------------------
 static void
-init_serial_channel(const channel_data_t* __ch_data)
+init_serial_channel(channel_data_t* __ch_data)
 {
     cyg_uint8* base = __ch_data->base;
     cyg_uint8 lcr;
@@ -262,7 +262,7 @@ cyg_hal_plf_serial_putc(void* __ch_data,
     CYGARC_HAL_RESTORE_GP();
 }
 
-static const channel_data_t channels[2] = {
+static channel_data_t channels[2] = {
     { (cyg_uint8*)CMA101_DUARTA, 1000, CYGNUM_HAL_INTERRUPT_SERIAL_A},
     { (cyg_uint8*)CMA101_DUARTB, 1000, CYGNUM_HAL_INTERRUPT_SERIAL_B}
 };
--- a/packages/hal/arm/iq80310/current/ChangeLog
+++ b/packages/hal/arm/iq80310/current/ChangeLog
@@ -1,3 +1,9 @@
+2002-08-06  Gary Thomas  <gary@chez-thomas.org>
+2002-08-06  Motoya Kurotsu <kurotsu@allied-telesis.co.jp>	
+
+	* src/hal_diag.c: I/O channel data can't be constant - contains
+	timeout information which can be changed.
+
 2002-05-28  Mark Salter  <msalter@redhat.com>
 
 	* cdl/hal_arm_iq80310.cdl: Add Linux boot support.
--- a/packages/hal/arm/iq80310/current/src/hal_diag.c
+++ b/packages/hal/arm/iq80310/current/src/hal_diag.c
@@ -203,7 +203,7 @@ set_baud( channel_data_t *chan )
 }
 
 static void
-init_serial_channel(const channel_data_t* __ch_data)
+init_serial_channel(channel_data_t* __ch_data)
 {
     cyg_uint8* base = __ch_data->base;
     channel_data_t* chan = (channel_data_t*)__ch_data;
@@ -264,7 +264,7 @@ cyg_hal_plf_serial_putc(void* __ch_data,
     CYGARC_HAL_RESTORE_GP();
 }
 
-static const channel_data_t channels[2] = {
+static channel_data_t channels[2] = {
     { (cyg_uint8*)CYG_DEV_SERIAL_BASE_A, 1000, CYGNUM_HAL_INTERRUPT_SERIAL_A},
     { (cyg_uint8*)CYG_DEV_SERIAL_BASE_B, 1000, CYGNUM_HAL_INTERRUPT_SERIAL_B}
 };
--- a/packages/hal/calmrisc16/ceb/current/ChangeLog
+++ b/packages/hal/calmrisc16/ceb/current/ChangeLog
@@ -1,3 +1,9 @@
+2002-08-06  Gary Thomas  <gary@chez-thomas.org>
+2002-08-06  Motoya Kurotsu <kurotsu@allied-telesis.co.jp>	
+
+	* src/ser.c: I/O channel data can't be constant - contains
+	timeout information which can be changed.
+
 2001-05-09  Mark Salter  <msalter@redhat.com>
 
 	* include/plf_intr.h: Make hal_delay_us argument a cyg_uint32.
--- a/packages/hal/calmrisc16/ceb/current/src/ser.c
+++ b/packages/hal/calmrisc16/ceb/current/src/ser.c
@@ -76,7 +76,7 @@ typedef struct {
     int isr_vector;
 } channel_data_t;
 
-static const channel_data_t channels[1] = {
+static channel_data_t channels[1] = {
     { (cyg_uint8*)0, 1000, 0}
 };
 
--- a/packages/hal/calmrisc32/ceb/current/ChangeLog
+++ b/packages/hal/calmrisc32/ceb/current/ChangeLog
@@ -1,3 +1,9 @@
+2002-08-06  Gary Thomas  <gary@chez-thomas.org>
+2002-08-06  Motoya Kurotsu <kurotsu@allied-telesis.co.jp>	
+
+	* src/ser.c: I/O channel data can't be constant - contains
+	timeout information which can be changed.
+
 2001-03-26  Mark Salter  <msalter@redhat.com>
 
 	* src/plf_misc.c (hal_delay_us): Fix loop count for better accuracy.
--- a/packages/hal/calmrisc32/ceb/current/src/ser.c
+++ b/packages/hal/calmrisc32/ceb/current/src/ser.c
@@ -76,7 +76,7 @@ typedef struct {
     int isr_vector;
 } channel_data_t;
 
-static const channel_data_t channels[1] = {
+static channel_data_t channels[1] = {
     { (cyg_uint8*)0, 1000, 0}
 };
 
--- a/packages/hal/mips/atlas/current/ChangeLog
+++ b/packages/hal/mips/atlas/current/ChangeLog
@@ -1,3 +1,9 @@
+2002-08-06  Gary Thomas  <gary@chez-thomas.org>
+2002-08-06  Motoya Kurotsu <kurotsu@allied-telesis.co.jp>	
+
+	* src/ser16c550c.c: I/O channel data can't be constant - contains
+	timeout information which can be changed.
+
 2001-10-31  Jonathan Larmour  <jlarmour@redhat.com>
 
 	* cdl/hal_mips_atlas.cdl: Indicate support of variable baud rates.
--- a/packages/hal/mips/atlas/current/src/ser16c550c.c
+++ b/packages/hal/mips/atlas/current/src/ser16c550c.c
@@ -215,7 +215,7 @@ typedef struct {
     int isr_vector;
 } channel_data_t;
 
-static const channel_data_t channels[1] = {
+static channel_data_t channels[1] = {
     { (cyg_uint8*)ATLAS_SER_16550_BASE, 1000, CYGNUM_HAL_INTERRUPT_DEBUG_UART}
 };
 
--- a/packages/hal/mips/malta/current/ChangeLog
+++ b/packages/hal/mips/malta/current/ChangeLog
@@ -1,3 +1,9 @@
+2002-08-06  Gary Thomas  <gary@chez-thomas.org>
+2002-08-06  Motoya Kurotsu <kurotsu@allied-telesis.co.jp>	
+
+	* src/ser16c550c.c: I/O channel data can't be constant - contains
+	timeout information which can be changed.
+
 2002-02-11  Jesper Skov  <jskov@redhat.com>
 
 	* include/platform.inc: Added hal_intc_translate that knows about
--- a/packages/hal/mips/malta/current/src/ser16c550c.c
+++ b/packages/hal/mips/malta/current/src/ser16c550c.c
@@ -179,7 +179,7 @@ typedef struct {
     int isr_vector;
 } channel_data_t;
 
-static const channel_data_t channels[2] = {
+static channel_data_t channels[2] = {
     { (cyg_uint8*)MALTA_SER_16550_BASE_A, 1000, CYGNUM_HAL_INTERRUPT_TTY0},
     { (cyg_uint8*)MALTA_SER_16550_BASE_B, 1000, CYGNUM_HAL_INTERRUPT_TTY1}
 };
--- a/packages/hal/mips/ref4955/current/ChangeLog
+++ b/packages/hal/mips/ref4955/current/ChangeLog
@@ -1,3 +1,9 @@
+2002-08-06  Gary Thomas  <gary@chez-thomas.org>
+2002-08-06  Motoya Kurotsu <kurotsu@allied-telesis.co.jp>	
+
+	* src/pc87338.c: I/O channel data can't be constant - contains
+	timeout information which can be changed.
+
 2002-05-13  Jesper Skov  <jskov@redhat.com>
 
 	* cdl/hal_mips_tx49_ref4955.cdl: Removed implemntation of
--- a/packages/hal/mips/ref4955/current/src/pc87338.c
+++ b/packages/hal/mips/ref4955/current/src/pc87338.c
@@ -226,7 +226,7 @@ cyg_hal_plf_serial_getc(void* __ch_data)
     return ch;
 }
 
-static const channel_data_t channels[2] = {
+static channel_data_t channels[2] = {
     { (cyg_uint8*)CYG_DEVICE_SERIAL_SCC1, 1000, CYGNUM_HAL_INTERRUPT_DEBUG_UART},
     { (cyg_uint8*)CYG_DEVICE_SERIAL_SCC2, 1000, CYGNUM_HAL_INTERRUPT_USER_UART}
 };
--- a/packages/hal/mips/vrc437x/current/ChangeLog
+++ b/packages/hal/mips/vrc437x/current/ChangeLog
@@ -1,3 +1,9 @@
+2002-08-06  Gary Thomas  <gary@chez-thomas.org>
+2002-08-06  Motoya Kurotsu <kurotsu@allied-telesis.co.jp>	
+
+	* src/plf_serial.c: I/O channel data can't be constant - contains
+	timeout information which can be changed.
+
 2001-10-31  Jonathan Larmour  <jlarmour@redhat.com>
 
 	* cdl/hal_mips_vr4300_vrc437x.cdl: Indicate support of variable baud
--- a/packages/hal/mips/vrc437x/current/src/plf_serial.c
+++ b/packages/hal/mips/vrc437x/current/src/plf_serial.c
@@ -95,7 +95,7 @@ typedef struct {
     int isr_vector;
 } channel_data_t;
 
-static const channel_data_t channels[2] = {
+static channel_data_t channels[2] = {
     { DUART_A, 1000, CYGNUM_HAL_INTERRUPT_DUART},
     { DUART_B, 1000, CYGNUM_HAL_INTERRUPT_DUART}
 };
--- a/packages/hal/mn10300/asb/current/ChangeLog
+++ b/packages/hal/mn10300/asb/current/ChangeLog
@@ -1,3 +1,9 @@
+2002-08-06  Gary Thomas  <gary@chez-thomas.org>
+2002-08-06  Motoya Kurotsu <kurotsu@allied-telesis.co.jp>	
+
+	* src/ser_asb.c: I/O channel data can't be constant - contains
+	timeout information which can be changed.
+
 2001-10-31  Jonathan Larmour  <jlarmour@redhat.com>
 
 	* cdl/hal_mn10300_am33_asb.cdl: Indicate support of variable baud rates.
--- a/packages/hal/mn10300/asb/current/src/ser_asb.c
+++ b/packages/hal/mn10300/asb/current/src/ser_asb.c
@@ -177,7 +177,7 @@ typedef struct {
     int isr_vector;
 } channel_data_t;
 
-static const channel_data_t channels[2] = {
+static channel_data_t channels[2] = {
     { (cyg_uint8*)ASB2303_SER1_BASE, 1000, CYGNUM_HAL_INTERRUPT_SERIAL_1_RX },
     { (cyg_uint8*)ASB2303_SER0_BASE, 1000, CYGNUM_HAL_INTERRUPT_SERIAL_0_RX },
 };
--- a/packages/hal/mn10300/stb/current/ChangeLog
+++ b/packages/hal/mn10300/stb/current/ChangeLog
@@ -1,3 +1,9 @@
+2002-08-06  Gary Thomas  <gary@chez-thomas.org>
+2002-08-06  Motoya Kurotsu <kurotsu@allied-telesis.co.jp>	
+
+	* src/ser_stb.c: I/O channel data can't be constant - contains
+	timeout information which can be changed.
+
 2001-10-31  Jonathan Larmour  <jlarmour@redhat.com>
 
 	* cdl/hal_mn10300_am33_stb.cdl: Indicate support of variable baud rates.
--- a/packages/hal/mn10300/stb/current/src/ser_stb.c
+++ b/packages/hal/mn10300/stb/current/src/ser_stb.c
@@ -177,7 +177,7 @@ typedef struct {
     int isr_vector;
 } channel_data_t;
 
-static const channel_data_t channels[2] = {
+static channel_data_t channels[2] = {
     { (cyg_uint8*)STB_SER0_BASE, 1000, CYGNUM_HAL_INTERRUPT_SERIAL_0_RX },
     { (cyg_uint8*)STB_SER1_BASE, 1000, CYGNUM_HAL_INTERRUPT_SERIAL_1_RX },
 };
--- a/packages/hal/powerpc/cogent/current/ChangeLog
+++ b/packages/hal/powerpc/cogent/current/ChangeLog
@@ -1,3 +1,9 @@
+2002-08-06  Gary Thomas  <gary@chez-thomas.org>
+2002-08-06  Motoya Kurotsu <kurotsu@allied-telesis.co.jp>	
+
+	* src/hal_diag.c: I/O channel data can't be constant - contains
+	timeout information which can be changed.
+
 2002-06-27  Gary Thomas  <gary@chez-thomas.org>
 
 	* include/plf_regs.h: New file - platform overrides.
--- a/packages/hal/powerpc/cogent/current/src/hal_diag.c
+++ b/packages/hal/powerpc/cogent/current/src/hal_diag.c
@@ -171,7 +171,7 @@ typedef struct {
 
 //-----------------------------------------------------------------------------
 static void
-init_serial_channel(const channel_data_t* __ch_data)
+init_serial_channel(channel_data_t* __ch_data)
 {
     cyg_uint8* base = __ch_data->base;
     cyg_uint8 lcr;
@@ -266,7 +266,7 @@ cyg_hal_plf_serial_putc(void* __ch_data,
     CYGARC_HAL_RESTORE_GP();
 }
 
-static const channel_data_t channels[2] = {
+static channel_data_t channels[2] = {
     { (cyg_uint8*)CYG_DEV_SERIAL_BASE_A, 1000, CYGNUM_HAL_INTERRUPT_SIU_IRQ1},
     { (cyg_uint8*)CYG_DEV_SERIAL_BASE_B, 1000, CYGNUM_HAL_INTERRUPT_SIU_IRQ1}
 };
--- a/packages/hal/sh/hs7729pci/current/ChangeLog
+++ b/packages/hal/sh/hs7729pci/current/ChangeLog
@@ -1,3 +1,9 @@
+2002-08-06  Gary Thomas  <gary@chez-thomas.org>
+2002-08-06  Motoya Kurotsu <kurotsu@allied-telesis.co.jp>	
+
+	* src/ser16c550c.c: I/O channel data can't be constant - contains
+	timeout information which can be changed.
+
 2002-05-08  Jesper Skov  <jskov@redhat.com>
 
 	* src/hal_diag.c: Serial register renaming.
--- a/packages/hal/sh/hs7729pci/current/src/ser16c550c.c
+++ b/packages/hal/sh/hs7729pci/current/src/ser16c550c.c
@@ -193,7 +193,7 @@ typedef struct {
     int isr_vector;
 } channel_data_t;
 
-static const channel_data_t channels[2] = {
+static channel_data_t channels[2] = {
     { (cyg_uint8*)HS7729PCI_SER_16550_BASE_A, 1000, CYGNUM_HAL_INTERRUPT_UIO_IRQ3 },
     { (cyg_uint8*)HS7729PCI_SER_16550_BASE_B, 1000, CYGNUM_HAL_INTERRUPT_UIO_IRQ4 }
 };
--- a/packages/hal/sh/se7751/current/ChangeLog
+++ b/packages/hal/sh/se7751/current/ChangeLog
@@ -1,3 +1,9 @@
+2002-08-06  Gary Thomas  <gary@chez-thomas.org>
+2002-08-06  Motoya Kurotsu <kurotsu@allied-telesis.co.jp>	
+
+	* src/ser16c550c.c: I/O channel data can't be constant - contains
+	timeout information which can be changed.
+
 2002-05-08  Jesper Skov  <jskov@redhat.com>
 
 	* src/hal_diag.c: Serial register renaming.
--- a/packages/hal/sh/se7751/current/src/ser16c550c.c
+++ b/packages/hal/sh/se7751/current/src/ser16c550c.c
@@ -193,7 +193,7 @@ typedef struct {
     int isr_vector;
 } channel_data_t;
 
-static const channel_data_t channels[1] = {
+static channel_data_t channels[1] = {
     { (cyg_uint8*)SE77X9_SER_16550_BASE_A, 1000, CYGNUM_HAL_INTERRUPT_PC_SIRQ4 },
 };
 
--- a/packages/hal/sh/se77x9/current/ChangeLog
+++ b/packages/hal/sh/se77x9/current/ChangeLog
@@ -1,3 +1,9 @@
+2002-08-06  Gary Thomas  <gary@chez-thomas.org>
+2002-08-06  Motoya Kurotsu <kurotsu@allied-telesis.co.jp>	
+
+	* src/ser16c550c.c: I/O channel data can't be constant - contains
+	timeout information which can be changed.
+
 2002-05-08  Jesper Skov  <jskov@redhat.com>
 
 	* src/hal_diag.c: Serial register renaming.
--- a/packages/hal/sh/se77x9/current/src/ser16c550c.c
+++ b/packages/hal/sh/se77x9/current/src/ser16c550c.c
@@ -195,7 +195,7 @@ typedef struct {
     int isr_vector;
 } channel_data_t;
 
-static const channel_data_t channels[1] = {
+static channel_data_t channels[1] = {
     { (cyg_uint8*)SE77X9_SER_16550_BASE_A, 1000, CYGNUM_HAL_INTERRUPT_COM1 },
 };
 
--- a/packages/hal/sh/sh2/current/ChangeLog
+++ b/packages/hal/sh/sh2/current/ChangeLog
@@ -1,3 +1,10 @@
+2002-08-06  Gary Thomas  <gary@chez-thomas.org>
+2002-08-06  Motoya Kurotsu <kurotsu@allied-telesis.co.jp>	
+
+	* src/sh2_scif.c: 
+	* src/sh2_sci.c: I/O channel data can't be constant - contains
+	timeout information which can be changed.
+
 2002-05-22  Jesper Skov  <jskov@redhat.com>
 
 	* cdl/hal_sh_sh2.cdl: Select variant 7044 by default.
--- a/packages/hal/sh/sh2/current/src/sh2_sci.c
+++ b/packages/hal/sh/sh2/current/src/sh2_sci.c
@@ -69,7 +69,7 @@
 //--------------------------------------------------------------------------
 
 void
-cyg_hal_plf_sci_init_channel(const channel_data_t* chan)
+cyg_hal_plf_sci_init_channel(channel_data_t* chan)
 {
     cyg_uint8 tmp;
     cyg_uint8* base = chan->base;
--- a/packages/hal/sh/sh2/current/src/sh2_scif.c
+++ b/packages/hal/sh/sh2/current/src/sh2_scif.c
@@ -75,7 +75,7 @@
 //--------------------------------------------------------------------------
 
 void
-cyg_hal_plf_scif_init_channel(const channel_data_t* chan)
+cyg_hal_plf_scif_init_channel(channel_data_t* chan)
 {
     cyg_uint8* base = chan->base;
     cyg_uint8 tmp;
--- a/packages/hal/sh/sh3/current/ChangeLog
+++ b/packages/hal/sh/sh3/current/ChangeLog
@@ -1,3 +1,12 @@
+2002-08-06  Gary Thomas  <gary@chez-thomas.org>
+2002-08-06  Motoya Kurotsu <kurotsu@allied-telesis.co.jp>	
+
+	* src/sh3_scif.c: 
+	* src/sh3_sci.c: 
+	* include/sh3_scif.h: 
+	* include/sh3_sci.h: I/O channel data can't be constant - contains
+	timeout information which can be changed.
+
 2002-05-22  Jesper Skov  <jskov@redhat.com>
 
 	* cdl/hal_sh_sh3.cdl: Select variant 7709A by default.
--- a/packages/hal/sh/sh3/current/include/sh3_sci.h
+++ b/packages/hal/sh/sh3/current/include/sh3_sci.h
@@ -87,7 +87,7 @@ typedef struct {
 
 #if !defined(CYGSEM_HAL_VIRTUAL_VECTOR_DIAG)
 // This one should only be used by old-stub compatibility code!
-externC void cyg_hal_plf_sci_init_channel(const channel_data_t* chan);
+externC void cyg_hal_plf_sci_init_channel(channel_data_t* chan);
 #warning "You should not be using anything but vv diag"
 #endif
 
--- a/packages/hal/sh/sh3/current/include/sh3_scif.h
+++ b/packages/hal/sh/sh3/current/include/sh3_scif.h
@@ -93,7 +93,7 @@ typedef struct {
 
 #if !defined(CYGSEM_HAL_VIRTUAL_VECTOR_DIAG)
 // This one should only be used by old-stub compatibility code!
-externC void cyg_hal_plf_scif_init_channel(const channel_data_t* chan);
+externC void cyg_hal_plf_scif_init_channel(channel_data_t* chan);
 #warning "You should not be using anything but vv diag"
 #endif
 
--- a/packages/hal/sh/sh3/current/src/sh3_sci.c
+++ b/packages/hal/sh/sh3/current/src/sh3_sci.c
@@ -69,7 +69,7 @@
 //--------------------------------------------------------------------------
 
 void
-cyg_hal_plf_sci_init_channel(const channel_data_t* chan)
+cyg_hal_plf_sci_init_channel(channel_data_t* chan)
 {
     cyg_uint8 tmp;
     cyg_uint8* base = chan->base;
--- a/packages/hal/sh/sh3/current/src/sh3_scif.c
+++ b/packages/hal/sh/sh3/current/src/sh3_scif.c
@@ -75,7 +75,7 @@
 //--------------------------------------------------------------------------
 
 void
-cyg_hal_plf_scif_init_channel(const channel_data_t* chan)
+cyg_hal_plf_scif_init_channel(channel_data_t* chan)
 {
     cyg_uint8* base = chan->base;
     cyg_uint8 tmp;
--- a/packages/hal/sh/sh4/current/ChangeLog
+++ b/packages/hal/sh/sh4/current/ChangeLog
@@ -1,3 +1,10 @@
+2002-08-06  Gary Thomas  <gary@chez-thomas.org>
+2002-08-06  Motoya Kurotsu <kurotsu@allied-telesis.co.jp>	
+
+	* src/sh4_scif.c: 
+	* include/sh4_scif.h: I/O channel data can't be constant - contains
+	timeout information which can be changed.
+
 2002-07-19  Larice Robert  <larice@vidisys.de>
 
 	* include/var_intr.h (CYGNUM_HAL_INTERRUPT_IRL0..3): Fixed
--- a/packages/hal/sh/sh4/current/include/sh4_scif.h
+++ b/packages/hal/sh/sh4/current/include/sh4_scif.h
@@ -91,7 +91,7 @@ typedef struct {
 
 #if !defined(CYGSEM_HAL_VIRTUAL_VECTOR_DIAG)
 // This one should only be used by old-stub compatibility code!
-externC void cyg_hal_plf_scif_init_channel(const channel_data_t* chan);
+externC void cyg_hal_plf_scif_init_channel(channel_data_t* chan);
 #warning "You should not be using anything but vv diag"
 #endif
 
--- a/packages/hal/sh/sh4/current/src/sh4_scif.c
+++ b/packages/hal/sh/sh4/current/src/sh4_scif.c
@@ -71,7 +71,7 @@
 //--------------------------------------------------------------------------
 
 void
-cyg_hal_plf_scif_init_channel(const channel_data_t* chan)
+cyg_hal_plf_scif_init_channel(channel_data_t* chan)
 {
     cyg_uint8* base = chan->base;
     cyg_uint16 tmp;