--- tme/bus/multibus/3c400.c 2018/04/24 16:37:52 1.1 +++ tme/bus/multibus/3c400.c 2018/04/24 16:38:45 1.1.1.2 @@ -1,4 +1,4 @@ -/* $Id: 3c400.c,v 1.1 2018/04/24 16:37:52 root Exp $ */ +/* $Id: 3c400.c,v 1.1.1.2 2018/04/24 16:38:45 root Exp $ */ /* bus/multibus/3c400.c - implementation of the Multibus 3c400 emulation: */ @@ -34,7 +34,7 @@ */ #include -_TME_RCSID("$Id: 3c400.c,v 1.1 2018/04/24 16:37:52 root Exp $"); +_TME_RCSID("$Id: 3c400.c,v 1.1.1.2 2018/04/24 16:38:45 root Exp $"); /* includes: */ #include @@ -97,7 +97,7 @@ _TME_RCSID("$Id: 3c400.c,v 1.1 2018/04/2 #define TME_3C400_CSR_GET(_3c400) \ tme_betoh_u16(*((tme_uint16_t *) &(_3c400)->tme_3c400_card[TME_3C400_REG_CSR])) #define TME_3C400_CSR_PUT(_3c400, csr) \ - (*((tme_uint16_t *) &(_3c400)->tme_3c400_card[TME_3C400_REG_CSR]) = tme_betoh_u16(csr)) + (*((tme_uint16_t *) &(_3c400)->tme_3c400_card[TME_3C400_REG_CSR]) = tme_htobe_u16(csr)) /* the callout flags: */ #define TME_3C400_CALLOUT_CHECK (0)