> Yep, xconfig and full build works.select CPU_32v4 if ARCH_RPC
Does that build fully for xconfig or any others which you tried?
Well.
Would've worked if you hadn't messed up tag handling for acornscsi :-)
> Besides: tag handling in acornscsi (and fas216, for that matter) seems
to be completely broken.
Consider this beauty:
#ifdef CONFIG_SCSI_ACORNSCSI_TAGGED_QUEUE
/*
* tagged queueing - allocate a new tag to this command
*/
if (SCpnt->device->simple_tags) {
SCpnt->device->current_tag += 1;
if (SCpnt->device->current_tag == 0)
SCpnt->device->current_tag = 1;
SCpnt->tag = SCpnt->device->current_tag;
} else
#endif
which is broken on _soo many_ counts.
Not only does it try to allocate its own tags, the code also assumes that a tag value of '0' indicates that tagged queueing is not active:
static
void acornscsi_abortcmd(AS_Host *host, unsigned char tag)
{
host->scsi.phase = PHASE_ABORTED;
sbic_arm_write(host, SBIC_CMND, CMND_ASSERTATN);
msgqueue_flush(&host->scsi.msgs);
#ifdef CONFIG_SCSI_ACORNSCSI_TAGGED_QUEUE
if (tag)
msgqueue_addmsg(&host->scsi.msgs, 2, ABORT_TAG, tag);
else
#endif
msgqueue_addmsg(&host->scsi.msgs, 1, ABORT);
}
And, of course, there's the usual confusion about when to check for
sdev->tagged_supported and sdev->simple_tags.
Drop me a note if I can give a hand.