diff options
Diffstat (limited to 'drivers/char/rio/riointr.c')
-rw-r--r-- | drivers/char/rio/riointr.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/char/rio/riointr.c b/drivers/char/rio/riointr.c index 4734e26e1ccd..ea21686c69a4 100644 --- a/drivers/char/rio/riointr.c +++ b/drivers/char/rio/riointr.c | |||
@@ -401,9 +401,8 @@ void RIOServiceHost(struct rio_info *p, struct Host *HostP) | |||
401 | PortP->InUse = NOT_INUSE; | 401 | PortP->InUse = NOT_INUSE; |
402 | 402 | ||
403 | rio_spin_unlock(&PortP->portSem); | 403 | rio_spin_unlock(&PortP->portSem); |
404 | if (RIOParam(PortP, OPEN, ((PortP->Cor2Copy & (COR2_RTSFLOW | COR2_CTSFLOW)) == (COR2_RTSFLOW | COR2_CTSFLOW)) ? 1 : 0, DONT_SLEEP) == RIO_FAIL) { | 404 | if (RIOParam(PortP, RIOC_OPEN, ((PortP->Cor2Copy & (RIOC_COR2_RTSFLOW | RIOC_COR2_CTSFLOW)) == (RIOC_COR2_RTSFLOW | RIOC_COR2_CTSFLOW)) ? 1 : 0, DONT_SLEEP) == RIO_FAIL) |
405 | continue; /* with next port */ | 405 | continue; /* with next port */ |
406 | } | ||
407 | rio_spin_lock(&PortP->portSem); | 406 | rio_spin_lock(&PortP->portSem); |
408 | PortP->MagicFlags &= ~MAGIC_REBOOT; | 407 | PortP->MagicFlags &= ~MAGIC_REBOOT; |
409 | } | 408 | } |
@@ -429,7 +428,7 @@ void RIOServiceHost(struct rio_info *p, struct Host *HostP) | |||
429 | */ | 428 | */ |
430 | PktCmdP = (struct PktCmd __iomem *) &PacketP->data[0]; | 429 | PktCmdP = (struct PktCmd __iomem *) &PacketP->data[0]; |
431 | 430 | ||
432 | writeb(WFLUSH, &PktCmdP->Command); | 431 | writeb(RIOC_WFLUSH, &PktCmdP->Command); |
433 | 432 | ||
434 | p = PortP->HostPort % (u16) PORTS_PER_RTA; | 433 | p = PortP->HostPort % (u16) PORTS_PER_RTA; |
435 | 434 | ||