Very quick and very dirty hack to get the Mellanox code building
inside gPXE.
This commit is contained in:
@@ -91,10 +91,12 @@ static int transmit_imp(const char *dest, /* Destination */
|
||||
rc = ipoib_send_packet(dest, type, packet, size);
|
||||
if (rc) {
|
||||
printf("*** ERROR IN SEND FLOW ***\n");
|
||||
#if 0
|
||||
printf("restarting Etherboot\n");
|
||||
sleep(1);
|
||||
longjmp(restart_etherboot, -1);
|
||||
/* we should not be here ... */
|
||||
#endif
|
||||
return -1;
|
||||
}
|
||||
|
||||
@@ -221,10 +223,12 @@ static int poll_imp(struct nic *nic, int retrieve, unsigned int *size_p)
|
||||
return 0;
|
||||
|
||||
fatal_handling:
|
||||
#if 0
|
||||
printf("restarting Etherboot\n");
|
||||
sleep(1);
|
||||
longjmp(restart_etherboot, -1);
|
||||
/* we should not be here ... */
|
||||
#endif
|
||||
return -1;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user