/* Sleep, either by using msleep() or if we are suspending, then use mdelay() to sleep.  */
static void dm9000_msleep(board_info_t *db, unsigned int ms)
/* Sleep, either by using msleep() or if we are suspending, then use mdelay() to sleep.  */
static void dm9000_msleep(board_info_t *db, unsigned int ms)
{
	if (db->in_suspend)
		mdelay(ms);
	else
		msleep(ms);
}