]> 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)
commit30075e00351831acfe4f873c73511422d7db1208
tree90779c5ac7a62e280a8a51084e3fcc94058f684c
parentf0eb751649aeaaac4bba2e014a5b606cacd056a4
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