Commit Graph

342 Commits

Author SHA1 Message Date
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
chris 428f7b8491 Check in cats specific tweak to make older de cards work as tlp devices.
With this tweak I've completed a full install from NFS of 3.99.7, using a
card the previously didn't work as a tlp device.
2005-08-06 23:40:39 +00:00
briggs 7adbaa630a Match Marvell 88E1111 from Dave Huang in PR kern/30556 2005-06-23 19:21:26 +00:00
briggs 6f82cb15e3 Regen for Marvell 88E1111 2005-06-23 19:19:55 +00:00
briggs 5d84927b8c Marvell 88E1111 from Dave Huang in PR kern/30556 2005-06-23 19:19:05 +00:00
wiz 8b14b81426 rgephy(4)'s struct mii_phydesc array doesn't end with NULL.
Fix it. From Satoshi Suetake in PR 29770.
2005-03-23 13:27:20 +00:00
briggs 344246d697 Changes to match xxCICADA 8201B found in a VT6122.
Match at > 1 (10) to ensure we get ciphy instead of ukphy.
Use aprint(9) on attach.
Minor stylistic changes.
All from Tomokazu HARADA in PR kern/29705.
2005-03-16 17:25:32 +00:00
briggs 90cf94f285 regen for xxCICADA 8201B 2005-03-16 17:22:11 +00:00
briggs a55f55e73a Add new/alternate OUI for CICADA that's been spotted in a VIA VT6122.
Submitted in PR 29705 from Tomokazu HARADA.
2005-03-16 17:20:28 +00:00
perry e99b3aba69 regen 2005-02-27 14:29:44 +00:00
perry e153a1758d Don't leave blanks at the end of the "generated from:"
Also, don't print a space after "},"s at the end of line in one of the
files.
2005-02-27 14:29:18 +00:00
perry f31bd063e9 nuke trailing whitespace 2005-02-27 00:26:58 +00:00
jdolecek 517e5bf2be regen: Cicada PHY addition 2005-02-20 16:37:10 +00:00
jdolecek f8cfdfba75 Add driver for 10/100/1000 copper PHY integrated on VIA Networking Technologies
VT6122 gigabit ethernet chips

From FreeBSD
2005-02-20 16:35:56 +00:00
yamt 7245b8aa0a remove a mysterious printf(" complete\n"). 2005-02-08 05:52:31 +00:00
kanaoka 1054d5cc16 - Deal with status properly,if BMCR_ISO is set.
Fixes kern/29113.
2005-02-04 15:17:31 +00:00
yamt 7ae610b397 remove a duplicated prototype of rgephy_reset. 2005-01-21 11:55:52 +00:00
scw 731215b5bf Support Broadcom BCM5222 dual 10/100 media interface. 2005-01-17 13:17:45 +00:00
scw 24e6317bf7 Regen for Broadcom BCM5222. 2005-01-17 13:16:50 +00:00
scw 68480055b3 Add entry for Broadcom BCM5222 Dual 10/100 media interface. 2005-01-17 13:16:19 +00:00
jonathan 54528c79ad Add rgephy driver to sys/dev/mii/files.mii. Supports integrated PHY
in Realtek 8169S.
2004-12-30 23:03:19 +00:00
jonathan 9d44c4d9b1 Snapshot of incomplete-but-working split of re(4) driver into a
bus-independent backend, with PCI and CardBus attachment code.
The committed code has two serious bugs:

1. The driver makes no attempt to recover resources when a (Cardbus)
instance is removed; bus resources are leaked.

2. In testing with a NetGear GA-511, the Cardbus card never responded
   to a reset/wakeup if the card is powered down after attachment.
   So for now, leave cardbus instances powered up at attachment
   (insertion, or at boot if a card is already present).

That aside, it acutally works on my GA-511. Committed as-is despite
the bugs, after repeated requests to make the code available for
further testing.  Also requires sys/dev/mii/miidevs rev 1.54 -> 1.55,
and consequent regen of miidevs{,_data}.h.
2004-12-23 06:26:30 +00:00
jonathan 6f71266c1d Regen from miidevs rev 1.55, with codes for Realtek RTK8169S builtin PHY. 2004-12-23 06:18:49 +00:00
jonathan 7e6ef09234 Add PHY models for integrated 1000baseT PHYs in Realtek 8169S chips,
in two flavours: one with non-IEEE OUI code from FreeSD if_re(4) mii
driver for early 8169S, and a second IEEE-compliant version as
observed on Netgear GA-511 with newer 8196S stepping.
2004-12-23 06:13:24 +00:00
heas 14089042f3 Fix a comment. 2004-12-16 03:13:28 +00:00
martin 3aeabb25dc Add BCM 4401 phy (from FreeBSD). 2004-11-24 10:15:54 +00:00
martin 8eb4323ca4 Regen (BCM4401 added) 2004-11-24 10:15:15 +00:00
martin 66839a739e Add BCM4401 phy 2004-11-24 10:14:41 +00:00
cube 64b1795875 Add support for the PHY found with BCM575x chips. Beware the magic
numbers!

From FreeBSD.
2004-10-28 07:26:17 +00:00
cube d3f031a415 Regen. 2004-10-28 07:23:24 +00:00
cube 69295b9741 Add an entry for the PHY found with BCM575x chips. 2004-10-28 07:23:00 +00:00
thorpej 29a0a6f5d1 Enable the SmartSpeed work-around code for the IGP phy, with some
minor adjustments.
2004-10-05 20:20:00 +00:00
drochner 96b589fc18 a round of autoconf cleanup:
-convert submatch() style functions (passed to config_search() or
 config_found_sm()) to the locator passing variants
-pass interface attributes in some cases
-make submatch() functions look uniformly as far as possible
-avoid macros which just hide cfdata members, and reduce dependencies
 on "locators.h"
2004-09-13 12:55:47 +00:00
drochner 789b04b977 include locators.h from .c only, avoids unnecessary dependencies 2004-09-01 20:59:30 +00:00
thorpej 1efb3da0fb Make use of static. 2004-08-23 06:16:06 +00:00
thorpej 8aa1e65090 De-__P 2004-08-23 06:05:30 +00:00
yamt a92a80cf63 for offloc, use MII_OFFSET_ANY rather than abusing MII_PHY_ANY. 2004-08-20 15:21:24 +00:00
thorpej bfd469cd6f If the PHY has 1000BASE-T capability, check to see if a 1000BASE-T speed
was negotiated, and check if we ended up mastering the clock if so.
2004-05-17 00:17:28 +00:00
thorpej 74543d4812 Get flow control negotiation status. 2004-05-16 23:55:58 +00:00
thorpej a85c2a8f12 mii_phy_flowstatus(): short-circuit processing if both sides advertise
symmetric pause capability.  From HITOSHI Osada.
2004-04-11 15:47:33 +00:00
thorpej ad35f1d6fa Add a comment describing why we force renegotiation when PAUSE is being
used.  From HITOSHI Osada.
2004-04-11 15:42:48 +00:00
thorpej 08645d15fe gmii_phy_getflowcontrol() -> mii_phy_flowstatus(). From HITOSHI Osada. 2004-04-11 15:40:56 +00:00
thorpej a6d603afd1 gmii_phy_getflowcontrol(): Bail out early if the MAC didn't tell us to
do flow control processing.
2004-04-10 18:54:46 +00:00
thorpej 84694bb5fa Fetch negotiated flow control parameters. From HITOSHI Osada. 2004-04-10 18:47:56 +00:00
thorpej 44ec17557f Flow-control advertisement and parsing support. From HITOSHI Osada.
Slightly modified by me.
2004-04-10 02:32:10 +00:00
thorpej 296c51f110 Correct pause related bits in ANAR and ANLPAR.
From HITOSHI Osada.
2004-04-09 20:39:44 +00:00
matt c62861525c Regen. 2004-02-07 00:51:45 +00:00
matt f70be9035f Add LXT973/974/975 PHYs 2004-02-07 00:51:05 +00:00
jmc 43bf89bfc6 Fixes from PR#23177. Various lint/logic fixes:
Fix some non-initialized variables
close the output files when done
Redo the printing for RCS strings so they don't expand in the awk script too
Do proper tests for variables existance before accessing

Verified output from all scripts is identical to original versions
2003-12-15 07:32:20 +00:00