]> git.baikalelectronics.ru Git - kernel.git/commit
natsemi: Add support for using MII port with no PHY
authorMark Brown <broonie@sirena.org.uk>
Mon, 19 Feb 2007 20:15:39 +0000 (20:15 +0000)
committerJeff Garzik <jeff@garzik.org>
Tue, 20 Feb 2007 16:18:13 +0000 (11:18 -0500)
commit542e4213a5520842e584859077f5d3b994bbb482
tree950de3fe588307589610ab4bef8c61de58bd7eab
parent3b3cdf6cba1e850040fcc907c12e7e37b15f7c95
natsemi: Add support for using MII port with no PHY

This patch provides code paths which allow the natsemi driver to use the
external MII port on the chip but ignore any PHYs that may be attached to it.
The link state will be left as it was when the driver started and can be
configured via ethtool.  Any PHYs that are present can be accessed via the MII
ioctl()s.

This is useful for systems where the device is connected without a PHY
or where either information or actions outside the scope of the driver
are required in order to use the PHYs.

Signed-Off-By: Mark Brown <broonie@sirena.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/natsemi.c