/* Timeout routine to recover and return to application, in case the adapter has stopped responding. A timeout of 60 seconds for this command seems like a good value.  */
static void megaraid_sysfs_get_ldmap_timeout(unsigned long data)
/* Timeout routine to recover and return to application, in case the adapter has stopped responding. A timeout of 60 seconds for this command seems like a good value.  */
static void megaraid_sysfs_get_ldmap_timeout(unsigned long data)
{
	uioc_t		*uioc = (uioc_t *)data;
	adapter_t	*adapter = (adapter_t *)uioc->buf_vaddr;
	mraid_device_t	*raid_dev = ADAP2RAIDDEV(adapter);
	uioc->status = -ETIME;
	wake_up(&raid_dev->sysfs_wait_q);
}