summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/ie/if_ie.c3
-rw-r--r--sys/sys/types.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ie/if_ie.c b/sys/dev/ie/if_ie.c
index 363255b..fb0d987 100644
--- a/sys/dev/ie/if_ie.c
+++ b/sys/dev/ie/if_ie.c
@@ -157,6 +157,9 @@ static int ie_debug = IED_RNR;
#define IE_BUF_LEN ETHER_MAX_LEN /* length of transmit buffer */
+/* XXX this driver uses `volatile' and `caddr_t' to a fault. */
+typedef volatile char *v_caddr_t; /* core address, pointer to volatile */
+
/* Forward declaration */
struct ie_softc;
diff --git a/sys/sys/types.h b/sys/sys/types.h
index d2256e7..491e99d 100644
--- a/sys/sys/types.h
+++ b/sys/sys/types.h
@@ -73,7 +73,6 @@ typedef quad_t * qaddr_t;
typedef char * caddr_t; /* core address */
typedef const char * c_caddr_t; /* core address, pointer to const */
-typedef __volatile char *v_caddr_t; /* core address, pointer to volatile */
#ifndef _BLKSIZE_T_DECLARED
typedef __blksize_t blksize_t;
OpenPOWER on IntegriCloud