Thread (7 messages) 7 messages, 3 authors, 2026-02-11

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

From: Paolo Abeni <pabeni@redhat.com>
Date: 2026-02-10 10:43:10
Also in: linux-arm-msm, lkml

On 2/5/26 11:34 AM, Vivek Pernamitta wrote:
quoted hunk ↗ jump to hunk
@@ -4,6 +4,7 @@
  * Copyright (C) 2020 Linaro Ltd <loic.poulain@linaro.org>
  */
 
+#include <linux/etherdevice.h>
 #include <linux/if_arp.h>
 #include <linux/mhi.h>
 #include <linux/mod_devicetable.h>
@@ -38,10 +39,12 @@ struct mhi_net_dev {
 	u32 rx_queue_sz;
 	int msg_enable;
 	unsigned int mru;
+	bool ethernet_if;
This is not needed, instead you could check !!dev->header_ops

/P
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help