return ide_abort(drive, msg);
}
+static ide_startstop_t default_start_power_step(ide_drive_t *drive,
+ struct request *rq)
+{
+ rq->pm->pm_step = ide_pm_state_completed;
+ return ide_stopped;
+}
+
static void setup_driver_defaults (ide_driver_t *d)
{
if (d->cleanup == NULL) d->cleanup = default_cleanup;
if (d->capacity == NULL) d->capacity = default_capacity;
if (d->special == NULL) d->special = default_special;
if (d->attach == NULL) d->attach = default_attach;
+ if (d->start_power_step == NULL)
+ d->start_power_step = default_start_power_step;
}
int ide_register_subdriver (ide_drive_t *drive, ide_driver_t *driver, int version)