public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* Adding transport attributes to qla1280
@ 2004-09-15 15:38 James Bottomley
  0 siblings, 0 replies; 2+ messages in thread
From: James Bottomley @ 2004-09-15 15:38 UTC (permalink / raw)
  To: Jeremy Higdon, Andrew Vasquez, Jes Sorensen; +Cc: SCSI Mailing List

Hi All,

I've run into rather a nasty problem in the qla1280 drivers to do with
transport attributes.  My plan, if I can get settable attributes to
work, is to convert it over to the SPI transport class and pull in
domain validation for free.

The problem is that the API in the driver for setting attributes:
qla1280_set_target_parameters() doesn't seem to work ... at least it
does apparently set the parameters using a qla1280 mailbox command, and
if I read them back again with the other command, it confirms the
setting.  However, the next attempt to access the device hangs the
entire system.

My deduction from all of this is that the HBA is changing the transfer
settings on its side but not renegotiating those new settings with the
device.  However, without a bus analyser, I can't be sure I'm correct.

So, since this entire HBA is one of the magic ones that runs in
proprietary firmware and has no documentation even for the mailbox
command interface, could someone who has access to the secret documents
look in them and tell me how I can do this?

Alternatively, actually releasing the specs for what are now at least 4
year old chips would be a very nice gesture on the part of Qlogic.

James



^ permalink raw reply	[flat|nested] 2+ messages in thread
* RE: Adding transport attributes to qla1280
@ 2004-09-15 16:55 Andrew Vasquez
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Vasquez @ 2004-09-15 16:55 UTC (permalink / raw)
  To: James Bottomley, Jeremy Higdon, Jes Sorensen; +Cc: SCSI Mailing List


On Wednesday, September 15, 2004 8:39 AM, James Bottomley wrote:
> 
> I've run into rather a nasty problem in the qla1280 drivers to do
> with transport attributes.  My plan, if I can get settable
> attributes to work, is to convert it over to the SPI transport class
> and pull in domain validation for free. 
> 
> The problem is that the API in the driver for setting attributes:
> qla1280_set_target_parameters() doesn't seem to work ... at least it
> does apparently set the parameters using a qla1280 mailbox command,
> and if I read them back again with the other command, it confirms
> the setting.  However, the next attempt to access the device hangs
> the entire system. 
> 
> My deduction from all of this is that the HBA is changing the
> transfer settings on its side but not renegotiating those new
> settings with the device.  However, without a bus analyser, I can't
> be sure I'm correct.
> 

I'll ping locally for some information.

> So, since this entire HBA is one of the magic ones that runs in
> proprietary firmware and has no documentation even for the mailbox
> command interface, could someone who has access to the secret
> documents look in them and tell me how I can do this?
> 
> Alternatively, actually releasing the specs for what are now at
> least 4 year old chips would be a very nice gesture on the part of
> Qlogic.
> 

Christophe had expressed interest some time ago for QLogic SCSI specs.
I've been trying to negotiate with locals here at QLogic for the
specs. release.

--
AV

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-09-15 16:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-15 15:38 Adding transport attributes to qla1280 James Bottomley
  -- strict thread matches above, loose matches on Subject: below --
2004-09-15 16:55 Andrew Vasquez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox