mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
ahci & exynos5: compliant exceptions on creation
Use Root::Unavailable exceptions instead of driver specific ones on session construction.
This commit is contained in:
committed by
Stefan Kalkowski
parent
cfa3d38417
commit
198f8b65a4
@@ -1914,9 +1914,9 @@ Ahci_driver::Ahci_driver()
|
||||
clock_src.state(true);
|
||||
power_src.state(true);
|
||||
i2c_sataphy()->init();
|
||||
if (sata_phy_ctrl()->init()) throw Io_error();
|
||||
if (sata_ahci()->init()) throw Io_error();
|
||||
if (sata_ahci()->p0_init()) throw Io_error();
|
||||
if (sata_phy_ctrl()->init()) throw Root::Unavailable();
|
||||
if (sata_ahci()->init()) throw Root::Unavailable();
|
||||
if (sata_ahci()->p0_init()) throw Root::Unavailable();
|
||||
}
|
||||
|
||||
int Ahci_driver::_ncq_command(uint64_t lba, unsigned cnt, addr_t phys, bool w)
|
||||
|
||||
Reference in New Issue
Block a user