test: dm_mdio: add a 2nd register to the emulated PHY
This 2nd register is used by the follow-up MDIO MUX test. Signed-off-by: Alex Marginean <alexm.osslist@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
committed by
Joe Hershberger
parent
20af5adf22
commit
b47edf8069
@@ -13,6 +13,9 @@
|
||||
|
||||
/* macros copied over from mdio_sandbox.c */
|
||||
#define SANDBOX_PHY_ADDR 5
|
||||
#define SANDBOX_PHY_REG_CNT 2
|
||||
|
||||
/* test using 1st register, 0 */
|
||||
#define SANDBOX_PHY_REG 0
|
||||
|
||||
#define TEST_REG_VALUE 0xabcd
|
||||
|
||||
Reference in New Issue
Block a user