From owner-freebsd-hackers Fri Feb 28 9:40:37 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 2907337B401; Fri, 28 Feb 2003 09:40:36 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFA3843F85; Fri, 28 Feb 2003 09:40:35 -0800 (PST) (envelope-from njl@FreeBSD.org) Received: from freefall.freebsd.org (njl@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h1SHeZNS069990; Fri, 28 Feb 2003 09:40:35 -0800 (PST) (envelope-from njl@freefall.freebsd.org) Received: (from njl@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h1SHeZv8069977; Fri, 28 Feb 2003 09:40:35 -0800 (PST) Date: Fri, 28 Feb 2003 09:40:35 -0800 (PST) From: Nate Lawson Message-Id: <200302281740.h1SHeZv8069977@freefall.freebsd.org> To: marcel@xcllnt.net, njl@FreeBSD.org Subject: Re: 64 bit endian routines Cc: current@FreeBSD.org, hackers@FreeBSD.org, mike@FreeBSD.org In-Reply-To: <20030228051713.GA1062@athlon.pn.xcllnt.net> 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 Date: Thu, 27 Feb 2003 21:17:13 -0800 From: Marcel Moolenaar To: Nate Lawson Cc: mike@FreeBSD.org, current@FreeBSD.org, hackers@FreeBSD.org Subject: Re: 64 bit endian routines References: <20030228041849.GB813@athlon.pn.xcllnt.net> <200302280445.h1S4jifs099792@freefall.freebsd.org> On Thu, Feb 27, 2003 at 08:45:44PM -0800, Nate Lawson wrote: > 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. > > Is this more clear now? Crystal :-) -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net Heh, I hope I didn't sound too forceful. It was just a straightforward question, not a diatribe. :) -Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message