netdev: octeon_mgmt: Add support for 1Gig ports.
authorDavid Daney <david.daney@cavium.com>
Tue, 21 Aug 2012 18:45:06 +0000 (11:45 -0700)
committerDavid Daney <david.daney@cavium.com>
Fri, 31 Aug 2012 18:49:00 +0000 (11:49 -0700)
commiteeae05aa21695703e1979999a9a4a861447045c9
tree88aaf61bba731e9085b7cc2c35190fbcb288286b
parent70a26a219cc0eedae4529c27fe1abfb2a02e373b
netdev: octeon_mgmt: Add support for 1Gig ports.

The original hardware only supported 10M and 100M.  Later versions
added 1G support.  Here we update the driver to make use of this.

Also minor logic clean-ups for testing PHY registration error codes
and TX complete high water marks.

Signed-off-by: David Daney <david.daney@cavium.com>
Acked-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/octeon/octeon_mgmt.c