From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:41330) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Semxe-00080e-As for qemu-devel@nongnu.org; Wed, 13 Jun 2012 08:46:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SemxY-0005Yi-3J for qemu-devel@nongnu.org; Wed, 13 Jun 2012 08:46:09 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38431) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SemxX-0005Yd-RS for qemu-devel@nongnu.org; Wed, 13 Jun 2012 08:46:04 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q5DCk2Xs025947 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 13 Jun 2012 08:46:02 -0400 From: Pavel Hrdina Date: Wed, 13 Jun 2012 14:45:56 +0200 Message-Id: Subject: [Qemu-devel] [PATCH v4 0/4] fdc: fix/rewrite seek, media_changed and interrupt handling List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Pavel Hrdina The fd_seek will return 'track is invalid' if there is no media in drive. Implied seek should have the same behavior as normal seek. We will use the fd_seek function instead of a direct modification of head, track and sector values. The result value is used only while read/write commands were issued. Fixed sense interrupt status command. Pavel Hrdina (4): fdc: fix implied seek while there is no medina in drive fdc-test: introduced qtest read_without_media fdc: rewrite seek and DSKCHG bit handling fdc: fix interrupt handling hw/fdc.c | 106 ++++++++++++++++++++++++++++++------------------------ tests/fdc-test.c | 66 +++++++++++++++++++++++++++++++++ 2 files changed, 125 insertions(+), 47 deletions(-) -- 1.7.7.6