net: ftgmac100: convert the RX/TX descriptor arrays
authorCédric Le Goater <clg@kaod.org>
Mon, 29 Oct 2018 06:06:34 +0000 (07:06 +0100)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 5 Nov 2018 16:41:57 +0000 (10:41 -0600)
commite766849713ff8d1b0fe1c6e9334225ad1d24a2a4
treee6b3cef4d2c52344f354b5d876153c9926f3901a
parent538e75d3fc54a237ae2e92c12459296339d591e2
net: ftgmac100: convert the RX/TX descriptor arrays

Use simple arrays under the device priv structure to hold the RX and
TX descriptors and handle memory coherency by invalidating or flushing
the d-cache when required.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/ftgmac100.c