[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 8/9] Add xgmac ethernet model
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH v3 8/9] Add xgmac ethernet model |
Date: |
Wed, 28 Dec 2011 00:39:41 +0000 |
On 27 December 2011 20:13, Mark Langsdorf <address@hidden> wrote:
> This adds very basic support for XG-mac ethernet core from Synopsis and
> others. Missing things include:
> + if ((bd.buffer1_size & 0xfff) > 2048) {
> + fprintf(stdout, "qemu:%s:ERROR...ERROR...ERROR... -- "
> + "xgmac buffer 1 len on send > 2048 (0x%x)\n",
> + __func__, bd.buffer1_size & 0xfff);
> + fflush(stdout);
> + }
This kind of chattiness (a) usually goes on stderr
(which would let you drop that fflush) (b)
is usually a macro so you can enable/disable it.
Otherwise looks OK I think (that's more of a "will-let-pass"
than a confident "reviewed" :-)).
-- PMM