proc_name in sysfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 - : send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux