Commit 0fd13e6b authored by Philipp Hortmann's avatar Philipp Hortmann Committed by Greg Kroah-Hartman
Browse files

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: default avatarPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/80cd68a83807209230a898ab0260188adfad4158.1653203927.git.philipp.g.hortmann@gmail.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 33028eea
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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");
+0 −3
Original line number Diff line number Diff line
@@ -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)