Changeset View
Changeset View
Standalone View
Standalone View
lib/libdevctl/devctl.c
Show First 20 Lines • Show All 152 Lines • ▼ Show 20 Lines | |||||
} | } | ||||
int | int | ||||
devctl_thaw(void) | devctl_thaw(void) | ||||
{ | { | ||||
return (devctl_simple_request(DEV_THAW, "", 0)); | return (devctl_simple_request(DEV_THAW, "", 0)); | ||||
} | } | ||||
int | |||||
devctl_reset(const char *device, bool detach) | |||||
{ | |||||
return (devctl_simple_request(DEV_RESET, device, detach ? | |||||
DEVF_RESET_DETACH : 0)); | |||||
} |