xtraeme
7db0e57765
device_t/softc split for all mii(4) devices, and other related
...
cosmetic changes.
2008-05-04 17:06:09 +00:00
martin
ce099b4099
Remove clause 3 and 4 from TNF licenses
2008-04-28 20:22:51 +00:00
cegger
cf417aad7e
use aprint_*_dev and device_xname
2008-04-08 20:08:49 +00:00
jdc
bb4a0543ee
Updates from OpenBSD:
...
-- r1.15
Add some DSP init code for BCM5221's.
Values derived from Apple's GMAC driver, same init
code also exists in Linux's sungem_phy driver.
tested by miod@ pedro@ and otto@ on a few systems.
-- r1.16
Always explicitly set IFM_HDX for half-duplex.
From brad@
--
2008-01-05 20:33:29 +00:00
jmcneill
4c1d81b2b5
Merge jmcneill-pm branch.
2007-12-09 20:27:42 +00:00
christos
5e16b7787c
- don't hardcode 5, 10 define and use MII_ANEGTICKS{,_GIGE}
...
- instead of != limit, use <= limit (conservative)
2006-11-16 21:24:06 +00:00
christos
168cd830d2
__unused removal on arguments; approved by core.
2006-11-16 01:32:37 +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
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
scw
731215b5bf
Support Broadcom BCM5222 dual 10/100 media interface.
2005-01-17 13:17:45 +00:00
martin
3aeabb25dc
Add BCM 4401 phy (from FreeBSD).
2004-11-24 10:15:54 +00:00
thorpej
1efb3da0fb
Make use of static.
2004-08-23 06:16:06 +00:00
martin
b464a5b71f
Only read media status bits when they are valid.
...
From Makoto Fujiwara in PR kern/21810.
2003-06-06 23:22:56 +00:00
scw
37a9b25563
Match Broadcom's BCM5214 Quad 10/100 media interface.
2003-05-02 19:42:35 +00:00
thorpej
c31f87a5cb
Use aprint*().
2003-04-29 01:49:33 +00:00
thorpej
c9b3657ce9
Add trailing ; to CFATTACH_DECL.
2002-10-02 16:33:28 +00:00
thorpej
71adb76f75
Use CFATTACH_DECL().
2002-09-30 21:57:46 +00:00
thorpej
f818766afe
Declare all cfattach structures const.
2002-09-27 20:31:45 +00:00
simonb
c19a094675
Don't include <malloc.h> - no memory management style functions are use
...
in any of the MII drivers.
2002-07-03 06:25:49 +00:00
thorpej
b017898534
Get flags passed down to PHY drivers correctly. This was done on
...
an adhoc basis in a couple of PHY drivers, this fixes it more generally.
Per a discussion w/ Cliff Neighbors <cliff@allegronetworks.com>.
2002-03-25 20:51:24 +00:00
lukem
8b7bb91219
add RCSID
2001-11-13 07:38:28 +00:00
thorpej
89893e42b7
ANSI'ify.
2001-08-25 18:04:01 +00:00
thorpej
4333749c7a
Use the bit-swapped OUI for the 5221. (Have I mentioned that I really
...
don't like how the current MII_OUI() works?)
2001-07-27 17:58:20 +00:00
thorpej
773c261d65
Add a 3Com 3c905B internal PHY.
2001-07-27 17:55:34 +00:00
enami
578730c551
Initialize sc->sc_anegticks to 5 on attach to prevent panic due to
...
assertion failure.
2001-06-08 07:09:40 +00:00
thorpej
9987ee5249
Driver for the Broadcom BCM5201/BCM5202 "Mini-Theta" Ethernet
...
PHYs. This is also the same PHY core as in the 3Com 3c905C.
The PHY is documented in the 3c905C manual.
2001-06-02 21:42:10 +00:00