powerpc/44x: Add more changes for APM821XX EMAC driver
This patch includes: Configure EMAC PHY clock source (clock from PHY or internal clock). Do not advertise PHY half duplex capability as APM821XX EMAC does not support half duplex mode. Add changes to support configuring jumbo frame for APM821XX EMAC. [ Fix coding style -DaveM ] Signed-off-by: Duc Dang <dhdang@apm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
8dfc2b45ff
commit
ae5d33723e
@@ -212,6 +212,8 @@ struct emac_regs {
|
||||
#define EMAC4_RMR_RFAF_64_1024 0x00000006
|
||||
#define EMAC4_RMR_RFAF_128_2048 0x00000007
|
||||
#define EMAC4_RMR_BASE EMAC4_RMR_RFAF_128_2048
|
||||
#define EMAC4_RMR_MJS_MASK 0x0001fff8
|
||||
#define EMAC4_RMR_MJS(s) (((s) << 3) & EMAC4_RMR_MJS_MASK)
|
||||
|
||||
/* EMACx_ISR & EMACx_ISER */
|
||||
#define EMAC4_ISR_TXPE 0x20000000
|
||||
|
||||
Reference in New Issue
Block a user