Re: [Qemu-devel] [PATCH] lance.c emulation corrections

2006-08-12 Thread Fabrice Bellard
Blue Swirl wrote: It could be worthwhile to check if lance (Am7990) and pcnet (Am79C970A) drivers could be merged. This was discussed briefly some years ago: http://lists.gnu.org/archive/html/qemu-devel/2004-10/msg00364.html Yes, a quick look shows 79c970a has one rx/tx buffer management mode

Re: [Qemu-devel] [PATCH] lance.c emulation corrections

2006-08-12 Thread Blue Swirl
It could be worthwhile to check if lance (Am7990) and pcnet (Am79C970A) drivers could be merged. This was discussed briefly some years ago: http://lists.gnu.org/archive/html/qemu-devel/2004-10/msg00364.html Yes, a quick look shows 79c970a has one rx/tx buffer management mode which is software-c

Re: [Qemu-devel] [PATCH] lance.c emulation corrections

2006-08-10 Thread Igor Kovalenko
>Looking at 7990 chip docs (main chip on lance card) it seems like there are>more features >not implemented; e.g. 1.6ms timer is needed to implement "normal">transmission.It could be worthwhile to check if lance (Am7990) and pcnet (Am79C970A)drivers could be merged. This was discussed briefly some

RE: [Qemu-devel] [PATCH] lance.c emulation corrections

2006-08-10 Thread Blue Swirl
Without this patch I had ~500 byte/second transfers with qemu-system-sparc, now it network speed is much better :) Good work! Looking at 7990 chip docs (main chip on lance card) it seems like there are more features not implemented; e.g. 1.6ms timer is needed to implement "normal" transmission

[Qemu-devel] [PATCH] lance.c emulation corrections

2006-08-09 Thread Igor Kovalenko
Hi!lance.c emulation implements incorrect algorithm to scan receive/transmit descriptors: - it scans a whole ring of descriptors instead of stopping at first owned by host - it skips buffers in corner cases  - card is not reset, current rx/tx descriptor number is not reset when card is stopped by d