Subject: Re: Support for polled IDE controllers
To: None <firstname.lastname@example.org>
From: Ben Harris <email@example.com>
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 <firstname.lastname@example.org>
Portmaster, NetBSD/arm26 <URL:http://www.netbsd.org/Ports/arm26/>