[NET] smc91x: provide configurable leds
This patch provides a mechanism for platforms to be able to supply the LED configuration via platform data, rather than having to hard code it in smc91x.h. Acked-by: Eric Miao <eric.y.miao@gmail.com> Acked-by: Nicolas Pitre <nico@cam.org> Acked-by: Jeff Garzik <jgarzik@pobox.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
committed by
Russell King
parent
b8e6c91c74
commit
b0dbcf511c
@ -794,7 +794,7 @@ smc_pxa_dma_irq(int dma, void *dummy)
|
||||
#define RPC_LSB_DEFAULT RPC_LED_FD
|
||||
#endif
|
||||
|
||||
#define RPC_DEFAULT (RPC_ANEG | (RPC_LSA_DEFAULT << RPC_LSXA_SHFT) | (RPC_LSB_DEFAULT << RPC_LSXB_SHFT) | RPC_SPEED | RPC_DPLX)
|
||||
#define RPC_DEFAULT (RPC_ANEG | RPC_SPEED | RPC_DPLX)
|
||||
|
||||
|
||||
/* Bank 0 0x0C is reserved */
|
||||
|
Reference in New Issue
Block a user