Search for NIC5392_PCIe_DEVICE_ID in all directories.
Code:
$ grep -r -n NIC5392_PCIe_DEVICE_ID .
./include/chip/chip_id.h:60:#define NIC5392_PCIe_DEVICE_ID 0x5392
./include/chip/rt5390.h:67:#define NIC5392_PCIe_DEVICE_ID 0x5392
./os/linux/pci_main_dev.c:75: {PCI_DEVICE(NIC_PCI_VENDOR_ID, NIC5392_PCIe_DEVICE_ID)},
./os/linux/rt_rbus_pci_drv.c:1380: (device_id == NIC5392_PCIe_DEVICE_ID) ||
./os/linux/rt_rbus_pci_drv.c:1669: case NIC5392_PCIe_DEVICE_ID:
Duplicate that line and replace 2 with B.
Code:
$ grep -r -n NIC539B_PCIe_DEVICE_ID .
./include/chip/chip_id.h:61:#define NIC539B_PCIe_DEVICE_ID 0x539B
./include/chip/rt5390.h:68:#define NIC539B_PCIe_DEVICE_ID 0x539B
./os/linux/pci_main_dev.c:76: {PCI_DEVICE(NIC_PCI_VENDOR_ID, NIC539B_PCIe_DEVICE_ID)},
./os/linux/rt_rbus_pci_drv.c:1381: (device_id == NIC539B_PCIe_DEVICE_ID) ||
./os/linux/rt_rbus_pci_drv.c:1670: case NIC539B_PCIe_DEVICE_ID:
Then followed the steps that you listed. The code does not compile unless ALL the above changes are made.
And it works! I have been testing the connection for the last few minutes and it seems OK! I really appreciate your quick response and the suggestions.
Bookmarks