public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: "Kashyap, Desai" <kashyap.desai@lsi.com>
Cc: linux-scsi@vger.kernel.org, Eric.Moore@lsi.com, Sathya.Prakash@lsi.com
Subject: Re: [PATCH 13/24] mpt fusion: [2.6.30-rc6] Firmware event implementation using seperate WorkQueue
Date: Wed, 27 May 2009 17:24:32 +0000	[thread overview]
Message-ID: <1243445072.6067.28.camel@localhost.localdomain> (raw)
In-Reply-To: <20090522110322.GG16331@lsi.com>

On Fri, 2009-05-22 at 16:33 +0530, Kashyap, Desai wrote:
> --- a/drivers/message/fusion/mptsas.h
> +++ b/drivers/message/fusion/mptsas.h
> @@ -61,12 +61,30 @@ enum mptsas_hotplug_action {
>         MPTSAS_DEL_DEVICE,
>         MPTSAS_ADD_RAID,
>         MPTSAS_DEL_RAID,
> +       MPTSAS_ADD_PHYSDISK,
> +       MPTSAS_ADD_PHYSDISK_REPROBE,
> +       MPTSAS_DEL_PHYSDISK,
> +       MPTSAS_DEL_PHYSDISK_REPROBE,
>         MPTSAS_ADD_INACTIVE_VOLUME,
>         MPTSAS_IGNORE_EVENT,
>  };
>  
> +struct sas_mapping{
> +       u8                      id;
> +       u8                      channel;
> +};
> +
> +struct sas_device_info {
> +       struct list_head        list;
> +       struct sas_mapping      os;     /* operating system mapping*/
> +       struct sas_mapping      fw;     /* firmware mapping */
> +       u64                     sas_address;
> +       u32                     device_info; /* specific bits for devices */
> +       u16                     slot;           /* enclosure slot id */
> +       u64                     enclosure_logical_id; /*enclosure address */
> +};

sas_device_info and sas_mapping aren't very good names for structures in
a file you include along with the generic scsi_transport_sas.h header,
which has a lot of sas_ prefix structures and functions in it ... it's
setting us up for a namespace clash.  Why aren't these mptsas_ prefixes
like everything else in this file?

James



      reply	other threads:[~2009-05-27 17:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-22 11:03 [PATCH 13/24] mpt fusion: [2.6.30-rc6] Firmware event implementation using seperate WorkQueue Kashyap, Desai
2009-05-27 17:24 ` James Bottomley [this message]

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=1243445072.6067.28.camel@localhost.localdomain \
    --to=james.bottomley@hansenpartnership.com \
    --cc=Eric.Moore@lsi.com \
    --cc=Sathya.Prakash@lsi.com \
    --cc=kashyap.desai@lsi.com \
    --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