diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2003-06-25 17:39:01 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2003-06-25 17:39:01 +0000 |
commit | a16965fe46ad82dcea1cead0038e485ac0daf0d0 (patch) | |
tree | ae408515d9deeaade145bf8103e574ee7be8a68b /sys/dev | |
parent | 43e170744205c21b52e2c6c26109152658dbfd78 (diff) |
Extend the sparc bus_space_tag_t to store access endianness in it, and
adapt all bus_space functions to do proper endianness conversion whenever
necessary, except for the raw ones.
This allows us to remove the forced endianness conversions in if_wi.
with help from and ok mickey@
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ic/if_wireg.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/ic/if_wireg.h b/sys/dev/ic/if_wireg.h index db9144209db..8fb60205cd5 100644 --- a/sys/dev/ic/if_wireg.h +++ b/sys/dev/ic/if_wireg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_wireg.h,v 1.31 2003/01/10 22:10:19 millert Exp $ */ +/* $OpenBSD: if_wireg.h,v 1.32 2003/06/25 17:38:55 miod Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -82,8 +82,6 @@ #if defined(__sparc64__) #define WI_BIG_ENDIAN_POSSIBLE (sc->wi_flags & WI_FLAGS_BUS_PCMCIA) -#elif defined(__sparc__) -#define WI_BIG_ENDIAN_POSSIBLE 1 #else #define WI_BIG_ENDIAN_POSSIBLE 0 #endif |