mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 05:55:44 +02:00
staging: vt6655: Replace MACvRx1PerPktMode with VNSvOutPortD
Replace macro MACvRx1PerPktMode with VNSvOutPortD and as it was the only user, it can now be removed. Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/9cb643b9554e33f5be7a2babefbed5eccca14625.1653203927.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
dc59b9bddd
commit
d371f5fd4f
|
|
@ -453,7 +453,7 @@ void CARDvSafeResetRx(struct vnt_private *priv)
|
|||
|
||||
/* set perPkt mode */
|
||||
VNSvOutPortD(priv->port_offset + MAC_REG_RXDMACTL0, RX_PERPKT);
|
||||
MACvRx1PerPktMode(priv->port_offset);
|
||||
VNSvOutPortD(priv->port_offset + MAC_REG_RXDMACTL1, RX_PERPKT);
|
||||
/* set MAC RD pointer */
|
||||
MACvSetCurrRx0DescAddr(priv, priv->rd0_pool_dma);
|
||||
|
||||
|
|
|
|||
|
|
@ -589,9 +589,6 @@ do { \
|
|||
iowrite8(0, iobase + MAC_REG_PAGE1SEL); \
|
||||
} while (0)
|
||||
|
||||
#define MACvRx1PerPktMode(iobase) \
|
||||
VNSvOutPortD(iobase + MAC_REG_RXDMACTL1, RX_PERPKT)
|
||||
|
||||
#define MACvReceive0(iobase) \
|
||||
do { \
|
||||
unsigned long dwData; \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user