All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Hrdina <phrdina@redhat.com>
To: kwolf@redhat.com
Cc: Pavel Hrdina <phrdina@redhat.com>, qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH v6 0/6] fdc: fix/rewrite seek, media_changed and interrupt handling
Date: Fri, 22 Jun 2012 12:33:51 +0200	[thread overview]
Message-ID: <cover.1340220873.git.phrdina@redhat.com> (raw)

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.

Fix sense interrupt status command.

v6:
    - update fdc_test test_media_change
    - add fdc-test test_sense_interrupt

v5:
    - correction of misspelled words

v4:
    - fix coding style
    - better bit clearing in 'fdctrl_handle_sense_interrupt_status'

v3:
    - add fdc-test test_read_without_media
    - rewrite seek and media_changed handling
    - fix interrupt status handling

v2:
    - better way to detect media missing

Pavel Hrdina (6):
  fdc: fix implied seek while there is no media in drive
  fdc-test: introduced qtest read_without_media
  fdc: rewrite seek and DSKCHG bit handling
  fdc: fix interrupt handling
  fdc_test: update media_change test
  fdc_test: introduce test_sense_interrupt

 hw/fdc.c         |  117 ++++++++++++++++++++++++++++++-----------------------
 tests/fdc-test.c |  118 ++++++++++++++++++++++++++++++++++++++++++++++++++----
 2 files changed, 176 insertions(+), 59 deletions(-)

-- 
1.7.7.6

WARNING: multiple messages have this Message-ID (diff)
From: Pavel Hrdina <phrdina@redhat.com>
To: qemu-devel@nongnu.org
Cc: kwolf@redhat.com, Pavel Hrdina <phrdina@redhat.com>
Subject: [Qemu-devel] [PATCH v7 0/6] fdc: fix/rewrite seek, media_changed and interrupt handling
Date: Wed,  4 Jul 2012 11:07:04 +0200	[thread overview]
Message-ID: <cover.1340220873.git.phrdina@redhat.com> (raw)
Message-ID: <20120704090704.f_4dixDqC-6rqK_KkWoPXPgCcBkCJZDwCCsJkn02aKw@z> (raw)

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.

Fix sense interrupt status command.

v7:
    - small fixes in test_media_change and test_sense_interrupt

v6:
    - update fdc_test test_media_change
    - add fdc-test test_sense_interrupt

v5:
    - correction of misspelled words

v4:
    - fix coding style
    - better bit clearing in 'fdctrl_handle_sense_interrupt_status'

v3:
    - add fdc-test test_read_without_media
    - rewrite seek and media_changed handling
    - fix interrupt status handling

v2:
    - better way to detect media missing

Pavel Hrdina (6):
  fdc: fix implied seek while there is no media in drive
  fdc-test: introduced qtest read_without_media
  fdc: rewrite seek and DSKCHG bit handling
  fdc: fix interrupt handling
  fdc_test: update media_change test
  fdc_test: introduce test_sense_interrupt

 hw/fdc.c         |  117 ++++++++++++++++++++++++++++++-----------------------
 tests/fdc-test.c |  118 ++++++++++++++++++++++++++++++++++++++++++++++++++----
 2 files changed, 176 insertions(+), 59 deletions(-)

-- 
1.7.7.6

             reply	other threads:[~2012-06-22 10:34 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-22 10:33 Pavel Hrdina [this message]
2012-07-04  9:07 ` [Qemu-devel] [PATCH v7 0/6] fdc: fix/rewrite seek, media_changed and interrupt handling Pavel Hrdina
2012-06-22 10:33 ` [Qemu-devel] [PATCH v6 1/6] fdc: fix implied seek while there is no media in drive Pavel Hrdina
2012-06-22 10:33 ` [Qemu-devel] [PATCH v6 2/6] fdc-test: introduced qtest read_without_media Pavel Hrdina
     [not found] ` <3359847e9dbdf4531ed17e86ef55be8b8676e329.1340360906.git.phrdina@redhat.com>
2012-06-22 10:33   ` [Qemu-devel] [PATCH v6 3/6] fdc: rewrite seek and DSKCHG bit handling Pavel Hrdina
2012-06-22 10:33   ` [Qemu-devel] [PATCH v6 4/6] fdc: fix interrupt handling Pavel Hrdina
2012-06-22 10:33   ` [Qemu-devel] [PATCH v6 5/6] fdc_test: update media_change test Pavel Hrdina
2012-06-24  6:16     ` Blue Swirl
     [not found]     ` <4FE83483.4010204@redhat.com>
2012-07-03 14:43       ` Pavel Hrdina
2012-06-22 10:33   ` [Qemu-devel] [PATCH v6 6/6] fdc_test: introduce test_sense_interrupt Pavel Hrdina
2012-07-04  9:07   ` [Qemu-devel] [PATCH v7 5/6] fdc_test: update media_change test Pavel Hrdina
2012-07-04 14:43     ` [Qemu-devel] [PATCH v8 " Kevin Wolf
2012-07-04  9:07   ` [Qemu-devel] [PATCH v7 6/6] fdc_test: introduce test_sense_interrupt Pavel Hrdina

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1340220873.git.phrdina@redhat.com \
    --to=phrdina@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.