···112112 int Lies;113113 unsigned long flags;114114115115-#ifdef STACK116116- RIOStackCheck("RIORouteRup");117117-#endif118118-#ifdef CHECK119119- CheckPacketP(PacketP);120120- CheckHostP(HostP);121121- CheckRup(Rup);122122- CheckHost(Host);123123-#endif124115 /*125116 ** Is this unit telling us it's current link topology?126117 */···531540532541 for (port = 0; port < PORTS_PER_RTA; port++, PortN++) {533542 ushort dest_port = port + 8;534534-#if 0535535- uint PktInt;536536-#endif537543 WORD *TxPktP;538544 PKT *Pkt;539545···611623 unsigned long flags;612624 rio_spin_lock_irqsave(&HostP->HostLock, flags);613625614614-#ifdef CHECK615615- CheckHostP(HostP);616616- CheckUnitId(UnitId);617617-#endif618626 if (RIOCheck(HostP, UnitId)) {619627 rio_dprintk(RIO_DEBUG_ROUTE, "Unit %d is NOT isolated\n", UnitId);620628 rio_spin_unlock_irqrestore(&HostP->HostLock, flags);···635651{636652 uint link, unit;637653638638-#ifdef CHECK639639- CheckHostP(HostP);640640- CheckUnitId(UnitId);641641-#endif642654 UnitId--; /* this trick relies on the Unit Id being UNSIGNED! */643655644656 if (UnitId >= MAX_RUP) /* dontcha just lurv unsigned maths! */···664684{665685 unsigned char link;666686667667-#ifdef CHECK668668- CheckHostP(HostP);669669- CheckUnitId(UnitId);670670-#endif671687/* rio_dprint(RIO_DEBUG_ROUTE, ("Check to see if unit %d has a route to the host\n",UnitId)); */672688 rio_dprintk(RIO_DEBUG_ROUTE, "RIOCheck : UnitID = %d\n", UnitId);673689