public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* proc_name in sysfs
@ 2005-04-06 11:40 Frederic TEMPORELLI
  2005-04-06 18:36 ` Patrick Mansfield
  2005-04-08  6:46 ` Christoph Hellwig
  0 siblings, 2 replies; 12+ messages in thread
From: Frederic TEMPORELLI @ 2005-04-06 11:40 UTC (permalink / raw)
  To: linux-scsi

Hello,


We are using HBAs modules names from "proc_name" interface in sysfs:
/sys/class/scsi_host/hostX/proc_name.

But with new Emulex drivers (8.0.21 and +), proc_name is reporting <NULL> 
(previous drivers were reporting "lpfc").
=> In the driver code, .proc_name field from scsi_host_template structure is no 
more initialized.
James Smart told us that the "removal" of .proc_name field (not really removed, 
but no more initialized) was part of the /proc interfaces removal (suggested by 
scsi-linux feedback).

So:
1/ now, what is the aim of proc_name interface (reporting "<NULL>") in sysfs ?
2/ now, how can we get the adapter module name from sysfs ?

=> I'm just thinking that .proc_name field has to be kept initialized and/or 
something has to be changed to replace the confusing "proc" prefix.


Best regards


-- 
Frederic TEMPORELLI
Bull - Echirolles - France

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

end of thread, other threads:[~2005-04-11 14:20 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-06 11:40 proc_name in sysfs Frederic TEMPORELLI
2005-04-06 18:36 ` Patrick Mansfield
2005-04-07  1:06   ` Douglas Gilbert
2005-04-07  6:35     ` Frederic TEMPORELLI
2005-04-07  8:17       ` Douglas Gilbert
2005-04-08  0:02       ` Patrick Mansfield
2005-04-08  7:37         ` Frederic TEMPORELLI
2005-04-08  0:00     ` Patrick Mansfield
2005-04-08  6:46 ` Christoph Hellwig
2005-04-08  8:03   ` Douglas Gilbert
2005-04-11 11:52     ` Christoph Hellwig
2005-04-11 14:19       ` James Bottomley

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