summaryrefslogtreecommitdiffstats
path: root/sys/dev/cy/cyreg.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-08-13 13:54:10 +0000
committerbde <bde@FreeBSD.org>1998-08-13 13:54:10 +0000
commit41c7b6c82ed2ddd54f358c9e38664726599ac37f (patch)
treeb5ef809efad15e5ccb23e5f16ee2ef3bf8514092 /sys/dev/cy/cyreg.h
parentf6b94f030e34bdc6f86dee06f700e086c7e036a0 (diff)
downloadFreeBSD-src-41c7b6c82ed2ddd54f358c9e38664726599ac37f.zip
FreeBSD-src-41c7b6c82ed2ddd54f358c9e38664726599ac37f.tar.gz
Updated for not-so-new version of Cyclom-Y boards (with 60MHz clock and
swapped RTS/DTR). Merge the vendor's modification of the 2.2.6-release version into -current for reference. Will be cleaned up in next commit. Obtained from: ftp://ftp.cyclades.com/pub/cyclades/cyclom-y/freebsd/2.2.6/cyy226.tar.gz
Diffstat (limited to 'sys/dev/cy/cyreg.h')
-rw-r--r--sys/dev/cy/cyreg.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/dev/cy/cyreg.h b/sys/dev/cy/cyreg.h
index 6aa6632..8b83258 100644
--- a/sys/dev/cy/cyreg.h
+++ b/sys/dev/cy/cyreg.h
@@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: cyreg.h,v 1.3 1996/10/13 01:09:17 davidg Exp $
*/
/*
@@ -41,7 +41,13 @@
#define CY_MAX_CD1400s 8 /* for Cyclom-32Y */
-#define CY_CLOCK 25000000 /* baud rate clock */
+#define CD1400_REV_G 0x46
+#define CD1400_REV_J 0x48
+
+#define CY_CLOCK_25 25000000 /* baud rate clock */
+#define CY_CLOCK_60 60000000 /* baud rate clock */
+#define CY_CLOCK_25_1MS 0x31
+#define CY_CLOCK_60_1MS 0x75
#ifdef CyDebug
#define cd_inb(iobase, reg, cy_align) (++cd_inbs, *((iobase) + ((reg)*2 << (cy_align))))
OpenPOWER on IntegriCloud