david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

Use NIC's connect method.

This commit is contained in:
Michael Brown 2005-04-13 00:18:35 +00:00
parent 17d69d8930
commit 266dae4034
1 changed files with 8 additions and 2 deletions

View File

@ -236,9 +236,15 @@ struct nic *nic = &dev.nic;
/*
* Find out what our boot parameters are
*/
static int nic_load_configuration(struct dev *dev __unused)
{
static int nic_load_configuration ( struct dev *dev ) {
struct nic *nic = &dev->nic;
int server_found;
if ( ! nic->nic_op->connect ( nic ) ) {
printf ( "No connection to network\n" );
return 0;
}
/* Find a server to get BOOTP reply from */
#ifdef RARP_NOT_BOOTP
printf("Searching for server (RARP)...");