-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multi port updated #318
Multi port updated #318
Conversation
cb4e194
to
0b2fcea
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
My only comment is that maybe we should change the GSDML filename (date part) when modifying the file.
ef5da6b
to
cb1f00a
Compare
- Handle lldp name of station mode - Default name of station mode set to standard - In lldp replace zero-len station name with mac - Update tests
cb1f00a
to
3b09d41
Compare
@@ -96,11 +96,16 @@ Run ``ifconfig`` to check that the bridge is up and its network interfaces are a | |||
Configuration of p-net stack and sample application | |||
--------------------------------------------------------- | |||
To run p-net and the sample application with multiple ports a couple | |||
of things need to be done: | |||
of things need to be done. Note that the settings described in the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we explain ccmake then you should maybe also mention that options can be set on the command line when configuring (-DPNET_MAX_PORTS=2), which is probably how you would set it in a build script or similar.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -56,15 +56,25 @@ | |||
</InterfaceSubmoduleItem> | |||
<PortSubmoduleItem ID="IDS_P1" SubmoduleIdentNumber="0x00008001" SubslotNumber="32769" TextId="IDT_NAME_PS1" MaxPortRxDelay="350" MaxPortTxDelay="160"> | |||
<MAUTypeList> | |||
<!-- | |||
MAUTypeItems shall match the actual network interfaces of the device. | |||
Current list is works for Raspberry Pi, Linksys usb/ethernet dongle and xmc sample targets |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
list works?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -101,13 +101,13 @@ const pnet_port_cfg_t * pf_port_get_config (pnet_t * net, int loc_port_num) | |||
uint16_t pf_port_loc_port_num_to_dap_subslot (int loc_port_num) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These functions should have tests (or regression tests for the problem being fixed).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests added.
Done
Needed to report correct port status.
3b09d41
to
ee307d4
Compare
ee307d4
to
c7915fc
Compare
Misc updates to pass Automated RT test suite on Raspberry Pi with an usb/ethernet dongle as a second port.
Includes / rebased on #319