| 1 |
.. SPDX-License-Identifier: GPL-2.0 |
| 2 |
|
| 3 |
========================== |
| 4 |
PCI NTB Endpoint Function |
| 5 |
========================== |
| 6 |
|
| 7 |
1) Create a subdirectory to pci_epf_ntb directory in configfs. |
| 8 |
|
| 9 |
Standard EPF Configurable Fields: |
| 10 |
|
| 11 |
================ =========================================================== |
| 12 |
vendorid should be 0x104c |
| 13 |
deviceid should be 0xb00d for TI's J721E SoC |
| 14 |
revid don't care |
| 15 |
progif_code don't care |
| 16 |
subclass_code should be 0x00 |
| 17 |
baseclass_code should be 0x5 |
| 18 |
cache_line_size don't care |
| 19 |
subsys_vendor_id don't care |
| 20 |
subsys_id don't care |
| 21 |
interrupt_pin don't care |
| 22 |
msi_interrupts don't care |
| 23 |
msix_interrupts don't care |
| 24 |
================ =========================================================== |
| 25 |
|
| 26 |
2) Create a subdirectory to directory created in 1 |
| 27 |
|
| 28 |
NTB EPF specific configurable fields: |
| 29 |
|
| 30 |
================ =========================================================== |
| 31 |
db_count Number of doorbells; default = 4 |
| 32 |
mw1 size of memory window1 |
| 33 |
mw2 size of memory window2 |
| 34 |
mw3 size of memory window3 |
| 35 |
mw4 size of memory window4 |
| 36 |
num_mws Number of memory windows; max = 4 |
| 37 |
spad_count Number of scratchpad registers; default = 64 |
| 38 |
================ =========================================================== |