diff options
Diffstat (limited to 'kernel/main.c')
| -rw-r--r-- | kernel/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/main.c b/kernel/main.c index 0fea09e..209942b 100644 --- a/kernel/main.c +++ b/kernel/main.c @@ -1723,14 +1723,14 @@ static int nv_vgpu_config_space_init(struct nv_vgpu_device *vgpu, struct pci_dev cfg[0x89] = 0x00; cfg[0x8a] = 0x10; /* Device Status */ cfg[0x8b] = 0x00; - cfg[0x8c] = 0x00; /* Link Capabilities */ - cfg[0x8d] = 0x00; + cfg[0x8c] = 0x03; /* Link Capabilities: MAX_SPEED 3:0 = 3 (8 GT/s) */ + cfg[0x8d] = 0x01; /* ... MAX_WIDTH 9:4 = 0x10 (x16) -> 0x103 */ cfg[0x8e] = 0x00; cfg[0x8f] = 0x00; cfg[0x90] = 0x00; /* Link Control */ cfg[0x91] = 0x00; - cfg[0x92] = 0x00; /* Link Status */ - cfg[0x93] = 0x00; + cfg[0x92] = 0x03; /* Link Status: speed 3:0 = 3 (Gen3) */ + cfg[0x93] = 0x01; /* ... width 9:4 = 0x10 (x16) */ cfg[0x94] = 0x00; /* Slot Capabilities */ cfg[0x95] = 0x00; cfg[0x96] = 0x00; |
