From owner-freebsd-arch@FreeBSD.ORG Wed Jan 14 07:43:08 2009 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CA29106564A for ; Wed, 14 Jan 2009 07:43:08 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from koef.zs64.net (koef.zs64.net [212.12.50.230]) by mx1.freebsd.org (Postfix) with ESMTP id 16E3F8FC13 for ; Wed, 14 Jan 2009 07:43:07 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from localhost by koef.zs64.net (8.14.3/8.14.3) with ESMTP id n0E7HpCq086803 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 14 Jan 2009 08:17:51 +0100 (CET) (envelope-from stb@lassitu.de) (authenticated as stb) Message-Id: From: Stefan Bethke To: Andriy Gapon In-Reply-To: <496C8C6A.2030708@icyb.net.ua> Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v930.3) Date: Wed, 14 Jan 2009 08:17:50 +0100 References: <496C8C6A.2030708@icyb.net.ua> X-Mailer: Apple Mail (2.930.3) Cc: freebsd-arch@freebsd.org Subject: Re: smb(4): address format X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jan 2009 07:43:09 -0000 Am 13.01.2009 um 13:43 schrieb Andriy Gapon: > So, in practice, there two conventions of specifying a slave address: > either as 0XXXXXXXb or XXXXXXX0b. Device datasheets generally specify the hard-wired or configurable =20 address as a bit string, with a slight preference to format that as =20 bbbb bbb. > In wider world 0XXXXXXXb format seems to be preferred, Linux also =20 > sticks > to it. I personally find having the address right-aligned a sensible choice. =20= I think of the address as logical unit, and normally would rather have =20= the SMBus bit banging abstracted away by the driver/hardware. =80 0.02, Stefan --=20 Stefan Bethke Fon +49 151 14070811