From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BupXq-00084K-Qy for qemu-devel@nongnu.org; Wed, 11 Aug 2004 05:37:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BupXo-000847-OO for qemu-devel@nongnu.org; Wed, 11 Aug 2004 05:37:18 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BupXo-000844-MB for qemu-devel@nongnu.org; Wed, 11 Aug 2004 05:37:16 -0400 Received: from [62.253.162.48] (helo=mta08-svc.ntlworld.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BupTV-0000Cb-B2 for qemu-devel@nongnu.org; Wed, 11 Aug 2004 05:32:49 -0400 Received: from [10.10.10.100] ([81.107.87.144]) by mta08-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20040811093241.TOKT798.mta08-svc.ntlworld.com@[10.10.10.100]> for ; Wed, 11 Aug 2004 10:32:41 +0100 Subject: Re: [Qemu-devel] Andrew Curtis' PCNet Patch built on MingW From: Antony T Curtis In-Reply-To: <76bfb9d204081021031b1b263@mail.gmail.com> References: <76bfb9d204081021031b1b263@mail.gmail.com> Content-Type: text/plain Message-Id: <1092216763.83229.9.camel@pcgem.rdg.cyberkinetica.com> Mime-Version: 1.0 Date: Wed, 11 Aug 2004 10:32:44 +0100 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Wed, 2004-08-11 at 05:03, Garth Dahlstrom wrote: > Hi All, > > It took me some time, but I was finally able to compile Andrew Curtis > PCNet patch against QEMU 0.6.0 on MingW... > > The good news is it almost works... that is to say it compiles and > detects under a guest linux when using the -nic-pcnet commandline > parameter for qemu. > > The bad news is it's broken, it does not actually dhcp down the > 10.0.2.15 address and produces 'Bad SWSTYLE=0x04' on the console. There is no such SWSTYLE as 0x04 on the PC-Net chip I emulated. You should be able to safely ignore this message. > I suspect my brutal handling of the PACKED attribute in pcnet.h is the > cause of this problem, but am unsure. I should proably warn you all > that, I'm not a C programmer and haven't coded it for about 7 years, > so it's rather a hack job that it compiles... :) maybe the PACKED name conflicts with some existing symbol if you are having to undef it... Can you find what the original definition of it is? And perhaps I should call it PCN_PACKED maybe... > If anyone who builds on Windows would have a go at seeing if they can > figure out what's messed up, I'd really appreciated it. > > Cheers, > > -G -- Antony T Curtis, BSc. UNIX, Linux, *BSD, Networking antony.t.curtis@ntlworld.com C++, J2EE, Perl, MySQL, Apache IT Consultancy.