From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757895AbXJZLvc (ORCPT ); Fri, 26 Oct 2007 07:51:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752537AbXJZLvZ (ORCPT ); Fri, 26 Oct 2007 07:51:25 -0400 Received: from outpipe-village-512-1.bc.nu ([81.2.110.250]:54522 "EHLO the-village.bc.nu" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751201AbXJZLvX (ORCPT ); Fri, 26 Oct 2007 07:51:23 -0400 Date: Fri, 26 Oct 2007 12:53:55 +0100 From: Alan Cox To: Jeff Garzik Cc: Bartlomiej Zolnierkiewicz , linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/3] ide: fix drive_is_ready() for non-PCI hosts and CONFIG_IDEPCI_SHARE_IRQ=y Message-ID: <20071026125355.7c4a3398@the-village.bc.nu> In-Reply-To: <472137E8.9020109@garzik.org> References: <200710260136.37333.bzolnier@gmail.com> <20071026010515.260672b4@the-village.bc.nu> <472137E8.9020109@garzik.org> X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.14; i386-redhat-linux-gnu) Organization: Red Hat UK Cyf., Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, Y Deyrnas Gyfunol. Cofrestrwyd yng Nghymru a Lloegr o'r rhif cofrestru 3798903 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 25 Oct 2007 20:42:16 -0400 Jeff Garzik wrote: > Alan Cox wrote: > > On Fri, 26 Oct 2007 01:36:37 +0200 > > Bartlomiej Zolnierkiewicz wrote: > > > >> Need to check if the host is a PCI one before reading IDE_ALTSTATUS_REG. > >> > >> Signed-off-by: Bartlomiej Zolnierkiewicz > > > > Umm why ? The altstatus register goes back to ST-506 and the original IBM > > XT hard disk controller card ? > > I'm pretty sure there are at least a few controllers out there where the > AltStatus/Control register block is simply non-existent. One or two of the commode Amiga controllers did this. Makes error recovery rather interesting. The register itself is however present even on things like the WD10xx devices. Alan