summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/qemu')
-rw-r--r--meta/recipes-devtools/qemu/qemu/smc91c111_fix.patch5
1 files changed, 1 insertions, 4 deletions
diff --git a/meta/recipes-devtools/qemu/qemu/smc91c111_fix.patch b/meta/recipes-devtools/qemu/qemu/smc91c111_fix.patch
index e69af94476..e37e777347 100644
--- a/meta/recipes-devtools/qemu/qemu/smc91c111_fix.patch
+++ b/meta/recipes-devtools/qemu/qemu/smc91c111_fix.patch
@@ -63,7 +63,7 @@ Index: qemu-2.4.0/hw/net/smc91c111.c
63 return 0; 63 return 0;
64 return 1; 64 return 1;
65 } 65 }
66@@ -671,9 +671,11 @@ static ssize_t smc91c111_receive(NetClie 66@@ -671,6 +671,8 @@ static ssize_t smc91c111_receive(NetClie
67 /* TODO: Flag overrun and receive errors. */ 67 /* TODO: Flag overrun and receive errors. */
68 if (packetsize > 2048) 68 if (packetsize > 2048)
69 return -1; 69 return -1;
@@ -72,6 +72,3 @@ Index: qemu-2.4.0/hw/net/smc91c111.c
72 packetnum = smc91c111_allocate_packet(s); 72 packetnum = smc91c111_allocate_packet(s);
73 if (packetnum == 0x80) 73 if (packetnum == 0x80)
74 return -1; 74 return -1;
75 s->rx_fifo[s->rx_fifo_len++] = packetnum;
76
77 p = &s->data[packetnum][0];