Matthias Fuchs wrote:
> Hi,
> 
> I am wondering what is the best way to provide
> some product information for a CAN interface device (hardware version, 
> serialno, firmware version)? My favour way is to generate some files
> in sysfs as it is typically (but limited) done for USB devices.
> 
> Would /sys/class/net/can*/version be suitable?

I just understood from Oliver, that your are speaking about device
specific properties (and not common one). Then just use
device_create_file(), which will create entries in /sys/devices/...
(the symbolic link /sys/class/net/can*/device).

Wolfgang.

_______________________________________________
Socketcan-core mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-core

Reply via email to