summary refs log tree commit diff stats
path: root/hw/misc/macio/cuda.c
diff options
context:
space:
mode:
authorHervé Poussineau <hpoussin@reactos.org>2016-02-07 21:34:15 +0100
committerDavid Gibson <david@gibson.dropbear.id.au>2016-02-17 09:59:31 +1100
commite230d43e80267073e5a405500372a93cb0cf9599 (patch)
tree455c1ec2c1b72eb3533c9ebaa74a59eead6f580b /hw/misc/macio/cuda.c
parente6473178920685da3215813a959fb747976a2b5f (diff)
downloadfocaccia-qemu-e230d43e80267073e5a405500372a93cb0cf9599.tar.gz
focaccia-qemu-e230d43e80267073e5a405500372a93cb0cf9599.zip
cuda: remove GET_6805_ADDR command
It doesn't seem to be used, and operating systems should accept a 'unknown command' answer.

Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/misc/macio/cuda.c')
-rw-r--r--hw/misc/macio/cuda.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/hw/misc/macio/cuda.c b/hw/misc/macio/cuda.c
index 611b4140f6..d65a36a912 100644
--- a/hw/misc/macio/cuda.c
+++ b/hw/misc/macio/cuda.c
@@ -733,9 +733,6 @@ static void cuda_receive_packet(CUDAState *s,
     }
 
     switch(data[0]) {
-    case CUDA_GET_6805_ADDR:
-        cuda_send_packet_to_host(s, obuf, 3);
-        return;
     case CUDA_COMBINED_FORMAT_IIC:
         obuf[0] = ERROR_PACKET;
         obuf[1] = 0x5;