summaryrefslogtreecommitdiff
path: root/sys/dev/mii
AgeCommit message (Collapse)Author
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)
2004-10-01regenBrad Smith
2004-10-01add ids for Broadcom BCM5750/5751Brad Smith
From: FreeBSD
2004-10-01add some missing $, ok djm@ 'That looks fine to me' millert@Jonathan Gray
2004-09-30rtl8139 doesn't setup ANLPAR if the other side is not NWay compatible,Jason Wright
to try to deduce what the link partner is the hardway. Based on FreeBSD.
2004-09-29from netbsd: if_url.c 1.8, if_urlreg.h 1.2, urlphy.c 1.9 and urlphyreg.h 1.2David Gwynne
via Jonathan Gray log message: Remove advertising clauses from code written by Shingo WATANABE. He has kindly consented it.
2004-09-28mii_phy_tick() already checks for autonegotiation.Brad Smith
2004-09-27ANSI protos and some minor cleanupBrad Smith
ok henning@
2004-09-26simplify MII_TICK case by using mii_phy_tick().Brad Smith
2004-09-26Restructure the PHY entry points to use a structure ofBrad Smith
entry points instead of descrete function pointers, and extend this to include a "reset" entry point. Make sure any PHY-specific reset routine is always used. From NetBSD ok mcbride@
2004-09-23RTL8201L PHY support; from FreeBSD.Federico G. Schwindt
2004-09-20don't include sys/malloc.h, no memory management functions are usedBrad Smith
by any of the MII drivers. From NetBSD
2004-08-10regenBrad Smith
2004-08-101000baseTX -> 1000baseTBrad Smith
gigabit -> Gigabit
2004-08-06add MII_MODEL_AMD_79C875phyPer Fogelstrom
2004-08-06Add support for Am79C875 quad phy.Per Fogelstrom
ok deraadt@
2004-08-03Add a MIIF_FORCEANEG flag to be passed to mii_attach. This forces anBrad Smith
autonegotiation to take place if IFM_AUTO is selected in mii_media_set. From NetBSD
2004-08-02more MII flagsBrad Smith
From NetBSD
2004-06-05Driver for the RealTek 8169S/8110S internal 10/100/1000 PHYPeter Valchev
from FreeBSD
2004-06-05syncPeter Valchev
2004-06-05gigE PHY in the RealTek 8169S/8110S chipsPeter Valchev