From 6904b8f563e3d0b1dfdb40c340fc7a22a019f6b5 Mon Sep 17 00:00:00 2001 From: David Gwynne Date: Wed, 14 Feb 2007 00:53:17 +0000 Subject: bus_space does byte swapping to cope with host endianness for us, so remove an unnecessary htole32(). --- sys/dev/ic/mfi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys') 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 * @@ -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); } -- cgit v1.2.3