Skip to content

Commit 98830dd

Browse files
arndbdavem330
authored andcommitted
net/tulip: don't warn about unknown ARM architecture
ARM has 32-byte cache lines, which according to the comment in the init registers function seems to work best with the default value of 0x4800 that is also used on sparc and parisc. This adds ARM to the same list, to use that default but no longer warn about it. Signed-off-by: Arnd Bergmann <[email protected]> Acked-by: Grant Grundler <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 4c0c46b commit 98830dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/dec/tulip/winbond-840.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -904,7 +904,7 @@ static void init_registers(struct net_device *dev)
904904
}
905905
#elif defined(__powerpc__) || defined(__i386__) || defined(__alpha__) || defined(__ia64__) || defined(__x86_64__)
906906
i |= 0xE000;
907-
#elif defined(CONFIG_SPARC) || defined (CONFIG_PARISC)
907+
#elif defined(CONFIG_SPARC) || defined (CONFIG_PARISC) || defined(CONFIG_ARM)
908908
i |= 0x4800;
909909
#else
910910
#warning Processor architecture undefined

0 commit comments

Comments
 (0)