[PATCH v2 0/5] Refactoring for GMA command

From: Ivan Mikhaylov
Date: Tue May 09 2023 - 07:35:28 EST


Make one GMA function for all manufacturers, change ndo_set_mac_address
to dev_set_mac_address for notifiying net layer about MAC change which
ndo_set_mac_address doesn't do.

Add mac-address-increment option for possibility to control MAC address
assignment on BMC via GMA command.

Changes from v1:
1. delete ftgmac100.txt changes about mac-address-increment
2. add convert to yaml from ftgmac100.txt
3. add mac-address-increment option for ethernet-controller.yaml

Ivan Mikhaylov (5):
net/ncsi: make one oem_gma function for all mfr id
net/ncsi: change from ndo_set_mac_address to dev_set_mac_address
dt-bindings: net: add mac-address-increment option
net/ncsi: add shift MAC address property
dt-bindings: net: ftgmac100: convert to yaml version from txt

.../bindings/net/ethernet-controller.yaml | 8 ++
.../bindings/net/faraday,ftgmac100.yaml | 110 ++++++++++++++++++
net/ncsi/ncsi-rsp.c | 108 ++++++-----------
3 files changed, 155 insertions(+), 71 deletions(-)
create mode 100644 Documentation/devicetree/bindings/net/faraday,ftgmac100.yaml

--
2.40.1