Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

NTB: epf: Add Renesas rcar support

Add virtual non-transparent bridge support for Renesas rcar platform

Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>

authored by

Jerome Brunet and committed by
Jon Mason
006824a1 5ad86586

+15
+15
drivers/ntb/hw/epf/ntb_hw_epf.c
··· 747 747 [BAR_MW4] = NO_BAR 748 748 }; 749 749 750 + static const enum pci_barno rcar_barno[NTB_BAR_NUM] = { 751 + [BAR_CONFIG] = BAR_0, 752 + [BAR_PEER_SPAD] = BAR_0, 753 + [BAR_DB] = BAR_4, 754 + [BAR_MW1] = BAR_2, 755 + [BAR_MW2] = NO_BAR, 756 + [BAR_MW3] = NO_BAR, 757 + [BAR_MW4] = NO_BAR, 758 + }; 759 + 750 760 static const struct pci_device_id ntb_epf_pci_tbl[] = { 751 761 { 752 762 PCI_DEVICE(PCI_VENDOR_ID_TI, PCI_DEVICE_ID_TI_J721E), ··· 767 757 PCI_DEVICE(PCI_VENDOR_ID_FREESCALE, 0x0809), 768 758 .class = PCI_CLASS_MEMORY_RAM << 8, .class_mask = 0xffff00, 769 759 .driver_data = (kernel_ulong_t)mx8_map, 760 + }, 761 + { 762 + PCI_DEVICE(PCI_VENDOR_ID_RENESAS, 0x0030), 763 + .class = PCI_CLASS_MEMORY_RAM << 8, .class_mask = 0xffff00, 764 + .driver_data = (kernel_ulong_t)rcar_barno, 770 765 }, 771 766 { }, 772 767 };