summaryrefslogtreecommitdiff
path: root/sys/dev/mii
AgeCommit message (Collapse)Author
2014-02-26Regen.ozaki-r
2014-02-26Add Micrel PHY (KSZ9021RN)ozaki-r
The new driver micphy is almost same as ukphy except that micphy has a fixup for cpsw; a PHY with cpsw has to adjust RGMII signal timing. Reviewed by christos@
2013-12-21Add Marvell 88E1543. Tested on OPENBLOCKS_AX3.kiyohara
2013-12-21Regen.kiyohara
2013-12-21Add Marvell 88E1543 Quad Port Gb PHYkiyohara
2013-12-17Remove unused variables.martin
2013-12-16Use (new) mii_mpd_rev in struct mii_softc rather than providing our ownjakllsch
mii_revision in struct rgephy_softc.
2013-10-31Cleanup flag setting. No functional change.msaitoh
- Split flags into bge_flags and bge_phy_flags. - Rename flags. PHY related flags are prefixed with BGEPHYF_*. Other flags are prefixed with BGEF_*.
2013-06-21 Call brgpy specific autonego function in MII_TICK. Before this commit,msaitoh
only MII_MEDIACHG calls brgphy_mii_phy_auto() and MII_TICK calls MI mii_phy_auto(). That was not intended.
2013-06-20Move the detaching and making tentative addresses out if in6_if_uproy
and into in6_if_link_up. This fixes a possible panic where link is up but not the interface. Note that a better solution would be to listen to the routing socket in the kernel, but I don't know how to do that. Reachable Router tests for IFF_UP as well.
2013-06-19Use ihphy(4) for I21[78].msaitoh
2013-06-16 The bit location of link ability is different between 1000Base-X and othersmsaitoh
(See annex 28B.2 and 28D). The old mii.h defined ANAR_X_PAUSE_* macros. Those macros were named for 1000Base-X, but the bit definitions were not for 1000Base-X but for others (e.g. 1000BaseT). So there was bug in auto negotiation for 1000Base-X, but there was no bug for other media. Define new macro named ANAR_PAUSE_* and ANLPAR_PAUSE_* for other than 1000Base-X and fix the bit definitions of ANAR_X_PAUSE_* and ANLPPAR_X_*. Change some PHY drivers to use true macro. Same as other *BSDs.
2013-06-14KNF.msaitoh
2013-06-12regen.msaitoh
2013-06-12Add some IC Plus Corp. devices.msaitoh
2013-06-11 Remove wrong autonegotiation check. The mii_phy_tick() checks aboutmsaitoh
autonegotiation correctly. This change fixes the problem that the autonegotiation timer doesn't work correctly with "ifcongig xxx media 1000BaseT"
2013-06-11 Remove duplicated code. The code to check IFF_UP and autonegotiationmsaitoh
is in mii_phy_tick(), too.
2013-06-11Update link status quickly. This change is a part of mii_physubr.c rev.msaitoh
1.77-1.78.
2013-06-09 Fix a bug in last commit that mii_ticks isn't inclemented.msaitoh
2013-06-09 Update link status quickly. This change is a part of FreeBSD's mii_physubr.cmsaitoh
r158649.
2013-06-09Tabify. No functional change.msaitoh
2013-06-09 Don't "return" but "break" in MII_TICK when the interface isn't doingmsaitoh
autonegotiaton or the link is up to update the status.
2013-06-09 ciphy is gigabit PHY, so use MII_ANEGTICKS_GIGE instead of MII_ANEGTICKS.msaitoh
2013-06-09 atphy, ciphy, ihphy and rgephy are gigabit PHY, so not only check IFM_AUTOmsaitoh
for autonegotiation but also check IFM_1000_T, too.
2013-06-06 Fix a bug that the auto negotiation timer isn't cleard as we expected.msaitoh
To not to forget clearing the timer and to reduce the code duplication, clear mii_ticks in *mii_phy_auto().
2013-06-02regenmsaitoh
2013-06-02Intel I217 PHYmsaitoh
2013-04-23regen.msaitoh
2013-04-23Add Intel I210 internal PHY.msaitoh
2013-04-15Fix typo.msaitoh
2013-04-15Add my name.msaitoh
2013-04-15Add new file mii/mdio.h which contain IEEE 802.3 Clause 45 MDIOmsaitoh
register definitions. From: - IEEE 802.3 2009 - IEEE 802.3at - IEEE 802.3av - IEEE 802.3az Currently, only device addresses and register number are written.
2013-04-15Add the following registers from IEEE 802.3-2009 Clause 22.msaitoh
- PSE control register(0x0b) - PSE status register(0x0c) - MMD access control register(0x0d) - MMD access address data register(0x0e)
2013-04-03Fix typo in comment.msaitoh
2013-04-01Sort. No functional change.msaitoh
2013-04-01 In brgphyattach(), set sc_isbge, sc_isbnx and sc_phyflags before PHY_RESET()msaitoh
because brgphy_reset() refers those flags.
2013-03-19- Rename PHY related flags for the consistency. It's the same as FreeBSD.msaitoh
- Remove BGE_10_100_ONLY flag because this was not used. For 10/100 devices, when calling mii_attach(), mask BMSR_EXTSTAT flag to not to check Gigabit flags. It's the same as FreeBSD.
2013-03-15Add BCM5756, BCM5717C, BCM5719C, BCM5720C and BCM57780.msaitoh
2013-03-14Regen.msaitoh
2013-03-14Add BCM5756.msaitoh
2013-02-20regen.msaitoh
2013-02-20Add BCM5708S, BCM57780, BCM5717C, BCM5719C and BCM5720C.msaitoh
2013-01-12regenjakllsch
2013-01-12Unlike usbdevs, miidevs needs the vendor name in the product id string.jakllsch
2013-01-12regen.jakllsch
2013-01-12Add SMSC OUI and LAN8700 and LAN8710/LAN8720 PHY IDs,jakllsch
at this point just for MIIVERBOSE.
2012-10-18Style fix. No functional change.msaitoh
2012-10-03use media_table instead of replicating codemlelstv
2012-09-17Add support for BCM57765. PR kern/46961tsutsui
2012-09-17Regen from miidevs rev 1.109:tsutsui
> Add another Broadcom OUI and BCM57765 1000BASE-T media interface. > Per PR kern/46961.