From 9370bb92b2d16684ee45cf24e879c93c509162da Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Thu, 19 Dec 2024 01:47:39 +0000 Subject: [PATCH] add wifi6 8852be driver --- kernel/arch/mips/include/asm/mach-loongson64/spaces.h | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/kernel/arch/mips/include/asm/mach-loongson64/spaces.h b/kernel/arch/mips/include/asm/mach-loongson64/spaces.h index e85bc1d..ce04e99 100644 --- a/kernel/arch/mips/include/asm/mach-loongson64/spaces.h +++ b/kernel/arch/mips/include/asm/mach-loongson64/spaces.h @@ -6,5 +6,12 @@ #define CAC_BASE _AC(0x9800000000000000, UL) #endif /* CONFIG_64BIT */ +/* Skip 128k to trap NULL pointer dereferences */ +#define PCI_IOBASE _AC(0xc000000000000000 + SZ_128K, UL) +#define PCI_IOSIZE SZ_16M +#define MAP_BASE (PCI_IOBASE + PCI_IOSIZE) + +#define IO_SPACE_LIMIT (PCI_IOSIZE - 1) + #include <asm/mach-generic/spaces.h> #endif -- Gitblit v1.6.2