OSDN Git Service

net: libwx: Configure Rx and Tx unit on hardware
authorJiawen Wu <jiawenwu@trustnetic.com>
Fri, 3 Feb 2023 09:11:29 +0000 (17:11 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Feb 2023 09:22:48 +0000 (09:22 +0000)
commit18b5b8a9f1786005997d51456b73a3eaa601955e
treefaa5d820a26f7c5d64b3a20b89a4171bb9fe7e0d
parent5d3ac705c281977db7a5ba3854d710881dbbceea
net: libwx: Configure Rx and Tx unit on hardware

Configure hardware for preparing to process packets. Including configure
receive and transmit unit of the MAC layer, and setup the specific rings.

Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/wangxun/libwx/wx_hw.c
drivers/net/ethernet/wangxun/libwx/wx_hw.h
drivers/net/ethernet/wangxun/libwx/wx_type.h