/* This function searches the ioc_list for an ioc that matches the provide hardware path.  */
static struct ioc* ccio_find_ioc(int hw_path)
/* This function searches the ioc_list for an ioc that matches the provide hardware path.  */
static struct ioc* ccio_find_ioc(int hw_path)
{
	int i;
	struct ioc *ioc;
	ioc = ioc_list;
	for (i = 0; i < ioc_count; i++) {
		if (ioc->hw_path == hw_path)
			return ioc;
		ioc = ioc->next;
	}
	return NULL;
}