/* Find the first error in this address range  */
static struct vme_bus_error* tsi148_find_error(vme_address_t aspace, unsigned long long address, size_t count)
/* Find the first error in this address range  */
static struct vme_bus_error* tsi148_find_error(vme_address_t aspace, unsigned long long address, size_t count)
{
	struct list_head *err_pos;
	struct vme_bus_error *vme_err, *valid = NULL;
	unsigned long long bound;
	bound = address + count;
	err_pos = NULL;
	list_for_each(err_pos, &(tsi148_bridge->vme_errors)) {
		vme_err = list_entry(err_pos, struct vme_bus_error, list);
		if((vme_err->address >= address) && (vme_err->address < bound)){
			valid = vme_err;
			break;
		}
	}
	return valid;
}