Imported latest versions from Etherboot 5.4

This commit is contained in:
Michael Brown
2007-08-17 19:35:40 +01:00
parent 2ff1b1245b
commit d9bba621c8
11 changed files with 122 additions and 103 deletions

View File

@@ -21,7 +21,7 @@
#include "mt23108.h"
#include "ib_driver.h"
#include <gpxe/pci.h>
#include "pci.h"
struct device_buffers_st {
union recv_wqe_u mads_qp_rcv_queue[NUM_MADS_RCV_WQES]
@@ -799,6 +799,20 @@ static int setup_hca(__u8 port, void **eq_p)
return ret;
}
static int unset_hca(void)
{
int rc = 0;
if (!fw_fatal) {
rc = cmd_sys_dis();
if (rc)
eprintf("");
}
return rc;
}
static void *get_inprm_buf(void)
{
return dev_buffers_p->inprm_buf;