diff options
Diffstat (limited to 'hw/esp.c')
-rw-r--r-- | hw/esp.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -117,6 +117,7 @@ struct ESPState { #define CMD_SELATN 0x42 #define CMD_SELATNS 0x43 #define CMD_ENSEL 0x44 +#define CMD_DISSEL 0x45 #define STAT_DO 0x00 #define STAT_DI 0x01 @@ -649,6 +650,11 @@ static void esp_mem_write(void *opaque, target_phys_addr_t addr, trace_esp_mem_writeb_cmd_ensel(val); s->rregs[ESP_RINTR] = 0; break; + case CMD_DISSEL: + trace_esp_mem_writeb_cmd_dissel(val); + s->rregs[ESP_RINTR] = 0; + esp_raise_irq(s); + break; default: ESP_ERROR("Unhandled ESP command (%2.2x)\n", (unsigned)val); break; |