diff options
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ic/dptreg.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/ic/dptreg.h b/sys/dev/ic/dptreg.h index 3b590f699de..4a9d1d3a6e7 100644 --- a/sys/dev/ic/dptreg.h +++ b/sys/dev/ic/dptreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dptreg.h,v 1.2 2001/01/25 03:50:50 todd Exp $ */ +/* $OpenBSD: dptreg.h,v 1.3 2001/07/26 03:55:54 mickey Exp $ */ /* $NetBSD: dptreg.h,v 1.4 1999/10/19 20:16:48 ad Exp $ */ /* @@ -57,6 +57,11 @@ #define RSWAP16(x) bswap16((x)) #endif +#ifdef __OpenBSD__ +#define bswap16 swap16 +#define bswap32 swap32 +#endif + #define dpt_inb(x, o) \ bus_space_read_1((x)->sc_iot, (x)->sc_ioh, (o)) |