diff options
author | Alex Marginean | 2019-07-12 10:13:52 +0300 |
---|---|---|
committer | Joe Hershberger | 2019-07-18 16:37:13 -0500 |
commit | b47edf8069cc9fbac8bcb96a1e519c2fbcda7911 (patch) | |
tree | ed710456b0e275da73797d502933119583773940 /test/dm | |
parent | 20af5adf22bd16fea2713f9fc19c22920500420d (diff) |
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>
Diffstat (limited to 'test/dm')
-rw-r--r-- | test/dm/mdio.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/dm/mdio.c b/test/dm/mdio.c index 5b66255f7d4..dc229aed6d0 100644 --- a/test/dm/mdio.c +++ b/test/dm/mdio.c @@ -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 |