From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Thu, 31 Aug 2017 20:52:20 +0800 Subject: [U-Boot] [PATCH 21/23] efi_loader: fix efi_net_get_status In-Reply-To: <20170826225444.7608-2-xypron.glpk@gmx.de> References: <20170826225110.7381-1-xypron.glpk@gmx.de> <20170826225444.7608-1-xypron.glpk@gmx.de> <20170826225444.7608-2-xypron.glpk@gmx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 27 August 2017 at 06:54, Heinrich Schuchardt wrote: > The returned interrupt status was wrong. > > As out transmit buffer is empty we need to always set > EFI_SIMPLE_NETWORK_TRANSMIT_INTERRUPT. > > When we have received a packet we need to set > EFI_SIMPLE_NETWORK_RECEIVE_INTERRUPT. > > Furthermore we should call efi_timer_check() to handle events. > > Signed-off-by: Heinrich Schuchardt > --- > include/efi_api.h | 6 ++++++ > lib/efi_loader/efi_net.c | 11 ++++++++--- > 2 files changed, 14 insertions(+), 3 deletions(-) Reviewed-by: Simon Glass