Commit Graph

280 Commits

Author SHA1 Message Date
drochner
8d07c19c5e regen 2002-06-25 12:26:28 +00:00
drochner
4ded79cbb4 After I found a press release of 1998 which states that AMD sold
Davicom PHY chips, merge the identical entries for DM9101 and Am79c873
into one.
Should also fix PR kern/17369 by Dave Huang.
2002-06-25 12:25:56 +00:00
fvdl
64fc3ae071 Match BCM5701 2002-06-22 14:38:34 +00:00
fvdl
bc97012696 Add more register definitions. From FreeBSD. 2002-06-22 14:37:58 +00:00
fvdl
506d548f6c Regen. 2002-06-22 14:36:26 +00:00
fvdl
3cfd73048b Aff BCM 5701 PHY Id. 2002-06-22 14:35:52 +00:00
matt
1f4c6f5868 Regen. 2002-05-15 22:48:42 +00:00
matt
0bfea741e8 Correct/add more PMC-Sierra PHYs 2002-05-15 22:48:17 +00:00
matt
57752d8c7f Regen. 2002-05-15 21:25:28 +00:00
matt
5a4d71be86 Add another PMC-SIERRA phy 2002-05-15 21:24:59 +00:00
thorpej
c1f51e00c0 Back out change accidentally committed. 2002-05-12 21:39:46 +00:00
thorpej
0cc96b0fbe Make sure ifp->if_baudrate is valid when the parent's statchg
callback is made.

Pointed out by Matt Thomas.
2002-05-10 20:45:05 +00:00
uwe
41e6fbc398 Delint somewhat. 2002-05-07 04:52:49 +00:00
wiz
b9abd324c6 Fix typo in comment. kern/16382 by Sean Davis. 2002-04-17 09:14:21 +00:00
thorpej
e1f3e69604 * Move the mii_bitbang attribute into dev/mii/files.mii
* Pull in dev/mii/files.mii from conf/files, rather than playing
  the magic "files include order" dance in N machine-dependent
  configuration definitions.
2002-04-17 00:35:04 +00:00
mycroft
aa878fabc4 For 78Q2120 revisions 3 and earlier, punt to ukphy, as our special media status
routine does not work on those chips.
2002-04-15 16:50:52 +00:00
ichiro
2aa38fbf8b add urlphy 2002-03-29 02:05:05 +00:00
ichiro
8e2f0b253e Add a driver for the Realtek RL8150L Ethernet PHY. 2002-03-28 21:07:53 +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
chs
4b6d0e2df5 lxtphy needs the ukphy_subr attribute now. 2002-03-17 01:34:48 +00:00
chs
e444e2ddd4 regen 2002-03-14 04:41:09 +00:00
chs
dc3bc0c490 add support for LXT971 PHYs. 2002-03-14 04:40:26 +00:00
wiz
5c800297c6 Match ICS 1893. 2002-02-10 17:09:41 +00:00
wiz
c48956e61c Regen [ICS 1893] 2002-02-10 17:09:08 +00:00
wiz
9f4c1b7c26 Add ICS 1893 2002-02-10 17:08:24 +00:00
thorpej
edd394b53e Update for 88E1000 model number changes. 2002-01-15 21:01:59 +00:00
thorpej
60ed1aba47 Regen; add another Marvell 88E1000 PHY model number. 2002-01-15 21:00:50 +00:00
thorpej
dcc3d13f0d Add another Marvell 88E1000 PHY model number. 2002-01-15 20:59:52 +00:00
augustss
c6df7d4358 Regen. 2001-12-15 00:31:43 +00:00
augustss
385b05e2f9 Add another Altima PHY. From Peter Seebach. 2001-12-15 00:31:03 +00:00
lukem
ecb81c3f6d - convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
  "options FOO=xxx"). options that take a value were converted to
  defparam recently.
- minor whitespace & formatting cleanups
2001-11-28 10:21:10 +00:00
lukem
0fa231134c - replace "defopt" with "defparam" for options which must take a value,
as config(8) will warn for value-less defparam options
- minor whitespace/formatting cleanup
- consolidate opt_tcp_recvspace.h and opt_tcp_sendspace.h into opt_tcp_space.h
2001-11-20 14:34:18 +00:00
lukem
8b7bb91219 add RCSID 2001-11-13 07:38:28 +00:00
perry
82540eeaca fix a couple of signed->unsigned warnings lint found 2001-11-11 00:25:23 +00:00
thorpej
89893e42b7 ANSI'ify. 2001-08-25 18:04:01 +00:00
thorpej
11be81ff63 Regen. 2001-08-25 06:00:01 +00:00
thorpej
c783391d0a Note compatibility with the Am79c874, and document some more
registers.
2001-08-25 05:57:12 +00:00
thorpej
9d50e2e95a Back out previous; closer inspection of the manual reveals that the
Am79c874 has the same ID register contents as the AC101.
2001-08-25 05:55:19 +00:00
thorpej
820809faec Regen; added AMD Am79c874 NetPHY-1LP. 2001-08-25 05:45:25 +00:00
thorpej
05e4fb8e6c Add AMD Am79c874 NetPHY-1LP. 2001-08-25 05:44:59 +00:00
thorpej
85a7cdc261 Driver for the 10BASE-T portion of the AMD 79c901 PHY. 2001-08-25 04:06:26 +00:00
thorpej
158cb83996 Add a driver for generic HomePNA PHYs. Currently supports the HomePNA
portion of the AMD Am79c901.
2001-08-25 03:21:38 +00:00
thorpej
9fe2378664 For HomePNA PHYs, don't register it w/ ifmedia as 10BASE-T, but
rather as HomePNA1.
2001-08-25 01:57:56 +00:00
thorpej
f7f8866fea Add a flag that indicates that a device is a HomePNA device. 2001-08-25 01:41:17 +00:00
thorpej
684a4b71e3 Regen; improve AMD PHY names. 2001-08-25 01:39:59 +00:00
thorpej
9d04a424fe Improve the AMD PHY names. 2001-08-25 01:39:22 +00:00
thorpej
b6aa674493 Driver for the Altima AC101 10/100 Ethernet PHY. 2001-08-24 17:54:32 +00:00
thorpej
ce0d046061 Regen; recognize the 79c972's 10BASE-T interface mapped onto MII. 2001-08-23 04:47:36 +00:00
thorpej
b52818d607 The Am79c972 PCnet-FAST+ has its built-in 10BASE-T interface mapped
onto the MII bus.  Recognize it.
2001-08-23 04:47:05 +00:00
enami
4977f2fb2d Advertize pause capability (802.3x flow control) to peer. 2001-08-06 09:51:40 +00:00
bouyer
10a5470050 Ops, forgot to commit this one:
- kill carrier detection code, it's not that usefull and give false indications
  on loaded ethernet segments
2001-08-04 02:21:24 +00:00
thorpej
7459c35d44 Clean up 1000BASE-SX autonegotiation, and add a way to advertise
PAUSE capability.
2001-07-27 22:44:59 +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
thorpej
3d3c5fa78c Regen; added a 3Com 3c905B internal PHY made by Broadcom. 2001-07-27 17:55:07 +00:00
thorpej
4063cb411b Fixup some Broadcom entries, add an entry for Broadcom PHY that
is built-in to some 3Com 3c905B cards.
2001-07-27 17:54:40 +00:00
thorpej
4a416b823f Fix 1000BASE-X duplex negotiation. That'll teach me to read the
manual more carefully next time.
2001-07-25 22:00:43 +00:00
thorpej
bb93036fa9 Regen. 2001-07-20 07:07:28 +00:00
thorpej
959f6ee3f3 Adjust for the corrected Marvell entry. 2001-07-20 07:07:05 +00:00
thorpej
38f94a6fbe Bleh, I don't like the way our miidevs works now. Repair the
Marvell Semiconductor entry.
2001-07-20 07:06:42 +00:00
thorpej
41a68e94a9 Driver for the Level One LXT-1000 10/100/1000 PHY. 2001-07-12 21:54:40 +00:00
thorpej
be71426b74 Regen; Add LXT-1000, clean up. 2001-07-12 21:25:31 +00:00
thorpej
6e65eb3c21 Add LevelOne LXT-1000 10/100/1000 PHY, clean up some Gig-E
PHY names.
2001-07-12 21:25:07 +00:00
thorpej
aef9e7bea3 Code to handle generic ten-bit interfaces (1000BASE-{LX,SX} fiber
interfaces).
2001-07-12 18:49:38 +00:00
thorpej
0e863b15a6 Driver for the Marvell 88E1000 ``Alaska'' 10/100/1000 PHY. 2001-07-12 17:30:45 +00:00
thorpej
39928114d6 Regen; corrected Marvell entries. 2001-07-12 17:29:49 +00:00
thorpej
511aa23898 Correct Marvell OUI, and 88E1000 model number. 2001-07-12 17:29:18 +00:00
bjh21
8d829065a6 IFM_1000_TX -> IFM_1000_T, as (breifly) discussed on tech-net. 2001-06-30 17:53:58 +00:00
thorpej
0b0010a7c3 When probing for a PHY, look at the EXTSTAT bit in the BMSR, as well,
not just the media mask.  This prevents PHYs/TBIs that only support
Gigabit media from slipping through the cracks.
2001-06-20 01:42:41 +00:00
thorpej
7914a89b02 Add support for the Seeq 80225 10/100 Ethernet PHY. This is just
a stripped-down version of the 80220/80223.
2001-06-19 20:10:54 +00:00
thorpej
93169d8a94 Regen; added Seeq 80225 10/100 PHY. 2001-06-19 19:51:27 +00:00
thorpej
5d3c31d576 Add Seeq 80225 10/100 PHY. 2001-06-19 19:51:04 +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
thorpej
424f7a1e65 Make PHY matching all table-driven. 2001-06-02 21:39:38 +00:00
thorpej
33a6994da1 Driver for Broadcom BCM5400-family Gig-E PHYs. Programming
information gleaned from FreeBSD.
2001-06-01 16:49:59 +00:00
thorpej
996df042df Add support for the DP83815 MacPHYTER internal PHY to the DP83843 PHYTER
driver, since for our purposes, they are compatible.
2001-05-31 20:30:21 +00:00
thorpej
1042f830e5 Regen; added several more PHYs. 2001-05-31 19:41:07 +00:00
thorpej
0c94166e28 Add several additional PHYs. 2001-05-31 19:40:33 +00:00
thorpej
f752c7d328 On the Gig PHYTER, For whatever reason, the 10baseT-related bits of the
BMSR are wired to 0, yet the PHY supports 10baseT.  So, to get around
this, we test the ANAR 10baseT bits after a PHY reset.  These bits are
set according to input pin 180.  If we see the 10baseT ANAR bits set,
we fake them in the BMSR so that we can actually autonegotiate 10baseT.
2001-05-31 18:47:22 +00:00
thorpej
2128d9199a Enable frobbing the 1000baseT control register on Gig-E PHYs,
used for hard-wiring master mode, and for advertising the 1000baseT
media options during autonegotiation.
2001-05-31 18:44:48 +00:00
thorpej
628a67ab31 Add a driver for the NatSemi DP83891 and DP83861 Gig PHYTER
10/100/1000 PHYs.
2001-05-31 16:06:58 +00:00
thorpej
ea1aed7db2 Make the number of ticks between auto-negotiation tries PHY-specific,
and default every PHY to 5 seconds (what we used before).  If we find
Gig-E media on a PHY, bump it to 10 seconds, since it can take 5
seconds just to negotiate a Gig-E link.
2001-05-31 16:02:29 +00:00
thorpej
ad090e7062 Regen; added NatSemi DP83891. 2001-05-31 03:32:38 +00:00
thorpej
3ae72855b1 Add product ID for the NatSemi DP83891 1000baseTX PHY. 2001-05-31 03:32:20 +00:00
thorpej
9f63d3cd86 Typo in last. 2001-05-31 03:07:14 +00:00
thorpej
f07f44812d The 1000baseT CR and SR are overlapped with the 100base-T2 CR and SR.
Note this in a comment.  Add the 1000baseT CR and SR bits.
2001-05-31 03:06:46 +00:00
soren
79859fb138 Regen. 2001-05-22 16:07:56 +00:00
soren
b16ba1d8cd Add i82562ET id. 2001-05-22 16:04:27 +00:00
drochner
199e9f8164 regen 2001-05-17 17:39:30 +00:00
drochner
10aff2d3f0 argh - the OUI of PMC-Sierra is 00-e0-04, according to IEEE.
They managed to mess it up in a new way.
2001-05-17 17:39:00 +00:00
drochner
1ea0cb1ea4 support the fiber output of the PHY device, enabled if the MIIF_HAVEFIBER
flag is passed in from the board driver
2001-05-17 17:29:54 +00:00
drochner
002851041c re-enable mii_flags in attach args - I've found a use for it: tell the
PHY which support it that a fiber interface is present
2001-05-17 17:28:21 +00:00
matt
91d9961f24 Regen 2001-05-15 23:18:16 +00:00
matt
75d77bf185 Add OUI for PMC-Sierra. Add BCM5221 Phy. Add PM8351 Phy. 2001-05-15 23:17:48 +00:00
matt
f5d9baae2f Note that extended status is in register 15 2001-05-15 23:16:40 +00:00
thorpej
c2ffdccb2b Regen; Add National Semiconductor DP83861 1000baseTX PHY. 2001-05-15 21:37:33 +00:00
thorpej
8fd542b023 Add National Semiconductor DP83861 1000baseTX PHY. 2001-05-15 21:37:04 +00:00
thorpej
d3a64bd0d8 Add code to recognize and set media on GMII (Gigabit MII) PHYs.
802.3 doens't specify ANAR or ANLPAR bits for GMII.  Need to
use PHY-specific registers for this, for now, which means we
need specific drivers for the Gigabit-capable PHYs (I think the
most common is the BCM5400).
2001-04-30 19:49:08 +00:00
thorpej
63604adafa Add a bunch of Gig-E definitions. 2001-04-30 19:21:03 +00:00