* [U-Boot] [PATCH] include/net.h: add max_speed member in struct eth_pdata
@ 2015-12-23 16:46 Alexey Brodkin
2016-01-11 10:10 ` Alexey Brodkin
0 siblings, 1 reply; 2+ messages in thread
From: Alexey Brodkin @ 2015-12-23 16:46 UTC (permalink / raw)
To: u-boot
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>
---
include/net.h | 2 ++
1 file changed, 2 insertions(+)
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 {
--
2.4.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH] include/net.h: add max_speed member in struct eth_pdata
2015-12-23 16:46 [U-Boot] [PATCH] include/net.h: add max_speed member in struct eth_pdata Alexey Brodkin
@ 2016-01-11 10:10 ` Alexey Brodkin
0 siblings, 0 replies; 2+ messages in thread
From: Alexey Brodkin @ 2016-01-11 10:10 UTC (permalink / raw)
To: u-boot
Hi Joe,
On Wed, 2015-12-23 at 19:46 +0300, Alexey Brodkin 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>
> ---
> include/net.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> 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 {
Any chance for this one to be applied?
-Alexey
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-01-11 10:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-23 16:46 [U-Boot] [PATCH] include/net.h: add max_speed member in struct eth_pdata Alexey Brodkin
2016-01-11 10:10 ` Alexey Brodkin
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.