Home | History | Annotate | Download | only in mii
History log of /src/sys/dev/mii/miidevs
RevisionDateAuthorComments
 1.174  23-Oct-2024  skrll Add Motorcomm YT8531 Gigabit PHY
 1.173  06-Oct-2024  msaitoh Add ADMTek.
 1.172  17-Jul-2024  msaitoh miidevs: Add some MaxLinear GPY211 variants, GPY 212 and GPY215.
 1.171  17-Oct-2023  msaitoh branches: 1.171.6;
miidevs: Add MaxLinear GPY115.
 1.170  29-Sep-2023  msaitoh miidevs: Update I22[56]

- Add model 0x0001 and 0x0005 for I226 and 0x000c for I225.
Need more info to write better descriptions.
- Modify GPY211's description a little.
 1.169  29-Sep-2023  msaitoh Add MaxLinear GPY21[125] 2.5G PHY.
 1.168  23-Jun-2020  msaitoh branches: 1.168.20;
Add some Microsemi (Vitesse) devices.
 1.167  08-Apr-2020  msaitoh Add two new RDC PHYs from Andrius V.
 1.166  13-Mar-2020  msaitoh 0x001374 is non-bitreversed value of Attansic OUI(0x00c82e).

Attansic/Atheros correctly uses ID1 and ID2 register, so delete all 0x001374
related entries.
 1.165  13-Mar-2020  msaitoh - Add Quake Technologies and Aeluros' OUI
- Add Teranetics TN1010 10GBase-T PHY
 1.164  27-Feb-2020  msaitoh Use xxVIA instead of VIA.

0x004063 is VIA's official OUI but VT6103 use 0x0002c6.
0x0002c6 is non-bitreversed value of 0x004063. Reported by Andrius V.
 1.163  22-Feb-2020  jmcneill Add BCM54213PE
 1.162  05-Feb-2020  msaitoh Change the OUI macro name of RDC to xxRDC. 0x00d02d is non-bitreverse value
of official 0x000bb4. From Andrius V.
 1.161  06-Nov-2019  msaitoh branches: 1.161.2;
Add Micrel (now Microchip) KSZ80[0456]1, KSZ8721, KSZ9[01]31, KS8731 and
KSZ9477.
 1.160  30-Oct-2019  msaitoh - Rename JMICRON 0x0021 from JMC250 to JMP211
- Rename JMICRON 0x0022 from JMC260 to JMP202
 1.159  18-Oct-2019  maya Fix typo. from vezhlys
 1.158  17-Oct-2019  msaitoh - All of Cicada and Vitesse devices' OUI are not bit-reversed, so use "xx".
- Rename CS82xx -> CIS82xx
- Add Vitesse VSC8224, VSC8234, VSC8641 and VSC8501.
 1.157  19-Sep-2019  msaitoh Change ICPLUS(0x0090c3) to xxICPLUS(0x0009c3)
 1.156  04-Sep-2019  msaitoh Use uppercase for vendor name.
 1.155  04-Sep-2019  msaitoh Add Teranetics, Aquantia and Renesas.
 1.154  16-Aug-2019  msaitoh From FreeBSD:
- Rename ET1011 to ET1011C
- Add ET1011
 1.153  06-Jun-2019  thorpej branches: 1.153.2;
Add ID for the Broadcom BCM53125 1000BASE-T switch.
 1.152  22-Apr-2019  jmcneill Add Amlogix GXL internal PHY
 1.151  25-Mar-2019  msaitoh Add Bankspeed Pty and NetExcell.
 1.150  25-Mar-2019  msaitoh Remove extra space.
 1.149  15-Mar-2019  msaitoh Add Davicom DM9161, DM9161[ABC] and DM9601.
 1.148  08-Mar-2019  msaitoh Add yyASIX and AX88772* devices.
 1.147  08-Mar-2019  msaitoh Cleanup xx or yy OUIs. Sort by number.
 1.146  08-Mar-2019  msaitoh Fix I82578 OUI. This change only affects to MIIVERBOSE.
See also if_wm.c rev. 1.599.
 1.145  07-Mar-2019  msaitoh Add SMSC(Microchip) LAN911X and LAN75XX.
 1.144  06-Mar-2019  msaitoh Add SMSC(now Microchip) LAN8741A and LAN8742
 1.143  27-Feb-2019  msaitoh - Add SMSC LAN83C185 10/100 PHY from OpenBSD
- Add SMSC LAN8740 10/100 media interface
 1.142  25-Feb-2019  msaitoh Add non-xx'ed DAVICOM DM9101.
 1.141  14-Feb-2019  msaitoh Sort in alphebetical order a bit.
 1.140  13-Feb-2019  msaitoh Change CS8244's OUI from xxCICADA to CICADA. I don't know whether this
change is correct or not...
 1.139  13-Feb-2019  msaitoh - Sort by model number.
- Add missing white space.
 1.138  13-Feb-2019  msaitoh From FreeBSD:
- Add Broadcom BCM540[24], BCM5424, BCM5466 and BCM54[78]8.
- Add ICS1893C.
- Add Micrel KSZ8081 and KSZ9031.
 1.137  13-Feb-2019  msaitoh Sort by model number.
 1.136  13-Feb-2019  msaitoh - Add Tridium, Data Track Technology, Netas, Ralink Technology,
Sunplus Technology and ADMtek's OUI.
- Sort by OUI.
 1.135  13-Feb-2019  msaitoh From OpenBSD:
- Add ASIX OUI.
- Add VIA OUI and devices.
- Add Vitesse OUI and devices.
From FreeBSD:
- Add BROADCOM4.
 1.134  09-Feb-2019  rin Add RTL8201E from OpenBSD.
 1.133  08-Feb-2019  msaitoh - Add Marvell 88E1240.
- Marvell model 0x0029 is not 88E1116R but E1318S.
 1.132  28-Dec-2018  msaitoh 88E154[358] have the same ID.
 1.131  02-Jul-2018  msaitoh - Add ASIX Ax88x9x
- Add description for DP83846A.
 1.130  02-Jul-2018  msaitoh Sort OUI by number. No functional change.
 1.129  19-Jun-2018  msaitoh branches: 1.129.2;
All of 88E151[0248]'s model number is 0x001d.
 1.128  13-Jun-2018  jdolecek add E1000 with model id 0x0006, it exists according to OpenBSD
rename E1000 model 0x0000 to E1000_0 for consistency
 1.127  10-May-2018  msaitoh Add Intel X540 internal PHY.
 1.126  03-Jul-2017  msaitoh branches: 1.126.4;
Add X550 and X557.
 1.125  01-Feb-2017  msaitoh branches: 1.125.6;
Add some Intel devices.
 1.124  14-Aug-2015  knakahara branches: 1.124.2; 1.124.4;
Add Marvell 88E1512.
 1.123  09-Jun-2015  matt Add xxMarvell E6060 6-port 10/100 Fast Ethernet Switch
 1.122  09-Nov-2014  nonaka branches: 1.122.2;
Add Realtek RTL8251.
 1.121  20-Aug-2014  msaitoh BCM5714 and BCM5780 are used for both copper and fiber.
 1.120  02-Jul-2014  msaitoh branches: 1.120.2;
Add BCM5706 1000BASE-T/SX.
 1.119  13-May-2014  christos sync marvel with freebsd.
 1.118  26-Feb-2014  ozaki-r branches: 1.118.2;
Add Micrel PHY (KSZ9021RN)

The new driver micphy is almost same as ukphy except that
micphy has a fixup for cpsw; a PHY with cpsw has to adjust
RGMII signal timing.

Reviewed by christos@
 1.117  21-Dec-2013  kiyohara Add Marvell 88E1543 Quad Port Gb PHY
 1.116  12-Jun-2013  msaitoh branches: 1.116.2;
Add some IC Plus Corp. devices.
 1.115  02-Jun-2013  msaitoh Intel I217 PHY
 1.114  23-Apr-2013  msaitoh Add Intel I210 internal PHY.
 1.113  14-Mar-2013  msaitoh Add BCM5756.
 1.112  20-Feb-2013  msaitoh Add BCM5708S, BCM57780, BCM5717C, BCM5719C and BCM5720C.
 1.111  12-Jan-2013  jakllsch Unlike usbdevs, miidevs needs the vendor name in the product id string.
 1.110  12-Jan-2013  jakllsch Add SMSC OUI and LAN8700 and LAN8710/LAN8720 PHY IDs,
at this point just for MIIVERBOSE.
 1.109  17-Sep-2012  tsutsui Add another Broadcom OUI and BCM57765 1000BASE-T media interface.
Per PR kern/46961.
 1.108  15-Jul-2012  matt branches: 1.108.2;
Add AR8035
 1.107  06-Apr-2012  matt Add VSC8221
 1.106  06-Apr-2012  isaki Sync a comment with a fact.
There is MII_OUI() in miivar.h not mii.h after 2001.
 1.105  25-Nov-2011  jakllsch branches: 1.105.2; 1.105.4;
Add National DP83849. Prompted by PR 41256.
 1.104  12-Nov-2011  sekiya Add support for makphy 0x0029 variation found on most recent Globalscale Dreamplug.
 1.103  02-Nov-2011  jakllsch Add Broadcom BCM5325 and BCM5365.
 1.102  07-Jun-2011  cegger branches: 1.102.2;
add BCM5785
 1.101  28-May-2011  matt branches: 1.101.2;
Fix CS8244 entry (changed to VSC8244).
 1.100  20-May-2011  msaitoh Add Intel 82579
 1.99  26-Jan-2011  bouyer Add RDC Semiconductor R6040 10/100 integrated PHY
 1.98  11-Dec-2010  matt branches: 1.98.2; 1.98.4;
Add two phys (Atheros 8021 and Marvell 88E1145)
 1.97  27-Nov-2010  christos PR/44080: GrĂ©goire Sutre: Support for the i82577 ethernet PHY
 1.96  27-Nov-2010  jym Correct string for BCM5709S.

(Yup, sorry, fix was supposed to be for miidevs and not miidevs.h)
 1.95  02-May-2010  pgoyette Add Broadcom BCM5481 and BCM5709S - From OpenBSD
 1.94  13-Mar-2010  kiyohara branches: 1.94.2;
Add Broadcom BCM5482.
 1.93  24-Jan-2010  msaitoh branches: 1.93.2;
Add BCM5461,BCM5784 and BCM5761.
 1.92  07-Jan-2010  jdc Add NS DP83865.
 1.91  13-Dec-2009  matt Add Marvel 88E1149
 1.90  18-Nov-2009  bouyer Add BCM5709CAX and BCM5709C PHYs.
 1.89  12-Aug-2009  simonb Add Broadcom BCM5464 PHY.
 1.88  18-Jun-2009  rjs Add Marvell 88E1116R PHY.
 1.87  19-Apr-2009  msaitoh Oooops. Back out some of previous my commit.
 1.86  19-Apr-2009  msaitoh Some fixes and enhancements:

Both if_bge* and brgphy.[ch]:
Check the parent's MAC and use the quirk code for the bug like OpenBSD and
FreeBSD. Some bugs can't identify the PHY ID. For example, 5704 Ax has the
ADC bug, but 5704 A3 and 5704 B0 have the same PHY ID and revision. Add
BGE_PHY_CRC_BUG, BGE_PHY_ADC_BUG, BGE_PHY_5704_A0_BUG, BGE_PHY_JITTER_BUG,
BGE_PHY_ADJUST_TRIM and BGE_PHY_BER_BUG for this flag. Some of the DSP
patches are newly taken from OpenBSD and FreeBSD.

if_bge*:
Remove duplicated BGE_CHIPID_BCM5714_A0 entry in the known CHIPID table.
Fix obsolete comments.

brgphy.[ch]:
Add some PHY IDs.

TODO:
Add more three quirk code into bge and brgphy (the brgphy side's are
currently #if0'ed).
Add support for bnx into brgphy (currently #if0'ed)
 1.85  19-Apr-2009  msaitoh Add some boradcom's PHYs.
Sort.
 1.84  25-Mar-2009  cegger add some CICADA PHYs. from FreeBSD.
 1.83  11-Feb-2009  cegger add ATTANSIC and their L1/L2 PHYs
ok cube@
 1.82  21-Jan-2009  jnemeth branches: 1.82.2;
add a comment explaining how to regenerate miidevs.h and miidevs_data.h
 1.81  16-Jan-2009  cegger add ATHEROS F1 and F2 PHYs
 1.80  27-Dec-2008  tsutsui Fix a botched comment.
 1.79  27-Dec-2008  jnemeth PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) netowrk driver
 1.78  28-Sep-2008  bouyer branches: 1.78.2; 1.78.4; 1.78.10;
Add JMicron OUI, and JMC2[56]0 PHYs.
 1.77  25-Aug-2008  cegger PR 39241: Add support for Broadcom BCM5906(M) from Karl Uwe Lockhoff
 1.76  28-Apr-2008  martin branches: 1.76.2; 1.76.6;
Remove clause 3 and 4 from TNF licenses
 1.75  20-Feb-2008  markd branches: 1.75.6; 1.75.8; 1.75.10;
Add BCM5708C 1000BASE-T media interface, from FreeBSD
 1.74  29-Dec-2007  wiz Add Marvell 88E1116 Gigabit PHY.
 1.73  12-Oct-2007  tsutsui branches: 1.73.4; 1.73.10;
Add Realtek RTL8211, which has the same ID with 8169S/8110S internal PHY.
 1.72  28-Aug-2007  msaitoh branches: 1.72.2;
add Intel I82566
 1.71  06-Aug-2007  markd branches: 1.71.2; 1.71.4;
Add BCM5755 and 5754 Gig-E PHYs.
 1.70  17-Feb-2007  jmcneill branches: 1.70.4; 1.70.12; 1.70.16;
Add Marvell 88E6060 10/100 5-port PHY switch
 1.69  26-Nov-2006  tsutsui branches: 1.69.2; 1.69.4; 1.69.6;
Add BCM5752 Gig-E PHY. From Matthias Drochner and FreeBSD/OpenBSD.
 1.68  21-Oct-2006  bouyer 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
 1.67  27-Sep-2006  cube Add Intel 82562G PHY.
 1.66  27-Apr-2006  jonathan branches: 1.66.8; 1.66.10;
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}.
 1.65  21-Mar-2006  wiz Fix typo, reported by seebs in PR 33106.
 1.64  14-Mar-2006  chs branches: 1.64.2;
add an rlphy clone from IC Plus. from openbsd.
 1.63  18-Feb-2006  thorpej branches: 1.63.2; 1.63.4;
Add the DP83847 PHY. From seebs in kern/32866
 1.62  04-Jan-2006  xtraeme branches: 1.62.2; 1.62.4;
Add Realtek RTL8201L. From OpenBSD
 1.61  08-Dec-2005  jonathan branches: 1.61.2;
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.
 1.60  28-Aug-2005  kiyohara Add DAVICOM DM9102.
 1.59  23-Jun-2005  briggs branches: 1.59.2;
Marvell 88E1111 from Dave Huang in PR kern/30556
 1.58  16-Mar-2005  briggs branches: 1.58.2;
Add new/alternate OUI for CICADA that's been spotted in a VIA VT6122.
Submitted in PR 29705 from Tomokazu HARADA.
 1.57  20-Feb-2005  jdolecek Add driver for 10/100/1000 copper PHY integrated on VIA Networking Technologies
VT6122 gigabit ethernet chips

From FreeBSD
 1.56  17-Jan-2005  scw branches: 1.56.2;
Add entry for Broadcom BCM5222 Dual 10/100 media interface.
 1.55  23-Dec-2004  jonathan branches: 1.55.2;
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.
 1.54  24-Nov-2004  martin Add BCM4401 phy
 1.53  28-Oct-2004  cube Add an entry for the PHY found with BCM575x chips.
 1.52  07-Feb-2004  matt Add LXT973/974/975 PHYs
 1.51  26-Oct-2003  fvdl Make the name of the IGPE1000 a bit clearer.
 1.50  26-Oct-2003  fvdl Add Intel IGP01E1000 phy.
 1.49  17-Jul-2003  hannken Add support for the BCM5705:
- Only BCM5705M asic rev A1 was tested.

Thanks to Bill Paul (wpaul@freebsd.org) for help and support.

Approved by: Frank van der Linden <fvdl@netbsd.org>
 1.48  01-Jul-2003  msaitoh branches: 1.48.2;
Add ICS1889 and 1892
 1.47  02-May-2003  scw Add entry for Broadcom's BCM5214 Quad 10/100 media interface.
 1.46  26-Jan-2003  matt Add AMD Am79C87[45] (which use the Altima OUI).
 1.45  17-Jan-2003  gendalia Add altima (broadcom) AC101L, phy for 3com 3c905cx-tx on nForce2 MCP-T.
 1.44  16-Jan-2003  jonathan Add PHY entry for bcm5704c (copper) integral phy to miidevs.
Add 5704 phy and dsp patch, and untestsed dsp patch for 5703, to brgphy.c.
 1.43  27-Dec-2002  matt Add BCM5703.
 1.42  07-Nov-2002  martin Add MYSON MTD803
 1.41  08-Aug-2002  fvdl Add ID for Marvell 881011 phy found on newer i8254x-based gig-e cards.
 1.40  09-Jul-2002  matt Add Broadcom BCM5421
 1.39  25-Jun-2002  drochner 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.
 1.38  22-Jun-2002  fvdl Aff BCM 5701 PHY Id.
 1.37  15-May-2002  matt branches: 1.37.2; 1.37.4;
Correct/add more PMC-Sierra PHYs
 1.36  15-May-2002  matt Add another PMC-SIERRA phy
 1.35  14-Mar-2002  chs add support for LXT971 PHYs.
 1.34  10-Feb-2002  wiz Add ICS 1893
 1.33  15-Jan-2002  thorpej Add another Marvell 88E1000 PHY model number.
 1.32  15-Dec-2001  augustss Add another Altima PHY. From Peter Seebach.
 1.31  25-Aug-2001  thorpej Back out previous; closer inspection of the manual reveals that the
Am79c874 has the same ID register contents as the AC101.
 1.30  25-Aug-2001  thorpej Add AMD Am79c874 NetPHY-1LP.
 1.29  25-Aug-2001  thorpej Improve the AMD PHY names.
 1.28  23-Aug-2001  thorpej The Am79c972 PCnet-FAST+ has its built-in 10BASE-T interface mapped
onto the MII bus. Recognize it.
 1.27  27-Jul-2001  thorpej Fixup some Broadcom entries, add an entry for Broadcom PHY that
is built-in to some 3Com 3c905B cards.
 1.26  20-Jul-2001  thorpej Bleh, I don't like the way our miidevs works now. Repair the
Marvell Semiconductor entry.
 1.25  12-Jul-2001  thorpej Add LevelOne LXT-1000 10/100/1000 PHY, clean up some Gig-E
PHY names.
 1.24  12-Jul-2001  thorpej Correct Marvell OUI, and 88E1000 model number.
 1.23  19-Jun-2001  thorpej branches: 1.23.2;
Add Seeq 80225 10/100 PHY.
 1.22  31-May-2001  thorpej Add several additional PHYs.
 1.21  31-May-2001  thorpej Add product ID for the NatSemi DP83891 1000baseTX PHY.
 1.20  22-May-2001  soren Add i82562ET id.
 1.19  17-May-2001  drochner argh - the OUI of PMC-Sierra is 00-e0-04, according to IEEE.
They managed to mess it up in a new way.
 1.18  15-May-2001  matt Add OUI for PMC-Sierra. Add BCM5221 Phy. Add PM8351 Phy.
 1.17  15-May-2001  thorpej Add National Semiconductor DP83861 1000baseTX PHY.
 1.16  09-Apr-2001  drochner add media options for the Intel UCH2 internal ethernet controller
 1.15  28-Mar-2001  drochner adapt to corrected OUI calculation
 1.14  07-Jan-2001  augustss branches: 1.14.2;
Add an Altima PHY.
 1.13  07-Nov-2000  soren Just print 'Intel' for their other OUI.
 1.12  06-Nov-2000  augustss Add some OUIs and models. From OpenBSD.
 1.11  08-May-2000  augustss Add another AMD chip.
 1.10  13-Jan-2000  augustss Add a Broadcom PHy used in the D-Link USB100 adapter.
There's no special driver for this PHY (yet).
 1.9  19-Nov-1999  thorpej Add OUI for Enable Semiconductor.
 1.8  07-Sep-1999  soren branches: 1.8.2; 1.8.8;
Note 78Q2121.
 1.7  04-Sep-1999  soren Add Intel 82553 and TSC 78Q2120.
 1.6  14-May-1999  drochner Define OUIs in a more uniform way. OUIs are fixed entities registered
with IEEE, so use the "real" OUIs for definitions.
Now unfortunately vendors differ in how the MII ID register bits are
used wrt bit and byte ordering. There is a straightforward way - bits
numbered from LSB to MSB - used by AMD, Intel, NS and QS. This is used
by the current MII_OUI() conversion macro. ICS, Seeq, SiS and TI count
the bits as they appear on the wire, and some differ completely.
Account for these cases by "xx" prefixed OUI definitions which compensate
for this, so the MII_OUI() macro can still be used.
Add AMD (the "real" AMD this time) and the 79c973 PCnet internal PHY.
 1.5  24-Mar-1999  thorpej branches: 1.5.4;
Silicon Integrated Systems OUI and the SiS 900 PHY model number.
 1.4  05-Feb-1999  thorpej Add oui for Davicom Semiconductor, and add Davicom DM9101 10/100 PHY.
 1.3  05-Nov-1998  thorpej Add AMD's OUI, and the model number for the AMD 79C873 10/100 Ethernet PHY.
 1.2  03-Nov-1998  thorpej Define the model ID of the Seeq 84220 10/100 PHY.
 1.1  10-Aug-1998  thorpej Near complete rewrite of the MII layer to present an interface compatible
with BSDI's MII layer to device drivers.
 1.5.4.1  21-Jun-1999  thorpej Sync w/ -current.
 1.8.8.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.8.2.4  21-Apr-2001  bouyer Sync with HEAD
 1.8.2.3  18-Jan-2001  bouyer Sync with head (for UBC+NFS fixes, mostly).
 1.8.2.2  22-Nov-2000  bouyer Sync with HEAD.
 1.8.2.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.14.2.13  17-Jan-2003  thorpej Sync with HEAD.
 1.14.2.12  29-Dec-2002  thorpej Sync with HEAD.
 1.14.2.11  11-Nov-2002  nathanw Catch up to -current
 1.14.2.10  13-Aug-2002  nathanw Catch up to -current.
 1.14.2.9  01-Aug-2002  nathanw Catch up to -current.
 1.14.2.8  20-Jun-2002  nathanw Catch up to -current.
 1.14.2.7  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.14.2.6  28-Feb-2002  nathanw Catch up to -current.
 1.14.2.5  08-Jan-2002  nathanw Catch up to -current.
 1.14.2.4  21-Sep-2001  nathanw Catch up to -current.
 1.14.2.3  24-Aug-2001  nathanw Catch up with -current.
 1.14.2.2  21-Jun-2001  nathanw Catch up to -current.
 1.14.2.1  09-Apr-2001  nathanw Catch up with -current.
 1.23.2.8  06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.23.2.7  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.23.2.6  16-Mar-2002  jdolecek Catch up with -current.
 1.23.2.5  11-Feb-2002  jdolecek Sync w/ -current.
 1.23.2.4  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.23.2.3  13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.23.2.2  25-Aug-2001  thorpej Merge Aug 24 -current into the kqueue branch.
 1.23.2.1  03-Aug-2001  lukem update to -current
 1.37.4.3  28-Jan-2003  jmc Pullup revisions 1.42-1.44 (requested by fvdl in ticket #1126)
Pullup support for bge device. (Broadcom Gigabit Ethernet)
 1.37.4.2  16-Nov-2002  he Pull up revision 1.41 (requested by thorpej in ticket #648):
Add ID for Marvell 881011 phy found on newer i8254x-based
gig-ether cards.
 1.37.4.1  12-Jul-2002  thorpej Add Broadcom BCM5421 and BCM5701. Spurred by pullup-1-6 ticket #486
(matt).
 1.37.2.2  29-Aug-2002  gehenna catch up with -current.
 1.37.2.1  15-Jul-2002  gehenna catch up with -current.
 1.48.2.11  11-Dec-2005  christos Sync with head.
 1.48.2.10  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.48.2.9  01-Apr-2005  skrll Sync with HEAD.
 1.48.2.8  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.48.2.7  24-Jan-2005  skrll Sync with HEAD.
 1.48.2.6  17-Jan-2005  skrll Sync with HEAD.
 1.48.2.5  29-Nov-2004  skrll Sync with HEAD.
 1.48.2.4  02-Nov-2004  skrll Sync with HEAD.
 1.48.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.48.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.48.2.1  03-Aug-2004  skrll Sync with HEAD
 1.55.2.1  29-Apr-2005  kent sync with -current
 1.56.2.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.58.2.7  23-Sep-2007  bouyer Pull up following revision(s) (requested by msaitoh in ticket #1842):
sys/dev/mii/miidevs: revisions 1.69, 1.71
sys/dev/mii/brgphy.c: revisions 1.31 - 1.34
Add support for BCM5752, BCM5754 and BCM5755.
Fix the problem "ifconfig bge0 media auto" negotiates to 100Mbps
on 1000BaseT HUB.
 1.58.2.6  31-Mar-2007  bouyer pullup the following revisions (requested by msaitoh in ticket 1681):
sys/dev/pci/if_wm.c 1.104-1.105, 1.116-1.121,
1.127,1.133-1.134 via patch
sys/dev/pci/if_wmreg.h 1.17-1.20
sys/dev/pci/pcidevs patch
sys/dev/mii/igphy.c 1.11
sys/dev/mii/makphy.c 1.20, 1.23
sys/dev/mii/ikphy.c patch
sys/dev/mii/ikphyreg.h patch
sys/dev/mii/miidevs 1.68
sys/dev/mii/files.mii 1.39
sys/arch/i386/conf/GENERIC 1.788-1.789 via patch
sys/arch/i386/conf/GENERIC.MPACPI patch
sys/arch/i386/conf/GENERIC_LAPTOP 1.209 via patch
sys/arch/i386/conf/INSTALL 1.291 via patch
sys/arch/i386/conf/INSTALL_LAPTOP 1.104 via patch
sys/arch/i386/conf/XEN2_DOM0 1.13 via patch
share/man/man4/wm.4 1.14-1.16
Add support for many cards (include PCI-express based chips).
Many bug fixes about auto negotiations (PR#30078, PR#30490,
PR#30906, PR#33429 and PR#35386).
Fix media link issues with fiber-based card (PR#35797).
 1.58.2.5  03-Mar-2007  bouyer Pull up following revision(s) (requested by tsutsui in ticket #1673):
distrib/sets/lists/man/mi 1.844, 1.871
share/man/man4/Makefile 1.372, 1.379 via patch
share/man/man4/re.4 1.8, 1.9, 1.11, 1.12
share/man/man4/rgephy.4 1.1
share/man/man4/rlphy.4 1.1, 1.2
sys/arch/amd64/conf/GENERIC 1.79, 1.89
sys/arch/amd64/conf/INSTALL 1.45, 1.49
sys/arch/i386/conf/GENERIC 1.717, 1.747
sys/arch/i386/conf/GENERIC_LAPTOP 1.164
sys/arch/i386/conf/INSTALL 1.277, 1.283
sys/arch/i386/conf/INSTALL_LAPTOP 1.96, 1.98
sys/arch/i386/conf/XEN2_DOM0 1.22 via patch
sys/arch/macppc/conf/GENERIC 1.220, 1.246
sys/arch/macppc/conf/INSTALL 1.96, 1.100
sys/dev/cardbus/if_re_cardbus.c 1.10
sys/dev/cardbus/if_rtk_cardbus.c 1.29-1.31
sys/dev/ic/rtl8169.c 1.14, 1.20, 1.24, 1.25, 1.28-1.61, 1.63, 1.64-1.81 via patch
sys/dev/ic/rtl81x9.c 1.52, 1.54-1.63, 1.65, 1.67-1.70
sys/dev/ic/rtl81x9reg.h 1.15-1.26
sys/dev/ic/rtl81x9var.h 1.19, 1.21-1.37
sys/dev/mii/files.mii 1.38
sys/dev/mii/miidevs 1.62, 1.64
sys/dev/mii/rgephy.c 1.10, 1.13-1.16
sys/dev/mii/rlphy.c 1.1, 1.6, 1.7, 1.11 via patch
sys/dev/pci/if_re_pci.c 1.13, 1.15-1.17, 1.19-1.23
sys/dev/pci/if_rtk_pci.c 1.25, 1.28, 1.29, 1.31
sys/dev/pci/pcidevs 1.851, 1.852

on re(4):
- improve stability (I believe ;-)
- add a workaround for hardware ip4csum-tx bug
- support newer chips (8169SB/SC, PCIe based 8168 etc.)
- fix 8139C+ support
- enable hardware VLAN
- misc bus_dma(9) fix (which makes re(4) work on mips ports)

on rtk(4):
- fix kern/31348
- fix possible panic on dreamcast
 1.58.2.4  28-Apr-2006  riz Pull up following revision(s) (requested by jonathan in ticket #1292):
sys/dev/mii/brgphy.c: revision 1.27
sys/dev/mii/miidevs: revision 1.66
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}.
 1.58.2.3  29-Dec-2005  riz Pull up following revision(s) (requested by jonathan in ticket #1044):
sys/dev/mii/brgphy.c: revision 1.24
sys/dev/mii/miidevs: revision 1.61
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.
 1.58.2.2  12-Sep-2005  tron Pull up following revision(s) (requested by kiyohara in ticket #760):
sys/dev/mii/dmphy.c: revision 1.21
sys/dev/mii/miidevs: revision 1.60
Add DAVICOM DM9102.
 1.58.2.1  03-Jul-2005  tron Pull up revision 1.59 (requested by briggs in ticket #523):
Marvell 88E1111 from Dave Huang in PR kern/30556
 1.59.2.7  27-Feb-2008  yamt sync with head.
 1.59.2.6  21-Jan-2008  yamt sync with head
 1.59.2.5  27-Oct-2007  yamt sync with head.
 1.59.2.4  03-Sep-2007  yamt sync with head.
 1.59.2.3  26-Feb-2007  yamt sync with head.
 1.59.2.2  30-Dec-2006  yamt sync with head.
 1.59.2.1  21-Jun-2006  yamt sync with head.
 1.61.2.2  18-Feb-2006  yamt sync with head.
 1.61.2.1  15-Jan-2006  yamt sync with head.
 1.62.4.2  01-Jun-2006  kardel Sync with head.
 1.62.4.1  22-Apr-2006  simonb Sync with head.
 1.62.2.1  09-Sep-2006  rpaulo sync with head
 1.63.4.2  11-May-2006  elad sync with head
 1.63.4.1  19-Apr-2006  elad sync with head.
 1.63.2.2  24-May-2006  yamt sync with head.
 1.63.2.1  01-Apr-2006  yamt sync with head.
 1.64.2.2  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.64.2.1  28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.66.10.2  10-Dec-2006  yamt sync with head.
 1.66.10.1  22-Oct-2006  yamt sync with head
 1.66.8.2  12-Jan-2007  ad Sync with head.
 1.66.8.1  18-Nov-2006  ad Sync with head.
 1.69.6.1  03-Sep-2007  wrstuden Sync w/ NetBSD-4-RC_1
 1.69.4.1  27-Feb-2007  yamt - sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
 1.69.2.3  18-Aug-2009  bouyer Pull up following revision(s) (requested by msaitoh in ticket #1342):
sys/dev/pci/if_bge.c: revisions 1.135, 1.146, 1.151-1.152,
1.155-1.167 via patch
sys/dev/pci/if_bgereg.h: revisions 1.43, 1.48-1.52
sys/dev/pci/if_bgevar.h: revision 1.1
sys/dev/mii/brgphy.c: revisions 1.36, 1.40, 1.43-1.44 and
1.47-1.48 via patch
sys/dev/mii/brgphyreg.h: revisions 1.3-1.4
sys/dev/mii/miidevs: revisions 1.75, 1.77, 1.85
sys/dev/mii/miidevs.h: regen
sys/dev/mii/miidevs_data.h: regen
sys/dev/mii/miivar.h: revision 1.54
For bge:
- Really set Tx threshold.
- Fix the case of setting a flag in BGE_PCI_DMA_RW_CTL on
conventional PCI.
- Fix some bugs that the driver unable to detect link loss
(OpenBSD 1.135, FreeBSD 1.102)
- bge_tick(): fix some extra input error (OpenBSD 1.221 FreeBSD 1.212)
- Acknowledge link change interrupts by setting the "link changed" bit
in the status register (used to have no effect). FreeBSD 1.44
(OpenBSD 1.21)
- Add some fiber support (OpenBSD 1.220)
- Set BGE_MISCCFG_KEEP_GPHY_POWER as {Open,Free}BSD and linux.
- Add special case code to fix a problem with the BCM5704 in TBI
mode (FreeBSD rev. 1.71, OpenBSD rev. 1.35)
- Force an interrupt in bge_ifmedia_upd (FreeBSD rev. 1.205, OpenBSD
rev. 1.242)
- Add missing workaround for 5705 (FreeBSD rev. 1.44, OpenBSD rev.
1.21)
- Don't print error message only when the register is BGE_SRS_MODE.
It occurs on some environment (and once after boot?). Other *BSDs
and Linux don't print the error message for all registers.
- Fix comments.
- Remove obsolete codes.
- Add BCM5786 support.
for brgphy:
- Add some quirk codes.
- Add support for BCM5462, BCM54K2, BCM5708C, BCM5722, and BCM5906.
 1.69.2.2  31-Aug-2007  xtraeme Pull up following revision(s) (requested by phil in ticket #819):
sys/dev/mii/miidevs.h: regen
sys/dev/mii/miidevs: revision 1.71
sys/dev/pci/if_bge.c: revision 1.133
sys/dev/pci/if_bge.c: revision 1.134
sys/dev/pci/if_bgereg.h: revision 1.43
sys/dev/mii/brgphy.c: revision 1.34
sys/dev/mii/miidevs_data.h: regen
Add BCM5755 and 5754 Gig-E PHYs.
Regen for BCM5755 and 5754.
Add support for BCM5754 and BCM5755. From suggestions from Jonathan
Stone.
Add a couple more BGE_CHIPIDs
Add support for BCM5755 and BCM5754/5787. Suggestions from Jonathan
Stone and fixes from OpenBSD for various hardware bugs/errata.
Disable firmware fastboot on 5754 and 5755. From FreeBSD by way of Phil
Nelson.
 1.69.2.1  29-Aug-2007  liamjfoy Pull up following revision(s) (requested by masanobu in ticket #850):

sys/dev/pci/if_wm.c 1.137
sys/dev/pci/if_wm.c 1.138
sys/dev/pci/if_wm.c 1.141
sys/dev/pci/if_wm.c 1.144
sys/dev/pci/if_wmreg.h 1.23
sys/dev/pci/pcidevs 1.893
sys/dev/pci/pcidevs.h regen
sys/dev/pci/pcidevs_data.h regen
sys/dev/mii/igphy.c 1.12
sys/dev/mii/miidevs 1.72
sys/dev/mii/miidevs.h regen
sys/dev/mii/miidevs_data.h regen
share/man/man4/wm.4 1.18

Fix for 82541 and 82547's reset bug.
Modify wm_reset() to make some device stable.
Add ICH9 support to wm.
Add I82566 support to igphy.

Pulled done via patch.
 1.70.16.3  26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.70.16.2  03-Sep-2007  jmcneill Sync with HEAD.
 1.70.16.1  09-Aug-2007  jmcneill Sync with HEAD.
 1.70.12.2  03-Sep-2007  skrll Sync with HEAD.
 1.70.12.1  15-Aug-2007  skrll Sync with HEAD.
 1.70.4.3  12-Oct-2007  ad Sync with head.
 1.70.4.2  09-Oct-2007  ad Sync with head.
 1.70.4.1  20-Aug-2007  ad Sync with HEAD.
 1.71.4.2  06-Aug-2007  markd Add BCM5755 and 5754 Gig-E PHYs.
 1.71.4.1  06-Aug-2007  markd file miidevs was added on branch matt-mips64 on 2007-08-06 12:07:01 +0000
 1.71.2.3  23-Mar-2008  matt sync with HEAD
 1.71.2.2  09-Jan-2008  matt sync with HEAD
 1.71.2.1  06-Nov-2007  matt sync with HEAD
 1.72.2.1  14-Oct-2007  yamt sync with head.
 1.73.10.1  02-Jan-2008  bouyer Sync with HEAD
 1.73.4.1  18-Feb-2008  mjf Sync with HEAD.
 1.75.10.6  11-Aug-2010  yamt sync with head.
 1.75.10.5  11-Mar-2010  yamt sync with head
 1.75.10.4  19-Aug-2009  yamt sync with head.
 1.75.10.3  18-Jul-2009  yamt sync with head.
 1.75.10.2  04-May-2009  yamt sync with head.
 1.75.10.1  16-May-2008  yamt sync with head.
 1.75.8.1  18-May-2008  yamt sync with head.
 1.75.6.4  17-Jan-2009  mjf Sync with HEAD.
 1.75.6.3  05-Oct-2008  mjf Sync with HEAD.
 1.75.6.2  28-Sep-2008  mjf Sync with HEAD.
 1.75.6.1  02-Jun-2008  mjf Sync with HEAD.
 1.76.6.1  19-Oct-2008  haad Sync with HEAD.
 1.76.2.2  10-Oct-2008  skrll Sync with HEAD.
 1.76.2.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.78.10.6  24-Dec-2011  matt Add 88E1114 Phy
 1.78.10.5  20-May-2011  matt One more try to get RCSID correct.
 1.78.10.4  20-May-2011  matt Restore $NetBSD$
 1.78.10.3  20-May-2011  matt Add entry for AR8316 Switch
 1.78.10.2  20-Apr-2010  matt Sync to netbsd-5
 1.78.10.1  09-Nov-2009  cliff - add entry for Marvell 88E1149 Gigabit PHY to miidevs
- regenerate (make) miidevs.h and miidevs_data.h
 1.78.4.6  09-Nov-2015  sborrill Pull up the following revisions(s) (requested by msaitoh in ticket #1982):
sys/dev/mii/miidevs: revisions 1.79-1.80, 1.84, 1.86-1.88,
1.91-1.92, 1.94-1.96, 1.98-1.99, 1.101-1.112 via patch

Sync miidevs up to rev. 1.112:
- Add Agere ET1101 (PR#39094)
- Add some CICADA PHYs.
- AddMarvell 88E1000[S], 88E1116R, 88E1118, 88E1145, 88E1149[R],
- 88E1543, 88E3016, PHYG65G
- Add NS DP83849(PR#41256), DP83865.
- Add Broadcom BCM5325, BCM5365, BCM548[12], BCM5706, BCM570[89]S,
- BCM571[79]C, BCM5720C, BCM5756, BCM5785, BCM57765, BCM57780
- Add Atheros AR8021, AR8035
- Add RDC Semiconductor R6040 10/100 integrated PHY
- Add Vitesse VSC8221
- Add SMSC LAN 87[012]0
- Add Intel I21[07].
- Add IC Plus IP100, IP1000A and IP1001
- Add Micrel KSZ9021RN
- Add Relatek RTL8251
- Update comment.
 1.78.4.5  19-Jun-2013  bouyer Pullup the following revisions via patch, requested by msaitoh in ticket #1850:
sys/dev/pci/if_wm.c 1.201, 1.203-1.204,
1.207-1.212, 1.215,
1.217-1.218, 1.220-1.223,
1.228, 1.232-245
sys/dev/pci/if_wmreg.h 1.40-1.45, 1.47-1.48
sys/dev/pci/if_wmvar.h 1.11-1.13
sys/dev/pci/pcidevs 1.1074, 1.1077, 1.1117
sys/dev/pci/pcidevs.h regen
sys/dev/pci/pcidevs_data.h regen
sys/dev/mii/igphyreg.h 1.6
sys/dev/mii/ihphy.c 1.1-1.2
sys/dev/mii/ihphyreg.h 1.1
sys/dev/mii/inbmphyreg.h 1.3
sys/dev/mii/files.mii 1.47 via patch
sys/dev/mii/miidevs 1.97 and 1.100
sys/dev/mii/miidevs.h regen
sys/dev/mii/miidevs_data.h regen
sys/arch/i386/conf/ALL 1.280
sys/arch/i386/conf/GENERIC 1.1001
sys/arch/i386/conf/INSTALL_FLOPPY 1.11
sys/arch/i386/conf/XEN2_DOM0 patch
sys/arch/amd64/conf/GENERIC 1.293
sys/arch/amd64/conf/XEN3_DOM0 1.61
share/man/man4/wm.4 1.21-1.24

Apply almost all fixes and improvements from netbsd-6 except for
the rev. 1.196's iqdrops' change.

- Add the detach code.
- Add code for WOL, ASF, IPMI and Intel AMT. WOL is disabled by default
- Add Yet another workaround for ICH8.
- 82576 is dual port, so check the FUNCID and increment the MAC address for
the 2nd port.
- Fix the names of 82577L[MC] LAN controllers (for mobile).
- Fix CTRL_EXT_SWDPIN() and CTRL_EXT_SWDPIO() macros. The bit order of the
SW definable pin is not 6543 but 3654!!!
- Rewrite the code to read MAC address from eeprom.
- Add 82580 support.
- 82571 quirk. Only 82571 shares port 0 of EEMNGCTL_CFGDONE.
- The document says that the TDH register must be set after
TCL.EN is set on 82575 and newer devices.
- Fix some register names. No functional change.
- Omit U+00AE "REGISTERED SIGN" in a product name due to its non-ASCII nature.
- Stop wm(4) from needlessly resetting when you add or delete a vlan(4).
- Fix MAC address check on 8257[156] and 80003 case. Some cards have non 0xffff
pointer but those don't use alternative MAC address in reality. So we check
whether the broadcast bit is set or not like Intel's e1000 driver.
Fixes PR kern/44072 reported by Jean-Yves Moulin.
- Add PCH2(and 82579) support. Fixes PR#46487
- Add yet another 82567V support.
- Add ICH10+HANKSVILL support.
- Add support Intel I350 Ethernet.
- Make vlan and all ip/ip6 checksum offload work for the I350.
- Fix compile error with WM_DEBUG.
- Fix a bug that PHY isn't set to low-power mode on PCH and PCH2.
- Add WM_DEBUG_NVM. If WM_DEBUG_NVM is enabled, dump the FLASH ROM data.
- Skip 64bit BAR correctly.
- Fix RAL_TABSIZE for ICH8, 82576, 82580 and I350.
- Use 82580(and I350) specific PHY read/write functions. Fixes PR#47542.
- Style fix. Fix typo in comment. Fix comments. Add comments.
 1.78.4.4  19-Nov-2010  riz branches: 1.78.4.4.2;
Pull up revisions (requested by msaitoh in ticket #1359):
sys/dev/pci/if_bge.c 1.170-1.181
sys/dev/pci/if_bgereg.h 1.53-1.56
sys/dev/pci/if_bgevar.h 1.2-1.5
sys/dev/pci/pcidevs 1.1017, 1.1021
sys/dev/pci/pcidevs.h regen
sys/dev/pci/pcidevs_data.h regen
sys/dev/mii/miidevs 1.89, 1.93
sys/dev/mii/miidevs.h regen
sys/dev/mii/miidevs_data.h regen
sys/dev/mii/brgphy.c 1.49, 1.52

- Fix a bug of BGE_RDMA_MODE_FIFO_LONG_BURST definition.
- Fix the bug that both BGE_PCIE and BGE_PCIX are set on PCI-Express devices.
- Add support for BCM5705F,BCM5714,SBCM5715S,BCM5717,BCM5718,BCM5720,BCM5723,
BCM5724,BCM5751F,BCM5753F,BCM5756,BCM5761,BCM5761E,BCM5761S,BCM5761SE,
BCM5764,BCM5781,BCM5784M,BCM5903M,BCM57760,BCM57761,BCM57765,BCM57780,
BCM57781,BCM57785,BCM57788,BCM57790,BCM57791 and BCM57795. Fixes PR#41694.
- Fix misunderstanding the capability for TSO4 on some chips.
- Use proplib for no EEPROM systems (e.g. sparc64 with onboard bge).
- Add debug function to show some flags.
- (brgphy(4)) Add support for BCM5461, BCM5464, BCM5784 and BCM5761.
- (brgphy(4)) Enable brgphy_jumbo_settings().
- (brgphy(4)) Enable the Ethernet@Wirespeed function.
- Add support for device properties to override the mac address and set
the BGE_NO_EEPROM flag if we have an onboard device w/o SEEPROM.
- Introduce IPMI and ASF related code from FreeBSD. It fixes some problems
which occured in netboot on sparc64 and PR#32767
- move the code of disabling host interrput in bge_stop() like linux tg3
driver.
- fix the return value of bge_eeprom_getbyte().
- Fixes the bug that error bits arent cleard because these bit are W2C
(in other words W1C).
- Many other bugfixes from FreeBSD and OpenBSD.
- remove an unused structure.
- ANSI C, KNF and tabify
- fix typo in comment.
 1.78.4.3  27-Jan-2010  sborrill Pull up the following revisions(s) (requested by bouyer in ticket #1268):
sys/dev/mii/miidevs: revision 1.90
sys/dev/pci/pcidevs: revision 1.1001
sys/dev/mii/brgphy.c: revision 1.51
sys/dev/microcode/bnx/bnxfw.h: revision 1.3
sys/dev/pci/if_bnx.c: revision 1.29
sys/dev/pci/if_bnxreg.h: revision 1.9
sys/dev/pci/if_bnx.c: revision 1.30

Add support for the Broadcom BCM5709 and BCM5716 chips. Upgrade
the B06 firmware and add the B09 firmware required by the BCM5709.
Replace TX dmamap array with a dynamically-grown list.
Support associated BCM5709CAX and BCM5709C PHYs.
 1.78.4.2  04-Aug-2009  snj Apply patch (requested by msaitoh in ticket #866):
For bge:
- Fix the case of setting a flag in BGE_PCI_DMA_RW_CTL on
conventional PCI.
- Fix some bugs that the driver unable to detect link loss
(OpenBSD 1.135, FreeBSD 1.102)
- bge_tick(): fix some extra input error (OpenBSD 1.221 FreeBSD 1.212)
- Acknowledge link change interrupts by setting the 'link changed' bit
in the status register (used to have no effect). FreeBSD 1.44
(OpenBSD 1.21)
- Add some fiber support (OpenBSD 1.220)
- Set BGE_MISCCFG_KEEP_GPHY_POWER as {Open,Free}BSD and linux.
- Add special case code to fix a problem with the BCM5704 in TBI
mode (FreeBSD rev. 1.71, OpenBSD rev. 1.35)
- Force an interrupt in bge_ifmedia_upd (FreeBSD rev. 1.205, OpenBSD
rev. 1.242)
- Add missing workaround for 5705 (FreeBSD rev. 1.44, OpenBSD rev.
1.21)
- Don't print error message only when the register is BGE_SRS_MODE.
It occurs on some environment (and once after boot?). Other *BSDs
and Linux don't print the error message for all registers.
- Fix comments.
- Remove obsolete codes.
For brgphy:
- Add some quirk codes.
- Add support for BCM5462, BCM54K2 and BCM5722.
 1.78.4.1  03-May-2009  snj Pull up following revision(s) (requested by sborrill in ticket #721):
sys/dev/mii/miidevs: revision 1.81-1.83
Add ATHEROS F1 and F2 PHYs.
Add ATTANSIC and their L1/L2 PHYs.
Add a comment explaining how to regenerate miidevs.h and miidevs_data.h.
 1.78.4.4.2.1  07-Jan-2011  matt Add fresh miidevs from HEAD.
 1.78.2.3  28-Apr-2009  skrll Sync with HEAD.
 1.78.2.2  03-Mar-2009  skrll Sync with HEAD.
 1.78.2.1  19-Jan-2009  skrll Sync with HEAD.
 1.82.2.2  23-Jul-2009  jym Sync with HEAD.
 1.82.2.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.93.2.2  17-Aug-2010  uebayasi Sync with HEAD.
 1.93.2.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.94.2.4  12-Jun-2011  rmind sync with head
 1.94.2.3  31-May-2011  rmind sync with head
 1.94.2.2  05-Mar-2011  rmind sync with head
 1.94.2.1  30-May-2010  rmind sync with head
 1.98.4.1  08-Feb-2011  bouyer Sync with HEAD
 1.98.2.1  06-Jun-2011  jruoho Sync with HEAD.
 1.101.2.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.102.2.5  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.102.2.4  23-Jan-2013  yamt sync with head
 1.102.2.3  30-Oct-2012  yamt sync with head
 1.102.2.2  17-Apr-2012  yamt sync with head
 1.102.2.1  10-Nov-2011  yamt sync with head
 1.105.4.3  07-Dec-2014  martin Pull up the following changes, requested by msaitoh in #1204:
sys/dev/mii/miidevs 1.110-1.111, 1.114-1.118, 1.120-1.122 (patch)

Add some PHYs into miidevs:
- Add SMSC OUI and LAN8700 and LAN8710/LAN8720 PHY IDs.
- Add Intel I210 internal PHY.
- Add Intel I217 PHY.
- Add some IC Plus Corp. devices.
- Add Marvell 88E1543 Quad Port Gb PHY.
- Add Micrel KSZ9021RN.
- Add BCM5706 1000BASE-T/SX.
- BCM5714 and BCM5780 are used for both copper and fiber, so modify the
descriptions.
- Add Realtek RTL8251.
 1.105.4.2  07-Sep-2013  bouyer sys/dev/pci/if_bge.c 1.203-1.237, 1.239-1.241, 1.243-1.258 via patch
sys/dev/pci/if_bgereg.h 1.58-1.74, 1.76-1.83 via patch
sys/dev/pci/if_bgevar.h 1.10-1.16 via patch
sys/dev/pci/pcidevs 1.1149 via patch
sys/dev/pci/pcidevs.h regen
sys/dev/pci/pcidevs_data.h regen
sys/dev/mii/brgphy.c 1.61-1.63, 1.65, 1.67 via patch
sys/dev/mii/miivar.h 1.61 via patch
sys/dev/mii/miidevs 1.112-1.113 via patch
sys/dev/mii/miidevs.h regen
sys/dev/mii/miidevs_data.h regen
share/man/man4/bge.4 1.13-1.15 via patch

Add some device support, fix a lot of bugs and add some enahcements.
- Add Altima AC1003, APPLE BCM5701, Broadcom BCM5785F,
BCM5785G, BCM5787F, BCM5719, BCM5720, BCM57766, BCM57782 and BCM57786.
- brgphy(4): Add BCM5756, BCM5717C, BCM5719C, BCM5720C and BCM57780.
- Add some bugfixes and enhancement from FreeBSD:
- Workaround for BCM5906 silicon bug. When auto-negotiation results in
half-duplex operation, excess collision on the ethernet link may
cause internal chip delays that may result in subsequent valid
frames being dropped due to insufficient receive buffer resources.
(FreeBSD: r214219, r214251, r214292)
- Allow write DMA to request larger DMA burst size to get better
performance on BCM5785.
(FreeBSD r213333: OpenBSD 1.294)
- Enable TX MAC state machine lockup fix for both BCM5755 or higher
and BCM5906. Publicly available data sheet just says it may happen
due to corrupted TxMbuf.
(FreeBSD r214216)
- Follow Broadcom datasheet:
Delay 100 microseconds after enabling transmit MAC.
Delay 10 microseconds after enabling receive MAC.
(FreeBSD r241220)
- Insert the completion barrier between register write and the
consecutive delay(). It will fix some device timeout problems
we have seen before.
- Add DELAY(40) after turning on write DMA state machine.
- Add some workarounds for 5717 A0 and 5776[56] to be stable.
From Linux tg3 driver.
- Sync with *BSD. No functional change:
- make bge_chipid() and use it.
- use switch() instead of a lot of if()s.
- Check BGE_RXBDFLAG_IPV6 flag for 5717_PLUS case.
Note that {tcp,udp}6csum flag is currently not added in the
capability.
- Add delay after clearing BGE_MACMODE_TBI_SEND_CFGS for the link
checking. FreeBSD has the same delay().
- Rename PHY related flags for the consistency. It's the same as
FreeBSD.
- Remove BGE_10_100_ONLY flag because this was not used.
For 10/100 devices, when calling mii_attach(), mask BMSR_EXTSTAT
flag to not to check Gigabit flags. It's the same as FreeBSD.
- In brgphyattach(), set sc_isbge, sc_isbnx and sc_phyflags before
PHY_RESET() because brgphy_reset() refers those flags.
- Call brgpy specific autonego function in MII_TICK. Before this commit,
only MII_MEDIACHG calls brgphy_mii_phy_auto() and MII_TICK calls MI
mii_phy_auto(). That was not intended.
- Sync with FreeBSD and OpenBSD. Almost the same as OpenBSD rev. 1.325:
- Sync the ring setup code closer to FreeBSD's driver
- Do not touch the jumbo replenish threshold register on chips that
do not have jumbo support
- Wait for the bootcode to complete initialization for 5717 and newer
devices. See BCM5718 programmer's guide's "step 13,
Device reset Procedure, Section7".
57781's document has the same note.
- 5718 and 57785 document say we should wait 100us.
- Change the order of register settings a little to match both
Broadcom's document and Linux tg3.
- Add detach function.
- Fix a bug that chips which have BCM5906 ASIC touch GPIO wrongly.
- Fix a bug that the NVRAM lock timeout occured on sparc64 onboard bge.
- Check BGE_SGDIG_STS when the chip is NOT a 5717 A0, like freebsd
(OpenBSD rev. 1.327).
- Fix the setting of Tx Random Backoff Register.
- Add BGE_PCIMISCCTL_PCISTATE_RW in BGE_INIT. It's required to set the
PCISTATE register correctly.
- Update comments from 57XX-PG105-R.pdf and 5718-PG106-R.pdf.
- Add missing bus_dmamap_sync() in bge_intr(). The status word is
in DMAed area. Same as other *BSDs.
- Check the hardware config words and print them. This change only
read them and print the values.
- Set BGE_MISC_CTL's byte/word swap options before using
bge_readmem_ind().
- For BGE_IS_575X_PLUS() devices, don't set
BGE_RXLPSTATCONTROL_DACK_FIX bits because these bits are reserved.
- bge_init_tx_ring() uses BGE_RSLOTS (==256) but bge_free_tx_ring() uses
BGE_TX_RING_CNT (== 512). Delete BGE_RSLOTS and use BGE_TX_RING_CNT.
Same as OpenBSD's if_bge.c rev. 1.86.
- Document says 5717 and newer chips have no
BGE_PCISTATE_INTR_NOT_ACTIVE bit, so don't use the bit on those
chips. Same as OpenBSD.
- Fix a bug that the PHY address bits in MI_MODE register is wrongly
cleard. Set the PHY address correctly.
- Use BGE_SETBIT() instead of CSR_WRITE_4() for the BGE_MISC_LOCAL_CTL
register to not to modify some GPIO bits.
- Call bge_poll_fw() before writing BGE_MODE_CTL register like the
latest linux tg3 dirver.
- Set DMA watermark depend on the PCI max payload size.
- Add BGE_JUMBO_CAPABLE flag to some chips. With this commit, 5714,
5780, 5717, 5718, 5719 (exclude rev. A0), 5720, 57765 and 57766 are
added to support jumbo frame.
- Fix the setting of sc->bge_flags for 5717 and newer devices.
- Fix a link detect bug on non-autopoll systems. Same as OpenBSD
(rev.1.329 and 1.336) and FreeBSD (r213710).
- 57765 series is not based on 5717 series. 5717 series is based on
57765 series.
- Set the TX DMA segment size based on the MTU size.
- Change the TX ring size for 5717 series and 57764 series.
- For 57766, set BGE_RDMAMODE_JMB_2K_MMRR for non-jumbo frame.
Same as Linux tg3.
- For 57765 and newer devices, set BGE_MAX_RX_FRAME_LOWAT to 1.
This value is recommended by the document.
- Change sysctl related functions for consistency.
- Style change.
- Use macro. Remove duplicated macro. Remove unused variable.
- Fix comments. Add comments.
- Remove extra semicolon. Remove unused code.
[msaitoh, ticket #939]
 1.105.4.1  24-Oct-2012  riz Pull up following revision(s) (requested by msaitoh in ticket #633):
sys/dev/mii/miidevs: revision 1.106
sys/dev/mii/miidevs: revision 1.107
sys/dev/mii/miidevs: revision 1.108
sys/dev/mii/miidevs: revision 1.109
Sync a comment with a fact.
There is MII_OUI() in miivar.h not mii.h after 2001.
Add VSC8221
Add AR8035
Add another Broadcom OUI and BCM57765 1000BASE-T media interface.
Per PR kern/46961.
 1.105.2.1  29-Apr-2012  mrg sync to latest -current.
 1.108.2.5  03-Dec-2017  jdolecek update from HEAD
 1.108.2.4  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.108.2.3  23-Jun-2013  tls resync from head
 1.108.2.2  25-Feb-2013  tls resync with head
 1.108.2.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.116.2.1  18-May-2014  rmind sync with head
 1.118.2.1  10-Aug-2014  tls Rebase.
 1.120.2.3  09-Mar-2017  snj Pull up following revision(s) (requested by msaitoh in ticket #1371):
sys/dev/mii/miidevs: revision 1.125
Add some Intel devices.
 1.120.2.2  09-Dec-2016  snj Pull up following revision(s) (requested by msaitoh in ticket #1299):
sys/dev/mii/miidevs: revisions 1.123, 1.124
Add xxMarvell E6060 6-port 10/100 Fast Ethernet Switch
--
Add Marvell 88E1512.
 1.120.2.1  17-Jan-2015  martin branches: 1.120.2.1.4;
Pull up following revision(s) (requested by nonaka in ticket #433):
sys/dev/mii/miidevs: revision 1.121
sys/dev/mii/miidevs: revision 1.122
BCM5714 and BCM5780 are used for both copper and fiber.
Add Realtek RTL8251.
 1.120.2.1.4.2  13-Mar-2017  skrll Sync with netbsd-7-1-RELEASE
 1.120.2.1.4.1  18-Jan-2017  skrll Sync with netbsd-5
 1.122.2.3  28-Aug-2017  skrll Sync with HEAD
 1.122.2.2  05-Feb-2017  skrll Sync with HEAD
 1.122.2.1  22-Sep-2015  skrll Sync with HEAD
 1.124.4.1  21-Apr-2017  bouyer Sync with HEAD
 1.124.2.1  20-Mar-2017  pgoyette Sync with HEAD
 1.125.6.10  20-Jul-2020  martin Pull up following revision(s) (requested by msaitoh in ticket #1577):
sys/dev/mii/miidevs: revision 1.168
Add some Microsemi (Vitesse) devices.
 1.125.6.9  14-Apr-2020  martin Pull up the following revisions, requested by msaitoh in ticket #1529:

sys/dev/mii/miidevs 1.154, 1.162-1.167
sys/dev/mii/atphy.c 1.28 via patch
sys/dev/mii/brgphy.c 1.87 via patch
sys/dev/mii/etphy.c 1.5, 1.6 via patch
sys/dev/mii/rdcphy.c 1.6, 1.8 via patch

- Add support Broadcom BCM54213PE and some new RDC devices.
- Rename RDC to xxRDC.
- Use xxVIA instead of VIA.
- etphy(4):
- Rename ET1011 to ET1011C and add ET1011 support.
- Use mii_phy_flowstatus() to reflect flow status from negotiated
result.
- Use static.
- KNF.
 1.125.6.8  25-Nov-2019  martin Pull up the following revisions, requested by msaitoh in ticket #1457:

sys/dev/mii/miidevs 1.155-1.157, 1.159-1.160
sys/dev/mii/rlphy.c 1.37 via patch

- miidevs update:
- Add Teranetics, Aquantia and Renesas.
- Change ICPLUS(0x0090c3) to xxICPLUS(0x0009c3).
- Fix typo. from vezhlys.
- Rename JMICRON 0x0021 from JMC250 to JMP211
- Rename JMICRON 0x0022 from JMC260 to JMP202
- rlphy(4): Print model name if it's ICPLUS IP101 to avoid printing
"Realtek internal PHY".
 1.125.6.7  24-Oct-2019  martin Pull up the following revisions, requested by msaitoh in ticket #1414:

sys/dev/mii/ciphy.c 1.34-1.37 via patch
sys/dev/mii/miidevs 1.158

- Indicate master mode if the negotiated result say so.
- Call mii_phy_flowstatus() to show the flow setting.
- Match a lot of Cicada and Vitesse devices correctly.
- Add support for VSC8221, VSC8234 and VSC8641.
- KNF
 1.125.6.6  01-Aug-2019  martin Pull up following revision(s) (requested by msaitoh in ticket #1315):

sys/dev/mii/miidevs: revision 1.151
sys/dev/mii/miidevs: revision 1.152
sys/dev/mii/miidevs: revision 1.153
sys/dev/mii/miidevs: revision 1.145
sys/dev/mii/miidevs: revision 1.146
sys/dev/mii/miidevs: revision 1.147
sys/dev/mii/miidevs: revision 1.148
sys/dev/mii/miidevs: revision 1.149
sys/dev/mii/miidevs: revision 1.150

Add SMSC(Microchip) LAN911X and LAN75XX.

Fix I82578 OUI. This change only affects to MIIVERBOSE.
See also if_wm.c rev. 1.599.

Cleanup xx or yy OUIs. Sort by number.

Add yyASIX and AX88772* devices.

Add Davicom DM9161, DM9161[ABC] and DM9601.

Remove extra space.

Add Bankspeed Pty and NetExcell.

Add Amlogix GXL internal PHY

Add ID for the Broadcom BCM53125 1000BASE-T switch.
 1.125.6.5  07-Mar-2019  martin Pull up following revision(s) (requested by msaitoh in ticket #1207):

sys/dev/mii/miidevs: revision 1.140
sys/dev/mii/miidevs: revision 1.141
sys/dev/mii/miidevs: revision 1.142
sys/dev/mii/miidevs: revision 1.143
sys/dev/mii/miidevs: revision 1.144
sys/dev/mii/miidevs: revision 1.133
sys/dev/mii/miidevs: revision 1.134
sys/dev/mii/miidevs: revision 1.135
sys/dev/mii/miidevs: revision 1.136
sys/dev/mii/miidevs: revision 1.137
sys/dev/mii/miidevs: revision 1.138
sys/dev/mii/miidevs: revision 1.139

- Add Marvell 88E1240.
- Marvell model 0x0029 is not 88E1116R but E1318S.

Add RTL8201E from OpenBSD.

From OpenBSD:
- Add ASIX OUI.
- Add VIA OUI and devices.
- Add Vitesse OUI and devices.
From FreeBSD:
- Add BROADCOM4.

- Add Tridium, Data Track Technology, Netas, Ralink Technology,
Sunplus Technology and ADMtek's OUI.

- Sort by OUI.
Sort by model number.

From FreeBSD:
- Add Broadcom BCM540[24], BCM5424, BCM5466 and BCM54[78]8.
- Add ICS1893C.
- Add Micrel KSZ8081 and KSZ9031.

- Sort by model number.

- Add missing white space.

Change CS8244's OUI from xxCICADA to CICADA. I don't know whether this
change is correct or not...
Sort in alphabetical order a bit.
Add non-xx'ed DAVICOM DM9101.

- Add SMSC LAN83C185 10/100 PHY from OpenBSD
- Add SMSC LAN8740 10/100 media interface
Add SMSC(now Microchip) LAN8741A and LAN8742
 1.125.6.4  17-Jan-2019  martin Pull up the following (requested by msaitoh in ticket #1164):

sys/dev/mii/miidevs 1.128, 1.132 (patch)
sys/dev/mii/makphy.c 1.43-1.51
sys/dev/mii/makphyreg.h 1.7-1.9

- miidevs: Add E1000 with model id 0x0006, it exists according to
OpenBSD rename E1000 model 0x0000 to E1000_0 for consistency.
- Match 88E1112, 88E1118, 88E1512, 88E3082 and G65G.
- Match 88E3016 and add some 88E3016 specific code. Fixes part of
PR kern/49270 and PR kern/53301.
- Make sure page 0 is selected when we initialize the PHY. Fixes
problems with the eephy(4) that attaches to nfe(4) on machines like
the Sun Ultra 40. (we had condition for this, now the page 0 is
selected for any PHY type)
- If autonegotiation is not enabled, we need a software reset for the
settings to take effect in makphy_service().
- Don't set PSCR_CRS_ON_TX on newer. Those chips have no this bit.
- Control BMCR_PDOWN for IFM_NONE. Some chips still don't work as
expected. It would be required to modify PSCR and/or other register.
- Set mii_media_active correctly on non-autonego mode.
- Remove obsolete comment.
- Whitespace fix.
 1.125.6.3  04-Dec-2018  martin Pull up following revision(s) (requested by msaitoh in ticket #1116):

sys/dev/mii/miidevs: revision 1.130
sys/dev/mii/miidevs: revision 1.131

Sort OUI by number. No functional change.

- Add ASIX Ax88x9x
- Add description for DP83846A.
 1.125.6.2  26-Jul-2018  snj Pull up following revision(s) (requested by msaitoh in ticket #931):
sys/dev/mii/miidevs: 1.127, 1.129
Add Intel X540 internal PHY.
--
All of 88E151[0248]'s model number is 0x001d.
 1.125.6.1  22-Nov-2017  martin Pull up following revision(s) (requested by msaitoh in ticket #372):
sys/dev/mii/miidevs: revision 1.126
Add X550 and X557.
 1.126.4.4  18-Jan-2019  pgoyette Synch with HEAD
 1.126.4.3  28-Jul-2018  pgoyette Sync with HEAD
 1.126.4.2  25-Jun-2018  pgoyette Sync with HEAD
 1.126.4.1  21-May-2018  pgoyette Sync with HEAD
 1.129.2.2  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.129.2.1  10-Jun-2019  christos Sync with HEAD
 1.153.2.7  10-Jul-2020  martin Pull up following revision(s) (requested by msaitoh in ticket #990):

sys/dev/mii/miidevs: revision 1.168

Add some Microsemi (Vitesse) devices.
 1.153.2.6  14-Apr-2020  martin Pull up following revision(s) (requested by msaitoh in ticket #831):

sys/dev/mii/rdcphy.c: revision 1.6
sys/dev/mii/rdcphy.c: revision 1.8
sys/dev/mii/miidevs: revision 1.162
sys/dev/mii/miidevs: revision 1.163
sys/dev/mii/miidevs: revision 1.164
sys/dev/mii/miidevs: revision 1.165
sys/dev/mii/miidevs: revision 1.167
sys/dev/mii/brgphy.c: revision 1.87

Change the OUI macro name of RDC to xxRDC. 0x00d02d is non-bitreverse value
of official 0x000bb4. From Andrius V.
RDC -> xxRDC. No functional change.

Add BCM54213PE

Match BCM54213PE

Use xxVIA instead of VIA.
0x004063 is VIA's official OUI but VT6103 use 0x0002c6.
0x0002c6 is non-bitreversed value of 0x004063. Reported by Andrius V.

- Add Quake Technologies and Aeluros' OUI
- Add Teranetics TN1010 10GBase-T PHY
Add two new RDC PHYs from Andrius V.
Add two new RDC PHYs from Andrius V.
 1.153.2.5  19-Mar-2020  martin Pull up following revision(s) (requested by msaitoh in ticket #786):

sys/dev/pci/if_nfe.c: revision 1.77
sys/dev/pci/if_nfe.c: revision 1.78
sys/dev/mii/atphy.c: revision 1.28
sys/dev/mii/atphy.c: revision 1.29
sys/dev/mii/miidevs: revision 1.166

Use unsigned to avoid undefined behavior. Found by kUBSan.
0x001374 is non-bitreversed value of Attansic OUI(0x00c82e).
Attansic/Atheros correctly uses ID1 and ID2 register, so delete all 0x001374
related entries.

Improve error check:
- We check PHY register read error correctly (timeout and NFE_PHY_ERROR), so
don't check NFE_PHY_DATA register's value with 0xffffffff or 0. At least,
some registers may have 0.
- Check NFE_PHY_ERROR bit in nfe_miibus_writereg().
- Improve debug printf

Fix a bug that atphy(4) doesn't work with Attansic L2 rev. 1.
Reported by Rocky Hotas.

- On ASUS M2N-MX SE Plus (NVIDIA MCP61 with Attansic L2 rev. 1), changing
debug port 0x29's value makes the next PHY read fail with error. Read any
register to ignore this problem if the PHY is Attansic L2 revision 1.
I don't know if this problem is from L2 rev. 1 itself or from the
combination because I have only one machine which has L2 rev. "1".
At least, ASUS eee pc 900 (Attansic L2 rev. "2") has no this problem.
- Add comment. AR8021 document has no description about the power saving
control register(debug port 0x29).
- Add comment. AR8031 document says the lower 14 bits are reserved and the
default value is 0x36d0. Shouldn't we clear those bits?
- I have no document neither L1(F1) nor L2(F2), so I don't know whether the
debug port access is correct or not.
Tested with the following machines:
- ASUS P5B SE, L1 rev. 5, age(4)
- ASUS K50IJ, L1 rev. 9, ale(4)
- ASUS eee pc 900, L2 rev. 2, lii(4)
- ASUS M2N-MX SE Plus, L2 rev. 1, nfe(4)
- Intel DP55WB, 82578(AR8021 rev. 2), wm(4)
- Dell inspiron 14z, AR0835 rev. 9, alc(4)
 1.153.2.4  25-Nov-2019  martin Pull up following revision(s) (requested by msaitoh in ticket #479):

sys/dev/mii/micphy.c: revision 1.9
sys/dev/mii/miidevs: revision 1.161
share/man/man4/micphy.4: revision 1.3

Add Micrel (now Microchip) KSZ80[0456]1, KSZ8721, KSZ9[01]31, KS8731 and
KSZ9477.

Add support for KSZ80[0456]1, KSZ8721, KSZ9[01]31, KS8731 and KSZ9477.
It also supports LAN7430's internal PHY. First wrote by nisimura@ and added
some device support by me. Not tested well.
 1.153.2.3  25-Nov-2019  martin Pull up following revision(s) (requested by msaitoh in ticket #473):

sys/dev/mii/rlphy.c: revision 1.37
sys/dev/mii/miidevs: revision 1.155
sys/dev/mii/miidevs: revision 1.156
sys/dev/mii/miidevs: revision 1.157
sys/dev/mii/miidevs: revision 1.159
sys/dev/mii/miidevs: revision 1.160

Add Teranetics, Aquantia and Renesas.

Use uppercase for vendor name.

Change ICPLUS(0x0090c3) to xxICPLUS(0x0009c3)
- ICPLUS -> xxICPLUS
- Print model name if it's ICPLUS IP101 to avoid "Realtek internal PHY".

Fix typo. from vezhlys
- Rename JMICRON 0x0021 from JMC250 to JMP211
- Rename JMICRON 0x0022 from JMC260 to JMP202
 1.153.2.2  23-Oct-2019  martin Pull up following revision(s) (requested by msaitoh in ticket #372):

sys/dev/mii/miidevs: revision 1.158
sys/dev/mii/ciphy.c: revision 1.37

- All of Cicada and Vitesse devices' OUI are not bit-reversed, so use "xx".
- Rename CS82xx -> CIS82xx
- Add Vitesse VSC8224, VSC8234, VSC8641 and VSC8501.
- Match a lot of Cicada and Vitesse devices correctly. This change also fixes
a bug that ciphy_fixup() didn't work.
- Match VSC8221, VSC8234 and VSC8641.
 1.153.2.1  01-Sep-2019  martin Pull up following revision(s) (requested by msaitoh in ticket #144):

sys/dev/mii/miidevs: revision 1.154
sys/dev/mii/etphy.c: revision 1.5
sys/dev/mii/etphy.c: revision 1.6

No functional change:
- Use static.
- KNF.

From FreeBSD:
- Rename ET1011 to ET1011C
- Add ET1011

From FreeBSD:
- Support ET1011.
- Use mii_phy_flowstatus() to reflect flow status from negotiated result.
 1.161.2.1  29-Feb-2020  ad Sync with head.
 1.168.20.1  20-Jun-2024  martin Pull up following revision(s) (requested by msaitoh in ticket #712):

sys/dev/mii/miidevs: revision 1.170
sys/dev/mii/miidevs: revision 1.171
sys/dev/mii/miidevs: revision 1.169

Add MaxLinear GPY21[125] 2.5G PHY.

miidevs: Update I22[56]
- Add model 0x0001 and 0x0005 for I226 and 0x000c for I225.
Need more info to write better descriptions.
- Modify GPY211's description a little.

miidevs: Add MaxLinear GPY115.
 1.171.6.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed