From: Jeremy Higdon <jeremy@sgi.com>
To: Jes Sorensen <jes@wildopensource.com>
Cc: Andrew Vasquez <andrew.vasquez@qlogic.com>,
Linux-SCSI <linux-scsi@vger.kernel.org>,
jbarnes@sgi.com, mdr@sgi.com
Subject: Re: [ANNOUNCE] QLogic qla2xxx driver update available (v8.00.00b6).
Date: Fri, 21 Nov 2003 00:43:26 -0800 [thread overview]
Message-ID: <20031121084325.GA119216@sgi.com> (raw)
In-Reply-To: <yq0islf5rdm.fsf@wildopensource.com>
On Thu, Nov 20, 2003 at 04:19:33AM -0500, Jes Sorensen wrote:
>
> Andrew> Manufacturing writes a pre-canned NVRAM image along with a
> Andrew> rolling serial number (unique to each HBA) to each card that
> Andrew> leaves QLogic. One obvious example of a potential problem in
> Andrew> the case of using the (driver) doctored NVRAM data is how to
> Andrew> assign a unique serial number to the ISP that is being
> Andrew> initialized. BTW: The serial number is actually encoded in
> Andrew> bytes 5, 6, and 7 of the WWPN (portname); coupled with the
> Andrew> hardcoded port number (33) and the QLogic copany code of (224
> Andrew> and 139), code from qla2x00_nvram_config():
>
> Ok this one is more tricky. There's a couple of options though, we
> could generate a unique serial number based on the random driver
> output, or maybe it's worth coming up with an infrastructure for this,
> other FC card drivers will run into the same problem.
We should be able to read the WWPN out of the NVRAM, since there is
no reason for that to be reset. There are various utilities/firmware
out there that actually look at an adapter's WWPN and decide whether
or not to talk to that adapter.
I think the WWPN is the only thing that we read from firmware in our
Irix driver. We also verify the checksum, so that we can tell if the
portname is valid.
My recommendation is that the driver get the WWPN from nvram and go
with sane defaults for everything else. Perhaps make it a config
option to read other settings from the NVRAM, but also provide command
line or config options for other settings that might need adjustment,
for those systems that cannot change nvram values. Our experience is
that we really don't need to mess with them, however. The only two
things that we allow adjustment to are frame size and data rate.
jeremy
next prev parent reply other threads:[~2003-11-21 8:44 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-19 23:03 [ANNOUNCE] QLogic qla2xxx driver update available (v8.00.00b6) Andrew Vasquez
2003-11-19 23:18 ` Matthew Wilcox
2003-11-20 9:19 ` Jes Sorensen
2003-11-21 8:43 ` Jeremy Higdon [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-12-02 18:22 Andrew Vasquez
2003-12-02 18:10 Andrew Vasquez
2003-12-01 23:21 Andrew Vasquez
2003-12-02 2:02 ` Jeremy Higdon
2003-12-02 10:01 ` Andrew Vasquez
2003-12-02 9:36 ` Jeremy Higdon
2003-12-02 3:22 ` Jeremy Higdon
2003-12-02 10:15 ` Andrew Vasquez
2003-12-02 9:50 ` Jeremy Higdon
2003-11-25 19:29 Andrew Vasquez
2003-11-25 23:31 ` Jeremy Higdon
2003-11-27 1:20 ` Jeremy Higdon
2003-11-24 17:37 Andrew Vasquez
2003-11-25 1:22 ` Jeremy Higdon
2003-11-25 8:18 ` Christoph Hellwig
2003-11-25 8:21 ` Jes Sorensen
2003-11-19 23:38 Andrew Vasquez
2003-11-06 19:33 Andrew Vasquez
2003-11-07 9:39 ` Christoph Hellwig
2003-11-06 17:45 Andrew Vasquez
2003-11-06 17:59 ` Arjan van de Ven
2003-11-07 9:37 ` Christoph Hellwig
2003-11-06 17:11 Andrew Vasquez
2003-11-06 17:14 ` Jens Axboe
2003-11-06 17:43 ` Arjan van de Ven
2003-11-06 17:50 ` Jens Axboe
2003-11-06 17:55 ` Arjan van de Ven
2003-11-06 17:58 ` Jens Axboe
2003-11-06 17:02 Andrew Vasquez
2003-11-06 17:53 ` Matthew Wilcox
2003-11-07 9:58 ` Christoph Hellwig
2003-11-07 9:33 ` Christoph Hellwig
2003-11-05 18:39 Andrew Vasquez
2003-11-06 9:17 ` Jens Axboe
2003-11-05 1:15 Andrew Vasquez
2003-11-05 9:17 ` Mike Anderson
2003-11-06 9:36 ` Christoph Hellwig
2003-11-06 10:51 ` Christoph Hellwig
2003-11-10 14:00 ` Jes Sorensen
[not found] ` <20031114115847.GA32664@lst.de>
2003-11-17 12:18 ` Christoph Hellwig
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=20031121084325.GA119216@sgi.com \
--to=jeremy@sgi.com \
--cc=andrew.vasquez@qlogic.com \
--cc=jbarnes@sgi.com \
--cc=jes@wildopensource.com \
--cc=linux-scsi@vger.kernel.org \
--cc=mdr@sgi.com \
/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;
as well as URLs for NNTP newsgroup(s).