Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sh3/include add some macros for 8bit PCMCIA access



details:   https://anonhg.NetBSD.org/src/rev/f7eef2ca0912
branches:  trunk
changeset: 503053:f7eef2ca0912
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Tue Jan 30 04:15:10 2001 +0000

description:
add some macros for 8bit PCMCIA access

diffstat:

 sys/arch/sh3/include/bus.h |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 5575c5dad9ed -r f7eef2ca0912 sys/arch/sh3/include/bus.h
--- a/sys/arch/sh3/include/bus.h        Tue Jan 30 03:47:11 2001 +0000
+++ b/sys/arch/sh3/include/bus.h        Tue Jan 30 04:15:10 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus.h,v 1.4 2000/06/26 04:56:02 simonb Exp $   */
+/*     $NetBSD: bus.h,v 1.5 2001/01/30 04:15:10 msaitoh Exp $  */
 
 /*-
  * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -90,6 +90,13 @@
 #define SH3_BUS_SPACE_PCMCIA_IO 2      /* PCMCIA IO space */
 #define SH3_BUS_SPACE_PCMCIA_MEM 3     /* PCMCIA Mem space */
 #define SH3_BUS_SPACE_PCMCIA_ATT 4     /* PCMCIA Attr space */
+#define SH3_BUS_SPACE_PCMCIA_8BIT 0x8000 /* PCMCIA BUS 8 BIT WIDTH */
+#define SH3_BUS_SPACE_PCMCIA_IO8 \
+            (SH3_BUS_SPACE_PCMCIA_IO|SH3_BUS_SPACE_PCMCIA_8BIT)
+#define SH3_BUS_SPACE_PCMCIA_MEM8 \
+            (SH3_BUS_SPACE_PCMCIA_MEM|SH3_BUS_SPACE_PCMCIA_8BIT)
+#define SH3_BUS_SPACE_PCMCIA_ATT8 \
+            (SH3_BUS_SPACE_PCMCIA_ATT|SH3_BUS_SPACE_PCMCIA_8BIT)
 #endif
 
 /*



Home | Main Index | Thread Index | Old Index