Changeset View
Changeset View
Standalone View
Standalone View
sys/cam/ata/ata_da.c
Show First 20 Lines • Show All 3,507 Lines • ▼ Show 20 Lines | |||||
} | } | ||||
static void | static void | ||||
adashutdown(void *arg, int howto) | adashutdown(void *arg, int howto) | ||||
{ | { | ||||
adaflush(); | adaflush(); | ||||
if (ada_spindown_shutdown != 0 && | if (ada_spindown_shutdown != 0 && | ||||
(howto & (RB_HALT | RB_POWEROFF)) != 0) | (howto & (RB_HALT | RB_POWEROFF | RB_POWERCYCLE)) != 0) | ||||
adaspindown(ATA_STANDBY_IMMEDIATE, 0); | adaspindown(ATA_STANDBY_IMMEDIATE, 0); | ||||
} | } | ||||
static void | static void | ||||
adasuspend(void *arg) | adasuspend(void *arg) | ||||
{ | { | ||||
adaflush(); | adaflush(); | ||||
▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines |