From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ruth.realtime.net (mercury.realtime.net [205.238.132.86]) by ozlabs.org (Postfix) with ESMTP id 0D230DDF4C for ; Fri, 13 Apr 2007 01:44:33 +1000 (EST) Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <91308d2b933e4fe8a9618aef8748b878@bga.com> From: Milton Miller Subject: Date: Thu, 12 Apr 2007 10:44:26 -0500 To: Matt Sealey Cc: ppcdev , Olaf Hering , Alan Cox List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Matt sealey wrote: + if (cb & 0x5) { /* if controller is configured for pci-native mode for both channels */ The above expression allows 1, 4, or 5 for the masked bits. I'm guessing you wanted to test that equal to either 5 or 0. milton