esp_eth: Add ioctl command for getting duplex mode

Similar to ETH_CMD_G_SPEED, add ETH_CMD_G_DUPLEX_MODE for getting duplex mode.

Merges https://github.com/espressif/esp-idf/pull/6436
This commit is contained in:
Axel Lin
2021-01-20 18:02:23 +08:00
committed by bot
parent 1614cefd4f
commit 2049aa9f68
2 changed files with 5 additions and 0 deletions

View File

@@ -93,6 +93,7 @@ typedef enum {
ETH_CMD_G_SPEED, /*!< Get Speed */
ETH_CMD_S_PROMISCUOUS, /*!< Set promiscuous mode */
ETH_CMD_S_FLOW_CTRL, /*!< Set flow control */
ETH_CMD_G_DUPLEX_MODE, /*!< Get Duplex mode */
} esp_eth_io_cmd_t;
/**