All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hannes Reinecke <hare@suse.de>
To: Christoph Hellwig <hch@lst.de>, linux-scsi@vger.kernel.org
Subject: Re: [PATCH 2/3] scsi: add a symbolic name for the ZBC device type
Date: Mon, 21 Jul 2014 07:59:51 +0200	[thread overview]
Message-ID: <53CCAC57.20403@suse.de> (raw)
In-Reply-To: <1405696638-23770-3-git-send-email-hch@lst.de>

On 07/18/2014 05:17 PM, Christoph Hellwig wrote:
> Make sure we have a symbolic name for the ZBC type available,
> so that e.g. patch for a SATA to translate ZAC commands can
> make use of it.
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>   include/scsi/scsi.h | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/include/scsi/scsi.h b/include/scsi/scsi.h
> index 91e2e42..e6df23c 100644
> --- a/include/scsi/scsi.h
> +++ b/include/scsi/scsi.h
> @@ -332,6 +332,7 @@ static inline int scsi_status_is_good(int status)
>   #define TYPE_ENCLOSURE      0x0d    /* Enclosure Services Device */
>   #define TYPE_RBC	    0x0e
>   #define TYPE_OSD            0x11
> +#define TYPE_ZBC            0x14
>   #define TYPE_NO_LUN         0x7f
>
>   /* SCSI protocols; these are taken from SPC-3 section 7.5 */
>
Reviewed-by: Hannes Reinecke <hare@Suse.de>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		      zSeries & Storage
hare@suse.de			      +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2014-07-21  5:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-18 15:17 minor device type updates Christoph Hellwig
2014-07-18 15:17 ` [PATCH 1/3] scsi: update scsi_device_types Christoph Hellwig
2014-07-21  5:59   ` Hannes Reinecke
2014-07-22  3:37   ` Martin K. Petersen
2014-07-18 15:17 ` [PATCH 2/3] scsi: add a symbolic name for the ZBC device type Christoph Hellwig
2014-07-21  5:59   ` Hannes Reinecke [this message]
2014-07-22  3:34   ` Martin K. Petersen
2014-07-18 15:17 ` [PATCH 3/3] scsi: move the writeable from struct scsi_device to struct scsi_cd Christoph Hellwig
2014-07-21  6:00   ` Hannes Reinecke
2014-07-22  3:38   ` Martin K. Petersen

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=53CCAC57.20403@suse.de \
    --to=hare@suse.de \
    --cc=hch@lst.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.