From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sj-iport-4.cisco.com (sj-iport-4.cisco.com [171.68.10.86]) by ozlabs.org (Postfix) with ESMTP id 5488367C2B for ; Thu, 16 Nov 2006 09:29:54 +1100 (EST) To: mporter@kernel.crashing.org Subject: Re: [PATCH v2 -- fixed changelog] [POWERPC] Add support for Rev. B of PowerPC 440SPe References: <20061114090102.GA16520@gate.ebshome.net> From: Roland Dreier Date: Wed, 15 Nov 2006 14:29:51 -0800 In-Reply-To: <20061114090102.GA16520@gate.ebshome.net> (Eugene Surovegin's message of "Tue, 14 Nov 2006 01:01:02 -0800") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linuxppc-embedded@ozlabs.org List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > Can we get rid of this switch as well? > > There are other places like this in the patch but I think you got my > idea :). Makes sense -- I'll rework the patch to cut down on the code duplication (which is already there in my code that went upstream). I think there have to be switches (or equivalently, look-up tables) since there's no regularity in where the DCRs/SDRs for the different PCIe ports are. - R.