Signed-off-by: Gerd Hoffmann kra...@redhat.com
---
src/ahci.c |5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/ahci.c b/src/ahci.c
index e2ec07a..7279199 100644
--- a/src/ahci.c
+++ b/src/ahci.c
@@ -158,7 +158,7 @@ static int ahci_command(struct ahci_port_s *port,
Hi,
Finally the update for the ahci code, featuring:
* A bunch of bugfixes, which makes the code work on real hardware
(additionally to the qemu emulated ahci adapter).
* Better timeout handling.
* Support for unaligned access.
* Support for boot ordering.
cheers,
Gerd
The
FIS setup does't follow the SATA specs, fix it.
Credits go to Jonathan Kollasch and Scott Duplichan for finding those.
Signed-off-by: Gerd Hoffmann kra...@redhat.com
---
src/ahci.c |7 +++
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/ahci.c b/src/ahci.c
index
Wind up bootprio support in the ahci driver so boot device ordering
works for ahci disks too. No extra work needed on qemu side.
Signed-off-by: Gerd Hoffmann kra...@redhat.com
---
src/ahci.c | 15 ++-
src/ahci.h |3 ++-
2 files changed, 12 insertions(+), 6 deletions(-)
diff
Poll interrupt status register to figure when the device has updated the
status and possibly finished the request, continue polling until BSY is
clear as we might see multiple status updates per request.
Signed-off-by: Gerd Hoffmann kra...@redhat.com
---
src/ahci.c | 43
From: Scott Duplichan sc...@notabs.org
This change allows unaligned buffers to be used for reads or writes
to non-atapi devices. Currently only MS-DOS boot is known to need
unaligned buffer support.
Signed-off-by: Scott Duplichan sc...@notabs.org
Signed-off-by: Gerd Hoffmann kra...@redhat.com
By Scott Duplichan.
Signed-off-by: Gerd Hoffmann kra...@redhat.com
---
src/ahci.c | 50 +++---
1 files changed, 47 insertions(+), 3 deletions(-)
diff --git a/src/ahci.c b/src/ahci.c
index 9ff1324..ec698ef 100644
--- a/src/ahci.c
+++ b/src/ahci.c
@@
Rework init workflow to match suggestions in the ahci specs better,
especially remove the shortcut which tries to detect drives without
enabling FIS receiving. This makes memory allocation a bit complicated
as we are using malloc_tmp() allocated memory now to probe the devices
so we can free it