forked from Minki/linux
296f5568c6
Create two sysfs entries for exposing the MAC address and count from the MAX10 BMC register space. The MAC address is the first in a sequential block of MAC addresses reserved for the FPGA card. The MAC count is the number of MAC addresses in the reserved block. Signed-off-by: Russ Weight <russell.h.weight@intel.com> Signed-off-by: Xu Yilun <yilun.xu@intel.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
37 lines
1.2 KiB
Plaintext
37 lines
1.2 KiB
Plaintext
What: /sys/bus/spi/devices/.../bmc_version
|
|
Date: June 2020
|
|
KernelVersion: 5.10
|
|
Contact: Xu Yilun <yilun.xu@intel.com>
|
|
Description: Read only. Returns the hardware build version of Intel
|
|
MAX10 BMC chip.
|
|
Format: "0x%x".
|
|
|
|
What: /sys/bus/spi/devices/.../bmcfw_version
|
|
Date: June 2020
|
|
KernelVersion: 5.10
|
|
Contact: Xu Yilun <yilun.xu@intel.com>
|
|
Description: Read only. Returns the firmware version of Intel MAX10
|
|
BMC chip.
|
|
Format: "0x%x".
|
|
|
|
What: /sys/bus/spi/devices/.../mac_address
|
|
Date: January 2021
|
|
KernelVersion: 5.12
|
|
Contact: Russ Weight <russell.h.weight@intel.com>
|
|
Description: Read only. Returns the first MAC address in a block
|
|
of sequential MAC addresses assigned to the board
|
|
that is managed by the Intel MAX10 BMC. It is stored in
|
|
FLASH storage and is mirrored in the MAX10 BMC register
|
|
space.
|
|
Format: "%02x:%02x:%02x:%02x:%02x:%02x".
|
|
|
|
What: /sys/bus/spi/devices/.../mac_count
|
|
Date: January 2021
|
|
KernelVersion: 5.12
|
|
Contact: Russ Weight <russell.h.weight@intel.com>
|
|
Description: Read only. Returns the number of sequential MAC
|
|
addresses assigned to the board managed by the Intel
|
|
MAX10 BMC. This value is stored in FLASH and is mirrored
|
|
in the MAX10 BMC register space.
|
|
Format: "%u".
|