mirror of
https://github.com/genodelabs/genode.git
synced 2025-03-28 06:39:14 +00:00
ahci_drv: set 'Cmd::St' to 1 before writing 'Sact' register
Issue #3058
This commit is contained in:
parent
57d080d4f8
commit
4c74f4792c
@ -138,6 +138,8 @@ struct Ncq_command : Io_command
|
|||||||
unsigned slot) override
|
unsigned slot) override
|
||||||
{
|
{
|
||||||
table.fis.fpdma(read, block_number, count, slot);
|
table.fis.fpdma(read, block_number, count, slot);
|
||||||
|
/* ensure that 'Cmd::St' is 1 before writing 'Sact' */
|
||||||
|
port.start();
|
||||||
/* set pending */
|
/* set pending */
|
||||||
port.write<Port::Sact>(1U << slot);
|
port.write<Port::Sact>(1U << slot);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user