openrisc / or1ksim

The OpenRISC 1000 architectural simulator
GNU General Public License v3.0
69 stars 43 forks source link

Added random_mac configuration option to ethernet. #3

Closed bluecmd closed 7 years ago

bluecmd commented 10 years ago
* peripheral/eth.c (eth_random_mac): Added configuration option to
control the MAC address generation from the simulator.
* doc/or1ksim.texi: Added information on random_mac
* configuration.
* doc/or1ksim.info: Regenerated.
* doc/version.info: Regenerated.
* sim.cfg: Updated sample configuration to list random_mac.
jeremybennett commented 10 years ago

Nice work - thanks for this. If possible, please add some appropriate tests to the testsuite (stops someone breaking it in the future).

Assuming regression testing and "make distcheck" both pass, please commit and also cherry-pick into the or1k branch.

bluecmd commented 10 years ago

Will do, thanks.

skristiansson commented 10 years ago

I've tested to run 'make distcheck' against this and there were no new failures.