From owner-freebsd-hackers Fri Feb 28 5:38:13 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50DCB37B401; Fri, 28 Feb 2003 05:38:12 -0800 (PST) Received: from espresso.bsdmike.org (espresso.bsdmike.org [65.39.129.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9D3643FAF; Fri, 28 Feb 2003 05:38:11 -0800 (PST) (envelope-from mike@espresso.bsdmike.org) Received: by espresso.bsdmike.org (Postfix, from userid 1002) id A83DE9C5F; Fri, 28 Feb 2003 08:25:25 -0500 (EST) Date: Fri, 28 Feb 2003 08:25:25 -0500 From: Mike Barcroft To: Nate Lawson Cc: marcel@xcllnt.net, current@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: 64 bit endian routines Message-ID: <20030228082525.H93968@espresso.bsdmike.org> References: <20030228041849.GB813@athlon.pn.xcllnt.net> <200302280445.h1S4jifs099792@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200302280445.h1S4jifs099792@freefall.freebsd.org>; from njl@FreeBSD.org on Thu, Feb 27, 2003 at 08:45:44PM -0800 Organization: The FreeBSD Project Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Nate Lawson writes: > Both scsi and geom implement unaligned access functions that perform byte > ordering. I never intended to supplant them with __bswap*(). What I want > is for machine/endian.h to have functions that provide 16-64 bit endian > conversions in both aligned and unaligned access forms. After these functions > are there, I'd like us to unify use of them and remove driver-private > versions. Sounds good, though would be more appropriate unless they're MD. Best regards, Mike Barcroft To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message