IDE: Implement SEEK command (resend)
PATCH 1/1 IDE: Implement SEEK command (resend)
Resend original patch with correct Signed-off-by. Original text below.
Openserver issues a SEEK command during initial drive detection. It refuses to report the hard drive if this command fails. This patch gets Openserver to list the hard drive but installation still fails (freezes) later on due to an unrelated IDE issue (patch on its way).
Justin
Changelog:
Implement SEEK command
ide.c (working copy) renamed from ide.c (revision 5948) +7 -0
@@ -2324,6 +2324,13 @@ s->status = READY_STAT; ide_set_irq(s); break; + case WIN_SEEK: + if(s->is_cdrom) + goto abort_cmd; + /* XXX: Check that seek is within bounds */ + s->status = READY_STAT | SEEK_STAT; + ide_set_irq(s); + break; /* ATAPI commands */ case WIN_PIDENTIFY: if (s->is_cdrom) {
Aurelien Jarno
AppliedQuoted 5 lines · Justin Chevrier
Resend original patch with correct Signed-off-by. Original text below.
Openserver issues a SEEK command during initial drive detection. It refuses to report the hard drive if this command fails. This patch gets Openserver to list the hard drive but installation still fails (freezes) later on due to an unrelated IDE issue (patch on its way).
Quoted 7 lines
Justin
Changelog:
Implement SEEK command
Signed-off-by Justin Chevrier <[email protected]>
Thanks, applied.
Quoted 24 lines
Index:
hw/ide.c
===================================================================ide.c (working copy) renamed from ide.c (revision 5948) +7
-0@@ -2324,6 +2324,13 @@ s->status = READY_STAT; ide_set_irq(s); break; + case WIN_SEEK: + if(s->is_cdrom) + goto abort_cmd; + /* XXX: Check that seek is within bounds */ + s->status = READY_STAT | SEEK_STAT; + ide_set_irq(s); + break; /* ATAPI commands */ case WIN_PIDENTIFY: if (s->is_cdrom) {
Signature · 4 lines
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' [email protected] | [email protected] `- people.debian.org/~aurel32 | www.aurel32.net