qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Re: NE2000 problem found
@ 2004-06-10  2:43 Mike Nordell
  2004-06-10  5:10 ` [Qemu-devel] IDE issues?? (Was re: NE2000 problem found) Tim
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Nordell @ 2004-06-10  2:43 UTC (permalink / raw)
  To: qemu-devel

I have now seen some pretty convincing evidence that ASIC byte-writes
*shall* be honoured, and disregard the 8/16-bit mode as specified by (dcfg &
1).

Guest: Windows 2000 sp4.

While in 16-bit mode (dcfg & 1):
- It sets EN0_RCNTLO to an odd value.
- Writes everything as 16-bit values (outw) except for the last byte.
- Writes the last byte using outb, which triggers the interrupt.

So there should be a separate ne2000_asic_ioport_writeb.

I also have good reasons to believe there should not be a matching readb
function. As a test I did implement such a function, but then I got a MAC of
52-52-54-54-00-00 :-)

/Mike

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-06-10  5:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-10  2:43 [Qemu-devel] Re: NE2000 problem found Mike Nordell
2004-06-10  5:10 ` [Qemu-devel] IDE issues?? (Was re: NE2000 problem found) Tim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).