Changeset View
Changeset View
Standalone View
Standalone View
head/sys/mips/mediatek/mtk_pcie.c
Show First 20 Lines • Show All 197 Lines • ▼ Show 20 Lines | mtk_pci_ranges(phandle_t node, struct mtk_pci_range *io_space, | ||||
mtk_pci_range_dump(mem_space); | mtk_pci_range_dump(mem_space); | ||||
return (0); | return (0); | ||||
} | } | ||||
static struct ofw_compat_data compat_data[] = { | static struct ofw_compat_data compat_data[] = { | ||||
{ "ralink,rt3883-pci", MTK_SOC_RT3883 }, | { "ralink,rt3883-pci", MTK_SOC_RT3883 }, | ||||
{ "mediatek,mt7620-pci", MTK_SOC_MT7620A }, | { "mediatek,mt7620-pci", MTK_SOC_MT7620A }, | ||||
{ "mediatek,mt7628-pci", MTK_SOC_MT7628 }, | |||||
{ "mediatek,mt7621-pci", MTK_SOC_MT7621 }, | { "mediatek,mt7621-pci", MTK_SOC_MT7621 }, | ||||
{ NULL, MTK_SOC_UNKNOWN } | { NULL, MTK_SOC_UNKNOWN } | ||||
}; | }; | ||||
static int | static int | ||||
mtk_pci_probe(device_t dev) | mtk_pci_probe(device_t dev) | ||||
{ | { | ||||
struct mtk_pci_softc *sc = device_get_softc(dev); | struct mtk_pci_softc *sc = device_get_softc(dev); | ||||
▲ Show 20 Lines • Show All 1,053 Lines • Show Last 20 Lines |