mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-26 23:36:32 +00:00
Add debug AHCIPortIdentify PxCMD.ICC set to 1.
This commit is contained in:
parent
1145ab3b9b
commit
f813da6107
1 changed files with 2 additions and 0 deletions
|
@ -593,6 +593,8 @@ U0 AHCIPortIdentify(CBlkDev *bd)
|
||||||
|
|
||||||
port->interrupt_status = port->interrupt_status; //TODO: Why?
|
port->interrupt_status = port->interrupt_status; //TODO: Why?
|
||||||
|
|
||||||
|
port->command |= 1 << 28; // set ICC to 1 (try cause HBA to transition Port to Active state)
|
||||||
|
|
||||||
//Using the code heap for this alloc to stay under 32-bit address space.
|
//Using the code heap for this alloc to stay under 32-bit address space.
|
||||||
dev_id_record = CAlloc(512, sys_task->code_heap);
|
dev_id_record = CAlloc(512, sys_task->code_heap);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue