if (rq->pm->pm_state == 4) 
if (rq->pm->pm_state == PM_EVENT_FREEZE) 
static void ide_complete_power_step(ide_drive_t *drive, struct request *rq, u8 stat, u8 error){	if (drive->media != ide_disk)		return;	switch (rq->pm->pm_step) {	case ide_pm_flush_cache:	/* Suspend step 1 (flush cache) complete */		if (rq->pm->pm_state == 4)			rq->pm->pm_step = ide_pm_state_completed;		else			rq->pm->pm_step = idedisk_pm_standby;		break;	case idedisk_pm_standby:	/* Suspend step 2 (standby) complete */		rq->pm->pm_step = ide_pm_state_completed;		break;	case idedisk_pm_idle:		/* Resume step 1 (idle) complete */		rq->pm->pm_step = ide_pm_restore_dma;		break;	}}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/46dacba52a19d1414ba249499a48382c16242d99/ide-io.c/clean/drivers/ide/ide-io.c