Re: [PATCH 1/4] aic79xx: Fixup external device reset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2006-10-23 at 15:22 +0200, Hannes Reinecke wrote:
> +                       /* Hand-craft TUR command */
> +                       ahd_outb(ahd, SCB_CDB_STORE, 0);
> +                       ahd_outb(ahd, SCB_CDB_STORE+1, 0);
> +                       ahd_outb(ahd, SCB_CDB_STORE+2, 0);
> +                       ahd_outb(ahd, SCB_CDB_STORE+3, 0);
> +                       ahd_outb(ahd, SCB_CDB_STORE+4, 0);
> +                       ahd_outb(ahd, SCB_CDB_STORE+5, 0);
> +                       ahd_outb(ahd, SCB_CDB_LEN, 6);
> +                       scb->hscb->control &= ~(TAG_ENB|SCB_TAG_TYPE);
> +                       scb->hscb->control |= MK_MESSAGE;
> +                       ahd_outb(ahd, SCB_CONTROL, scb->hscb->control);
> +                       ahd_outb(ahd, MSG_OUT, HOST_MSG);
> +                       ahd_outb(ahd, SAVED_SCSIID, scb->hscb->scsiid);

What's the reason for having to have this hand crafted test unit ready?

James


-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux