All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Hervé Poussineau" <hpoussin@reactos.org>
To: qemu-devel@nongnu.org
Cc: "Blue Swirl" <blauwirbel@gmail.com>,
	"Kevin Wolf" <kwolf@redhat.com>,
	"Hervé Poussineau" <hpoussin@reactos.org>
Subject: [Qemu-devel] [PATCH 4/9] esp: implement Reset ATN command
Date: Sun, 24 Jun 2012 19:15:37 +0200	[thread overview]
Message-ID: <1340558142-14532-5-git-send-email-hpoussin@reactos.org> (raw)
In-Reply-To: <1340558142-14532-1-git-send-email-hpoussin@reactos.org>


Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
---
 hw/esp.c     |    4 ++++
 trace-events |    1 +
 2 files changed, 5 insertions(+)

diff --git a/hw/esp.c b/hw/esp.c
index 985a2ee..85078e0 100644
--- a/hw/esp.c
+++ b/hw/esp.c
@@ -113,6 +113,7 @@ struct ESPState {
 #define CMD_MSGACC   0x12
 #define CMD_PAD      0x18
 #define CMD_SATN     0x1a
+#define CMD_RSTATN   0x1b
 #define CMD_SEL      0x41
 #define CMD_SELATN   0x42
 #define CMD_SELATNS  0x43
@@ -634,6 +635,9 @@ static void esp_mem_write(void *opaque, target_phys_addr_t addr,
         case CMD_SATN:
             trace_esp_mem_writeb_cmd_satn(val);
             break;
+        case CMD_RSTATN:
+            trace_esp_mem_writeb_cmd_rstatn(val);
+            break;
         case CMD_SEL:
             trace_esp_mem_writeb_cmd_sel(val);
             handle_s_without_atn(s);
diff --git a/trace-events b/trace-events
index bc475ca..9b2e717 100644
--- a/trace-events
+++ b/trace-events
@@ -669,6 +669,7 @@ esp_mem_writeb_cmd_iccs(uint32_t val) "Initiator Command Complete Sequence (%2.2
 esp_mem_writeb_cmd_msgacc(uint32_t val) "Message Accepted (%2.2x)"
 esp_mem_writeb_cmd_pad(uint32_t val) "Transfer padding (%2.2x)"
 esp_mem_writeb_cmd_satn(uint32_t val) "Set ATN (%2.2x)"
+esp_mem_writeb_cmd_rstatn(uint32_t val) "Reset ATN (%2.2x)"
 esp_mem_writeb_cmd_sel(uint32_t val) "Select without ATN (%2.2x)"
 esp_mem_writeb_cmd_selatn(uint32_t val) "Select with ATN (%2.2x)"
 esp_mem_writeb_cmd_selatns(uint32_t val) "Select with ATN & stop (%2.2x)"
-- 
1.7.10

  parent reply	other threads:[~2012-06-24 17:15 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-24 17:15 [Qemu-devel] [PATCH 0/7] esp: add AMD PCscsi emulation Hervé Poussineau
2012-06-24 17:15 ` [Qemu-devel] [PATCH 1/9] esp: execute select commands immediately when it is a non-dma command Hervé Poussineau
2012-06-24 17:15 ` [Qemu-devel] [PATCH 2/9] esp: delay Transfer Information command if dma is not enabled Hervé Poussineau
2012-06-24 17:15 ` [Qemu-devel] [PATCH 3/9] esp: implement Disable selection command Hervé Poussineau
2012-06-24 17:15 ` Hervé Poussineau [this message]
2012-06-24 17:15 ` [Qemu-devel] [PATCH 5/9] esp: support future change of chip_id Hervé Poussineau
2012-06-24 17:15 ` [Qemu-devel] [PATCH 6/9] esp: use hba_private field instead of a complex cast Hervé Poussineau
2012-06-24 17:15 ` [Qemu-devel] [PATCH 7/9] esp: split esp code into generic chip emulation and sysbus layer Hervé Poussineau
2012-06-24 17:15 ` [Qemu-devel] [PATCH 8/9] esp: use trace framework instead of stderr output Hervé Poussineau
2012-06-24 19:38   ` Blue Swirl
2012-06-24 17:15 ` [Qemu-devel] [PATCH 9/9] esp: add AMD PCscsi emulation (PCI SCSI adapter) Hervé Poussineau

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=1340558142-14532-5-git-send-email-hpoussin@reactos.org \
    --to=hpoussin@reactos.org \
    --cc=blauwirbel@gmail.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.