mirror of
https://github.com/utmapp/qemu.git
synced 2026-12-01 22:23:23 -10:00
hw/pvrdma: Make default pkey 0xFFFF
0x7FFF is not the default pkey - fix it. Signed-off-by: Yuval Shaia <[email protected]> Reviewed-by: Marcel Apfelbaum <[email protected]> Message-Id: <[email protected]> Signed-off-by: Marcel Apfelbaum <[email protected]>
This commit is contained in:
1 parent
eca0f2a6be
commit
6e7dba23af
2 files changed
+4
-1
No files matched your search
@@ -50,6 +50,9 @@
|
||||
#define PVRDMA_HW_VERSION 17
|
||||
#define PVRDMA_FW_VERSION 14
|
||||
|
||||
/* Some defaults */
|
||||
#define PVRDMA_PKEY 0x7FFF
|
||||
|
||||
typedef struct DSRInfo {
|
||||
dma_addr_t dma;
|
||||
struct pvrdma_device_shared_region *dsr;
|
||||
|
||||
@@ -166,7 +166,7 @@ static int query_pkey(PVRDMADev *dev, union pvrdma_cmd_req *req,
|
||||
resp->hdr.ack = PVRDMA_CMD_QUERY_PKEY_RESP;
|
||||
resp->hdr.err = 0;
|
||||
|
||||
resp->pkey = 0x7FFF;
|
||||
resp->pkey = PVRDMA_PKEY;
|
||||
pr_dbg("pkey=0x%x\n", resp->pkey);
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in new issue
Block a user