Port-mips archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bug, MIPS mach-rc32434/pci.h
hi
found a typo in a #define, see the char "_" is missing.
It silently causes catastrophic consequences to miniPCI devices such
as uart, crypto accelerators, wifi, ...
I found this bug from kernel 4.4 to kernel 6.12.
I think it should be fixed
D.
--- arch/mips/include/asm/h.original 2024-12-17 19:18:40.199000000 -0000
+++ arch/mips/include/asm/mach-rc32434/pci.h 2024-12-17
19:18:40.189000000 -0000
@@ -167,7 +167,7 @@
#define PCI_CFGA_DEV 0x0000f800
#define PCI_CFGA_DEV_INTERN 0
#define PCI_CFGA_BUS_BIT 16
-#define PCI CFGA_BUS 0x00ff0000
+#define PCI_CFGA_BUS 0x00ff0000
#define PCI_CFGA_BUS_TYPE0 0
#define PCI_CFGA_EN (1 << 31)
Home |
Main Index |
Thread Index |
Old Index