aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/freescale/enetc/enetc_vf.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2019-05-24 13:16:33 -0700
committerDavid S. Miller <davem@davemloft.net>2019-05-24 13:16:33 -0700
commitdaeceb2df3dfb16f936bc169b0e768bdedc6367f (patch)
tree92243414c9f400d8a6149ccda9cc10308075d1fa /drivers/net/ethernet/freescale/enetc/enetc_vf.c
parentnet: ll_temac: Fix compile error (diff)
parentarm64: dts: fsl: ls1028a: add ENETC 1588 timer node (diff)
downloadlinux-dev-daeceb2df3dfb16f936bc169b0e768bdedc6367f.tar.xz
linux-dev-daeceb2df3dfb16f936bc169b0e768bdedc6367f.zip
Merge branch 'ENETC-support-hardware-timestamping'
Y.b. Lu says: ==================== ENETC: support hardware timestamping This patch-set is to support hardware timestamping for ENETC and also to add ENETC 1588 timer device tree node for ls1028a. Because the ENETC RX BD ring dynamic allocation has not been supported and it is too expensive to use extended RX BDs if timestamping is not used, a Kconfig option is used to enable extended RX BDs in order to support hardware timestamping. This option will be removed once RX BD ring dynamic allocation is implemented. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/enetc/enetc_vf.c')
-rw-r--r--drivers/net/ethernet/freescale/enetc/enetc_vf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/freescale/enetc/enetc_vf.c b/drivers/net/ethernet/freescale/enetc/enetc_vf.c
index 72c3ea887bcf..17f72644c5a1 100644
--- a/drivers/net/ethernet/freescale/enetc/enetc_vf.c
+++ b/drivers/net/ethernet/freescale/enetc/enetc_vf.c
@@ -111,6 +111,7 @@ static const struct net_device_ops enetc_ndev_ops = {
.ndo_get_stats = enetc_get_stats,
.ndo_set_mac_address = enetc_vf_set_mac_addr,
.ndo_set_features = enetc_vf_set_features,
+ .ndo_do_ioctl = enetc_ioctl,
};
static void enetc_vf_netdev_setup(struct enetc_si *si, struct net_device *ndev,