Re: [PATCH v6 1/2] net: mhi: Enable Ethernet interface support

From
Andrew Lunn <andrew@lunn.ch>
Date
2025-12-09 13:37:09
Also in
linux-arm-msm, lkml
Reply to
Vivek Pernamitta, 2025-12-09
quoted hunk ↗ jump to hunk
 	ndev = alloc_netdev(sizeof(struct mhi_net_dev), info->netname,
-			    NET_NAME_PREDICTABLE, mhi_net_setup);
+			    NET_NAME_PREDICTABLE, info->ethernet_if ?
+			    mhi_ethernet_setup : mhi_net_setup);
Is the name predictable? I thought "eth%d" was considered
NET_NAME_ENUM?

https://elixir.bootlin.com/linux/v6.18/source/net/ethernet/eth.c#L382

	Andrew
Thread (12 messages) 12 messages, 4 authors, last reply 2026-02-04
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help