/* Returns true if an usbgecko adapter is found.  */
static int ug_is_adapter_present(void)
/* Returns true if an usbgecko adapter is found.  */
static int ug_is_adapter_present(void)
{
	if (!ug_io_base)
		return 0;
	return ug_io_transaction(0x90000000) == 0x04700000;
}