GRETH driver device descriptor.
More...
GRETH driver device descriptor.
The netdev member must remain first so the driver can be cast between greth_t * and netdev_t *.
Definition at line 109 of file greth.h.
#include <greth.h>
◆ gbit
True if gigabit mode is available.
Definition at line 121 of file greth.h.
◆ netdev
netdev base — MUST be first
Definition at line 110 of file greth.h.
◆ params
Pointer to board configuration.
Definition at line 112 of file greth.h.
◆ phy_addr
| unsigned greth_t::phy_addr |
PHY MDIO address, read from hardware.
Definition at line 120 of file greth.h.
◆ rx_desc
RX descriptor ring.
Definition at line 114 of file greth.h.
◆ rx_idx
Index of next RX descriptor to check.
Definition at line 117 of file greth.h.
◆ tx_buf
flat TX frame buffer
Definition at line 115 of file greth.h.
◆ tx_desc
TX descriptor ring.
Definition at line 113 of file greth.h.
◆ tx_idx
Index of next TX descriptor to use.
Definition at line 118 of file greth.h.
The documentation for this struct was generated from the following file: