/* Function called from device_id.c after sense id has completed.  */
void ccw_device_sense_id_done(struct ccw_device *cdev, int err)
/* Function called from device_id.c after sense id has completed.  */
void ccw_device_sense_id_done(struct ccw_device *cdev, int err)
{
	switch (err) {
	case 0:
		ccw_device_recog_done(cdev, DEV_STATE_OFFLINE);
		break;
	case -ETIME:
		ccw_device_recog_done(cdev, DEV_STATE_BOXED);
		break;
	default:
		ccw_device_recog_done(cdev, DEV_STATE_NOT_OPER);
		break;
	}
}