]> git.baikalelectronics.ru Git - kernel.git/commit
net: ks8851: Factor out SKB receive function
authorMarek Vasut <marex@denx.de>
Thu, 28 May 2020 22:21:38 +0000 (00:21 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 May 2020 23:30:04 +0000 (16:30 -0700)
commitb53b4ac020d684f857f32b52cbc230db0c62a17a
tree79a4def68fbf60146158e8c87abd507c866a9a23
parenta38219f101a1f7efc095d16995866a2425e1e4d2
net: ks8851: Factor out SKB receive function

Factor out this netif_rx_ni(), so it could be overridden by the parallel
bus variant of the KS8851 driver.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: David S. Miller <davem@davemloft.net>
Cc: Lukas Wunner <lukas@wunner.de>
Cc: Petr Stetiar <ynezz@true.cz>
Cc: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/micrel/ks8851.c