search for: rtl8139_cplus_transmit_one

Displaying 1 result from an estimated 1 matches for "rtl8139_cplus_transmit_one".

2006 Nov 15
3
qemu/rtl8139: Max transmit frame size
...http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- diff -r f026d4091322 tools/ioemu/hw/rtl8139.c --- a/tools/ioemu/hw/rtl8139.c Tue Nov 14 18:52:58 2006 +0000 +++ b/tools/ioemu/hw/rtl8139.c Wed Nov 15 15:35:24 2006 +1100 @@ -2001,8 +2001,13 @@ static int rtl8139_cplus_transmit_one(RT while (s->cplus_txbuffer && s->cplus_txbuffer_offset + txsize >= s->cplus_txbuffer_len) { + void *txbuffer; + s->cplus_txbuffer_len += CP_TX_BUFFER_SIZE; - s->cplus_txbuffer = realloc(s->cplus_txbuffer, s->cplus_txbuffer_len); + txbuffe...