Added net device TX queue; this will be needed to support the PXE UNDI API

(which will need us to wait for TX completions).

Added debug autocolourisation to netdevice.c
This commit is contained in:
Michael Brown
2007-01-09 20:18:31 +00:00
parent 8a268073a7
commit b7fcfe8ece
6 changed files with 135 additions and 85 deletions

View File

@@ -349,11 +349,15 @@ static int undinet_transmit ( struct net_device *netdev,
= ( ( unsigned ) & __from_data16 ( undinet_pkb ) );
/* Issue PXE API call */
rc = undinet_call ( undinic, PXENV_UNDI_TRANSMIT, &undi_transmit,
sizeof ( undi_transmit ) );
if ( ( rc = undinet_call ( undinic, PXENV_UNDI_TRANSMIT,
&undi_transmit,
sizeof ( undi_transmit ) ) ) != 0 )
goto done;
/* Free packet buffer and return */
free_pkb ( pkb );
/* Free packet buffer */
netdev_tx_complete ( netdev, pkb );
done:
return rc;
}