diff mbox

[U-Boot,v2,5/7] include/net.h: add max_speed member in struct eth_pdata

Message ID 1452693577-25786-6-git-send-email-abrodkin@synopsys.com
State Accepted
Commit f74264d
Delegated to: Joe Hershberger
Headers show

Commit Message

Alexey Brodkin Jan. 13, 2016, 1:59 p.m. UTC
This will be used for getting max speed mode of Ethernet interface that
a particular MAC supports from Device Tree blob and later being used for
phy configuration.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
---

Changes v1 -> v2:
 No changes, this is just a resent in series with other related patches.

 include/net.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

Joe Hershberger Jan. 27, 2016, 4:08 p.m. UTC | #1
On Wed, Jan 13, 2016 at 7:59 AM, Alexey Brodkin
<Alexey.Brodkin@synopsys.com> wrote:
> This will be used for getting max speed mode of Ethernet interface that
> a particular MAC supports from Device Tree blob and later being used for
> phy configuration.
>
> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
> Cc: Joe Hershberger <joe.hershberger@ni.com>

Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Joe Hershberger Jan. 29, 2016, 9:27 p.m. UTC | #2
Hi Alexey,

https://patchwork.ozlabs.org/patch/566949/ was applied to u-boot-net.git.

Thanks!
-Joe
diff mbox

Patch

diff --git a/include/net.h b/include/net.h
index ebed29a..7dbba09 100644
--- a/include/net.h
+++ b/include/net.h
@@ -86,11 +86,13 @@  enum eth_state_t {
  * @iobase: The base address of the hardware registers
  * @enetaddr: The Ethernet MAC address that is loaded from EEPROM or env
  * @phy_interface: PHY interface to use - see PHY_INTERFACE_MODE_...
+ * @max_speed: Maximum speed of Ethernet connection supported by MAC
  */
 struct eth_pdata {
 	phys_addr_t iobase;
 	unsigned char enetaddr[6];
 	int phy_interface;
+	int max_speed;
 };
 
 enum eth_recv_flags {