Isolate v_caddr_t in the ie driver.

Submitted by:	Bruce Evans on net@
This commit is contained in:
Sergey Kandaurov 2012-01-31 13:00:40 +00:00
parent c6c4eaa848
commit 86872b65ef
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=230808
2 changed files with 3 additions and 1 deletions

View File

@ -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;

View File

@ -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;