Skip to content

Commit

Permalink
add support for PCI device id bcce
Browse files Browse the repository at this point in the history
Add support for the officially reservered PCI device id
for OFS devices.

Signed-off-by: Matthew Gerlach <matthew.gerlach@linux.intel.com>
  • Loading branch information
matthew-gerlach committed Jun 9, 2021
1 parent 07bb8d1 commit 5938b32
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
3 changes: 2 additions & 1 deletion python/opae.admin/opae/admin/fpga.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,8 @@ class fpga_base(sysfs_device):
'factory': 0},
'retimer': {'user': 0,
'factory': 0}},
(0x8086, 0xaf00): None
(0x8086, 0xaf00): None,
(0x8086, 0xbcce): None
}

def __init__(self, path):
Expand Down
8 changes: 8 additions & 0 deletions python/opae.admin/opae/admin/tools/rsu.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,14 @@ def fpga_defaults_valid(pci_id, value):
'fpga_factory fpga_user2',
'fpga_factory fpga_user1 fpga_user2',
'fpga_factory fpga_user2 fpga_user1'
],
(0x8086, 0xbcce): [ 'fpga_user1',
'fpga_user2',
'fpga_factory',
'fpga_factory fpga_user1',
'fpga_factory fpga_user2',
'fpga_factory fpga_user1 fpga_user2',
'fpga_factory fpga_user2 fpga_user1'
]
}
return value in sequences[pci_id]
Expand Down
2 changes: 1 addition & 1 deletion tools/fpgainfo/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ static platform_data platform_data_table[] = {
{ 0x8086, 0x0b2b, "libboard_d5005.so", NULL },
{ 0x8086, 0x0b2c, "libboard_d5005.so", NULL },
{ 0x8086, 0xaf00, "libboard_d5005.so", NULL },
{ 0x8086, 0xbcce, "libboard_n6010.so", NULL },
{ 0x8086, 0xbcce, "libboard_d5005.so", NULL },
{ 0, 0, NULL, NULL },
};

Expand Down

0 comments on commit 5938b32

Please sign in to comment.