/* If the RTA or its host appears in the RIOBindTab structure then we mustn't boot the RTA and should return 0. This operation is slightly different from the other drivers for RIO in that this is designed to work with the new utilities not config.rio and is FAR SIMPLER. We no longer support the RIOBootMode variable. It is all done from the "boot/noboot" field in the rio.cf file.  */
int RIOBootOk(struct rio_info *p, struct Host *HostP, unsigned long RtaUniq)
/* If the RTA or its host appears in the RIOBindTab structure then we mustn't boot the RTA and should return 0. This operation is slightly different from the other drivers for RIO in that this is designed to work with the new utilities not config.rio and is FAR SIMPLER. We no longer support the RIOBootMode variable. It is all done from the "boot/noboot" field in the rio.cf file.  */
int RIOBootOk(struct rio_info *p, struct Host *HostP, unsigned long RtaUniq)
{
	int Entry;
	unsigned int HostUniq = HostP->UniqueNum;
	for (Entry = 0; (Entry < MAX_RTA_BINDINGS) && (p->RIOBindTab[Entry] != 0); Entry++) {
		if ((p->RIOBindTab[Entry] == HostUniq) || (p->RIOBindTab[Entry] == RtaUniq))
			return 0;
	}
	return 1;
}