changeset 1684:3cd6f4cd3db2

* src/synthdisk.c: Updated to work with the new DISK_CHANNEL macro definition.
author asl
date Thu, 01 Jul 2004 13:02:08 +0000
parents b4a8ef318076
children b1d2762b2eec
files packages/devs/disk/synth/current/ChangeLog packages/devs/disk/synth/current/src/synthdisk.c
diffstat 2 files changed, 10 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/packages/devs/disk/synth/current/ChangeLog
+++ b/packages/devs/disk/synth/current/ChangeLog
@@ -1,3 +1,8 @@
+2004-07-01  Savin Zlobec  <savin@elatec.si> 
+
+        * src/synthdisk.c:
+        Updated to work with the new DISK_CHANNEL macro definition.
+
 2004-01-15  Nick Garnett  <nickg@calivar.com>
 
 	* cdl/synthdisk.cdl:
--- a/packages/devs/disk/synth/current/src/synthdisk.c
+++ b/packages/devs/disk/synth/current/src/synthdisk.c
@@ -123,10 +123,11 @@ static synth_disk_info_t synth_disk_info
     filefd:        -1,                                                     \
     filename:      CYGDAT_IO_DISK_ECOSYNTH_DISK##_number_##_FILENAME       \
 };                                                                         \
-static DISK_CHANNEL(synth_disk_channel##_number_,                          \
-                    synth_disk_funs,                                       \
-                    synth_disk_info##_number_,                             \
-                    _mbr_supp_                                             \
+DISK_CHANNEL(synth_disk_channel##_number_,                                 \
+             synth_disk_funs,                                              \
+             synth_disk_info##_number_,                                    \
+             _mbr_supp_,                                                   \
+             4                                                             \
 );                                                                         \
 BLOCK_DEVTAB_ENTRY(synth_disk_io##_number_,                                \
              CYGDAT_IO_DISK_ECOSYNTH_DISK##_number_##_NAME,                \