···112 int Lies;113 unsigned long flags;114115-#ifdef STACK116- RIOStackCheck("RIORouteRup");117-#endif118-#ifdef CHECK119- CheckPacketP(PacketP);120- CheckHostP(HostP);121- CheckRup(Rup);122- CheckHost(Host);123-#endif124 /*125 ** Is this unit telling us it's current link topology?126 */···531532 for (port = 0; port < PORTS_PER_RTA; port++, PortN++) {533 ushort dest_port = port + 8;534-#if 0535- uint PktInt;536-#endif537 WORD *TxPktP;538 PKT *Pkt;539···611 unsigned long flags;612 rio_spin_lock_irqsave(&HostP->HostLock, flags);613614-#ifdef CHECK615- CheckHostP(HostP);616- CheckUnitId(UnitId);617-#endif618 if (RIOCheck(HostP, UnitId)) {619 rio_dprintk(RIO_DEBUG_ROUTE, "Unit %d is NOT isolated\n", UnitId);620 rio_spin_unlock_irqrestore(&HostP->HostLock, flags);···635{636 uint link, unit;637638-#ifdef CHECK639- CheckHostP(HostP);640- CheckUnitId(UnitId);641-#endif642 UnitId--; /* this trick relies on the Unit Id being UNSIGNED! */643644 if (UnitId >= MAX_RUP) /* dontcha just lurv unsigned maths! */···664{665 unsigned char link;666667-#ifdef CHECK668- CheckHostP(HostP);669- CheckUnitId(UnitId);670-#endif671/* rio_dprint(RIO_DEBUG_ROUTE, ("Check to see if unit %d has a route to the host\n",UnitId)); */672 rio_dprintk(RIO_DEBUG_ROUTE, "RIOCheck : UnitID = %d\n", UnitId);673
···112 int Lies;113 unsigned long flags;114000000000115 /*116 ** Is this unit telling us it's current link topology?117 */···540541 for (port = 0; port < PORTS_PER_RTA; port++, PortN++) {542 ushort dest_port = port + 8;000543 WORD *TxPktP;544 PKT *Pkt;545···623 unsigned long flags;624 rio_spin_lock_irqsave(&HostP->HostLock, flags);6250000626 if (RIOCheck(HostP, UnitId)) {627 rio_dprintk(RIO_DEBUG_ROUTE, "Unit %d is NOT isolated\n", UnitId);628 rio_spin_unlock_irqrestore(&HostP->HostLock, flags);···651{652 uint link, unit;6530000654 UnitId--; /* this trick relies on the Unit Id being UNSIGNED! */655656 if (UnitId >= MAX_RUP) /* dontcha just lurv unsigned maths! */···684{685 unsigned char link;6860000687/* rio_dprint(RIO_DEBUG_ROUTE, ("Check to see if unit %d has a route to the host\n",UnitId)); */688 rio_dprintk(RIO_DEBUG_ROUTE, "RIOCheck : UnitID = %d\n", UnitId);689