]> rtime.felk.cvut.cz Git - pes-rpp/rpp-test-sw.git/blobdiff - rpp-test-sw/commands/cmd_emac.c
Change MAC address
[pes-rpp/rpp-test-sw.git] / rpp-test-sw / commands / cmd_emac.c
index c7edb82d7c454f8c5b9e1a8842fb2e460350fe65..4458729d98511a9537a04019b8227d6118943232 100644 (file)
@@ -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 */