X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Fcmd_mii.c;h=7c4a57aa569fd9d0a7ba7da4769ec02190a02ca0;hb=72731118e241266b88c89bfc01a0162d0e27ff2b;hp=d3dd6b1c9e8100f8e9f695a6ccab1fd9dc3533b2;hpb=5b9c79a81db80c3f9e50c77477957cd803429af8;p=u-boot diff --git a/common/cmd_mii.c b/common/cmd_mii.c index d3dd6b1c9e..7c4a57aa56 100644 --- a/common/cmd_mii.c +++ b/common/cmd_mii.c @@ -78,9 +78,9 @@ static const MII_field_desc_t reg_3_desc_tbl[] = { static const MII_field_desc_t reg_4_desc_tbl[] = { { 15, 15, 0x01, "next page able" }, - { 14, 14, 0x01, "reserved" }, + { 14, 14, 0x01, "(reserved)" }, { 13, 13, 0x01, "remote fault" }, - { 12, 12, 0x01, "reserved" }, + { 12, 12, 0x01, "(reserved)" }, { 11, 11, 0x01, "asymmetric pause" }, { 10, 10, 0x01, "pause enable" }, { 9, 9, 0x01, "100BASE-T4 able" }, @@ -160,10 +160,10 @@ static void dump_reg( mask_in_place = pdesc->mask << pdesc->lo; - printf(" (%04hx:%04hx) %u.", - mask_in_place, - regval & mask_in_place, - prd->regno); + printf(" (%04hx:%04x) %u.", + mask_in_place, + regval & mask_in_place, + prd->regno); if (special_field(prd->regno, pdesc, regval)) { }