All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ketan Mukadam" <ketan.mukadam@avagotech.com>
To: 'Mike Christie' <michaelc@cs.wisc.edu>, linux-scsi@vger.kernel.org
Subject: RE: [PATCH 1/1] be2iscsi : Add warning message for unsupported adapter
Date: Wed, 7 Oct 2015 15:02:54 +0530	[thread overview]
Message-ID: <002801d100e3$2802e6b0$7808b410$@avagotech.com> (raw)
In-Reply-To: <5613EDF2.605@cs.wisc.edu>

Mike,

We will not support these cards going forward and hence a warning message. 

Ketan


-----Original Message-----
From: Mike Christie [mailto:michaelc@cs.wisc.edu] 
Sent: Tuesday, October 06, 2015 9:21 PM
To: Ketan Mukadam; linux-scsi@vger.kernel.org
Subject: Re: [PATCH 1/1] be2iscsi : Add warning message for unsupported
adapter

On 07/31/2015 05:20 PM, Ketan Mukadam wrote:
> Add a warning message to indicate obsolete/unsupported
> BE2 Adapter Family devics
> 
> Signed-off-by: Ketan Mukadam <ketan.mukadam@avagotech.com>
> ---
>  drivers/scsi/be2iscsi/be_main.c | 2 ++  
> drivers/scsi/be2iscsi/be_mgmt.c | 3 ++-
>  2 files changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/scsi/be2iscsi/be_main.c 
> b/drivers/scsi/be2iscsi/be_main.c index 7a6dbfb..9b0c5cc 100644
> --- a/drivers/scsi/be2iscsi/be_main.c
> +++ b/drivers/scsi/be2iscsi/be_main.c
> @@ -5619,6 +5619,8 @@ static int beiscsi_dev_probe(struct pci_dev *pcidev,
>  	case OC_DEVICE_ID2:
>  		phba->generation = BE_GEN2;
>  		phba->iotask_fn = beiscsi_iotask;
> +		dev_warn(&pcidev->dev,
> +			 "Obsolete, Unsupported BE2 Adapter Family\n");

I think you wanted this to be a "/" instead of a "," to match below, but I
am not sure if it matters too much.

>  		break;
>  	case BE_DEVICE_ID2:
>  	case OC_DEVICE_ID3:
> diff --git a/drivers/scsi/be2iscsi/be_mgmt.c 
> b/drivers/scsi/be2iscsi/be_mgmt.c index ca4016f..ac08adb 100644
> --- a/drivers/scsi/be2iscsi/be_mgmt.c
> +++ b/drivers/scsi/be2iscsi/be_mgmt.c
> @@ -1535,7 +1535,8 @@ beiscsi_adap_family_disp(struct device *dev, struct
device_attribute *attr,
>  	case BE_DEVICE_ID1:
>  	case OC_DEVICE_ID1:
>  	case OC_DEVICE_ID2:
> -		return snprintf(buf, PAGE_SIZE, "BE2 Adapter Family\n");
> +		return snprintf(buf, PAGE_SIZE, "Obsolete/Unsupported "
> +						"BE2 Adapter Family\n");
>  		break;

Were these the cards that were obsolete when the driver was first added.
If so then this seem fine.




      reply	other threads:[~2015-10-07  9:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-31 22:20 [PATCH 1/1] be2iscsi : Add warning message for unsupported adapter Ketan Mukadam
2015-10-06 15:51 ` Mike Christie
2015-10-07  9:32   ` Ketan Mukadam [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='002801d100e3$2802e6b0$7808b410$@avagotech.com' \
    --to=ketan.mukadam@avagotech.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=michaelc@cs.wisc.edu \
    /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.