mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 00:22:00 +02:00
Complete the network device (netdev) registration flow for Mucse Gbe
Ethernet chips, including:
1. Hardware state initialization:
- Send powerup notification to firmware (via echo_fw_status)
- Sync with firmware
- Reset hardware
2. MAC address handling:
- Retrieve permanent MAC from firmware (via mucse_mbx_get_macaddr)
- Fallback to random valid MAC (eth_random_addr) if not valid mac
from Fw
Signed-off-by: Dong Yibo <dong100@mucse.com>
Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Link: https://patch.msgid.link/20251101013849.120565-6-dong100@mucse.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| rnpgbe_chip.c | ||
| rnpgbe_hw.h | ||
| rnpgbe_main.c | ||
| rnpgbe_mbx_fw.c | ||
| rnpgbe_mbx_fw.h | ||
| rnpgbe_mbx.c | ||
| rnpgbe_mbx.h | ||
| rnpgbe.h | ||