diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2018-05-16 11:18:01 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-16 14:38:54 -0400 |
commit | e49ac9679eeb30abeb462cb459cc3ea8c81fbd1f (patch) | |
tree | 6fc2726ef03847893c4089492c62eabeb26ebf3a | |
parent | ac22bfb15c83636c28df2754456fb0a00c6e82da (diff) | |
download | linux-e49ac9679eeb30abeb462cb459cc3ea8c81fbd1f.tar.gz linux-e49ac9679eeb30abeb462cb459cc3ea8c81fbd1f.tar.bz2 linux-e49ac9679eeb30abeb462cb459cc3ea8c81fbd1f.zip |
net: 8390: ne: Fix accidentally removed RBTX4927 support
The configuration settings for RBTX4927 were accidentally removed,
leading to a silently broken network interface.
Re-add the missing settings to fix this.
Fixes: 8eb97ff5a4ec941d ("net: 8390: remove m32r specific bits")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/8390/ne.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/ethernet/8390/ne.c b/drivers/net/ethernet/8390/ne.c index ac99d089ac72..1c97e39b478e 100644 --- a/drivers/net/ethernet/8390/ne.c +++ b/drivers/net/ethernet/8390/ne.c @@ -164,7 +164,9 @@ bad_clone_list[] __initdata = { #define NESM_START_PG 0x40 /* First page of TX buffer */ #define NESM_STOP_PG 0x80 /* Last page +1 of RX ring */ -#if defined(CONFIG_ATARI) /* 8-bit mode on Atari, normal on Q40 */ +#if defined(CONFIG_MACH_TX49XX) +# define DCR_VAL 0x48 /* 8-bit mode */ +#elif defined(CONFIG_ATARI) /* 8-bit mode on Atari, normal on Q40 */ # define DCR_VAL (MACH_IS_ATARI ? 0x48 : 0x49) #else # define DCR_VAL 0x49 |