[Denali] Move signaling out of the command class.
This commit is contained in:
parent
d7c1022b7f
commit
28a0f02b05
6 changed files with 27 additions and 31 deletions
|
|
@ -243,12 +243,8 @@ glcr::ErrorCode AhciController::LoadDevices() {
|
|||
}
|
||||
|
||||
devices_[i] = new AhciPort(reinterpret_cast<AhciPortHba*>(port_addr));
|
||||
|
||||
if (devices_[i]->IsSata()) {
|
||||
IdentifyDeviceCommand identify(devices_[i].get());
|
||||
devices_[i]->IssueCommand(&identify);
|
||||
identify.WaitComplete();
|
||||
}
|
||||
// TODO: Maybe continue to the next device if this fails.
|
||||
RET_ERR(devices_[i]->Identify());
|
||||
}
|
||||
return glcr::OK;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue