[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH V3 1/2] ofnet: move the allocation of the transmit buffer int
From: |
Daniel Kiper |
Subject: |
Re: [PATCH V3 1/2] ofnet: move the allocation of the transmit buffer into a function |
Date: |
Mon, 12 Dec 2016 17:27:36 +0100 |
User-agent: |
Mutt/1.3.28i |
On Mon, Dec 12, 2016 at 06:03:38PM +0300, Stanislav Kholmanskikh wrote:
> In the current code search_net_devices() uses the "alloc-mem" command
> from the IEEE1275 User Interface for allocation of the transmit buffer
> for the case when GRUB_IEEE1275_FLAG_VIRT_TO_REAL_BROKEN is set.
>
> I don't have hardware where this flag is set to verify if this
> workaround is still needed. However, further changes to ofnet will
> require to execute this workaround one more time. Therefore, to
> avoid possible duplication of code I'm moving this piece of
> code into a function.
>
> Signed-off-by: Stanislav Kholmanskikh <address@hidden>
Reviewed-by: Daniel Kiper <address@hidden>
Daniel