esp: implement Reset ATN command
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
6fe84c1835
commit
6915bff1a8
4
hw/esp.c
4
hw/esp.c
@ -113,6 +113,7 @@ struct ESPState {
|
|||||||
#define CMD_MSGACC 0x12
|
#define CMD_MSGACC 0x12
|
||||||
#define CMD_PAD 0x18
|
#define CMD_PAD 0x18
|
||||||
#define CMD_SATN 0x1a
|
#define CMD_SATN 0x1a
|
||||||
|
#define CMD_RSTATN 0x1b
|
||||||
#define CMD_SEL 0x41
|
#define CMD_SEL 0x41
|
||||||
#define CMD_SELATN 0x42
|
#define CMD_SELATN 0x42
|
||||||
#define CMD_SELATNS 0x43
|
#define CMD_SELATNS 0x43
|
||||||
@ -634,6 +635,9 @@ static void esp_mem_write(void *opaque, target_phys_addr_t addr,
|
|||||||
case CMD_SATN:
|
case CMD_SATN:
|
||||||
trace_esp_mem_writeb_cmd_satn(val);
|
trace_esp_mem_writeb_cmd_satn(val);
|
||||||
break;
|
break;
|
||||||
|
case CMD_RSTATN:
|
||||||
|
trace_esp_mem_writeb_cmd_rstatn(val);
|
||||||
|
break;
|
||||||
case CMD_SEL:
|
case CMD_SEL:
|
||||||
trace_esp_mem_writeb_cmd_sel(val);
|
trace_esp_mem_writeb_cmd_sel(val);
|
||||||
handle_s_without_atn(s);
|
handle_s_without_atn(s);
|
||||||
|
@ -751,6 +751,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_msgacc(uint32_t val) "Message Accepted (%2.2x)"
|
||||||
esp_mem_writeb_cmd_pad(uint32_t val) "Transfer padding (%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_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_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_selatn(uint32_t val) "Select with ATN (%2.2x)"
|
||||||
esp_mem_writeb_cmd_selatns(uint32_t val) "Select with ATN & stop (%2.2x)"
|
esp_mem_writeb_cmd_selatns(uint32_t val) "Select with ATN & stop (%2.2x)"
|
||||||
|
Loading…
Reference in New Issue
Block a user