From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IUer1-0003Ya-LJ for qemu-devel@nongnu.org; Mon, 10 Sep 2007 04:42:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IUeqy-0003VU-D3 for qemu-devel@nongnu.org; Mon, 10 Sep 2007 04:42:46 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IUeqx-0003VC-P0 for qemu-devel@nongnu.org; Mon, 10 Sep 2007 04:42:43 -0400 Received: from nf-out-0910.google.com ([64.233.182.187]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IUeqx-0002TF-5S for qemu-devel@nongnu.org; Mon, 10 Sep 2007 04:42:43 -0400 Received: by nf-out-0910.google.com with SMTP id d21so1029122nfb for ; Mon, 10 Sep 2007 01:42:41 -0700 (PDT) Message-ID: <5b31733c0709100142v2a2dcc79j64819f6a8e9d1ac7@mail.gmail.com> Date: Mon, 10 Sep 2007 10:42:41 +0200 From: "Filip Navara" Sender: filip.navara@gmail.com Subject: Re: [Qemu-devel] [PATCH] EEPRO 100 emulation In-Reply-To: <20070910001518.GB10713@networkno.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_7541_25126830.1189413761511" References: <5b31733c0709081232n6f7a6c0l2471f0b738f63a7c@mail.gmail.com> <20070910001518.GB10713@networkno.de> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thiemo Seufer Cc: qemu-devel@nongnu.org ------=_Part_7541_25126830.1189413761511 Content-Type: multipart/alternative; boundary="----=_Part_7542_16510783.1189413761511" ------=_Part_7542_16510783.1189413761511 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Here it is. Best regards, Filip Navara On 9/10/07, Thiemo Seufer wrote: > > Filip Navara wrote: > > Not sure if this is usefull, but the Darwin network driver uses the > "flow > > control" registers, so it's not good idea to bail out and stop the > emulation > > if they're accessed. The registers aren't vital for the EEPRO 100 > operation, > > so no harm in ignoring them. > > Could you make them symbolic names instead of magic constants? > > > Thiemo > > ------=_Part_7542_16510783.1189413761511 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Here it is.

Best regards,
Filip Navara

On 9/10/07, Thiemo Seufer <ths@networkno.de> wrote:
Filip Navara wrote:
> Not sure if this is usefull, but the Darwin network driver uses the "flow
> control" registers, so it's not good idea to bail out and stop the emulation
> if they're accessed. The registers aren't vital for the EEPRO 100 operation,
> so no harm in ignoring them.

Could you make them symbolic names instead of magic constants?


Thiemo


------=_Part_7542_16510783.1189413761511-- ------=_Part_7541_25126830.1189413761511 Content-Type: application/octet-stream; name="qemu-eepro100-flow-control.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="qemu-eepro100-flow-control.patch" X-Attachment-Id: f_f6eq7sjp SW5kZXg6IGVlcHJvMTAwLmMNCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NClJDUyBmaWxlOiAvc291cmNlcy9xZW11L3Fl bXUvaHcvZWVwcm8xMDAuYyx2DQpyZXRyaWV2aW5nIHJldmlzaW9uIDEuMw0KZGlmZiAtdSAtcjEu MyBlZXBybzEwMC5jDQotLS0gZWVwcm8xMDAuYwkyIEp1bCAyMDA3IDEzOjM4OjQ2IC0wMDAwCTEu Mw0KKysrIGVlcHJvMTAwLmMJMTAgU2VwIDIwMDcgMDg6Mzg6NTEgLTAwMDANCkBAIC0xNDAsNiAr MTQwLDcgQEANCiAgICAgU0NCZmxhc2ggPSAxMiwgU0NCZWVwcm9tID0gMTQsICAgICAgLyogRUVQ Uk9NIGFuZCBmbGFzaCBtZW1vcnkgY29udHJvbC4gKi8NCiAgICAgU0NCQ3RybE1ESSA9IDE2L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