This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
mod_regs_cpg.h for SH3
- From: Kenichi Nakamura <nakamura at redhat dot com>
- To: ecos-patches at sources dot redhat dot com
- Cc: kasai at heart-pot dot co dot jp, embedded-jp at redhat dot com
- Date: Thu, 13 Jun 2002 14:27:10 +0900
- Subject: mod_regs_cpg.h for SH3
- Organization: Red Hat K.K.
Hi eCos maintainer,
Mr. Hiroshi Kasai, a eCos user in Japan, found a bug for
ecos/packages/hal/sh/sh3/current/include/mod_regs_cpg.h
and reported us.
So, I'll send you a patch that fix the problem instead of him.
[nakamura@station75 include]$ diff -up mod_regs_cpg.h.org mod_regs_cpg.h
--- mod_regs_cpg.h.org Thu Jun 13 12:01:53 2002
+++ mod_regs_cpg.h Thu Jun 13 14:10:09 2002
@@ -200,7 +200,7 @@
#elif (CYGHWR_HAL_SH_OOC_DIVIDER_2 == 4)
# define CYGARC_REG_FRQCR_INIT_DIVIDER2 0x0002
#elif (CYGHWR_HAL_SH_OOC_DIVIDER_2 == 6)
-# define CYGARC_REG_FRQCR_INIT_DIVIDER2 0x2002
+# define CYGARC_REG_FRQCR_INIT_DIVIDER2 0x2001
#else
# error "Unsupported Divider2 setting"
#endif
Thanks,
Ken
--
**********************************************************************
Kenichi Nakamura Field Application Engineer Red Hat K.K.
Shinkanda Building, 2-15-2 Sotokanda Chiyoda-ku, Tokyo 101-0021
TEL:+81-3-3257-0411, FAX:+81-3-3257-0410, Cellular:+81-90-2310-7293
E-mail:nakamura@redhat.com URL:http://www.jp.redhat.com/
PGP Fingerprint:F249 669D 31E3 1039 C1A3 8846 D262 DF1E 9615 6385
PGP Public Keyserver:http://pgp.nic.ad.jp/
**********************************************************************