public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@SteelEye.com>
To: Hannes Reinecke <hare@suse.de>
Cc: SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: Re: [PATCH 1/4] aic79xx: Fixup external device reset
Date: Tue, 24 Oct 2006 16:37:31 -0700	[thread overview]
Message-ID: <1161733051.7104.37.camel@mulgrave.il.steeleye.com> (raw)
In-Reply-To: <453CC21D.5030201@suse.de>

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



  reply	other threads:[~2006-10-24 23:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-23 13:22 [PATCH 1/4] aic79xx: Fixup external device reset Hannes Reinecke
2006-10-24 23:37 ` James Bottomley [this message]
2006-10-25  2:49   ` Sean Bruno
2006-10-25  7:01   ` Hannes Reinecke
2006-10-25 15:14     ` James Bottomley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1161733051.7104.37.camel@mulgrave.il.steeleye.com \
    --to=james.bottomley@steeleye.com \
    --cc=hare@suse.de \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox