Skip to content
Commit 49524a77 authored by John Jacques's avatar John Jacques Committed by Liwei Song
Browse files

net: ethernet: Clean Up Intel Axxia FEMAC driver

commit 623dab38

 from
https://github.com/axxia/linux-yocto.git v5.10/standard/axxia-dev/base.

Remove support for PowerPC (3xxx) parts in this version of the driver.

Use dev_* instead of pr_* when possible.

Clean up stats and logging.

There were a log of messages like "...No end of packet...". In
most cases the packets were okay, but there were no buffers available.

Packets are also discarded, although by the driver and not the hardware,
when the destination MAC is not for us. This is the case because the
hardware only supports promiscuous mode.

The above will be logged using *_ratelimited or *_once functions.

Overflow, CRC, and alignment errors will be logged as they occur.

Change the default size of RX descriptor ring and buffers.

Signed-off-by: default avatarJohn Jacques <john.jacques@intel.com>
Signed-off-by: default avatarQuanyang Wang <quanyang.wang@windriver.com>
[adjust for of_get_mac_address() which require two arguments]
Signed-off-by: default avatarLiwei Song <liwei.song@windriver.com>
parent e5aaa749
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment