Commit Graph

390 Commits

Author SHA1 Message Date
tsutsui
7437e6f3b5 Add BCM5752 Gig-E PHY. From Matthias Drochner and FreeBSD/OpenBSD. 2006-11-26 16:26:35 +00:00
tsutsui
2b15bbad22 Include <sys/device.h> for struct device. 2006-11-26 15:40:14 +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
tsutsui
8d3021b407 Add #include <sys/device.h> for struct device.
Fixes compile error on sparc64.
2006-11-09 14:43:10 +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
bouyer
76694b5d3f Regen: addded i82563 PHY 2006-10-21 17:19:21 +00:00
bouyer
154d613f0b Add support for the Intel 80003 Gigabit Ethernet controller (found e.g. in
newer server chipsets) to wm(4), from the FreeBSD em(4) driver.
While there, add a few other Intel Ethernet controller that should work as
is.
Properly update the RX error and TX collision counters.
Add ikphy(4), a driver for the Intel i82563 Kumeran 10/100/1000 Ethernet PHYs
2006-10-21 14:10:32 +00:00
bouyer
7bdd26b810 Restart negotiation when we change media even if autoneg is not enabled.
Otherwise switching from a fixed media to another fixed media isn't noticed
by the switch and the effective speed doesn't change.
2006-10-21 13:55:30 +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
cube
160fdb0333 Add support for 82562G. 2006-09-27 21:51:48 +00:00
cube
4775d417a1 Regen (Intel 82562G). 2006-09-27 21:50:27 +00:00
cube
f9d66765dd Add Intel 82562G PHY. 2006-09-27 21:50:00 +00:00
christos
b5da945622 comment out unreachable code 2006-09-02 07:06:03 +00:00
gdamore
b846198ad4 Initial implementation for Marvell 88E6060 10/100 5-port PHY switch, from
Sam Leffler, used in various products including AR5312-based designs.  This
is not enabled in any configs yet, nor tested by anyone other than Sam.  I
will be testing this more later, and adding it to appropriate configs once
I have verified (unless someone else beats me to the punch.)
2006-07-21 23:55:27 +00:00
elad
2867b68bc3 integrate kauth. 2006-05-14 21:42:26 +00:00
jonathan
c18e4919a2 regen sys/dev/mii/miidevs{,_data}.h from miidevs 1.66 after addition
of  PHY ID for BCM5780 (serverworks HT-2000) integral 1000base-T PHY.
2006-04-27 16:45:04 +00:00
jonathan
ec17638ca8 Add PHY ID for the integral 1000base-T PHY in the bcm5780 (also known
as Broadcom/Serverworks HT-2000).  Following the Broadcom-supplied
Linux driver, update brgphy.c to treat the bcm5780 integral copper PHY
just like the 5714/5715 PHY.

For NetBSB-3 pullup purposes, this commit includes:

src/sys/dev/mii/miidevs 	revision:	1.65 -> 1.66
src/sys/dev/mii/brgphy.c	revision:	1.26 -> 1.27

plus a regen of src/sys/dev/mii/{miidevs.h,miidevs_data.h}.
2006-04-27 16:43:14 +00:00
thorpej
f598845579 Fix an oversight in previous. 2006-03-29 17:18:55 +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
wiz
22817a0282 regen. 2006-03-21 19:07:04 +00:00
wiz
4b610bb2ce Fix typo, reported by seebs in PR 33106. 2006-03-21 19:06:08 +00:00
chs
32d9a1dba7 regen 2006-03-14 04:49:00 +00:00
chs
bf841929a2 add an rlphy clone from IC Plus. from openbsd. 2006-03-14 04:48:44 +00:00
chs
9b48410235 from OpenBSD:
We need to special case ciphy to ask for RGMII interface at 2.5V for nfe.
This makes Cicada/Vitesse PHYs attached to nfe work.
Many thanks to Bill Paul for diagnosing the problem and suggesting a solution.
2006-03-12 22:41:41 +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
kleink
e9b4cd552f Fix inverted device_is_a() use logic in previous. 2006-02-28 22:40:15 +00:00
thorpej
d1f18238ca Use device_is_a(). 2006-02-27 02:59:24 +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
joerg
d8f58dca75 Change the link status code in MII to use if_link_state_change instead
of calling rt_ifmsg directly. This allows other parts of the kernel
to change the behaviour depending on the link state and is a
prerequirement for CARP.

Hide mii_phy_statusmsg, mii_phy_update should be used instead.
Don't send routing messages for baudrate changes, if_baudrate is
currently not exported via this interface.

OK tls@
2006-02-18 19:51:07 +00:00
thorpej
eac3d8d187 Add the DP83847 PHY. From seebs in kern/32866 2006-02-18 14:17:16 +00:00
xtraeme
d064eae373 Add rlphy(4) (Realtek 8139/8201L PHY) from OpenBSD. 2006-01-04 21:52:17 +00:00
xtraeme
7d3727fd87 regen 2006-01-04 21:46:35 +00:00
xtraeme
531d6a9b45 Add Realtek RTL8201L. From OpenBSD 2006-01-04 21:42:51 +00:00
christos
95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
jonathan
8fdab8c431 Oops! Restore brgphys[]z stanza for bcm5705 integral PHY, somehow
lost in the previous addition of the bcm5714 integral phy.
2005-12-10 03:03:34 +00:00
soren
1747d879bc Regen. 2005-12-08 05:10:39 +00:00
jonathan
a92fde1678 Add PHY mii-id for the Broadcom 1000base-T PHY integral to the
bcm5714, added yesterday to sys/dev/pci/if_bge.c in revision 1.98,
since it appears the 5714 has a new PHY revision.  Pending further
details, follow the FreeBSD code (as submitted by
John Cagle <john dot cagle at hp dot com> and committed by
ps@FreeBSD.ORG), and treat the 5714 integral PHY the same way as we
treat the bcm5750 integral PHY.
2005-12-08 03:16:43 +00:00
riz
f4ed9745aa Match all model numbers with both Cicada OUIs; this allows the proper PHY to
attach on my ZyXEL GN650-T.
2005-12-01 04:59:53 +00:00
kiyohara
05f9545b7a Fix misstake regen. 2005-08-28 15:39:12 +00:00
kiyohara
4fc12adbbd regen. 2005-08-28 15:01:09 +00:00
kiyohara
3e7c870116 Add DAVICOM DM9102. 2005-08-28 14:59:34 +00:00
drochner
e6a178f21f kill a number of autoconf submatch functions which follow the
standard scheme:
if (<configured> != <wildcard> && <configured> != <real>)
	then fail
else
	ask device match function

This is handled by config_stdsubmatch() now.
2005-08-25 22:33:18 +00:00
drochner
fa3cb84d62 replace the "locdesc_t" structure carrying the number of locators
explicitely by a plain integer array
the length in now known to all relevant parties, so this avoids
duplication of information, and we can allocate that thing in
drivers without hacks
2005-08-25 18:35:38 +00:00
chris
3e566c2bde Remove changes to bitbang code for de devices to work as tlps on cats.
I need to investigate a proper fix that doesn't break other platforms, eg:
PR kern/30952
2005-08-09 19:26:24 +00:00
chris
855ec413d2 Following feedback from thorpej, remove the #ifdef cats block, and update
comment.

All platforms will now send a change in direction, then the 32 MDO bits
when synchronising with the phy.  Rather than sending the change in
direction with the first MDO bit.
2005-08-07 17:47:22 +00:00