]> git.baikalelectronics.ru Git - kernel.git/commit
net: sgi: ioc3-eth: fix setting NETIF_F_HIGHDMA
authorChristoph Hellwig <hch@lst.de>
Mon, 4 Nov 2019 10:45:14 +0000 (11:45 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Nov 2019 19:30:14 +0000 (11:30 -0800)
commita61f03de3e72d49f91e02fc3f1501a10227b61e9
tree90779c5ac7a62e280a8a51084e3fcc94058f684c
parent91eb014c676f1bda423ebea91758643b2db816f5
net: sgi: ioc3-eth: fix setting NETIF_F_HIGHDMA

Set NETIF_F_HIGHDMA together with the NETIF_F_IP_CSUM flag instead of
letting the second assignment overwrite it.  Probably doesn't matter
in practice as none of the systems an IOC3 is usually found in has
highmem to start with.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sgi/ioc3-eth.c