tsutsui
eab20f9c7f
Fix wrong softc size (missed in the previous).
2007-05-09 23:16:37 +00:00
tsutsui
d60cbb92f9
Prepare sc_rtl8201l flag in softc and use it in rlphy_status() so that
...
we don't have to check device names of device_parent(). From FreeBSD.
2007-03-20 10:17:18 +00:00
tsutsui
af7a0c1731
Prepare rlphy_reset() and set BMCR_AUTOEN in it.
...
This makes autonegotiation on rlphy(4) at re(4)
on landisk (8139C+) select 100baseTX full-duplex
at boot time (before first ifconfig) properly,
and there is no bad side effect on rlphy(4) at nfe(4).
This may also fix PR kern/34109.
2007-03-19 12:23:30 +00:00
christos
168cd830d2
__unused removal on arguments; approved by core.
2006-11-16 01:32:37 +00:00
tsutsui
ff1bacae2e
Make rlphy also match if parent MII is re(4) for RTL8139C+ case.
...
Tested by Brian A. Seklecki.
2006-11-03 17:05:16 +00:00
christos
4d595fd7b1
- sprinkle __unused on function decls.
...
- fix a couple of unused bugs
- no more -Wno-unused for i386
2006-10-12 01:30:41 +00:00
thorpej
838ee1e0d9
Use device_private().
2006-03-29 06:51:47 +00:00
thorpej
6e53f1366a
Use device_parent().
2006-03-25 23:14:58 +00:00
chs
bf841929a2
add an rlphy clone from IC Plus. from openbsd.
2006-03-14 04:48:44 +00:00
chs
04a5c7d219
fix match for RealTek 8201L.
2006-03-12 22:30:24 +00:00
kleink
f518d0e3f3
Reduce previous (!is(...) != 0) to (!is(...)).
2006-02-28 22:52:34 +00:00
thorpej
cbb0407210
Use device_is_a() more.
2006-02-27 02:58:56 +00:00
thorpej
6a56683d19
Use device_is_a().
2006-02-27 02:56:19 +00:00
thorpej
3ddf26777f
Use device_is_active() rather than testing dv_flags for DVF_ACTIVE
...
directly.
2006-02-20 16:50:36 +00:00
xtraeme
d064eae373
Add rlphy(4) (Realtek 8139/8201L PHY) from OpenBSD.
2006-01-04 21:52:17 +00:00