pub fn shutdown(self: *SimpleNetwork) ShutdownError!void self: *SimpleNetwork162
163
164
165
166
167
168
169
170 pub fn shutdown(self: *SimpleNetwork) ShutdownError!void {
switch (self._shutdown(self)) {
.success => {},
.not_started => return error.NotStarted,
.invalid_parameter => return error.InvalidParameter,
.device_error => return error.DeviceError,
else => |status| return uefi.unexpectedStatus(status),
}
}
Resets a network adapter and leaves it in a state that is safe for another driver to initialize.