staging: vt6655: Replace MACvWriteISR with VNSvOutPortD

Replace macro MACvWriteISR 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/80cd68a83807209230a898ab0260188adfad4158.1653203927.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Philipp Hortmann
2022-05-22 21:48:55 +02:00
committed by Greg Kroah-Hartman
parent 33028eea5c
commit 0fd13e6b1a
2 changed files with 1 additions and 4 deletions

View File

@@ -1055,7 +1055,7 @@ static void vnt_interrupt_process(struct vnt_private *priv)
* update ISR counter
*/
while (isr && priv->vif) {
MACvWriteISR(priv->port_offset, isr);
VNSvOutPortD(priv->port_offset + MAC_REG_ISR, isr);
if (isr & ISR_FETALERR) {
pr_debug(" ISR_FETALERR\n");

View File

@@ -648,9 +648,6 @@ do { \
iowrite8(byOrgValue, iobase + MAC_REG_STICKHW); \
} while (0)
#define MACvWriteISR(iobase, dwValue) \
VNSvOutPortD(iobase + MAC_REG_ISR, dwValue)
#define MACvIntEnable(iobase, dwMask) \
VNSvOutPortD(iobase + MAC_REG_IMR, dwMask)