summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDale S. Rahn <rahnds@cvs.openbsd.org>1998-09-09 04:05:37 +0000
committerDale S. Rahn <rahnds@cvs.openbsd.org>1998-09-09 04:05:37 +0000
commit75fe9fb4713d939f9204dd7e43cd7d569ca16add (patch)
tree41ed32e78885625166f65ad13284e4680fb5d07b /sys
parent028d9a1ac121690b269a4617c4172490cb694dcc (diff)
Dont swab the data twice, only when assiging to the structure.
This only affect big endian machines (powerpc).
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_de.c4
1 files 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