forked from openwrt/openwrt
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Until now we have a lot of things in the normal net/phy driver. The SerDes stuff does not belong there. Looking around we can take a lot of ideas from the ocelot/felix drivers and provide a nice implementation for the realtek target. Add the driver and enable it in the readonly mode for all 4 SoC types. What can we do later with this: 1. Inject patch commands through the devicetree. 2. Lookup the SerDes thorugh the net/phy driver to control the SerDes at appropriate events (e.g. mac_config()). The NIC adress range in the rlt839x.dtsi is inconsistent and overlaps with the SerDes registers. Reorganize that to some meaningful range. The NIC driver does not use that base at all. Tested on: RTL838x: Linksys LGS310C RTL839x: Zyxel GS1920-24 RTL930x: Zyxel XGS1210-12 RTL931x: Linksys LGS352C Signed-off-by: Markus Stockhausen <[email protected]>
- Loading branch information
1 parent
d03f3dc
commit 03dd77e
Showing
11 changed files
with
1,233 additions
and
2 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
Oops, something went wrong.