This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Re: cyg_io_init problems


>>>>> "Carl" == Carl van Schaik <carl@leg.uct.ac.za> writes:

Carl> This works, but there is still a problem: It only compiles
Carl> correctly from a clean compile once you start working on files
Carl> and recompiling, the offset is messed up again.

Please try this patch instead. It should fix the problem properly.

Jesper



Index: ChangeLog
===================================================================
RCS file: /local/cvsfiles/ecc/ecc/io/common/current/ChangeLog,v
retrieving revision 1.29
diff -u -5 -r1.29 ChangeLog
--- ChangeLog	2000/09/04 18:12:14	1.29
+++ ChangeLog	2000/09/07 12:34:57
@@ -1,5 +1,9 @@
+2000-09-07  Jesper Skov  <jskov@redhat.com>
+
+	* include/devtab.h (cyg_devtab_entry_t): Fix syntax problem.
+
 2000-09-04  Jonathan Larmour  <jlarmour@redhat.com>
 
 	* include/devtab.h (cyg_devtab_entry_t): Apply CYG_HAL_TABLE_TYPE	
 
 2000-08-01  Jonathan Larmour  <jlarmour@redhat.co.uk>
Index: include/devtab.h
===================================================================
RCS file: /local/cvsfiles/ecc/ecc/io/common/current/include/devtab.h,v
retrieving revision 1.8
diff -u -5 -r1.8 devtab.h
--- include/devtab.h	2000/09/04 18:12:14	1.8
+++ include/devtab.h	2000/09/07 12:11:01
@@ -130,11 +130,11 @@
     Cyg_ErrNo        (*lookup)(struct cyg_devtab_entry **tab, 
                                struct cyg_devtab_entry *sub_tab,
                                const char *name);
     void              *priv;
     unsigned long     status;
-} cyg_devtab_entry_t CYG_HAL_TABLE_TYPE;
+} CYG_HAL_TABLE_TYPE cyg_devtab_entry_t;
 
 #define CYG_DEVTAB_STATUS_AVAIL   0x0001
 #define CYG_DEVTAB_STATUS_CHAR    0x1000
 #define CYG_DEVTAB_STATUS_BLOCK   0x2000
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]