Skip to content

Fixed and added missing header of ael2005_conf.c file and a comment on top of ael2005.h#2

Open
forconesi wants to merge 1 commit intohwanju:masterfrom
forconesi:phy_conf
Open

Fixed and added missing header of ael2005_conf.c file and a comment on top of ael2005.h#2
forconesi wants to merge 1 commit intohwanju:masterfrom
forconesi:phy_conf

Conversation

@forconesi
Copy link

Added missing header of ael2005_conf.c file and a comment on top of ael2005_conf.h file.

Physical interfaces are mapped to nf0, nf1, nf2 and nf3 interfaces in
the host through its corresponding Port Address (PRTAD). PRTAD of each
interface is hard-wired on the board so four variables of type bool
are added to document and make clear which physical interface is being
configured with a given PRTAD.

timeout variable is set to zero for every loop, otherwise it expires
when all the four ports are configured (and the driver fails to load).

Fixed comments on the code to match the general coding style and changed
two messages written by pr_info()

To test it: remove the power of the board so PHYs get unconfigured.
Boot the machine, load the driver and run a network application, e.g.
iperf.

`ael2005_conf.h' file.

Physical interfaces are mapped to nf0, nf1, nf2 and nf3 interfaces in
the host through its corresponding Port Address (PRTAD). PRTAD of each
interface is hard-wired on the board so four variables of type `bool'
are added to document and make clear which physical interface is being
configured with a given PRTAD.

`timeout' variable is set to zero for every loop, otherwise it expires
when all the four ports are configured (and the driver fails to load).

Fixed comments on the code to match the general coding style and changed
two messages written by pr_info()

To test it: remove the power of the board so PHYs get unconfigured.
Boot the machine, load the driver and run a network application, e.g.
iperf.
@forconesi
Copy link
Author

This is take 2, I screwed things up in the previous pull request. I changed the branch name to avoid confusion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant