Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PiSCSI/piscsi
/ SetController
Method
SetController
cpp/devices/primary_device.cpp:72–77 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
70
}
71
72
void PrimaryDevice::SetController(AbstractController *c)
73
{
74
controller = c;
75
76
device_logger.SetIdAndLun(GetId(), GetLun());
77
}
78
79
void PrimaryDevice::TestUnitReady()
80
{
Callers
1
AddDevice
Method · 0.80
Calls
1
SetIdAndLun
Method · 0.45
Tested by
no test coverage detected