Re: [PATCH 2/3] ide: fix drive_is_ready() for non-PCI hosts and CONFIG_IDEPCI_SHARE_IRQ=y

From: Jeff Garzik
Date: Thu Oct 25 2007 - 20:42:31 EST


Alan Cox wrote:
On Fri, 26 Oct 2007 01:36:37 +0200
Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxx> wrote:

Need to check if the host is a PCI one before reading IDE_ALTSTATUS_REG.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxx>

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.

Jeff



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/