pxe: add a single-tick timeout for PXE stacks which eat transmits
authorH. Peter Anvin <hpa@zytor.com>
Mon, 1 Mar 2010 06:15:45 +0000 (22:15 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 1 Mar 2010 06:15:45 +0000 (22:15 -0800)
commit0c1b050fcbebd0242d56c0ba6bfd82f42a33c853
tree08a1d9465b3b02fc80f5179f676d43d60a043ef5
parent08bc48447fd1c6818c1f13fd25c5ed969d60fd04
pxe: add a single-tick timeout for PXE stacks which eat transmits

Add a single-tick first-round timeout for PXE stacks which eat the
first transmit under certain circumstances, i.e. gPXE if the ARP table
isn't populated yet.

TODO: encapsulate all send packet/wait for reply code into a common
function.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/fs/pxe/pxe.c