From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-in-09.arcor-online.net (mail-in-09.arcor-online.net [151.189.21.49]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.arcor.de", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTP id 180CBDDFF0 for ; Sat, 14 Apr 2007 05:10:21 +1000 (EST) In-Reply-To: <461FD318.4070102@ru.mvista.com> References: <91308d2b933e4fe8a9618aef8748b878@bga.com> <1176431001.5764.51.camel@localhost.localdomain> <461FD318.4070102@ru.mvista.com> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: From: Segher Boessenkool Subject: Re: Re: Date: Fri, 13 Apr 2007 21:10:17 +0200 To: Sergei Shtylyov Cc: ppcdev , Olaf Hering , Alan Cox , Milton Miller List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , >>> I think the proper test is ((cb & 5) == 5) but I can't remember for >>> sure.. >> That is correct if you know for sure the controller >> actually supports native mode, and doesn't have that >> support turned off by some configuration setting; >> otherwise, the test should be ((cb & 0xf) == 0xf). > > "I protest your honor". :-) > Bits 1 and 3 only indicate that bits 0 and 2 are writeable. Darn you're right. Sorry for the confusion. Segher