forked from torvalds/linux
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When submitting the initial driver for the Altera TSE PCS, Russell King noted that the register layout for the TSE PCS is very similar to the Lynx PCS. The main difference being that TSE PCS's register space is memory-mapped, whereas Lynx's is exposed over MDIO. Convert the TSE PCS to reuse the whole logic from Lynx, by allowing the creation of a dummy MDIO bus, and a dummy MDIO device located at address 0 on that bus. The MAC driver that uses this PCS must provide callbacks to read/write the MMIO. Also convert the Altera TSE MAC driver to this new way of using the TSE PCS. Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
- Loading branch information
1 parent
025a785
commit fc34f36
Showing
5 changed files
with
142 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters