mirror of
https://github.com/ipxe/ipxe
synced 2025-12-29 11:03:15 +03:00
Imported latest versions from Etherboot 5.4
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user