Revert "mt7620: gsw: make IntPHY and ExtPHY share mdio addr 4 possible"
authorJo-Philipp Wich <jo@mein.io>
Mon, 6 Aug 2018 17:52:06 +0000 (19:52 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 6 Aug 2018 17:54:19 +0000 (19:54 +0200)
commitcb043ad8dada30e8d5ff454abb38d516e75aeff9
treed2011159dc7a5f5ac6e0e36694367485f9a238cb
parent6c075777d5afdeef7516e5125526b3f2c406f453
Revert "mt7620: gsw: make IntPHY and ExtPHY share mdio addr 4 possible"

This reverts commit b40316c21a960d332bc9b04ee1791b8aafcf8786.

That change causes ramips/mt7620 to fail with:

    drivers/net/ethernet/mtk/gsw_mt7620.c: In function 'mt7620_hw_init':
    drivers/net/ethernet/mtk/gsw_mt7620.c:171:14: error: 'mdio_mode' undeclared (first use in this function); did you mean 'd_move'?
      } else if (!mdio_mode) {
                  ^~~~~~~~~
                  d_move

Back it out for now to restore compilation.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/gsw_mt7620.c