Isolate v_caddr_t in the ie driver.
Submitted by: Bruce Evans on net@
This commit is contained in:
parent
c6c4eaa848
commit
86872b65ef
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=230808
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user