Skip to content

Commit 4907a3f

Browse files
krzkdavem330
authored andcommitted
MIPS: dts: loongson: drop incorrect dwmac fallback compatible
Device binds to proper PCI ID (LOONGSON, 0x7a03), already listed in DTS, so checking for some other compatible does not make sense. It cannot be bound to unsupported platform. Drop useless, incorrect (space in between) and undocumented compatible. Signed-off-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Yanteng Si <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Acked-by: Jiaxun Yang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 31fea09 commit 4907a3f

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,7 @@
130130
compatible = "pci0014,7a03.0",
131131
"pci0014,7a03",
132132
"pciclass0c0320",
133-
"pciclass0c03",
134-
"loongson, pci-gmac";
133+
"pciclass0c03";
135134

136135
reg = <0x1800 0x0 0x0 0x0 0x0>;
137136
interrupts = <12 IRQ_TYPE_LEVEL_LOW>,

arch/mips/boot/dts/loongson/ls7a-pch.dtsi

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,7 @@
193193
compatible = "pci0014,7a03.0",
194194
"pci0014,7a03",
195195
"pciclass020000",
196-
"pciclass0200",
197-
"loongson, pci-gmac";
196+
"pciclass0200";
198197

199198
reg = <0x1800 0x0 0x0 0x0 0x0>;
200199
interrupts = <12 IRQ_TYPE_LEVEL_HIGH>,

0 commit comments

Comments
 (0)