Subject: Re: Support for polled IDE controllers
To: None <tech-kern@netbsd.org>
From: Ben Harris <bjh21@netbsd.org>
List: tech-kern
Date: 06/09/2001 23:06:43
On Sat, 9 Jun 2001, Ben Harris wrote:

> In order to make this work, I found that I also had to disable the checks
> for ATA_POLL in wdc_ata_bio_done() and wdc_ata_bio_kill_xfer() and have
> them unconditionally call wddone().  On the assumption that those tests
> were there to avoid calling wddone() when dumping, I added a check on
> sc_bp in wddone(), and made wddump() clear it, so that wddone() is a no-op
> if the transfer was caused by wddump().

It turns out there's another problem, in that scsipi_done doesn't like the
idea of a polled async transfer.  Disabling this check gets ATAPI working
for me, but I suspect it's there to prevent some horrible failure mode.
Anyone know for sure?

-- 
Ben Harris                                                   <bjh21@netbsd.org>
Portmaster, NetBSD/arm26               <URL:http://www.netbsd.org/Ports/arm26/>