On Wed, Jan 19, 2005 at 01:39:24PM -0800, Mike Anderson wrote:
Greg KH [EMAIL PROTECTED] wrote:
On Wed, Jan 19, 2005 at 06:13:57PM +0100, Christoph Hellwig wrote:
I think the hardware_version, firmware_version, rom_version and driver_version don't belong into the FC transport class, there's nothign specific to FC or even SCSI specific in them.
Then put them in the individual driver (not the driver_version one though, that belongs as a MODULE_VERSION() paramater).
Are there plans to export MODULE_VERSION info in /sys/module/*/ ? I believe the intent was to try and use libsysfs to access these attributes / info.
I had a patch to do that around here somewhere, but I think it was rejected as people can get the same info by using 'modinfo' instead. You know, the old, "use a userspace tool instead of wasting kernel memory" argument :)
That's too bad. modinfo will only tell you information about the driver that modprobe finds, which is not necessarily what is currently loaded in kernel memory.
-- Brian King eServer Storage I/O IBM Linux Technology Center - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

