[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070523094858.GA30352@linux-sh.org>
Date: Wed, 23 May 2007 18:48:58 +0900
From: Paul Mundt <lethal@...ux-sh.org>
To: Tejun Heo <htejun@...il.com>
Cc: Jeff Garzik <jgarzik@...ox.com>, linux-ide@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ata: pata_platform: Disable prereset logic.
On Wed, May 23, 2007 at 11:29:37AM +0200, Tejun Heo wrote:
> Paul Mundt wrote:
> > On Wed, May 23, 2007 at 10:07:08AM +0200, Tejun Heo wrote:
> >> Paul Mundt wrote:
> >>> On a number of boards the current prereset logic seems to misbehave:
> >>>
> >>> scsi0 : pata_platform
> >>> ata1: PATA max PIO0 cmd 0xb06001f0 ctl 0xb06003f6 bmdma 0x00000000 irq 0
> >>> ata1: device not ready (errno=-19), forcing hardreset
> >>> ata1: BUG: prereset() requested invalid reset type
> >>>
> >>> This triggers when there is no card inserted in the slot.
> >>>
> > ata_wait_ready() works fine, it reports 0xff immediately (and this is
> > what I would expect when there is no card inserted).
>
> Does the attached patch fix your problem?
>
Yes, that works fine, thanks.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists