All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heinrich Schuchardt <xypron.glpk@gmx.de>
To: u-boot@lists.denx.de
Subject: [PATCH v2 1/3] cmd: mvebu: Implement the Marvell hw_info command
Date: Mon, 01 Mar 2021 00:45:17 +0100	[thread overview]
Message-ID: <63277A75-DC4E-4839-97AB-2BFA25173425@gmx.de> (raw)
In-Reply-To: <20210227140550.07302fb1@nic.cz>

Am 27. Februar 2021 14:05:50 MEZ schrieb Marek Behun <marek.behun@nic.cz>:
>Luka, Tom,
>
>I am very against this.
>
>there already is `mac` command in cmd/mac.c with following help
>   display and program the system ID and MAC addresses in EEPROM
>   [read|save|id|num|errata|date|ports|port_number]
>   mac read
>       - read EEPROM content into memory data structure
>   mac save
>       - save memory data structure to the EEPROM
>   mac id
>       - program system id per hard coded value
>   mac num string
>       - program system serial number to value string
>   mac errata string
>       - program errata data to value string
>   mac date YYMMDDhhmmss
>       - program date to string value YYMMDDhhmmss
>   mac ports N
>       - program the number of network ports to integer N
>   mac X string
>     - program MAC addr for port X [X=0,1..] to colon separated string"
>
>Why introducing new, vendor specific commands, when we have a global
>API for such a thing?

We lack a man-page in doc/usage/.

Best regards

Heinrich

>
>Marek

  parent reply	other threads:[~2021-02-28 23:45 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-15 19:59 [PATCH v2 0/3] Add support for the GST ESPRESSOBin-Ultra board Luka Kovacic
2021-02-15 19:59 ` [PATCH v2 1/3] cmd: mvebu: Implement the Marvell hw_info command Luka Kovacic
2021-02-16  3:35   ` Tom Rini
2021-02-27  1:09   ` Pali Rohár
2021-02-28 21:54     ` Luka Kovacic
2021-03-01 15:17       ` Pali Rohár
2021-02-27 13:05   ` Marek Behun
2021-02-28 22:03     ` Luka Kovacic
2021-02-28 23:45     ` Heinrich Schuchardt [this message]
2021-02-15 19:59 ` [PATCH v2 2/3] arm: mvebu: mvebu_armada-37xx: Define the loadaddr environment variable Luka Kovacic
2021-02-27  0:38   ` Pali Rohár
2021-02-28 21:26     ` Luka Kovacic
2021-03-01 15:05       ` Pali Rohár
2021-02-15 19:59 ` [PATCH v2 3/3] arm: mvebu: Initial ESPRESSOBin-Ultra board support Luka Kovacic
2021-02-27  0:48   ` Pali Rohár
2021-02-27 13:24   ` Marek Behun
2021-02-28 21:38     ` Luka Kovacic
2021-03-01 15:41       ` Pali Rohár
2021-03-01 17:13         ` Marek Behun
2021-03-01 17:14         ` Marek Behun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=63277A75-DC4E-4839-97AB-2BFA25173425@gmx.de \
    --to=xypron.glpk@gmx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.