From 1c055e55a242a33e574e48be530e06770a210dcd Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 19 Feb 2024 03:26:26 +0000 Subject: [PATCH] add r8169 read mac form eeprom --- kernel/arch/mips/include/asm/mach-cavium-octeon/cpu-feature-overrides.h | 9 --------- 1 files changed, 0 insertions(+), 9 deletions(-) diff --git a/kernel/arch/mips/include/asm/mach-cavium-octeon/cpu-feature-overrides.h b/kernel/arch/mips/include/asm/mach-cavium-octeon/cpu-feature-overrides.h index a4f7986..513270c 100644 --- a/kernel/arch/mips/include/asm/mach-cavium-octeon/cpu-feature-overrides.h +++ b/kernel/arch/mips/include/asm/mach-cavium-octeon/cpu-feature-overrides.h @@ -45,7 +45,6 @@ #define cpu_has_ic_fills_f_dc 0 #define cpu_has_64bits 1 #define cpu_has_octeon_cache 1 -#define cpu_has_saa octeon_has_saa() #define cpu_has_mips32r1 1 #define cpu_has_mips32r2 1 #define cpu_has_mips64r1 1 @@ -60,7 +59,6 @@ #define cpu_has_rixi (cpu_data[0].cputype != CPU_CAVIUM_OCTEON) -#define ARCH_HAS_IRQ_PER_CPU 1 #define ARCH_HAS_SPINLOCK_PREFETCH 1 #define spin_lock_prefetch(x) prefetch(x) #define PREFETCH_STRIDE 128 @@ -72,13 +70,6 @@ */ #define ARCH_HAS_USABLE_BUILTIN_POPCOUNT 1 #endif - -static inline int octeon_has_saa(void) -{ - int id; - asm volatile ("mfc0 %0, $15,0" : "=r" (id)); - return id >= 0x000d0300; -} /* * The last 256MB are reserved for device to device mappings and the -- Gitblit v1.6.2