From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id 36B6CDDE11 for ; Sun, 8 Jul 2007 23:31:49 +1000 (EST) In-Reply-To: <468FC376.2040405@ru.mvista.com> References: <20070707094852.9473.21013.stgit@localhost.localdomain> <20070707094900.9473.48577.stgit@localhost.localdomain> <468FC376.2040405@ru.mvista.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <3F401C47-2A18-4692-AA71-D0D5FE24D94F@kernel.crashing.org> From: Segher Boessenkool Subject: Re: [PATCH 2/2] [POWERPC] mmio ide support for mpc8349-itx target Date: Sun, 8 Jul 2007 15:31:43 +0200 To: Sergei Shtylyov Cc: linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , >> + ide@10000000 { >> + #interrupt-cells = <2>; > > Hm, why define that prop for a node with no children? > >> + interrupts = <17 8>; >> + interrupt-map = <0 0 0 1 700 17 8>; >> + interrupt-map-mask = <0>; This map-mask makes no sense either. And neither does the map itself. >> + >> + #size-cells = <1>; >> + #address-cells = <1>; > > Same question here. The ide node might want children, namely disks or optical drives or such, but #size-cells should be 0. >> + reg = <10000000 10 10000200 10>; >> + >> + device_type = "ide"; > > I think that already adopted device type is "ata", not "ide". "ata" is not a hardware thing, "ide" is. Or so I'm told. I'd leave out the "device_type" completely though, certainly if you can't point me at a published device binding :-) Segher