MCPcopy Create free account
hub / github.com/PiSCSI/piscsi / Reset

Method Reset

cpp/controllers/abstract_controller.cpp:60–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60void AbstractController::Reset()
61{
62 SetPhase(phase_t::busfree);
63
64 ctrl = {};
65
66 SetByteTransfer(false);
67
68 // Reset all LUNs
69 for (const auto& [_, device] : luns) {
70 device->Reset();
71 }
72
73 GetBus().Reset();
74}
75
76void AbstractController::ProcessOnController(int id_data)
77{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected