[PATCH] mv643xx_eth: Clean up platform_data configuration
We shouldn't expose the hardware register contents in platform_data. The only things we allow the user to configure are autoneg, speed, and duplex. Add specific platform_data fields for these values and remove the registers configs. Signed-off-by: Dale Farnsworth <dale@farnsworth.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Dieser Commit ist enthalten in:

committet von
Jeff Garzik

Ursprung
d0412d9670
Commit
01999873a4
@@ -321,10 +321,6 @@ struct mv643xx_mib_counters {
|
||||
|
||||
struct mv643xx_private {
|
||||
int port_num; /* User Ethernet port number */
|
||||
u32 port_config; /* User port configuration value*/
|
||||
u32 port_config_extend; /* User port config extend value*/
|
||||
u32 port_sdma_config; /* User port SDMA config value */
|
||||
u32 port_serial_control; /* User port serial control value */
|
||||
u32 port_tx_queue_command; /* Port active Tx queues summary*/
|
||||
u32 port_rx_queue_command; /* Port active Rx queues summary*/
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren