[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210114231648.199685-1-russell.h.weight@intel.com>
Date: Thu, 14 Jan 2021 15:16:47 -0800
From: Russ Weight <russell.h.weight@...el.com>
To: lee.jones@...aro.org, linux-kernel@...r.kernel.org
Cc: trix@...hat.com, lgoncalv@...hat.com, yilun.xu@...el.com,
hao.wu@...el.com, matthew.gerlach@...el.com,
Russ Weight <russell.h.weight@...el.com>
Subject: [PATCH v4 0/1] mfd: intel-m10-bmc: add sysfs files for mac_address
Add two sysfs nodes to the Intel MAX10 BMC driver: mac_address
and mac_count. The mac_address provides the first of a series
of sequential MAC addresses assigned to the FPGA card. The
mac_count indicates how many MAC addresses are assigned to the
card.
Changelog v3 -> v4:
- Changed local variables macaddr1 and macaddr2 to macaddr_low
and macaddr_high
- Change macros M10BMC_MACADDR1 and M10BMC_MACADDR2 to
M10BMC_MAC_LOW and M10BMC_MAC_HIGH
Changelog v2 -> v3:
- Updated Date and KernelVersion in ABI documentation
Changelog v1 -> v2:
- Updated the documentation for the mac_address and mac_count
sysfs nodes to clearify their usage.
- Changed sysfs _show() functions to use sysfs_emit() instead
of sprintf.
Russ Weight (1):
mfd: intel-m10-bmc: expose mac address and count
.../ABI/testing/sysfs-driver-intel-m10-bmc | 21 +++++++++
drivers/mfd/intel-m10-bmc.c | 43 +++++++++++++++++++
include/linux/mfd/intel-m10-bmc.h | 9 ++++
3 files changed, 73 insertions(+)
--
2.25.1
Powered by blists - more mailing lists