mirror of
https://github.com/genodelabs/genode.git
synced 2025-05-19 17:02:55 +00:00
ahci & exynos5: compliant exceptions on creation
Use Root::Unavailable exceptions instead of driver specific ones on session construction.
This commit is contained in:
parent
cfa3d38417
commit
198f8b65a4
@ -1914,9 +1914,9 @@ Ahci_driver::Ahci_driver()
|
|||||||
clock_src.state(true);
|
clock_src.state(true);
|
||||||
power_src.state(true);
|
power_src.state(true);
|
||||||
i2c_sataphy()->init();
|
i2c_sataphy()->init();
|
||||||
if (sata_phy_ctrl()->init()) throw Io_error();
|
if (sata_phy_ctrl()->init()) throw Root::Unavailable();
|
||||||
if (sata_ahci()->init()) throw Io_error();
|
if (sata_ahci()->init()) throw Root::Unavailable();
|
||||||
if (sata_ahci()->p0_init()) throw Io_error();
|
if (sata_ahci()->p0_init()) throw Root::Unavailable();
|
||||||
}
|
}
|
||||||
|
|
||||||
int Ahci_driver::_ncq_command(uint64_t lba, unsigned cnt, addr_t phys, bool w)
|
int Ahci_driver::_ncq_command(uint64_t lba, unsigned cnt, addr_t phys, bool w)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user