From 9820aa6ec402f684eaf562aa3853b28d0a9dd387 Mon Sep 17 00:00:00 2001 From: Niklas Hallqvist Date: Fri, 2 Aug 1996 11:15:53 +0000 Subject: DOH! transmit got broken in the last commit. --- sys/dev/isa/if_ed.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/isa/if_ed.c b/sys/dev/isa/if_ed.c index f9722fc14d0..356bf0fd01b 100644 --- a/sys/dev/isa/if_ed.c +++ b/sys/dev/isa/if_ed.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ed.c,v 1.17 1996/07/31 01:51:49 niklas Exp $ */ +/* $OpenBSD: if_ed.c,v 1.18 1996/08/02 11:15:52 niklas Exp $ */ /* $NetBSD: if_ed.c,v 1.100 1996/05/12 23:52:19 mycroft Exp $ */ /* @@ -2769,8 +2769,8 @@ ed_shared_writemem(sc, from, card, len) * have to be careful. */ if (sc->isa16bit) { - word = from[0] + from[1] * 256; while (len > 1) { + word = (u_int8_t)from[0] | (u_int8_t)from[1] << 8; bus_mem_write_2(bc, memh, card, word); from += 2; card += 2; -- cgit v1.2.3