1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/stm32: periph_eth: drop addr from eth_conf_t

MAC address is now supplied by EUI provider, no need to hard-code
it for the board.
This commit is contained in:
Benjamin Valentin 2020-11-29 23:11:14 +01:00
parent a28a60f16c
commit 0ed34cdb4d
4 changed files with 0 additions and 4 deletions

View File

@ -248,7 +248,6 @@ static const adc_conf_t adc_config[] = {
*/
static const eth_conf_t eth_config = {
.mode = RMII,
.addr = { 0 },
.speed = MII_BMCR_SPEED_100 | MII_BMCR_FULL_DPLX,
.dma = 6,
.dma_chan = 8,

View File

@ -219,7 +219,6 @@ static const spi_conf_t spi_config[] = {
*/
static const eth_conf_t eth_config = {
.mode = RMII,
.addr = { 0 },
.speed = MII_BMCR_SPEED_100 | MII_BMCR_FULL_DPLX,
.dma = 7,
.dma_chan = 8,

View File

@ -167,7 +167,6 @@ static const spi_conf_t spi_config[] = {
*/
static const eth_conf_t eth_config = {
.mode = RMII,
.addr = { 0 },
.speed = MII_BMCR_SPEED_100 | MII_BMCR_FULL_DPLX,
.dma = 3,
.dma_chan = 8,

View File

@ -1049,7 +1049,6 @@ typedef enum {
*/
typedef struct {
eth_mode_t mode; /**< Select configuration mode */
uint8_t addr[6]; /**< Ethernet MAC address */
uint16_t speed; /**< Speed selection */
uint8_t dma; /**< Locical CMA Descriptor used for TX */
uint8_t dma_chan; /**< DMA channel used for TX */