diff options
author | 2007-02-14 00:53:16 +0000 | |
---|---|---|
committer | 2007-02-14 00:53:16 +0000 | |
commit | 253bfa82215b6107624a47f42a7f2ffc1dea2284 (patch) | |
tree | 2589a21a9361307a7da7eb927539806f7d986e1e | |
parent | move includes only needed in dhclient.c; ok henning@ (diff) | |
download | wireguard-openbsd-253bfa82215b6107624a47f42a7f2ffc1dea2284.tar.xz wireguard-openbsd-253bfa82215b6107624a47f42a7f2ffc1dea2284.zip |
bus_space does byte swapping to cope with host endianness for us, so remove
an unnecessary htole32().
-rw-r--r-- | sys/dev/ic/mfi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/mfi.c b/sys/dev/ic/mfi.c index 0b73cac8623..16f149d0582 100644 --- a/sys/dev/ic/mfi.c +++ b/sys/dev/ic/mfi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mfi.c,v 1.69 2007/02/13 02:38:31 marco Exp $ */ +/* $OpenBSD: mfi.c,v 1.70 2007/02/14 00:53:16 dlg Exp $ */ /* * Copyright (c) 2006 Marco Peereboom <marco@peereboom.us> * @@ -703,8 +703,8 @@ mfi_despatch_cmd(struct mfi_ccb *ccb) DNPRINTF(MFI_D_CMD, "%s: mfi_despatch_cmd\n", DEVNAME(ccb->ccb_sc)); - mfi_write(ccb->ccb_sc, MFI_IQP, htole32((ccb->ccb_pframe >> 3) | - ccb->ccb_extra_frames)); + mfi_write(ccb->ccb_sc, MFI_IQP, (ccb->ccb_pframe >> 3) | + ccb->ccb_extra_frames); return(0); } |