powerpc/44x: Add more changes for APM821XX EMAC driver
authorDuc Dang <dhdang@apm.com>
Mon, 5 Mar 2012 00:58:22 +0000 (00:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Mar 2012 22:07:42 +0000 (17:07 -0500)
commitae5d33723e325392c48bc0ff481d9ec8d646a0ed
treeec5c0a9b4454f0c7e6c999f64b8ec6cde52ccf7f
parent8dfc2b45ffc722c4291f24f1f40c64e448b9b5b4
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>
drivers/net/ethernet/ibm/emac/core.c
drivers/net/ethernet/ibm/emac/core.h
drivers/net/ethernet/ibm/emac/emac.h