summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authortsutsui <tsutsui@NetBSD.org>1999-12-15 12:23:32 +0000
committertsutsui <tsutsui@NetBSD.org>1999-12-15 12:23:32 +0000
commitb5084582c9ee307e0f9ca572b5bc331ec81dfa92 (patch)
tree6d25c7371ddb40fc75a9cb848f04703cbb7c100e /sys/dev
parent56060556e3139cffdbb5f3ff7a9db762f08c4513 (diff)
add one more htole32().
fixes "tlp0: filter setup timeout" on my macppc.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/tulip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/tulip.c b/sys/dev/ic/tulip.c
index 983daf78199..4c15d43bb72 100644
--- a/sys/dev/ic/tulip.c
+++ b/sys/dev/ic/tulip.c
@@ -1,4 +1,4 @@
-/* $NetBSD: tulip.c,v 1.35 1999/12/11 00:33:01 thorpej Exp $ */
+/* $NetBSD: tulip.c,v 1.36 1999/12/15 12:23:32 tsutsui Exp $ */
/*-
* Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -1228,7 +1228,7 @@ tlp_txintr(sc)
*/
if (sc->sc_flags & TULIPF_DOING_SETUP) {
TULIP_CDSDSYNC(sc, BUS_DMASYNC_POSTREAD|BUS_DMASYNC_POSTWRITE);
- if ((sc->sc_setup_desc.td_status & TDSTAT_OWN) == 0)
+ if ((sc->sc_setup_desc.td_status & htole32(TDSTAT_OWN)) == 0)
sc->sc_flags &= ~TULIPF_DOING_SETUP;
}