From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932832Ab1C3Tsg (ORCPT ); Wed, 30 Mar 2011 15:48:36 -0400 Received: from tomato.cardboardbox.org.uk ([174.143.157.65]:34554 "EHLO tomato.cardboardbox.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754838Ab1C3Tsf (ORCPT ); Wed, 30 Mar 2011 15:48:35 -0400 Message-ID: <4D93890A.60307@danielpalmer.co.uk> Date: Wed, 30 Mar 2011 20:48:26 +0100 From: Daniel Palmer User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20110303 Icedove/3.0.11 MIME-Version: 1.0 To: Alan Cox CC: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: PATA_ARTOP reads byte from PCI IO port without mapping it to the right address. References: <4D937FDC.4090607@danielpalmer.co.uk> <20110330202628.5dc8db5f@lxorguk.ukuu.org.uk> In-Reply-To: <20110330202628.5dc8db5f@lxorguk.ukuu.org.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > That is the PCI port address. I don't pretend to understand most of this fully. On the board the PCI address space/PCI controller is apparently at 0xfe240000 So I guess that when that byte is read it should read from 0xfe240000 + 0x1400? That doesn't happen and a read happens at 0x1400 and an oops results. I don't know enough to point the finger really. There are probably only 2 people using this board still too. So I doubt it really matters. :) Cheers, Daniel