From 75fe9fb4713d939f9204dd7e43cd7d569ca16add Mon Sep 17 00:00:00 2001 From: "Dale S. Rahn" Date: Wed, 9 Sep 1998 04:05:37 +0000 Subject: Dont swab the data twice, only when assiging to the structure. This only affect big endian machines (powerpc). --- sys/dev/pci/if_de.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/pci/if_de.c b/sys/dev/pci/if_de.c index 7b569672f7e..9d71392a23b 100644 --- a/sys/dev/pci/if_de.c +++ b/sys/dev/pci/if_de.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_de.c,v 1.33 1998/08/28 06:31:23 rahnds Exp $ */ +/* $OpenBSD: if_de.c,v 1.34 1998/09/09 04:05:36 rahnds Exp $ */ /* $NetBSD: if_de.c,v 1.45 1997/06/09 00:34:18 thorpej Exp $ */ /*- @@ -4169,7 +4169,7 @@ tulip_txput( #if defined(__mips__) pci_sync_cache(sc->tulip_pc, (vm_offset_t)addr, slen); #endif - d_status = DESC_BO(TULIP_DSTS_OWNER); + d_status = TULIP_DSTS_OWNER; len -= slen; addr += slen; #ifdef BIG_PACKET -- cgit v1.2.3