Revision 4e298e46 hw/net/xilinx_axienet.c
b/hw/net/xilinx_axienet.c | ||
---|---|---|
575 | 575 |
break; |
576 | 576 |
|
577 | 577 |
case R_MC: |
578 |
value &= ((1 < 7) - 1); |
|
578 |
value &= ((1 << 7) - 1);
|
|
579 | 579 |
|
580 | 580 |
/* Enable the MII. */ |
581 | 581 |
if (value & MC_EN) { |
Also available in: Unified diff