mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-07 22:08:33 -04:00
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:
committed by
Greg Kroah-Hartman
parent
33028eea5c
commit
0fd13e6b1a
@@ -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");
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user