Subject: Re: SCSI in 1.6 ?
To: Ben Harris <bjh21@netbsd.org>
From: Mike Pumford <mpumford@black-star.demon.co.uk>
List: port-acorn32
Date: 08/06/2002 20:04:19
> On Tue, 6 Aug 2002, Mike Pumford wrote:
> 
> > > Anyway, I've made appropriate changes to csc, and to asc, cosc and ptsc
> > asc doesn't need any patching it is not a polling driver.
> 
> Well, it had code to set XS_CTL_POLL:
> 
> #define ASC_POLL 1
This isn't defined in arch/acorn32/podulebus/asc.c in my tree (anoncvs from
yesterday and my CD-ROM drive is working fine. Do we have multiple asc drivers?

> ...
> #if ASC_POLL > 0
>                /* ensure command is polling for the moment */
> 
>                if (asc_poll)
>                        xs->xs_control |= XS_CTL_POLL;
> #endif
> 
> which I've replaced with use of SCSIPI_ADAPT_POLL_ONLY.
> 
Okay you have fixed the conditional code which IIRC is not actually enabled by 
default.

> > Or have you integrated the rewrite in the PR?
> 
> No: that'll need actual thought, which I don't have much time for right
> now.
> 
I can accept that. It will be a hard merge as the SCSI world has changed 
massively since it was written.

Mike