From owner-cvs-all@FreeBSD.ORG Tue Dec 12 14:43:21 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EE13316A4CA; Tue, 12 Dec 2006 14:43:21 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id C5F7D44093; Tue, 12 Dec 2006 14:30:01 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id kBCEVMud044662; Tue, 12 Dec 2006 15:31:22 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [10.1.1.14]) by cicely5.cicely.de (8.13.4/8.13.4) with ESMTP id kBCEVEGe043302 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 12 Dec 2006 15:31:14 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.13.4/8.13.3) with ESMTP id kBCEVDeW074960; Tue, 12 Dec 2006 15:31:13 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.13.4/8.13.3/Submit) id kBCEVDYJ074959; Tue, 12 Dec 2006 15:31:13 +0100 (CET) (envelope-from ticso) Date: Tue, 12 Dec 2006 15:31:13 +0100 From: Bernd Walter To: Luigi Rizzo Message-ID: <20061212143113.GA54209@cicely12.cicely.de> References: <200612081036.kB8AakMD029277@repoman.freebsd.org> <20061212131333.GU54209@cicely12.cicely.de> <20061212055756.A61182@xorpc.icir.org> <20061212141759.GZ54209@cicely12.cicely.de> <20061212062445.A61903@xorpc.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061212062445.A61903@xorpc.icir.org> X-Operating-System: FreeBSD cicely12.cicely.de 5.4-STABLE alpha User-Agent: Mutt/1.5.9i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED=-1.8, BAYES_00=-2.599 autolearn=ham version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on cicely12.cicely.de Cc: Luigi Rizzo , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org, imp@FreeBSD.org, ticso@cicely.de Subject: Re: cvs commit: src/sys/net if_ethersubr.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Dec 2006 14:43:22 -0000 On Tue, Dec 12, 2006 at 06:24:45AM -0800, Luigi Rizzo wrote: > On Tue, Dec 12, 2006 at 03:17:59PM +0100, Bernd Walter wrote: > > On Tue, Dec 12, 2006 at 05:57:56AM -0800, Luigi Rizzo wrote: > > > #if defined(__ia64__) || defined(__sparc64__) > ... > > > to detect whether the architecture is alignment-sensitive. > > > Is there any other identifier that we can use to check ? > > > > I wonder how many of these are missing __arm__? > > and this is why i wonder if there is a generic identifier > that we can use to provide alignment. Not that I know about. I would have said ALIGNBYTES != 1, but this also matches with i386. Guess it's time to introduce somehing like ALIGN_STRONG, or whatever colour fits best. -- B.Walter http://www.bwct.de http://www.fizon.de bernd@bwct.de info@bwct.de support@fizon.de