| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
priorities of the technologies supported by 802.3 Selector Field
value.
1000BASE-T full duplex
1000BASE-T
100BASE-T2 full duplex
100BASE-TX full duplex
100BASE-T2
100BASE-T4
100BASE-TX
10BASE-T full duplex
10BAST-T
However PHY drivers didn't honor the order such that 100BASE-T4 had
higher priority than 100BASE-TX full duplex. Fix that long standing
bugs such that have PHY drivers choose the highest common denominator
ability.
Fix a bug in dcphy which inadvertently aceepts 100BASE-T4.
PR: 92599
|
|
|
|
|
|
| |
indices when manually adding media. Some of these I've missed while
converting drivers to take advantage of said fuctions recently,
others where longstanding bugs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Don't set MIIF_NOISOLATE so amphy(4) can be used in configurations
with multiple PHYs. There doesn't seem to be a problem with isolating
AM79c873 and workalikes per se nor in combination with the NICs they're
used with and amphy(4) was already adding IFM_NONE anyway.
- Use mii_phy_add_media() instead of mii_add_media() so the latter can
be eventually retired.
- Take advantage of mii_phy_setmedia().
- Fix a whitespace nit.
Obtained from: NetBSD dmphy(4) (except for the last item)
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
| |
mii_phy_match() API and takes care of the PHY device probe based on
the struct mii_phydesc array and the match return value provided.
Convert PHY drivers to take advantage of mii_phy_dev_probe(),
converting drivers to provide a mii_phydesc table in the first
place where necessary.
Reviewed by: yongari
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
(BUS_PROBE_DEFAULT, BUS_PROBE_GENERIC etc).
There is no functional changes.
Reviewed by: oleg, scottl
|
|
|
|
| |
with NetBSD (and cause it looks cooler).
|
| |
|
|
|
|
| |
one on death-row in <sys/kernel.h>
|
|
|
|
|
| |
the license(s) and before the driver comment (the latter only in drivers not
having __FBSDID at that location).
|
|
|
|
| |
Also some minor style cleanups.
|
| |
|
|
|
|
| |
The devlist2h.awk tool to do this has been repocopied to sys/tools/.
|
|
|
|
|
| |
Cleanup my earlier de-__P sweep and remove whitespace between function
names and paramters.
|
|
|
|
|
| |
do anything at the end of the day except bloat the drivers which has
copy&pasted it.
|
|
|
|
|
|
|
| |
Rename mii_phy_auto_stop() mii_phy_down().
Introduce mii_down(), use it from nge. Do not indirect it to 19 identical
case's in 19 switchstatements like NetBSD did.
|
|
|
|
| |
mistakes like the one brgphy.c (now corrected).
|
| |
|
| |
|
|
|
|
|
|
|
| |
. Make internal service routines static.
. Use a consistent ordering of checks in MII_TICK. Do the work in the
mii_phy_tick() subroutine if appropriate.
. Call mii_phy_update() to trigger the callbacks.
|
|
|
|
|
|
| |
(even though I want the fixes in -stable anyway). I'm sure I'm going
to get flamed now for committing to -stable and -current too quickly.
*sigh*
|
|
|
|
| |
Remove ~60 unneeded #include <sys/malloc.h>
|
|
|
|
|
| |
AMD AM79c873 have identical registers. I'm not sure why; one is probably
a clone of the other.
|
|
this PHY and the Davicom DM9101 have exactly the same register definitions.
One of them is probably a clone of the other. I'm not sure which.
This is needed for the Davicom DM9102 10/100 PCI ethernet driver which
will be committed shortly.
|