From 1f9846dffd9ba3acea91736eac170b25d2808ab2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jakub=20Nejedl=C3=BD?= Date: Wed, 21 Aug 2019 09:42:01 +0200 Subject: [PATCH] Change MAC address Unification of MAC addresses over project. Emac address is used only in this debugging tool. During emac_test is't called rpp_init(). MAC address defined in eth.h have no efect in this test file. --- rpp-test-sw/commands/cmd_emac.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/rpp-test-sw/commands/cmd_emac.c b/rpp-test-sw/commands/cmd_emac.c index c7edb82..4458729 100644 --- a/rpp-test-sw/commands/cmd_emac.c +++ b/rpp-test-sw/commands/cmd_emac.c @@ -73,7 +73,12 @@ unsigned int phylink; unsigned int intvect; unsigned int intvectraw; -uint8_t emacAddress[6] = {0x12, 0x34, 0x56, 0x78, 0x90, 0xab}; +/* + * Emac address is used only in this debugging tool. During emac_test is't called rpp_init(). + * MAC address defined in eth.h have no efect in this test file. + */ + +uint8_t emacAddress[6] = {0x12, 0x34, 0x56, 0x78, 0x9a, 0xbc}; uint32_t emacPhyAddress = 0x1; /* Address of PHY on "MDIO bus" (depends on PHY configuration) */ int channel = 0; /* Emac has 8 RX and TX channels; we use only one */ -- 2.39.2