The fealnx driver contains a check for boot_cpu_data.x86 <= 4. This field encodes the x86 generation (3 = 386, 4 = 486, etc). Therefore, since 486 support was removed from the kernel in commit 8b793a92d862 ("x86/cpu: Remove M486/M486SX/ELAN support"), the condition is always true. Remove the check. Signed-off-by: Ethan Nelson-Moore --- drivers/net/ethernet/fealnx.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/drivers/net/ethernet/fealnx.c b/drivers/net/ethernet/fealnx.c index bdc38aac5850..708b61f21915 100644 --- a/drivers/net/ethernet/fealnx.c +++ b/drivers/net/ethernet/fealnx.c @@ -839,8 +839,7 @@ static int netdev_open(struct net_device *dev) /* Initialize other registers. */ /* Configure the PCI bus bursts and FIFO thresholds. - 486: Set 8 longword burst. - 586: no burst limit. + No burst limit. Burst length 5:3 0 0 0 1 0 0 1 4 @@ -858,13 +857,7 @@ static int netdev_open(struct net_device *dev) #ifdef __BIG_ENDIAN np->bcrvalue |= 0x04; /* big-endian */ #endif - -#if defined(__i386__) && !defined(MODULE) && !defined(CONFIG_UML) - if (boot_cpu_data.x86 <= 4) - np->crvalue = 0xa00; - else -#endif - np->crvalue = 0xe00; /* rx 128 burst length */ + np->crvalue = 0xe00; /* rx 128 burst length */ // 89/12/29 add, -- 2.43.0