diff options
Diffstat (limited to 'kernel/drivers/net/ethernet/moxa')
-rw-r--r-- | kernel/drivers/net/ethernet/moxa/Kconfig | 4 | ||||
-rw-r--r-- | kernel/drivers/net/ethernet/moxa/moxart_ether.c | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/kernel/drivers/net/ethernet/moxa/Kconfig b/kernel/drivers/net/ethernet/moxa/Kconfig index 1731e050f..5b531da36 100644 --- a/kernel/drivers/net/ethernet/moxa/Kconfig +++ b/kernel/drivers/net/ethernet/moxa/Kconfig @@ -7,9 +7,7 @@ config NET_VENDOR_MOXART default y depends on (ARM && ARCH_MOXART) ---help--- - If you have a network (Ethernet) card belonging to this class, say Y - and read the Ethernet-HOWTO, available from - <http://www.tldp.org/docs.html#howto>. + If you have a network (Ethernet) card belonging to this class, say Y. Note that the answer to this question doesn't directly affect the kernel: saying N will just cause the configurator to skip all diff --git a/kernel/drivers/net/ethernet/moxa/moxart_ether.c b/kernel/drivers/net/ethernet/moxa/moxart_ether.c index 81d0f1c86..a10c928bb 100644 --- a/kernel/drivers/net/ethernet/moxa/moxart_ether.c +++ b/kernel/drivers/net/ethernet/moxa/moxart_ether.c @@ -244,7 +244,6 @@ static int moxart_rx_poll(struct napi_struct *napi, int budget) napi_gro_receive(&priv->napi, skb); rx++; - ndev->last_rx = jiffies; priv->stats.rx_packets++; priv->stats.rx_bytes += len; if (desc0 & RX_DESC0_MULTICAST) @@ -553,6 +552,7 @@ static const struct of_device_id moxart_mac_match[] = { { .compatible = "moxa,moxart-mac" }, { } }; +MODULE_DEVICE_TABLE(of, moxart_mac_match); static struct platform_driver moxart_mac_driver = { .probe = moxart_mac_probe, |