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

Method ScsiController

cpp/controllers/scsi_controller.cpp:32–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30using namespace scsi_defs;
31
32ScsiController::ScsiController(BUS& bus, int target_id) : AbstractController(bus, target_id, ControllerManager::GetScsiLunMax())
33{
34 // The initial buffer size will default to either the default buffer size OR
35 // the size of an Ethernet message, whichever is larger.
36 AllocateBuffer(std::max(DEFAULT_BUFFER_SIZE, ETH_FRAME_LEN + 16 + ETH_FCS_LEN));
37}
38
39void ScsiController::Reset()
40{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected