From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:51655) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SeP8W-0002as-KD for qemu-devel@nongnu.org; Tue, 12 Jun 2012 07:19:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SeP8Q-0006Gd-F3 for qemu-devel@nongnu.org; Tue, 12 Jun 2012 07:19:48 -0400 Received: from mx1.redhat.com ([209.132.183.28]:6385) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SeP8Q-0006G5-6v for qemu-devel@nongnu.org; Tue, 12 Jun 2012 07:19:42 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q5CBJdQq005433 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 12 Jun 2012 07:19:40 -0400 From: Pavel Hrdina Date: Tue, 12 Jun 2012 13:19:33 +0200 Message-Id: Subject: [Qemu-devel] [PATCH v3 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 | 99 ++++++++++++++++++++++++++++-------------------------- tests/fdc-test.c | 63 ++++++++++++++++++++++++++++++++++ 2 files changed, 114 insertions(+), 48 deletions(-) -- 1.7.7.6