From owner-freebsd-current Thu Feb 27 21:17:16 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 863D537B401; Thu, 27 Feb 2003 21:17:15 -0800 (PST) Received: from ns1.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 657C143FAF; Thu, 27 Feb 2003 21:17:14 -0800 (PST) (envelope-from marcel@xcllnt.net) Received: from athlon.pn.xcllnt.net (athlon.pn.xcllnt.net [192.168.4.3]) by ns1.xcllnt.net (8.12.6/8.12.6) with ESMTP id h1S5HD1o069107; Thu, 27 Feb 2003 21:17:14 -0800 (PST) (envelope-from marcel@piii.pn.xcllnt.net) Received: from athlon.pn.xcllnt.net (localhost [127.0.0.1]) by athlon.pn.xcllnt.net (8.12.7/8.12.7) with ESMTP id h1S5HDse001127; Thu, 27 Feb 2003 21:17:13 -0800 (PST) (envelope-from marcel@athlon.pn.xcllnt.net) Received: (from marcel@localhost) by athlon.pn.xcllnt.net (8.12.7/8.12.7/Submit) id h1S5HDsR001126; Thu, 27 Feb 2003 21:17:13 -0800 (PST) (envelope-from marcel) 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 Message-ID: <20030228051713.GA1062@athlon.pn.xcllnt.net> 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> User-Agent: Mutt/1.5.3i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message