diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-08-22 13:54:31 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-08-22 13:54:31 +0000 |
commit | 5e1e0a3bb9ae875f32c1f605e50c4766b93e6032 (patch) | |
tree | 0e982dbbbee12dc387e6ad8182c78e4e3da87a1b /hw/esp.c | |
parent | 4c6aa085a8371a24603a919fe4264fd92dbccf02 (diff) | |
download | qemu-5e1e0a3bb9ae875f32c1f605e50c4766b93e6032.zip qemu-5e1e0a3bb9ae875f32c1f605e50c4766b93e6032.tar.gz qemu-5e1e0a3bb9ae875f32c1f605e50c4766b93e6032.tar.bz2 |
ESP: Implement select without ATN, fix comments
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/esp.c')
-rw-r--r-- | hw/esp.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -116,6 +116,7 @@ struct ESPState { #define CMD_ICCS 0x11 #define CMD_MSGACC 0x12 #define CMD_SATN 0x1a +#define CMD_SEL 0x41 #define CMD_SELATN 0x42 #define CMD_SELATNS 0x43 #define CMD_ENSEL 0x44 @@ -533,12 +534,16 @@ static void esp_mem_writeb(void *opaque, target_phys_addr_t addr, uint32_t val) case CMD_SATN: DPRINTF("Set ATN (%2.2x)\n", val); break; + case CMD_SEL: + DPRINTF("Select without ATN (%2.2x)\n", val); + handle_satn(s); + break; case CMD_SELATN: - DPRINTF("Set ATN (%2.2x)\n", val); + DPRINTF("Select with ATN (%2.2x)\n", val); handle_satn(s); break; case CMD_SELATNS: - DPRINTF("Set ATN & stop (%2.2x)\n", val); + DPRINTF("Select with ATN & stop (%2.2x)\n", val); handle_satn_stop(s); break; case CMD_ENSEL: |