mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 08:44:21 +08:00
803f1ca60d
Export information about the bus stored in the FPGA's header to userspace via sysfs, instead of hiding it in pr_debug()s from everyone. Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de> Reviewed-by: Andreas Werner <andreas.werner@men.de> Tested-by: Andreas Werner <andreas.werner@men.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
30 lines
820 B
Plaintext
30 lines
820 B
Plaintext
What: /sys/bus/mcb/devices/mcb:X
|
|
Date: March 2016
|
|
KernelVersion: 4.7
|
|
Contact: Johannes Thumshirn <jth@kernel.org>
|
|
Description: Hardware chip or device hosting the MEN chameleon bus
|
|
|
|
What: /sys/bus/mcb/devices/mcb:X/revision
|
|
Date: March 2016
|
|
KernelVersion: 4.7
|
|
Contact: Johannes Thumshirn <jth@kernel.org>
|
|
Description: The FPGA's revision number
|
|
|
|
What: /sys/bus/mcb/devices/mcb:X/minor
|
|
Date: March 2016
|
|
KernelVersion: 4.7
|
|
Contact: Johannes Thumshirn <jth@kernel.org>
|
|
Description: The FPGA's minor number
|
|
|
|
What: /sys/bus/mcb/devices/mcb:X/model
|
|
Date: March 2016
|
|
KernelVersion: 4.7
|
|
Contact: Johannes Thumshirn <jth@kernel.org>
|
|
Description: The FPGA's model number
|
|
|
|
What: /sys/bus/mcb/devices/mcb:X/name
|
|
Date: March 2016
|
|
KernelVersion: 4.7
|
|
Contact: Johannes Thumshirn <jth@kernel.org>
|
|
Description: The FPGA's name
|