diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2008-03-18 11:34:34 -0700 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-04-16 20:06:48 -0400 |
commit | c0d0f2caa1cd0f015aa42bbdb10cb8913bb95e4e (patch) | |
tree | d9e4fcc57c20797298b33996e8b6b1a47103c65a /init/calibrate.c | |
parent | 4d64e718b46f4eedaf0379e0150de4d28b06b916 (diff) |
mv643xx_eth: various cleanups
- Remove unused MV643XX_DEFAULT_[RT]X_QUEUE_SIZE definitions.
- Remove ETH_TARGET enum -- it isn't used anywhere in the driver,
and isn't even valid for non-mv643xx chip models, as those use
different MBUS target IDs.
- Clean up comment and control flow in mv643xx_eth_change_mtu().
- Use mp->dev instead of mp->mii.dev in mv643xx_eth_tx_timeout_task().
- Make mv643xx_eth_free_tx_descs() static.
- Remove overzealous NULL check in mv643xx_eth_start_xmit().
- Use symbolic NETDEV_TX_* constants in mv643xx_eth_start_xmit().
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Reviewed-by: Tzachi Perelstein <tzachi@marvell.com>
Signed-off-by: Dale Farnsworth <dale@farnsworth.org>
Diffstat (limited to 'init/calibrate.c')
0 files changed, 0 insertions, 0 deletions