--- tme/bus/multibus/3c400.c 2018/04/24 16:37:52 1.1 +++ tme/bus/multibus/3c400.c 2018/04/24 16:40:03 1.1.1.3 @@ -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.3 2018/04/24 16:40:03 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.3 2018/04/24 16:40:03 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) @@ -439,8 +439,7 @@ _tme_3c400_callout(struct tme_3c400 *_3c TME_BUS_SIGNAL_INT_UNSPEC | (int_asserted ? TME_BUS_SIGNAL_LEVEL_ASSERTED - : TME_BUS_SIGNAL_LEVEL_NEGATED) - | TME_BUS_SIGNAL_EDGE); + : TME_BUS_SIGNAL_LEVEL_NEGATED)); /* lock our mutex: */ tme_mutex_lock(&_3c400->tme_3c400_mutex);