summaryrefslogtreecommitdiff
path: root/sys/dev/mii
AgeCommit message (Collapse)Author
2005-02-19use mii_phy_match()Brad Smith
2005-02-19regenBrad Smith
2005-02-19add a placeholder for an unknown Agere 10/100 PHY found with quad port hme'sBrad Smith
and on-board Netra T1 105's, etc.
2005-02-07Use new if_link_state_change() instead of sending route message and notifyingRyan Thomas McBride
carp directly. ok brad@ mpf@
2005-02-05betterBrad Smith
2005-02-05use mii_phy_match()Brad Smith
2005-02-05use mii_phy_match()Brad Smith
2005-02-05no RTL8201L PHY's here..Brad Smith
2005-02-05use mii_phy_match()Brad Smith
2005-02-05Support for Seeq 80225 PHY a cut down version of the 80223 which can beJonathan Gray
found attaching to some vr devices. From NetBSD. ok brad@
2005-02-05regenJonathan Gray
2005-02-04Seeq 80225 from NetBSD. ok brad@Jonathan Gray
2005-02-04- attach 3com 3c905C PHY with bmtphyBrad Smith
- use mii_phy_reset() instead of bmtphy_reset() - use mii_phy_match() - sync bmtphyreg.h to NetBSD Tested on a few bce(4), gem(4), xl(4)
2005-01-28Get flags passed down to PHY drivers correctly. This was done onBrad Smith
an adhoc basis in a couple of PHY drivers, this fixes it more generally. From NetBSD Fixes panics with aue(4) NICs.
2005-01-24more constantsBrad Smith
2005-01-24more Broadcom PHYBrad Smith
2005-01-24regenBrad Smith
2005-01-24add Broadcom BCM5214 Quad 10/100 PHYBrad Smith
From NetBSD
2005-01-24regenBrad Smith
2005-01-24add Broadcom BCM5222 Dual 10/100 PHYBrad Smith
From NetBSD
2005-01-10make it compile, sighTheo de Raadt
2005-01-10remove unnecessary rlphy_reset(), mii_phy_tick() andBrad Smith
some clean up. fixes issue with axe@usb. Tested by a number of developers and users.
2004-12-29another Marvell PHYBrad Smith
2004-12-29regenBrad Smith
2004-12-29another Marvell Gig PHY, noticed on a macppc system.Brad Smith
2004-12-25- remove unneccessary breakBrad Smith
- reorder operations and a few return (0)'s to break's with MII_TICK switch case
2004-12-16Make sure ifp->if_baudrate is valid when the parent's statchgBrad Smith
callback is made. From NetBSD
2004-12-12unbreak after last commit to bge(4)Brad Smith
2004-12-08Check if_type in carp_carpdev_state() to make sure we're notRyan Thomas McBride
dealing with a carp interface.
2004-12-01syncPeter Valchev
2004-12-01Driver for the Cicada CS8201 10/100/1000 copper PHYPeter Valchev
from FreeBSD
2004-11-18add mii_phy_match() for table-driven lookup.Brad Smith
From NetBSD
2004-11-16if_dc.c rev 1.56Brad Smith
Do not call mii_pollstat() from within device tick routines; the status information is updated by mii_tick(). dcphy.c rev 1.13 Work around an Intel 21143 chip bug. Rev 1.56 of if_dc.c removed calls to mii_pollstat() from the dc_tick() routine. dc_tick() is called regularly to detect link up and link down status, especially when autonegotiating. The expectation was that mii_tick() (which is still called from dc_tick()) would update status information automatically in all cases where it would be sensible to do so. Unfortunately, with authentic 21143 chips this is not the case, and the driver never successfully autonegotiates. This is because (despite what it says in the 21143 manual) the chip always claims that link is not present while the autonegotiation enable bit is set. Autonegotation takes place and succeeds, but the driver tests the link bits before it switches off the autonegotiation enable bit, and success is not recognised. The simplest solution is to call dcphy_status() more often for MII_TICK calls by dropping out of the switch statement instead of exiting when we are autonegotiating and link appears to not be present. When autonegotiation succeeds, dcphy_status() will note the speed and fdx/hdx state and turn off the autonegotiation enable bit. The next call to dcphy_status() will notice that link is present, and the dc driver code will be notified. Macronix chips also use this code, but implement link detection as described in the manual, and hence don't need this patch. However, tests on a Macronix 98715AEC-C show that it does not adversely affect them. From FreeBSD ok deraadt@
2004-10-31rev 1.68Brad Smith
Add support for BCM5705K rev 1.74 Add support for the BCM5750/5751. Unfortunately the documentation I have from Broadcom does not give much information on these devices, so the Broadcom Linux driver was used for clues to what these chips support. It turns out they are similar to the 5705 with the 5751 being the PCI-Express version and needing special work-arounds and settings. From FreeBSD
2004-10-29remove double "PHY" printed in dmesg; ok deraadtPeter Valchev
2004-10-28fix/update FreeBSD RCSId for reference purposesPeter Valchev
2004-10-17model internal phy chunk on the one from rlphyTheo de Raadt
2004-10-17some unknown Altima phy..Theo de Raadt
2004-10-17syncTheo de Raadt
2004-10-17shrink crudTheo de Raadt
2004-10-09remove redundant checks for MII_TICK case which mii_phy_tick()Brad Smith
already deals with.
2004-10-09Allow a little time for the reset to settle in before we start pollingBrad Smith
the BMCR again. The DP83840A manual states that there should be a 500us delay between asserting software reset and attempting MII serial operations. From NetBSD ok mcbride@
2004-10-09add master flag support for 1000baseT and autonegotiation support for 1000baseX.Brad Smith
From NetBSD ok mcbride@
2004-10-08don't print media infoBrad Smith
2004-10-07Add driver for generic ten-bit interfaces (1000BASE-{LX,SX} fibre interfaces)Brad Smith
From NetBSD ok mcbride@
2004-10-07add constants for 1000Base-X duplex negotiation.Brad Smith
From NetBSD ok mcbride@
2004-10-07*phy -> *scBrad Smith
ok jason@
2004-10-04syncTheo de Raadt
2004-10-04davicom DM9601 contains another amiphy cloneTheo de Raadt
2004-10-02Add missing sc_mii, broken by PHY entry point changes.Ryan Thomas McBride
(apparantly only affects cats GENERIC)