head	1.92;
access;
symbols
	RELENG_8_4:1.91.0.2
	RELENG_9_1_0_RELEASE:1.83.2.5.2.2
	RELENG_9_1:1.83.2.5.0.2
	RELENG_9_1_BP:1.83.2.5
	RELENG_8_3_0_RELEASE:1.65.2.18.2.1
	RELENG_8_3:1.65.2.18.0.2
	RELENG_8_3_BP:1.65.2.18
	RELENG_9_0_0_RELEASE:1.83.2.1.2.1
	RELENG_9_0:1.83.2.1.0.2
	RELENG_9_0_BP:1.83.2.1
	RELENG_9:1.83.0.2
	RELENG_9_BP:1.83
	RELENG_7_4_0_RELEASE:1.46.2.26.2.1
	RELENG_8_2_0_RELEASE:1.65.2.12.2.1
	RELENG_7_4:1.46.2.26.0.2
	RELENG_7_4_BP:1.46.2.26
	RELENG_8_2:1.65.2.12.0.2
	RELENG_8_2_BP:1.65.2.12
	RELENG_8_1_0_RELEASE:1.65.2.7.2.1
	RELENG_8_1:1.65.2.7.0.2
	RELENG_8_1_BP:1.65.2.7
	RELENG_7_3_0_RELEASE:1.46.2.15.2.1
	RELENG_7_3:1.46.2.15.0.2
	RELENG_7_3_BP:1.46.2.15
	RELENG_8_0_0_RELEASE:1.65.2.1.2.1
	RELENG_8_0:1.65.2.1.0.2
	RELENG_8_0_BP:1.65.2.1
	RELENG_8:1.65.0.2
	RELENG_8_BP:1.65
	RELENG_7_2_0_RELEASE:1.46.2.10.2.1
	RELENG_7_2:1.46.2.10.0.2
	RELENG_7_2_BP:1.46.2.10
	RELENG_7_1_0_RELEASE:1.46.2.9.2.1
	RELENG_6_4_0_RELEASE:1.30.2.17.2.1
	RELENG_7_1:1.46.2.9.0.2
	RELENG_7_1_BP:1.46.2.9
	RELENG_6_4:1.30.2.17.0.2
	RELENG_6_4_BP:1.30.2.17
	RELENG_7_0_0_RELEASE:1.46.2.1
	RELENG_6_3_0_RELEASE:1.30.2.11
	RELENG_7_0:1.46.2.1.0.2
	RELENG_7_0_BP:1.46.2.1
	RELENG_6_3:1.30.2.11.0.2
	RELENG_6_3_BP:1.30.2.11
	RELENG_7:1.46.0.2
	RELENG_7_BP:1.46
	RELENG_6_2_0_RELEASE:1.30.2.4
	RELENG_6_2:1.30.2.4.0.2
	RELENG_6_2_BP:1.30.2.4
	RELENG_5_5_0_RELEASE:1.27.4.3
	RELENG_5_5:1.27.4.3.0.2
	RELENG_5_5_BP:1.27.4.3
	RELENG_6_1_0_RELEASE:1.30.2.1.2.1
	RELENG_6_1:1.30.2.1.0.2
	RELENG_6_1_BP:1.30.2.1
	RELENG_6_0_0_RELEASE:1.30
	RELENG_6_0:1.30.0.4
	RELENG_6_0_BP:1.30
	RELENG_6:1.30.0.2
	RELENG_6_BP:1.30
	RELENG_5_4_0_RELEASE:1.27.4.2
	RELENG_5_4:1.27.4.2.0.2
	RELENG_5_4_BP:1.27.4.2
	RELENG_4_11_0_RELEASE:1.4.2.15
	RELENG_4_11:1.4.2.15.0.2
	RELENG_4_11_BP:1.4.2.15
	RELENG_5_3_0_RELEASE:1.27.4.1
	RELENG_5_3:1.27.4.1.0.2
	RELENG_5_3_BP:1.27.4.1
	RELENG_5:1.27.0.4
	RELENG_5_BP:1.27
	RELENG_4_10_0_RELEASE:1.4.2.14
	RELENG_4_10:1.4.2.14.0.4
	RELENG_4_10_BP:1.4.2.14
	RELENG_5_2_1_RELEASE:1.27
	RELENG_5_2_0_RELEASE:1.27
	RELENG_5_2:1.27.0.2
	RELENG_5_2_BP:1.27
	RELENG_4_9_0_RELEASE:1.4.2.14
	RELENG_4_9:1.4.2.14.0.2
	RELENG_4_9_BP:1.4.2.14
	RELENG_5_1_0_RELEASE:1.23
	RELENG_5_1:1.23.0.2
	RELENG_5_1_BP:1.23
	RELENG_4_8_0_RELEASE:1.4.2.10
	RELENG_4_8:1.4.2.10.0.2
	RELENG_4_8_BP:1.4.2.10
	RELENG_5_0_0_RELEASE:1.21
	RELENG_5_0:1.21.0.2
	RELENG_5_0_BP:1.21
	RELENG_4_7_0_RELEASE:1.4.2.9
	RELENG_4_7:1.4.2.9.0.4
	RELENG_4_7_BP:1.4.2.9
	RELENG_4_6_2_RELEASE:1.4.2.9
	RELENG_4_6_1_RELEASE:1.4.2.9
	RELENG_4_6_0_RELEASE:1.4.2.9
	RELENG_4_6:1.4.2.9.0.2
	RELENG_4_6_BP:1.4.2.9
	RELENG_4_5_0_RELEASE:1.4.2.7
	RELENG_4_5:1.4.2.7.0.2
	RELENG_4_5_BP:1.4.2.7
	RELENG_4_4_0_RELEASE:1.4.2.6
	RELENG_4_4:1.4.2.6.0.2
	RELENG_4_4_BP:1.4.2.6
	KSE_MILESTONE_2:1.15
	KSE_PRE_MILESTONE_2:1.15
	RELENG_4_3_0_RELEASE:1.4.2.3
	RELENG_4_3:1.4.2.3.0.2
	RELENG_4_3_BP:1.4.2.3
	RELENG_4_2_0_RELEASE:1.4.2.3
	RELENG_4_1_1_RELEASE:1.4.2.2
	PRE_SMPNG:1.6
	RELENG_4_1_0_RELEASE:1.4.2.1
	RELENG_4_0_0_RELEASE:1.4
	RELENG_4:1.4.0.2
	RELENG_4_BP:1.4;
locks; strict;
comment	@# @;


1.92
date	2013.07.21.00.27.47;	author svnexp;	state Exp;
branches;
next	1.91;

1.91
date	2012.12.20.05.04.43;	author svnexp;	state Exp;
branches
	1.91.2.1;
next	1.90;

1.90
date	2012.11.17.01.52.04;	author svnexp;	state Exp;
branches;
next	1.89;

1.89
date	2012.08.15.04.03.55;	author gonzo;	state Exp;
branches;
next	1.88;

1.88
date	2012.05.25.15.05.17;	author raj;	state Exp;
branches;
next	1.87;

1.87
date	2012.02.19.12.25.58;	author marius;	state Exp;
branches;
next	1.86;

1.86
date	2012.02.19.12.09.17;	author marius;	state Exp;
branches;
next	1.85;

1.85
date	2011.11.23.20.08.56;	author marius;	state Exp;
branches;
next	1.84;

1.84
date	2011.10.28.00.40.19;	author yongari;	state Exp;
branches;
next	1.83;

1.83
date	2011.06.30.05.20.02;	author imp;	state Exp;
branches
	1.83.2.1;
next	1.82;

1.82
date	2011.05.09.20.20.43;	author yongari;	state Exp;
branches;
next	1.81;

1.81
date	2011.05.03.19.51.29;	author marius;	state Exp;
branches;
next	1.80;

1.80
date	2011.05.02.20.37.30;	author marius;	state Exp;
branches;
next	1.79;

1.79
date	2011.01.26.21.07.44;	author yongari;	state Exp;
branches;
next	1.78;

1.78
date	2010.12.30.23.50.25;	author yongari;	state Exp;
branches;
next	1.77;

1.77
date	2010.11.22.22.03.11;	author marius;	state Exp;
branches;
next	1.76;

1.76
date	2010.11.08.21.23.28;	author jmallett;	state Exp;
branches;
next	1.75;

1.75
date	2010.10.27.17.16.40;	author yongari;	state Exp;
branches;
next	1.74;

1.74
date	2010.08.09.17.22.14;	author yongari;	state Exp;
branches;
next	1.73;

1.73
date	2010.08.07.23.16.21;	author yongari;	state Exp;
branches;
next	1.72;

1.72
date	2010.04.30.19.01.55;	author yongari;	state Exp;
branches;
next	1.71;

1.71
date	2010.04.13.20.07.52;	author yongari;	state Exp;
branches;
next	1.70;

1.70
date	2010.03.18.20.57.57;	author davidch;	state Exp;
branches;
next	1.69;

1.69
date	2010.03.03.17.55.51;	author joel;	state Exp;
branches;
next	1.68;

1.68
date	2010.02.20.22.01.24;	author marius;	state Exp;
branches;
next	1.67;

1.67
date	2010.01.14.00.36.49;	author yongari;	state Exp;
branches;
next	1.66;

1.66
date	2009.11.02.18.15.11;	author yongari;	state Exp;
branches;
next	1.65;

1.65
date	2009.06.13.23.27.04;	author marius;	state Exp;
branches
	1.65.2.1;
next	1.64;

1.64
date	2009.05.25.02.36.29;	author yongari;	state Exp;
branches;
next	1.63;

1.63
date	2009.03.30.01.47.32;	author imp;	state Exp;
branches;
next	1.62;

1.62
date	2008.10.23.01.27.15;	author yongari;	state Exp;
branches;
next	1.61;

1.61
date	2008.10.03.10.31.31;	author stas;	state Exp;
branches;
next	1.60;

1.60
date	2008.09.30.07.30.05;	author yongari;	state Exp;
branches;
next	1.59;

1.59
date	2008.09.04.11.09.40;	author raj;	state Exp;
branches;
next	1.58;

1.58
date	2008.06.20.19.28.33;	author delphij;	state Exp;
branches;
next	1.57;

1.57
date	2008.06.06.05.00.49;	author benno;	state Exp;
branches;
next	1.56;

1.56
date	2008.05.27.01.16.40;	author yongari;	state Exp;
branches;
next	1.55;

1.55
date	2008.05.19.01.12.10;	author yongari;	state Exp;
branches;
next	1.54;

1.54
date	2008.04.29.19.47.13;	author jhb;	state Exp;
branches;
next	1.53;

1.53
date	2008.04.26.18.07.24;	author raj;	state Exp;
branches;
next	1.52;

1.52
date	2008.04.05.00.52.07;	author yongari;	state Exp;
branches;
next	1.51;

1.51
date	2008.03.06.21.42.48;	author jhb;	state Exp;
branches;
next	1.50;

1.50
date	2008.03.05.22.58.02;	author davidch;	state Exp;
branches;
next	1.49;

1.49
date	2008.03.03.18.44.33;	author raj;	state Exp;
branches;
next	1.48;

1.48
date	2008.01.27.01.10.41;	author marius;	state Exp;
branches;
next	1.47;

1.47
date	2007.10.29.02.17.44;	author yongari;	state Exp;
branches;
next	1.46;

1.46
date	2007.06.11.02.02.20;	author yongari;	state Exp;
branches
	1.46.2.1;
next	1.45;

1.45
date	2007.06.07.02.21.38;	author davidch;	state Exp;
branches;
next	1.44;

1.44
date	2007.06.06.07.05.02;	author yongari;	state Exp;
branches;
next	1.43;

1.43
date	2007.06.06.06.53.40;	author yongari;	state Exp;
branches;
next	1.42;

1.42
date	2007.04.10.20.43.23;	author marius;	state Exp;
branches;
next	1.41;

1.41
date	2007.02.21.18.17.44;	author jhb;	state Exp;
branches;
next	1.40;

1.40
date	2007.01.26.17.05.24;	author dwhite;	state Exp;
branches;
next	1.39;

1.39
date	2007.01.15.21.43.43;	author jkim;	state Exp;
branches;
next	1.38;

1.38
date	2007.01.05.01.46.26;	author ticso;	state Exp;
branches;
next	1.37;

1.37
date	2006.12.11.10.42.04;	author yongari;	state Exp;
branches;
next	1.36;

1.36
date	2006.12.11.01.29.40;	author scottl;	state Exp;
branches;
next	1.35;

1.35
date	2006.12.02.21.18.56;	author marius;	state Exp;
branches;
next	1.34;

1.34
date	2006.08.31.11.13.51;	author yongari;	state Exp;
branches;
next	1.33;

1.33
date	2006.07.25.00.14.00;	author yongari;	state Exp;
branches;
next	1.32;

1.32
date	2006.04.10.19.55.23;	author ps;	state Exp;
branches;
next	1.31;

1.31
date	2006.03.23.09.53.39;	author oleg;	state Exp;
branches;
next	1.30;

1.30
date	2005.05.19.21.08.58;	author ps;	state Exp;
branches
	1.30.2.1;
next	1.29;

1.29
date	2004.09.24.22.24.33;	author ps;	state Exp;
branches;
next	1.28;

1.28
date	2004.09.10.20.57.45;	author wpaul;	state Exp;
branches;
next	1.27;

1.27
date	2003.09.20.10.53.08;	author wilko;	state Exp;
branches
	1.27.4.1;
next	1.26;

1.26
date	2003.09.11.03.53.46;	author wpaul;	state Exp;
branches;
next	1.25;

1.25
date	2003.09.09.18.17.23;	author wpaul;	state Exp;
branches;
next	1.24;

1.24
date	2003.07.16.00.09.56;	author wpaul;	state Exp;
branches;
next	1.23;

1.23
date	2003.05.02.19.53.40;	author ps;	state Exp;
branches;
next	1.22;

1.22
date	2003.01.12.21.03.37;	author obrien;	state Exp;
branches;
next	1.21;

1.21
date	2002.09.08.19.12.02;	author jdp;	state Exp;
branches;
next	1.20;

1.20
date	2002.07.05.11.07.24;	author benno;	state Exp;
branches;
next	1.19;

1.19
date	2002.07.05.11.02.17;	author benno;	state Exp;
branches;
next	1.18;

1.18
date	2002.04.07.20.55.49;	author wpaul;	state Exp;
branches;
next	1.17;

1.17
date	2002.03.22.06.38.52;	author wpaul;	state Exp;
branches;
next	1.16;

1.16
date	2001.09.29.19.18.52;	author jlemon;	state Exp;
branches;
next	1.15;

1.15
date	2001.09.04.22.00.33;	author wpaul;	state Exp;
branches;
next	1.14;

1.14
date	2001.05.23.22.10.55;	author wpaul;	state Exp;
branches;
next	1.13;

1.13
date	2001.05.11.20.34.38;	author jlemon;	state Exp;
branches;
next	1.12;

1.12
date	2001.05.11.19.56.36;	author wpaul;	state Exp;
branches;
next	1.11;

1.11
date	2001.04.09.21.28.53;	author mjacob;	state Exp;
branches;
next	1.10;

1.10
date	2001.03.12.02.27.10;	author jlemon;	state Exp;
branches;
next	1.9;

1.9
date	2000.10.12.00.15.52;	author imp;	state Exp;
branches;
next	1.8;

1.8
date	2000.10.12.00.15.10;	author imp;	state Exp;
branches;
next	1.7;

1.7
date	2000.09.20.17.02.16;	author wpaul;	state Exp;
branches;
next	1.6;

1.6
date	2000.06.21.19.26.01;	author semenu;	state Exp;
branches;
next	1.5;

1.5
date	2000.04.22.01.54.55;	author wpaul;	state Exp;
branches;
next	1.4;

1.4
date	99.09.05.15.21.05;	author peter;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	99.08.29.15.42.04;	author wpaul;	state Exp;
branches;
next	1.2;

1.2
date	99.08.28.00.42.14;	author peter;	state Exp;
branches;
next	1.1;

1.1
date	99.08.21.17.40.43;	author wpaul;	state Exp;
branches;
next	;

1.91.2.1
date	2012.12.20.05.04.43;	author svnexp;	state dead;
branches;
next	1.91.2.2;

1.91.2.2
date	2013.03.28.13.04.47;	author svnexp;	state Exp;
branches;
next	;

1.83.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.83.2.1.2.1;
next	1.83.2.2;

1.83.2.2
date	2012.01.03.00.45.14;	author yongari;	state Exp;
branches;
next	1.83.2.3;

1.83.2.3
date	2012.01.29.01.29.31;	author marius;	state Exp;
branches;
next	1.83.2.4;

1.83.2.4
date	2012.02.25.00.35.19;	author marius;	state Exp;
branches;
next	1.83.2.5;

1.83.2.5
date	2012.02.25.00.41.35;	author marius;	state Exp;
branches
	1.83.2.5.2.1;
next	1.83.2.6;

1.83.2.6
date	2012.11.17.11.37.02;	author svnexp;	state Exp;
branches;
next	1.83.2.7;

1.83.2.7
date	2013.01.24.03.02.22;	author svnexp;	state Exp;
branches;
next	1.83.2.8;

1.83.2.8
date	2013.11.04.06.04.07;	author svnexp;	state Exp;
branches;
next	1.83.2.9;

1.83.2.9
date	2013.12.05.08.04.17;	author svnexp;	state Exp;
branches;
next	;

1.83.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.83.2.1.2.2;

1.83.2.1.2.2
date	2012.11.17.08.36.58;	author svnexp;	state Exp;
branches;
next	;

1.83.2.5.2.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.83.2.5.2.2;

1.83.2.5.2.2
date	2012.11.17.08.47.50;	author svnexp;	state Exp;
branches;
next	;

1.65.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.65.2.1.2.1;
next	1.65.2.2;

1.65.2.2
date	2009.11.29.19.46.15;	author yongari;	state Exp;
branches;
next	1.65.2.3;

1.65.2.3
date	2010.01.21.00.37.14;	author yongari;	state Exp;
branches;
next	1.65.2.4;

1.65.2.4
date	2010.03.15.19.04.44;	author marius;	state Exp;
branches;
next	1.65.2.5;

1.65.2.5
date	2010.04.15.19.19.59;	author yongari;	state Exp;
branches;
next	1.65.2.6;

1.65.2.6
date	2010.04.22.01.39.45;	author yongari;	state Exp;
branches;
next	1.65.2.7;

1.65.2.7
date	2010.05.06.18.50.23;	author yongari;	state Exp;
branches
	1.65.2.7.2.1;
next	1.65.2.8;

1.65.2.8
date	2010.08.30.20.59.13;	author yongari;	state Exp;
branches;
next	1.65.2.9;

1.65.2.9
date	2010.08.30.21.11.45;	author yongari;	state Exp;
branches;
next	1.65.2.10;

1.65.2.10
date	2010.10.17.12.11.42;	author marius;	state Exp;
branches;
next	1.65.2.11;

1.65.2.11
date	2010.11.08.19.22.36;	author yongari;	state Exp;
branches;
next	1.65.2.12;

1.65.2.12
date	2010.11.26.20.59.43;	author marius;	state Exp;
branches
	1.65.2.12.2.1;
next	1.65.2.13;

1.65.2.13
date	2011.02.04.20.12.45;	author yongari;	state Exp;
branches;
next	1.65.2.14;

1.65.2.14
date	2011.05.14.20.51.17;	author marius;	state Exp;
branches;
next	1.65.2.15;

1.65.2.15
date	2011.08.23.14.00.01;	author marius;	state Exp;
branches;
next	1.65.2.16;

1.65.2.16
date	2012.01.03.00.47.54;	author yongari;	state Exp;
branches;
next	1.65.2.17;

1.65.2.17
date	2012.02.25.00.35.28;	author marius;	state Exp;
branches;
next	1.65.2.18;

1.65.2.18
date	2012.02.25.00.41.37;	author marius;	state Exp;
branches
	1.65.2.18.2.1;
next	1.65.2.19;

1.65.2.19
date	2012.11.17.10.36.41;	author svnexp;	state Exp;
branches;
next	1.65.2.20;

1.65.2.20
date	2013.01.24.02.24.36;	author svnexp;	state Exp;
branches;
next	;

1.65.2.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.65.2.7.2.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.65.2.12.2.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.65.2.18.2.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.65.2.18.2.2;

1.65.2.18.2.2
date	2012.11.17.08.25.20;	author svnexp;	state Exp;
branches;
next	;

1.46.2.1
date	2007.11.05.01.42.02;	author yongari;	state Exp;
branches;
next	1.46.2.2;

1.46.2.2
date	2008.02.10.16.02.29;	author marius;	state Exp;
branches;
next	1.46.2.3;

1.46.2.3
date	2008.03.17.18.23.44;	author jhb;	state Exp;
branches;
next	1.46.2.4;

1.46.2.4
date	2008.04.22.06.35.37;	author yongari;	state Exp;
branches;
next	1.46.2.5;

1.46.2.5
date	2008.06.19.03.56.39;	author yongari;	state Exp;
branches;
next	1.46.2.6;

1.46.2.6
date	2008.06.27.03.24.54;	author jhb;	state Exp;
branches;
next	1.46.2.7;

1.46.2.7
date	2008.07.04.01.29.12;	author delphij;	state Exp;
branches;
next	1.46.2.8;

1.46.2.8
date	2008.07.16.00.44.49;	author yongari;	state Exp;
branches;
next	1.46.2.9;

1.46.2.9
date	2008.10.25.21.42.43;	author stas;	state Exp;
branches
	1.46.2.9.2.1;
next	1.46.2.10;

1.46.2.10
date	2009.01.12.02.31.22;	author yongari;	state Exp;
branches
	1.46.2.10.2.1;
next	1.46.2.11;

1.46.2.11
date	2009.06.02.23.30.02;	author davidch;	state Exp;
branches;
next	1.46.2.12;

1.46.2.12
date	2009.06.18.04.51.07;	author yongari;	state Exp;
branches;
next	1.46.2.13;

1.46.2.13
date	2009.09.20.00.54.51;	author marius;	state Exp;
branches;
next	1.46.2.14;

1.46.2.14
date	2009.11.29.19.47.31;	author yongari;	state Exp;
branches;
next	1.46.2.15;

1.46.2.15
date	2010.01.21.00.39.45;	author yongari;	state Exp;
branches
	1.46.2.15.2.1;
next	1.46.2.16;

1.46.2.16
date	2010.03.15.19.04.51;	author marius;	state Exp;
branches;
next	1.46.2.17;

1.46.2.17
date	2010.04.15.19.22.55;	author yongari;	state Exp;
branches;
next	1.46.2.18;

1.46.2.18
date	2010.04.22.01.45.18;	author yongari;	state Exp;
branches;
next	1.46.2.19;

1.46.2.19
date	2010.05.06.18.51.47;	author yongari;	state Exp;
branches;
next	1.46.2.20;

1.46.2.20
date	2010.08.30.21.00.37;	author yongari;	state Exp;
branches;
next	1.46.2.21;

1.46.2.21
date	2010.08.30.21.13.08;	author yongari;	state Exp;
branches;
next	1.46.2.22;

1.46.2.22
date	2010.10.17.12.11.43;	author marius;	state Exp;
branches;
next	1.46.2.23;

1.46.2.23
date	2010.10.17.12.43.15;	author marius;	state Exp;
branches;
next	1.46.2.24;

1.46.2.24
date	2010.10.17.12.47.07;	author marius;	state Exp;
branches;
next	1.46.2.25;

1.46.2.25
date	2010.11.08.19.25.47;	author yongari;	state Exp;
branches;
next	1.46.2.26;

1.46.2.26
date	2010.11.26.20.59.43;	author marius;	state Exp;
branches
	1.46.2.26.2.1;
next	1.46.2.27;

1.46.2.27
date	2011.02.04.20.27.50;	author yongari;	state Exp;
branches;
next	1.46.2.28;

1.46.2.28
date	2011.05.14.20.51.19;	author marius;	state Exp;
branches;
next	1.46.2.29;

1.46.2.29
date	2011.08.23.14.01.04;	author marius;	state Exp;
branches;
next	1.46.2.30;

1.46.2.30
date	2012.01.03.00.49.12;	author yongari;	state Exp;
branches;
next	1.46.2.31;

1.46.2.31
date	2012.02.25.00.35.32;	author marius;	state Exp;
branches;
next	1.46.2.32;

1.46.2.32
date	2012.02.25.00.41.38;	author marius;	state Exp;
branches;
next	1.46.2.33;

1.46.2.33
date	2012.11.17.08.05.50;	author svnexp;	state Exp;
branches;
next	;

1.46.2.9.2.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.46.2.10.2.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.46.2.15.2.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.46.2.26.2.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.46.2.26.2.2;

1.46.2.26.2.2
date	2012.11.17.08.17.15;	author svnexp;	state Exp;
branches;
next	;

1.30.2.1
date	2006.04.05.20.41.47;	author oleg;	state Exp;
branches
	1.30.2.1.2.1;
next	1.30.2.2;

1.30.2.2
date	2006.04.12.17.45.27;	author ps;	state Exp;
branches;
next	1.30.2.3;

1.30.2.3
date	2006.08.08.07.51.21;	author yongari;	state Exp;
branches;
next	1.30.2.4;

1.30.2.4
date	2006.10.21.00.25.38;	author yongari;	state Exp;
branches;
next	1.30.2.5;

1.30.2.5
date	2007.02.25.18.16.31;	author marius;	state Exp;
branches;
next	1.30.2.6;

1.30.2.6
date	2007.02.26.20.58.08;	author jhb;	state Exp;
branches;
next	1.30.2.7;

1.30.2.7
date	2007.03.21.22.53.22;	author jkim;	state Exp;
branches;
next	1.30.2.8;

1.30.2.8
date	2007.03.22.03.57.00;	author yongari;	state Exp;
branches;
next	1.30.2.9;

1.30.2.9
date	2007.04.30.20.59.57;	author marius;	state Exp;
branches;
next	1.30.2.10;

1.30.2.10
date	2007.06.14.21.07.19;	author davidch;	state Exp;
branches;
next	1.30.2.11;

1.30.2.11
date	2007.11.05.02.09.31;	author yongari;	state Exp;
branches;
next	1.30.2.12;

1.30.2.12
date	2008.02.10.16.02.50;	author marius;	state Exp;
branches;
next	1.30.2.13;

1.30.2.13
date	2008.03.17.18.24.04;	author jhb;	state Exp;
branches;
next	1.30.2.14;

1.30.2.14
date	2008.03.19.01.11.39;	author yongari;	state Exp;
branches;
next	1.30.2.15;

1.30.2.15
date	2008.04.22.06.39.07;	author yongari;	state Exp;
branches;
next	1.30.2.16;

1.30.2.16
date	2008.06.27.03.35.48;	author jhb;	state Exp;
branches;
next	1.30.2.17;

1.30.2.17
date	2008.07.24.00.50.50;	author yongari;	state Exp;
branches
	1.30.2.17.2.1;
next	1.30.2.18;

1.30.2.18
date	2008.12.05.19.53.12;	author jhb;	state Exp;
branches;
next	1.30.2.19;

1.30.2.19
date	2009.11.06.17.58.44;	author ambrisko;	state Exp;
branches;
next	1.30.2.20;

1.30.2.20
date	2010.03.15.19.04.56;	author marius;	state Exp;
branches;
next	1.30.2.21;

1.30.2.21
date	2012.11.17.07.43.22;	author svnexp;	state Exp;
branches;
next	;

1.30.2.1.2.1
date	2006.04.12.18.09.28;	author ps;	state Exp;
branches;
next	;

1.30.2.17.2.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;

1.27.4.1
date	2004.09.14.21.22.33;	author wpaul;	state Exp;
branches;
next	1.27.4.2;

1.27.4.2
date	2004.12.15.03.38.06;	author ps;	state Exp;
branches;
next	1.27.4.3;

1.27.4.3
date	2005.05.19.21.12.04;	author ps;	state Exp;
branches;
next	;

1.4.2.1
date	2000.04.27.14.42.26;	author wpaul;	state Exp;
branches;
next	1.4.2.2;

1.4.2.2
date	2000.09.10.19.22.04;	author semenu;	state Exp;
branches;
next	1.4.2.3;

1.4.2.3
date	2000.10.03.18.31.47;	author wpaul;	state Exp;
branches;
next	1.4.2.4;

1.4.2.4
date	2001.04.21.16.13.28;	author mjacob;	state Exp;
branches;
next	1.4.2.5;

1.4.2.5
date	2001.05.13.00.17.37;	author jlemon;	state Exp;
branches;
next	1.4.2.6;

1.4.2.6
date	2001.06.18.18.49.13;	author wpaul;	state Exp;
branches;
next	1.4.2.7;

1.4.2.7
date	2001.10.01.18.31.08;	author wpaul;	state Exp;
branches;
next	1.4.2.8;

1.4.2.8
date	2002.04.04.06.12.48;	author wpaul;	state Exp;
branches;
next	1.4.2.9;

1.4.2.9
date	2002.04.11.07.03.27;	author wpaul;	state Exp;
branches;
next	1.4.2.10;

1.4.2.10
date	2002.12.11.21.26.56;	author ps;	state Exp;
branches;
next	1.4.2.11;

1.4.2.11
date	2003.05.11.18.00.55;	author ps;	state Exp;
branches;
next	1.4.2.12;

1.4.2.12
date	2003.05.13.21.21.33;	author ps;	state Exp;
branches;
next	1.4.2.13;

1.4.2.13
date	2003.07.22.02.12.55;	author ps;	state Exp;
branches;
next	1.4.2.14;

1.4.2.14
date	2003.10.14.18.22.42;	author wilko;	state Exp;
branches;
next	1.4.2.15;

1.4.2.15
date	2004.11.16.19.32.16;	author ps;	state Exp;
branches;
next	1.4.2.16;

1.4.2.16
date	2005.06.03.19.14.02;	author ps;	state Exp;
branches;
next	1.4.2.17;

1.4.2.17
date	2006.06.23.16.47.45;	author jhb;	state Exp;
branches;
next	1.4.2.18;

1.4.2.18
date	2006.12.07.16.25.31;	author jhb;	state Exp;
branches;
next	1.4.2.19;

1.4.2.19
date	2012.11.17.07.25.48;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.92
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/253481
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@$FreeBSD: head/sys/dev/mii/miidevs 253481 2013-07-20 07:24:01Z yongari $
/*$NetBSD: miidevs,v 1.105 2011/11/25 23:28:14 jakllsch Exp $*/

/*-
 * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
 * All rights reserved.
 *
 * This code is derived from software contributed to The NetBSD Foundation
 * by Jason R. Thorpe of the Numerical Aerospace Simulation Facility,
 * NASA Ames Research Center.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 *
 * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
 * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
 * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 * POSSIBILITY OF SUCH DAMAGE.
 */

/*
 * List of known MII OUIs.
 * For a complete list see http://standards.ieee.org/regauth/oui/
 *
 * XXX Vendors do obviously not agree how OUIs (24 bit) are mapped
 * to the 22 bits available in the id registers.
 * IEEE 802.3u-1995, subclause 22.2.4.3.1, figure 22-12, depicts the right
 * mapping; the bit positions are defined in IEEE 802-1990, figure 5.2.
 * (There is a formal 802.3 interpretation, number 1-07/98 of July 09 1998,
 * about this.)
 * The MII_OUI() macro in "mii.h" reflects this.
 * If a vendor uses a different mapping, an "xx" prefixed OUI is defined here
 * which is mangled accordingly to compensate.
 */

oui AGERE			0x00053d	Agere Systems
oui ALTIMA			0x0010a9	Altima Communications
oui AMD				0x00001a	Advanced Micro Devices
oui BROADCOM			0x001018	Broadcom Corporation
oui BROADCOM2			0x000af7	Broadcom Corporation
oui BROADCOM3			0x001be9	Broadcom Corporation
oui BROADCOM4			0x18c086	Broadcom Corporation
oui CICADA			0x0003f1	Cicada Semiconductor
oui DAVICOM			0x00606e	Davicom Semiconductor
oui ENABLESEMI			0x0010dd	Enable Semiconductor
oui ICPLUS			0x0090c3	IC Plus Corp.
oui ICS				0x00a0be	Integrated Circuit Systems
oui INTEL			0x00aa00	Intel Corporation
oui JMICRON			0x00d831	JMicron Technologies
oui LEVEL1			0x00207b	Level 1
oui MARVELL			0x005043	Marvell Semiconductor
oui MYSON			0x00c0b4	Myson Technology
oui NATSEMI			0x080017	National Semiconductor
oui PMCSIERRA			0x00e004	PMC-Sierra
oui QUALSEMI			0x006051	Quality Semiconductor
oui RDC				0x00d02d	RDC Semiconductor
oui REALTEK			0x00e04c	RealTek Semicondctor
oui SEEQ			0x00a07d	Seeq Technology
oui SIS				0x00e006	Silicon Integrated Systems
oui SMC				0x00800f	SMC
oui TI				0x080028	Texas Instruments
oui TSC				0x00c039	TDK Semiconductor
oui VITESSE			0x0001c1	Vitesse Semiconductor
oui XAQTI			0x00e0ae	XaQti Corp.

/* Some Intel 82553's use an alternative OUI. */
oui xxINTEL			0x001f00	Intel Corporation

/* Some VIA 6122's use an alternative OUI. */
oui xxCICADA			0x00c08f	Cicada Semiconductor

/* bad bitorder (bits "g" and "h" (= MSBs byte 1) lost) */
oui yyAMD			0x000058	Advanced Micro Devices
oui xxATHEROS			0x00c82e	Atheros Communications
oui xxBROADCOM			0x000818	Broadcom Corporation
oui xxBROADCOM_ALT1		0x0050ef	Broadcom Corporation
oui xxDAVICOM			0x000676	Davicom Semiconductor
oui yyINTEL			0x005500	Intel Corporation
oui xxJATO			0x0007c1	Jato Technologies
oui xxMARVELL			0x000ac2	Marvell Semiconductor
oui xxMYSON			0x00032d	Myson Technology
oui xxNATSEMI			0x1000e8	National Semiconductor
oui xxQUALSEMI			0x00068a	Quality Semiconductor
oui xxTSC			0x00039c	TDK Semiconductor
oui xxVITESSE			0x008083	Vitesse Semiconductor

/* bad byteorder (bits "q" and "r" (= LSBs byte 3) lost) */
oui xxLEVEL1			0x782000	Level 1
oui xxXAQTI			0xace000	XaQti Corp.

/* Don't know what's going on here. */
oui xxASIX			0x000674	Asix Semiconductor
oui yyDAVICOM			0x000602	Davicom Semiconductor
oui xxICPLUS			0x0009c3	IC Plus Corp.
oui xxPMCSIERRA			0x0009c0	PMC-Sierra
oui xxPMCSIERRA2		0x009057	PMC-Sierra
oui xxREALTEK			0x000732	RealTek Semicondctor
oui yyREALTEK			0x000004	RealTek Semicondctor

/*
 * List of known models.  Grouped by oui.
 */

/* Agere Systems PHYs */
model AGERE ET1011		0x0001 ET1011 10/100/1000baseT PHY
model AGERE ET1011C		0x0004 ET1011C 10/100/1000baseT PHY

/* Altima Communications PHYs */
model ALTIMA ACXXX		0x0001 ACXXX 10/100 media interface
model ALTIMA AC101L		0x0012 AC101L 10/100 media interface
model ALTIMA AC101		0x0021 AC101 10/100 media interface
/* AMD Am79C87[45] have ALTIMA OUI */
model ALTIMA Am79C875		0x0014 Am79C875 10/100 media interface
model ALTIMA Am79C874		0x0021 Am79C874 10/100 media interface

/* Advanced Micro Devices PHYs */
/* see Davicom DM9101 for Am79C873 */
model yyAMD 79C972_10T		0x0001 Am79C972 internal 10BASE-T interface
model yyAMD 79c973phy		0x0036 Am79C973 internal 10/100 media interface
model yyAMD 79c901		0x0037 Am79C901 10BASE-T interface
model yyAMD 79c901home		0x0039 Am79C901 HomePNA 1.0 interface

/* Atheros Communications/Attansic PHYs */
model xxATHEROS F1		0x0001 Atheros F1 10/100/1000 PHY
model xxATHEROS F2		0x0002 Atheros F2 10/100 PHY
model xxATHEROS F1_7		0x0007 Atheros F1 10/100/1000 PHY

/* Asix semiconductor PHYs */
model xxASIX AX88X9X		0x0031 Ax88x9x internal PHY

/* Broadcom Corp. PHYs */
model xxBROADCOM 3C905B		0x0012 Broadcom 3c905B internal PHY
model xxBROADCOM 3C905C		0x0017 Broadcom 3c905C internal PHY
model xxBROADCOM BCM5201	0x0021 BCM5201 10/100 media interface
model xxBROADCOM BCM5214	0x0028 BCM5214 Quad 10/100 media interface
model xxBROADCOM BCM5221	0x001e BCM5221 10/100 media interface
model xxBROADCOM BCM5222	0x0032 BCM5222 Dual 10/100 media interface
model xxBROADCOM BCM4401	0x0036 BCM4401 10/100 media interface
model xxBROADCOM BCM5365	0x0037 BCM5365 10/100 5-port PHY switch
model BROADCOM BCM5400		0x0004 BCM5400 1000BASE-T media interface
model BROADCOM BCM5401		0x0005 BCM5401 1000BASE-T media interface
model BROADCOM BCM5411		0x0007 BCM5411 1000BASE-T media interface
model BROADCOM BCM5464		0x000b BCM5464 1000BASE-T media interface
model BROADCOM BCM5461		0x000c BCM5461 1000BASE-T media interface
model BROADCOM BCM5462		0x000d BCM5462 1000BASE-T media interface
model BROADCOM BCM5421		0x000e BCM5421 1000BASE-T media interface
model BROADCOM BCM5752		0x0010 BCM5752 1000BASE-T media interface
model BROADCOM BCM5701		0x0011 BCM5701 1000BASE-T media interface
model BROADCOM BCM5706		0x0015 BCM5706 1000BASE-T/SX media interface
model BROADCOM BCM5703		0x0016 BCM5703 1000BASE-T media interface
model BROADCOM BCM5750		0x0018 BCM5750 1000BASE-T media interface
model BROADCOM BCM5704		0x0019 BCM5704 1000BASE-T media interface
model BROADCOM BCM5705		0x001a BCM5705 1000BASE-T media interface
model BROADCOM BCM54K2		0x002e BCM54K2 1000BASE-T media interface
model BROADCOM BCM5714		0x0034 BCM5714 1000BASE-T media interface
model BROADCOM BCM5780		0x0035 BCM5780 1000BASE-T media interface
model BROADCOM BCM5708C		0x0036 BCM5708C 1000BASE-T media interface
model BROADCOM2 BCM5325		0x0003 BCM5325 10/100 5-port PHY switch
model BROADCOM2 BCM5906		0x0004 BCM5906 10/100baseTX media interface
model BROADCOM2 BCM5481		0x000a BCM5481 1000BASE-T media interface
model BROADCOM2 BCM5482		0x000b BCM5482 1000BASE-T media interface
model BROADCOM2 BCM5755		0x000c BCM5755 1000BASE-T media interface
model BROADCOM2 BCM5754		0x000e BCM5754/5787 1000BASE-T media interface
model BROADCOM2 BCM5708S	0x0015 BCM5708S 1000/2500baseSX PHY
model BROADCOM2 BCM5785		0x0016 BCM5785 1000BASE-T media interface
model BROADCOM2 BCM5709CAX	0x002c BCM5709CAX 10/100/1000baseT PHY
model BROADCOM2 BCM5722		0x002d BCM5722 1000BASE-T media interface
model BROADCOM2 BCM5784		0x003a BCM5784 10/100/1000baseT PHY
model BROADCOM2 BCM5709C	0x003c BCM5709 10/100/1000baseT PHY
model BROADCOM2 BCM5761		0x003d BCM5761 10/100/1000baseT PHY
model BROADCOM2 BCM5709S	0x003f BCM5709S/5720S 1000/2500baseSX PHY
model BROADCOM3 BCM57780	0x0019 BCM57780 1000BASE-T media interface
model BROADCOM3 BCM5717C	0x0020 BCM5717C 1000BASE-T media interface
model BROADCOM3 BCM5719C	0x0022 BCM5719C 1000BASE-T media interface
model BROADCOM3 BCM57765	0x0024 BCM57765 1000BASE-T media interface
model BROADCOM3 BCM5720C	0x0036 BCM5720C 1000BASE-T media interface
model BROADCOM4 BCM5725C	0x0038 BCM5725C 1000BASE-T media interface
model xxBROADCOM_ALT1 BCM5906	0x0004 BCM5906 10/100baseTX media interface

/* Cicada Semiconductor PHYs (now owned by Vitesse?) */
model xxCICADA CS8201		0x0001 Cicada CS8201 10/100/1000TX PHY
model xxCICADA CS8204		0x0004 Cicada CS8204 10/100/1000TX PHY
model xxCICADA VSC8211		0x000b Cicada VSC8211 10/100/1000TX PHY
model xxCICADA VSC8221		0x0015 Cicada CS8201 10/100/1000TX PHY
model xxCICADA CS8201A		0x0020 Cicada CS8201 10/100/1000TX PHY
model xxCICADA CS8201B		0x0021 Cicada CS8201 10/100/1000TX PHY
model xxCICADA CS8244		0x002c Cicada CS8244 10/100/1000TX PHY
model xxVITESSE VSC8601		0x0002 Vitesse VSC8601 10/100/1000TX PHY

/* Davicom Semiconductor PHYs */
/* AMD Am79C873 seems to be a relabeled DM9101 */
model xxDAVICOM DM9101		0x0000 DM9101 (AMD Am79C873) 10/100 media interface
model xxDAVICOM DM9102		0x0004 DM9102 10/100 media interface
model yyDAVICOM DM9101		0x0000 DM9101 10/100 media interface

/* IC Plus Corp. PHYs */
model xxICPLUS IP101		0x0005 IP101 10/100 PHY
model xxICPLUS IP1000A		0x0008 IP100A 10/100/1000 media interface
model xxICPLUS IP1001		0x0019 IP1001 10/100/1000 media interface

/* Integrated Circuit Systems PHYs */
model ICS 1889			0x0001 ICS1889 10/100 media interface
model ICS 1890			0x0002 ICS1890 10/100 media interface
model ICS 1892			0x0003 ICS1892 10/100 media interface
model ICS 1893			0x0004 ICS1893 10/100 media interface

/* Intel Corporation PHYs */
model xxINTEL I82553		0x0000 i82553 10/100 media interface
model yyINTEL I82555		0x0015 i82555 10/100 media interface
model yyINTEL I82562EH		0x0017 i82562EH HomePNA interface
model yyINTEL I82562G		0x0031 i82562G 10/100 media interface
model yyINTEL I82562EM		0x0032 i82562EM 10/100 media interface
model yyINTEL I82562ET		0x0033 i82562ET 10/100 media interface
model yyINTEL I82553		0x0035 i82553 10/100 media interface
model yyINTEL I82566		0x0039 i82566 10/100/1000 media interface
model INTEL I82577		0x0005 i82577 10/100/1000 media interface
model INTEL I82579		0x0009 i82579 10/100/1000 media interface
model xxMARVELL I82563		0x000a i82563 10/100/1000 media interface

model yyINTEL IGP01E1000	0x0038 Intel IGP01E1000 Gigabit PHY

/* Jato Technologies PHYs */
model xxJATO BASEX		0x0000 Jato 1000baseX media interface

/* JMicron Technologies PHYs */
model JMICRON JMP211		0x0021 JMP211 10/100/1000 media interface
model JMICRON JMP202		0x0022 JMP202 10/100 media interface

/* Level 1 PHYs */
model xxLEVEL1 LXT970		0x0000 LXT970 10/100 media interface
model LEVEL1 LXT971		0x000e LXT971/2 10/100 media interface
model LEVEL1 LXT973		0x0021 LXT973 10/100 Dual PHY
model LEVEL1 LXT974		0x0004 LXT974 10/100 Quad PHY
model LEVEL1 LXT975		0x0005 LXT975 10/100 Quad PHY
model LEVEL1 LXT1000_OLD	0x0003 LXT1000 1000BASE-T media interface
model LEVEL1 LXT1000		0x000c LXT1000 1000BASE-T media interface

/* Marvell Semiconductor PHYs */
model xxMARVELL E1000		0x0000 Marvell 88E1000 Gigabit PHY
model xxMARVELL E1011		0x0002 Marvell 88E1011 Gigabit PHY
model xxMARVELL E1000_3		0x0003 Marvell 88E1000 Gigabit PHY
model xxMARVELL E1000S		0x0004 Marvell 88E1000S Gigabit PHY
model xxMARVELL E1000_5		0x0005 Marvell 88E1000 Gigabit PHY
model xxMARVELL E1101		0x0006 Marvell 88E1101 Gigabit PHY
model xxMARVELL E3082		0x0008 Marvell 88E3082 10/100 Fast Ethernet PHY
model xxMARVELL E1112		0x0009 Marvell 88E1112 Gigabit PHY
model xxMARVELL E1149		0x000b Marvell 88E1149 Gigabit PHY
model xxMARVELL E1111		0x000c Marvell 88E1111 Gigabit PHY
model xxMARVELL E1145		0x000d Marvell 88E1145 Quad Gigabit PHY
model xxMARVELL E1116		0x0021 Marvell 88E1116 Gigabit PHY
model xxMARVELL E1116R		0x0024 Marvell 88E1116R Gigabit PHY
model xxMARVELL E1118		0x0022 Marvell 88E1118 Gigabit PHY
model xxMARVELL E1149R		0x0025 Marvell 88E1149R Quad Gigabit PHY
model xxMARVELL E3016		0x0026 Marvell 88E3016 10/100 Fast Ethernet PHY
model xxMARVELL PHYG65G		0x0027 Marvell PHYG65G Gigabit PHY
model xxMARVELL E1116R_29	0x0029 Marvell 88E1116R Gigabit PHY
model MARVELL E1000		0x0005 Marvell 88E1000 Gigabit PHY
model MARVELL E1011		0x0002 Marvell 88E1011 Gigabit PHY
model MARVELL E1000_3		0x0003 Marvell 88E1000 Gigabit PHY
model MARVELL E1000_5		0x0005 Marvell 88E1000 Gigabit PHY
model MARVELL E1111		0x000c Marvell 88E1111 Gigabit PHY

/* Myson Technology PHYs */
model xxMYSON MTD972		0x0000 MTD972 10/100 media interface
model MYSON MTD803		0x0000 MTD803 3-in-1 media interface

/* National Semiconductor PHYs */
model xxNATSEMI DP83840		0x0000 DP83840 10/100 media interface
model xxNATSEMI DP83843		0x0001 DP83843 10/100 media interface
model xxNATSEMI DP83815		0x0002 DP83815 10/100 media interface
model xxNATSEMI DP83847		0x0003 DP83847 10/100 media interface
model xxNATSEMI DP83891		0x0005 DP83891 1000BASE-T media interface
model xxNATSEMI DP83861		0x0006 DP83861 1000BASE-T media interface
model xxNATSEMI DP83865		0x0007 DP83865 1000BASE-T media interface
model xxNATSEMI DP83849		0x000a DP83849 10/100 media interface

/* PMC Sierra PHYs */
model xxPMCSIERRA PM8351	0x0000 PM8351 OctalPHY Gigabit interface
model xxPMCSIERRA2 PM8352	0x0002 PM8352 OctalPHY Gigabit interface
model xxPMCSIERRA2 PM8353	0x0003 PM8353 QuadPHY Gigabit interface
model PMCSIERRA PM8354		0x0004 PM8354 QuadPHY Gigabit interface

/* Quality Semiconductor PHYs */
model xxQUALSEMI QS6612		0x0000 QS6612 10/100 media interface

/* RDC Semiconductor PHYs */
model RDC R6040			0x0003 R6040 10/100 media interface

/* RealTek Semicondctor PHYs */
model yyREALTEK RTL8201L	0x0020 RTL8201L 10/100 media interface
model xxREALTEK RTL8169S	0x0011 RTL8169S/8110S/8211 1000BASE-T media interface
model REALTEK RTL8305SC		0x0005 RTL8305SC 10/100 802.1q switch
model REALTEK RTL8201E		0x0008 RTL8201E 10/100 media interface
model REALTEK RTL8169S		0x0011 RTL8169S/8110S/8211 1000BASE-T media interface

/* Seeq Seeq PHYs */
model SEEQ 80220		0x0003 Seeq 80220 10/100 media interface
model SEEQ 84220		0x0004 Seeq 84220 10/100 media interface
model SEEQ 80225		0x0008 Seeq 80225 10/100 media interface

/* Silicon Integrated Systems PHYs */
model SIS 900			0x0000 SiS 900 10/100 media interface

/* Texas Instruments PHYs */
model TI TLAN10T		0x0001 ThunderLAN 10BASE-T media interface
model TI 100VGPMI		0x0002 ThunderLAN 100VG-AnyLan media interface
model TI TNETE2101		0x0003 TNETE2101 media interface

/* TDK Semiconductor PHYs */
model xxTSC 78Q2120		0x0014 78Q2120 10/100 media interface
model xxTSC 78Q2121		0x0015 78Q2121 100BASE-TX media interface

/* Vitesse Semiconductor */
model xxVITESSE VSC8641		0x0003 Vitesse VSC8641 10/100/1000TX PHY

/* XaQti Corp. PHYs */
model xxXAQTI XMACII		0x0000 XaQti Corp. XMAC II gigabit interface

/* SMC */
model SMC LAN8710A		0x000F SMC LAN8710A 10/100 interface
@


1.91
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/244482
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
$FreeBSD: head/sys/dev/mii/miidevs 244482 2012-12-20 05:02:12Z yongari $
d55 1
d190 1
@


1.91.2.1
log
@file miidevs was added on branch RELENG_8_4 on 2013-03-28 13:04:47 +0000
@
text
@d1 331
@


1.91.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 270
$FreeBSD: releng/8.4/sys/dev/mii/miidevs 245866 2013-01-24 02:20:25Z yongari $
/*$NetBSD: miidevs,v 1.6 1999/05/14 11:37:30 drochner Exp $*/

/*-
 * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
 * All rights reserved.
 *
 * This code is derived from software contributed to The NetBSD Foundation
 * by Jason R. Thorpe of the Numerical Aerospace Simulation Facility,
 * NASA Ames Research Center.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 *
 * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
 * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
 * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 * POSSIBILITY OF SUCH DAMAGE.
 */

/*
 * List of known MII OUIs.
 * For a complete list see http://standards.ieee.org/regauth/oui/
 *
 * XXX Vendors do obviously not agree how OUIs (18 bit) are mapped
 * to the 16 bits available in the id registers. The MII_OUI() macro
 * in "mii.h" reflects the most obvious way. If a vendor uses a
 * different mapping, an "xx" prefixed OUI is defined here which is
 * mangled accordingly to compensate.
 */

oui AGERE			0x00a0bc	Agere Systems
oui ALTIMA			0x0010a9	Altima Communications
oui AMD				0x00001a	Advanced Micro Devices
oui ASIX			0x00602e	Asix Semiconductor
oui ATHEROS			0x001374	Atheros Communications
oui BROADCOM			0x001018	Broadcom Corporation
oui BROADCOM2			0x000af7	Broadcom Corporation
oui CICADA			0x0003F1	Cicada Semiconductor
oui DAVICOM			0x00606e	Davicom Semiconductor
oui ICPLUS			0x0090c3	IC Plus Corp.
oui ICS				0x00a0be	Integrated Circuit Systems
oui INTEL			0x00aa00	Intel
oui JATO			0x00e083	Jato Technologies
oui JMICRON			0x001b8c	JMicron Technologies
oui LEVEL1			0x00207b	Level 1
oui NATSEMI			0x080017	National Semiconductor
oui QUALSEMI			0x006051	Quality Semiconductor
oui RDC				0x000bb4	RDC Semiconductor
oui REALTEK			0x000020	RealTek Semicondctor
oui SEEQ			0x00a07d	Seeq
oui SIS				0x00e006	Silicon Integrated Systems
oui SMSC			0x0005be	SMSC
oui TDK				0x00c039	TDK
oui TI				0x080028	Texas Instruments
oui VITESSE			0x0001c1	Vitesse Semiconductor
oui XAQTI			0x00e0ae	XaQti Corp.
oui MARVELL			0x005043	Marvell Semiconductor
oui xxMARVELL			0x000ac2	Marvell Semiconductor

/* in the 79c873, AMD uses another OUI (which matches Davicom!) */
oui xxAMD			0x00606e	Advanced Micro Devices

/* Intel 82553 A/B steppings */
oui xxINTEL			0x00f800	Intel

/* some vendors have the bits swapped within bytes
	(ie, ordered as on the wire) */
oui xxALTIMA			0x000895	Altima Communications
oui xxBROADCOM			0x000818	Broadcom Corporation
oui xxBROADCOM_ALT1		0x0050ef	Broadcom Corporation
oui xxBROADCOM_ALT2		0x00d897	Broadcom Corporation
oui xxICS			0x00057d	Integrated Circuit Systems
oui xxSEEQ			0x0005be	Seeq
oui xxSIS			0x000760	Silicon Integrated Systems
oui xxTI			0x100014	Texas Instruments
oui xxXAQTI			0x350700	XaQti Corp.

/* Level 1 is completely different - from right to left.
	(Two bits get lost in the third OUI byte.) */
oui xxLEVEL1			0x1e0400	Level 1

/* Don't know what's going on here. */
oui xxDAVICOM			0x006040	Davicom Semiconductor

/* This is the OUI of the gigE PHY in the RealTek 8169S/8110S/8211B chips */
oui xxREALTEK			0x000732

/*
 * List of known models.  Grouped by oui.
 */

/* Agere Systems PHYs */
model AGERE ET1011		0x0001 ET1011 10/100/1000baseT PHY
model AGERE ET1011C		0x0004 ET1011C 10/100/1000baseT PHY

/* Altima Communications PHYs */
model xxALTIMA AC101		0x0021 AC101 10/100 media interface
model xxALTIMA AC101L		0x0012 AC101L 10/100 media interface
model xxALTIMA ACXXX		0x0001 ACXXX 10/100 media interface

/* Advanced Micro Devices PHYs */
model AMD 79c973phy		0x0036 Am79c973 internal PHY
model AMD 79c978		0x0039 Am79c978 HomePNA PHY
model xxAMD 79C873		0x0000 Am79C873/DM9101 10/100 media interface

/* Asix semiconductor PHYs. */
model ASIX AX88X9X		0x0031 Ax88x9x internal PHY

/* Atheros Communications/Attansic PHYs. */
model ATHEROS F1		0x0001 Atheros F1 10/100/1000 PHY
model ATHEROS F2		0x0002 Atheros F2 10/100 PHY
model ATHEROS F1_7		0x0007 Atheros F1 10/100/1000 PHY

/* Broadcom Corp. PHYs. */
model BROADCOM 3C905B		0x0012 3c905B 10/100 internal PHY
model BROADCOM 3C905C		0x0017 3c905C 10/100 internal PHY
model BROADCOM BCM5201		0x0021 BCM5201 10/100baseTX PHY
model BROADCOM BCM5214		0x0028 BCM5214 Quad 10/100 PHY
model BROADCOM BCM5221		0x001e BCM5221 10/100baseTX PHY
model BROADCOM BCM5222		0x0032 BCM5222 Dual 10/100 PHY
model BROADCOM BCM4401		0x0036 BCM4401 10/100baseTX PHY
model xxBROADCOM BCM5400	0x0004 Broadcom 1000baseTX PHY
model xxBROADCOM BCM5401	0x0005 BCM5401 10/100/1000baseTX PHY
model xxBROADCOM BCM5411	0x0007 BCM5411 10/100/1000baseTX PHY
model xxBROADCOM BCM5754	0x000e BCM5754 10/100/1000baseTX PHY
model xxBROADCOM BCM5752	0x0010 BCM5752 10/100/1000baseTX PHY
model xxBROADCOM BCM5701	0x0011 BCM5701 10/100/1000baseTX PHY
model xxBROADCOM BCM5706	0x0015 BCM5706 10/100/1000baseTX/SX PHY
model xxBROADCOM BCM5703	0x0016 BCM5703 10/100/1000baseTX PHY
model xxBROADCOM BCM5704	0x0019 BCM5704 10/100/1000baseTX PHY
model xxBROADCOM BCM5705	0x001a BCM5705 10/100/1000baseTX PHY
model xxBROADCOM BCM5750	0x0018 BCM5750 10/100/1000baseTX PHY
model xxBROADCOM BCM54K2	0x002e BCM54K2 10/100/1000baseTX PHY
model xxBROADCOM BCM5714	0x0034 BCM5714 10/100/1000baseTX PHY
model xxBROADCOM BCM5780	0x0035 BCM5780 10/100/1000baseTX PHY
model xxBROADCOM BCM5708C	0x0036 BCM5708C 10/100/1000baseTX PHY
model xxBROADCOM_ALT1 BCM5755	0x000c BCM5755 10/100/1000baseTX PHY
model xxBROADCOM_ALT1 BCM5787	0x000e BCM5787 10/100/1000baseTX PHY
model xxBROADCOM_ALT1 BCM5708S	0x0015 BCM5708S 1000/2500BaseSX PHY
model xxBROADCOM_ALT1 BCM5709CAX	0x002c BCM5709C(AX) 10/100/1000baseTX PHY
model xxBROADCOM_ALT1 BCM5722	0x002d BCM5722 10/100/1000baseTX PHY
model xxBROADCOM_ALT1 BCM5784	0x003a BCM5784 10/100/1000baseTX PHY
model xxBROADCOM_ALT1 BCM5709C	0x003c BCM5709C 10/100/1000baseTX PHY
model xxBROADCOM_ALT1 BCM5761	0x003d BCM5761 10/100/1000baseTX PHY
model xxBROADCOM_ALT1 BCM5709S	0x003f BCM5709S/5720S 1000/2500baseSX PHY
model xxBROADCOM_ALT2 BCM57780	0x0019 BCM57780 1000BASE-T media interface
model xxBROADCOM_ALT2 BCM5717C	0x0020 BCM5717C 10/100/1000baseTX PHY
model xxBROADCOM_ALT2 BCM5719C	0x0022 BCM5719C 10/100/1000baseTX PHY
model xxBROADCOM_ALT2 BCM57765	0x0024 BCM57765 10/100/1000baseTX PHY
model xxBROADCOM_ALT2 BCM5720C	0x0036 BCM5720C 10/100/1000baseTX PHY
model BROADCOM2 BCM5906		0x0004 BCM5906 10/100baseTX PHY

/* Cicada Semiconductor PHYs (now owned by Vitesse?) */
model CICADA CS8201		0x0001 Cicada CS8201 10/100/1000TX PHY
model CICADA CS8204		0x0004 Cicada CS8204 10/100/1000TX PHY
model CICADA VSC8211		0x000b Cicada VSC8211 10/100/1000TX PHY
model CICADA CS8201A		0x0020 Cicada CS8201 10/100/1000TX PHY
model CICADA CS8201B		0x0021 Cicada CS8201 10/100/1000TX PHY
model CICADA CS8244		0x002c Cicada CS8244 10/100/1000TX PHY
model VITESSE VSC8601		0x0002 Vitesse VSC8601 10/100/1000TX PHY

/* Davicom Semiconductor PHYs */
model DAVICOM DM9102		0x0004 DM9102 10/100 media interface
model xxDAVICOM DM9101		0x0000 DM9101 10/100 media interface

/* Integrated Circuit Systems PHYs */
model xxICS 1889		0x0001 ICS1889 10/100 media interface
model xxICS 1890		0x0002 ICS1890 10/100 media interface
model xxICS 1892		0x0003 ICS1892 10/100 media interface
model xxICS 1893		0x0004 ICS1893 10/100 media interface

/* IC Plus Corp. PHYs */
model ICPLUS IP101		0x0005 IC Plus 10/100 PHY
model ICPLUS IP1000A		0x0008 IC Plus 10/100/1000 media interface
model ICPLUS IP1001		0x0019 IC Plus IP1001 10/100/1000 media interface

/* Intel PHYs */
model xxINTEL I82553AB		0x0000 i83553 10/100 media interface
model INTEL I82555		0x0015 i82555 10/100 media interface
model INTEL I82562EM		0x0032 i82562EM 10/100 media interface
model INTEL I82562ET		0x0033 i82562ET 10/100 media interface
model INTEL I82553C		0x0035 i82553 10/100 media interface

/* Jato Technologies PHYs */
model JATO BASEX		0x0000 Jato 1000baseX media interface

/* JMicron Technologies PHYs */
model JMICRON JMP211		0x0021 JMP211 10/100/1000 media interface
model JMICRON JMP202		0x0022 JMP202 10/100 media interface

/* Level 1 PHYs */
model xxLEVEL1 LXT970		0x0000 LXT970 10/100 media interface

/* National Semiconductor PHYs */
model NATSEMI DP83840		0x0000 DP83840 10/100 media interface
model NATSEMI DP83843		0x0001 DP83843 10/100 media interface
model NATSEMI DP83815		0x0002 DP83815 10/100 media interface
model NATSEMI DP83847		0x0003 DP83847 10/100 media interface
model NATSEMI DP83891		0x0005 DP83891 10/100/1000 media interface
model NATSEMI DP83861		0x0006 DP83861 10/100/1000 media interface
model NATSEMI DP83865		0x0007 DP83865 10/100/1000 media interface
model NATSEMI DP83849		0x000a DP83849 10/100 media interface

/* Quality Semiconductor PHYs */
model QUALSEMI QS6612		0x0000 QS6612 10/100 media interface

/* RDC Semiconductor PHYs */
model RDC R6040			0x0003 R6040 10/100 media interface

/* RealTek Semiconductor PHYs */
model REALTEK RTL8201L		0x0020 RTL8201L 10/100 media interface
model xxREALTEK RTL8305SC	0x0005 RTL8305SC 10/100 802.1q switch
model xxREALTEK RTL8169S	0x0011 RTL8169S/8110S/8211B media interface

/* Seeq PHYs */
model xxSEEQ 80220		0x0003 Seeq 80220 10/100 media interface
model xxSEEQ 84220		0x0004 Seeq 84220 10/100 media interface

/* Silicon Integrated Systems PHYs */
model xxSIS 900			0x0000 SiS 900 10/100 media interface

/* SMSC PHYs */
model SMSC LAN83C183		0x0004 SMSC LAN83C183 10/100 media interface

/* TDK */
model TDK 78Q2120		0x0014 TDK 78Q2120 media interface

/* Texas Instruments PHYs */
model xxTI TLAN10T		0x0001 ThunderLAN 10baseT media interface
model xxTI 100VGPMI		0x0002 ThunderLAN 100VG-AnyLan media interface

/* XaQti Corp. PHYs. */
model XAQTI XMACII		0x0000 XaQti Corp. XMAC II gigabit interface

/* Marvell Semiconductor PHYs */
model MARVELL E1000		0x0000 Marvell 88E1000 Gigabit PHY
model MARVELL E1011		0x0002 Marvell 88E1011 Gigabit PHY
model MARVELL E1000_3		0x0003 Marvell 88E1000 Gigabit PHY
model MARVELL E1000S		0x0004 Marvell 88E1000S Gigabit PHY
model MARVELL E1000_5		0x0005 Marvell 88E1000 Gigabit PHY
model MARVELL E1101		0x0006 Marvell 88E1101 Gigabit PHY
model MARVELL E3082		0x0008 Marvell 88E3082 10/100 Fast Ethernet PHY
model MARVELL E1112		0x0009 Marvell 88E1112 Gigabit PHY
model MARVELL E1149		0x000b Marvell 88E1149 Gigabit PHY
model MARVELL E1111		0x000c Marvell 88E1111 Gigabit PHY
model MARVELL E1116		0x0021 Marvell 88E1116 Gigabit PHY
model MARVELL E1116R		0x0024 Marvell 88E1116R Gigabit PHY
model MARVELL E1118		0x0022 Marvell 88E1118 Gigabit PHY
model MARVELL E1149R		0x0025 Marvell 88E1149R Quad Gigabit PHY
model MARVELL E3016		0x0026 Marvell 88E3016 10/100 Fast Ethernet PHY
model MARVELL PHYG65G		0x0027 Marvell PHYG65G Gigabit PHY
model xxMARVELL E1000		0x0005 Marvell 88E1000 Gigabit PHY
model xxMARVELL E1011		0x0002 Marvell 88E1011 Gigabit PHY
model xxMARVELL E1000_3		0x0003 Marvell 88E1000 Gigabit PHY
model xxMARVELL E1000_5		0x0005 Marvell 88E1000 Gigabit PHY
model xxMARVELL E1111		0x000c Marvell 88E1111 Gigabit PHY
@


1.90
log
@Switching exporter and resync
@
text
@d1 1
a1 1
$FreeBSD: head/sys/dev/mii/miidevs 239275 2012-08-15 04:03:55Z gonzo $
d183 1
a183 1
model BROADCOM2 BCM5709S	0x003f BCM5709S 1000/2500baseSX PHY
@


1.89
log
@SVN rev 239275 on 2012-08-15 04:03:55Z by gonzo

Merging of projects/armv6, part 5

- Driver for SMSC LAN95XX and LAN8710A ethernet controllers
- Driver for LAN8710A PHY

Submitted by:	Ben Gray, Damjan Marion, Tim Kientzle
@
text
@d1 1
a1 1
$FreeBSD$
@


1.88
log
@SVN rev 235999 on 2012-05-25 15:05:17Z by raj

More Cicada/Vitesse PHY ids.

Obtained from:	Semihalf
@
text
@d72 1
d329 3
@


1.87
log
@SVN rev 231914 on 2012-02-19 12:25:58Z by marius

Probe the National DP83849, which is a dual-port version of the PHYTER.

Obtained from:	NetBSD
@
text
@d55 1
a55 1
oui CICADA			0x0003F1	Cicada Semiconductor
d74 1
d194 1
d323 3
@


1.86
log
@SVN rev 231913 on 2012-02-19 12:09:17Z by marius

- Probe BCM57780.
- In case the parent is bge(4), don't set the Jumbo frame settings unless
  the MAC actually is Jumbo capable as otherwise the PHY might not have the
  corresponding registers implemented. This is also in line with what the
  Linux tg3 driver does.

PR:		165032
Submitted by:	Alexander Milanov
Obtained from:	OpenBSD
MFC after:	3 days
@
text
@d2 1
a2 1
/*$NetBSD: miidevs,v 1.104 2011/11/12 11:10:49 sekiya Exp $*/
d283 1
@


1.85
log
@SVN rev 227906 on 2011-11-23 20:08:56Z by marius

Sync with NetBSD rev. 1.104

Obtained from:	NetBSD
@
text
@d182 1
@


1.84
log
@SVN rev 226870 on 2011-10-28 00:40:19Z by yongari

Recognize BCM5720C PHY.
@
text
@d2 1
a2 1
/*$NetBSD: miidevs,v 1.99 2011/01/26 18:39:04 bouyer Exp $*/
d149 1
d168 1
d175 1
d224 4
d256 1
d263 1
d270 4
@


1.83
log
@SVN rev 223688 on 2011-06-30 05:20:02Z by imp

Add detection for the Marvel 88E1149R and treat it just like the
88E1149.
@
text
@d182 1
@


1.83.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.83.2.2
log
@SVN rev 229357 on 2012-01-03 00:45:14Z by yongari

MFC r226870:
  Recognize BCM5720C PHY.
@
text
@a181 1
model BROADCOM3 BCM5720C	0x0036 BCM5720C 1000BASE-T media interface
@


1.83.2.3
log
@SVN rev 230716 on 2012-01-29 01:29:31Z by marius

MFC: r227906

Sync with NetBSD rev. 1.104

Obtained from:	NetBSD
@
text
@d2 1
a2 1
/*$NetBSD: miidevs,v 1.104 2011/11/12 11:10:49 sekiya Exp $*/
a148 1
model xxBROADCOM BCM5365	0x0037 BCM5365 10/100 5-port PHY switch
a166 1
model BROADCOM2 BCM5325		0x0003 BCM5325 10/100 5-port PHY switch
a172 1
model BROADCOM2 BCM5785		0x0016 BCM5785 1000BASE-T media interface
a220 4
model INTEL I82579		0x0009 i82579 10/100/1000 media interface
model xxMARVELL I82563		0x000a i82563 10/100/1000 media interface

model yyINTEL IGP01E1000	0x0038 Intel IGP01E1000 Gigabit PHY
a248 1
model xxMARVELL E1145		0x000d Marvell 88E1145 Quad Gigabit PHY
a254 1
model xxMARVELL E1116R_29	0x0029 Marvell 88E1116R Gigabit PHY
a260 4
/* Myson Technology PHYs */
model xxMYSON MTD972		0x0000 MTD972 10/100 media interface
model MYSON MTD803		0x0000 MTD803 3-in-1 media interface

@


1.83.2.4
log
@SVN rev 232134 on 2012-02-25 00:35:19Z by marius

MFC: r231913

- Probe BCM57780.
- In case the parent is bge(4), don't set the Jumbo frame settings unless
  the MAC actually is Jumbo capable as otherwise the PHY might not have the
  corresponding registers implemented. This is also in line with what the
  Linux tg3 driver does.

PR:		165032
Submitted by:	Alexander Milanov
Obtained from:	OpenBSD
@
text
@a181 1
model BROADCOM3 BCM57780	0x0019 BCM57780 1000BASE-T media interface
@


1.83.2.5
log
@SVN rev 232137 on 2012-02-25 00:41:35Z by marius

MFC: r231914

Probe the National DP83849, which is a dual-port version of the PHYTER.

Obtained from:	NetBSD
@
text
@d2 1
a2 1
/*$NetBSD: miidevs,v 1.105 2011/11/25 23:28:14 jakllsch Exp $*/
a282 1
model xxNATSEMI DP83849		0x000a DP83849 10/100 media interface
@


1.83.2.6
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
$FreeBSD: stable/9/sys/dev/mii/miidevs 232137 2012-02-25 00:41:35Z marius $
@


1.83.2.7
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/245865
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
$FreeBSD: stable/9/sys/dev/mii/miidevs 245865 2013-01-24 02:19:38Z yongari $
d181 1
a181 1
model BROADCOM2 BCM5709S	0x003f BCM5709S/5720S 1000/2500baseSX PHY
@


1.83.2.8
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/257614
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
$FreeBSD: stable/9/sys/dev/mii/miidevs 257614 2013-11-04 05:54:13Z yongari $
a301 1
model REALTEK RTL8251		0x0000 RTL8251 1000BASE-T media interface
@


1.83.2.9
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/258964
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
$FreeBSD: stable/9/sys/dev/mii/miidevs 258964 2013-12-05 07:27:48Z yongari $
a54 1
oui BROADCOM4			0x18c086	Broadcom Corporation
a186 1
model BROADCOM4 BCM5725C	0x0038 BCM5725C 1000BASE-T media interface
@


1.83.2.5.2.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.83.2.5.2.2
log
@Switch importer
@
text
@d1 1
a1 1
$FreeBSD: releng/9.1/sys/dev/mii/miidevs 232137 2012-02-25 00:41:35Z marius $
@


1.83.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.83.2.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
$FreeBSD: releng/9.0/sys/dev/mii/miidevs 223688 2011-06-30 05:20:02Z imp $
@


1.82
log
@SVN rev 221713 on 2011-05-09 20:20:43Z by yongari

Recognize BCM5719C PHY.

Submitted by:	Geans Pin at Broadcom
@
text
@d251 1
@


1.81
log
@SVN rev 221407 on 2011-05-03 19:51:29Z by marius

- Remove attempts to implement setting of BMCR_LOOP/MIIF_NOLOOP
  (reporting IFM_LOOP based on BMCR_LOOP is left in place though as
  it might provide useful for debugging). For most mii(4) drivers it
  was unclear whether the PHYs driven by them actually support
  loopback or not. Moreover, typically loopback mode also needs to
  be activated on the MAC, which none of the Ethernet drivers using
  mii(4) implements. Given that loopback media has no real use (and
  obviously hardly had a chance to actually work) besides for driver
  development (which just loopback mode should be sufficient for
  though, i.e one doesn't necessary need support for loopback media)
  support for it is just dropped as both NetBSD and OpenBSD already
  did quite some time ago.
- Let mii_phy_add_media() also announce the support of IFM_NONE.
- Restructure the PHY entry points to use a structure of entry points
  instead of discrete function pointers, and extend this to include
  a "reset" entry point. Make sure any PHY-specific reset routine is
  always used, and provide one for lxtphy(4) which disables MII
  interrupts (as is done for a few other PHYs we have drivers for).
  This includes changing NIC drivers which previously just called the
  generic mii_phy_reset() to now actually call the PHY-specific reset
  routine, which might be crucial in some cases. While at it, the
  redundant checks in these NIC drivers for mii->mii_instance not being
  zero before calling the reset routines were removed because as soon
  as one PHY driver attaches mii->mii_instance is incremented and we
  hardly can end up in their media change callbacks etc if no PHY driver
  has attached as mii_attach() would have failed in that case and not
  attach a miibus(4) instance.
  Consequently, NIC drivers now no longer should call mii_phy_reset()
  directly, so it was removed from EXPORT_SYMS.
- Add a mii_phy_dev_attach() as a companion helper to mii_phy_dev_probe().
  The purpose of that function is to perform the common steps to attach
  a PHY driver instance and to hook it up to the miibus(4) instance and to
  optionally also handle the probing, addition and initialization of the
  supported media. So all a PHY driver without any special requirements
  has to do in its bus attach method is to call mii_phy_dev_attach()
  along with PHY-specific MIIF_* flags, a pointer to its PHY functions
  and the add_media set to one. All PHY drivers were updated to take
  advantage of mii_phy_dev_attach() as appropriate. Along with these
  changes the capability mask was added to the mii_softc structure so
  PHY drivers taking advantage of mii_phy_dev_attach() but still
  handling media on their own do not need to fiddle with the MII attach
  arguments anyway.
- Keep track of the PHY offset in the mii_softc structure. This is done
  for compatibility with NetBSD/OpenBSD.
- Keep track of the PHY's OUI, model and revision in the mii_softc
  structure. Several PHY drivers require this information also after
  attaching and previously had to wrap their own softc around mii_softc.
  NetBSD/OpenBSD also keep track of the model and revision on their
  mii_softc structure. All PHY drivers were updated to take advantage
  as appropriate.
- Convert the mebers of the MII data structure to unsigned where
  appropriate. This is partly inspired by NetBSD/OpenBSD.
- According to IEEE 802.3-2002 the bits actually have to be reversed
  when mapping an OUI to the MII ID registers. All PHY drivers and
  miidevs where changed as necessary. Actually this now again allows to
  largely share miidevs with NetBSD, which fixed this problem already
  9 years ago. Consequently miidevs was synced as far as possible.
- Add MIIF_NOMANPAUSE and mii_phy_flowstatus() calls to drivers that
  weren't explicitly converted to support flow control before. It's
  unclear whether flow control actually works with these but typically
  it should and their net behavior should be more correct with these
  changes in place than without if the MAC driver sets MIIF_DOPAUSE.

Obtained from:	NetBSD (partially)
Reviewed by:	yongari (earlier version), silence on arch@@ and net@@
@
text
@d180 1
@


1.80
log
@SVN rev 221341 on 2011-05-02 20:37:30Z by marius

Probe the PHY accompanying BCM57765.
Tested by: Paul Thornton

MFC after:	1 week
@
text
@d2 1
a2 1
/*$NetBSD: miidevs,v 1.6 1999/05/14 11:37:30 drochner Exp $*/
d38 9
a46 5
 * XXX Vendors do obviously not agree how OUIs (18 bit) are mapped
 * to the 16 bits available in the id registers. The MII_OUI() macro
 * in "mii.h" reflects the most obvious way. If a vendor uses a
 * different mapping, an "xx" prefixed OUI is defined here which is
 * mangled accordingly to compensate.
d49 1
a49 1
oui AGERE			0x00a0bc	Agere Systems
a51 2
oui ASIX			0x00602e	Asix Semiconductor
oui ATHEROS			0x001374	Atheros Communications
d54 1
d57 1
d60 2
a61 3
oui INTEL			0x00aa00	Intel
oui JATO			0x00e083	Jato Technologies
oui JMICRON			0x001b8c	JMicron Technologies
d63 2
d66 1
d68 3
a70 3
oui RDC				0x000bb4	RDC Semiconductor
oui REALTEK			0x000020	RealTek Semicondctor
oui SEEQ			0x00a07d	Seeq
a71 2
oui SMSC			0x0005be	SMSC
oui TDK				0x00c039	TDK
d73 1
a73 1
oui VITESSE			0x0001c1	Vitesse Semiconductor
a74 2
oui MARVELL			0x005043	Marvell Semiconductor
oui xxMARVELL			0x000ac2	Marvell Semiconductor
d76 2
a77 2
/* in the 79c873, AMD uses another OUI (which matches Davicom!) */
oui xxAMD			0x00606e	Advanced Micro Devices
d79 2
a80 2
/* Intel 82553 A/B steppings */
oui xxINTEL			0x00f800	Intel
d82 3
a84 3
/* some vendors have the bits swapped within bytes
	(ie, ordered as on the wire) */
oui xxALTIMA			0x000895	Altima Communications
d87 13
a99 10
oui xxBROADCOM_ALT2		0x00d897	Broadcom Corporation
oui xxICS			0x00057d	Integrated Circuit Systems
oui xxSEEQ			0x0005be	Seeq
oui xxSIS			0x000760	Silicon Integrated Systems
oui xxTI			0x100014	Texas Instruments
oui xxXAQTI			0x350700	XaQti Corp.

/* Level 1 is completely different - from right to left.
	(Two bits get lost in the third OUI byte.) */
oui xxLEVEL1			0x1e0400	Level 1
d102 7
a108 4
oui xxDAVICOM			0x006040	Davicom Semiconductor

/* This is the OUI of the gigE PHY in the RealTek 8169S/8110S/8211B chips */
oui xxREALTEK			0x000732
d119 6
a124 3
model xxALTIMA AC101		0x0021 AC101 10/100 media interface
model xxALTIMA AC101L		0x0012 AC101L 10/100 media interface
model xxALTIMA ACXXX		0x0001 ACXXX 10/100 media interface
d127 55
a181 48
model AMD 79c973phy		0x0036 Am79c973 internal PHY
model AMD 79c978		0x0039 Am79c978 HomePNA PHY
model xxAMD 79C873		0x0000 Am79C873/DM9101 10/100 media interface

/* Asix semiconductor PHYs. */
model ASIX AX88X9X		0x0031 Ax88x9x internal PHY

/* Atheros Communications/Attansic PHYs. */
model ATHEROS F1		0x0001 Atheros F1 10/100/1000 PHY
model ATHEROS F2		0x0002 Atheros F2 10/100 PHY
model ATHEROS F1_7		0x0007 Atheros F1 10/100/1000 PHY

/* Broadcom Corp. PHYs. */
model BROADCOM 3C905B		0x0012 3c905B 10/100 internal PHY
model BROADCOM 3C905C		0x0017 3c905C 10/100 internal PHY
model BROADCOM BCM5201		0x0021 BCM5201 10/100baseTX PHY
model BROADCOM BCM5214		0x0028 BCM5214 Quad 10/100 PHY
model BROADCOM BCM5221		0x001e BCM5221 10/100baseTX PHY
model BROADCOM BCM5222		0x0032 BCM5222 Dual 10/100 PHY
model BROADCOM BCM4401		0x0036 BCM4401 10/100baseTX PHY
model xxBROADCOM BCM5400	0x0004 Broadcom 1000baseTX PHY
model xxBROADCOM BCM5401	0x0005 BCM5401 10/100/1000baseTX PHY
model xxBROADCOM BCM5411	0x0007 BCM5411 10/100/1000baseTX PHY
model xxBROADCOM BCM5754	0x000e BCM5754 10/100/1000baseTX PHY
model xxBROADCOM BCM5752	0x0010 BCM5752 10/100/1000baseTX PHY
model xxBROADCOM BCM5701	0x0011 BCM5701 10/100/1000baseTX PHY
model xxBROADCOM BCM5706	0x0015 BCM5706 10/100/1000baseTX/SX PHY
model xxBROADCOM BCM5703	0x0016 BCM5703 10/100/1000baseTX PHY
model xxBROADCOM BCM5704	0x0019 BCM5704 10/100/1000baseTX PHY
model xxBROADCOM BCM5705	0x001a BCM5705 10/100/1000baseTX PHY
model xxBROADCOM BCM5750	0x0018 BCM5750 10/100/1000baseTX PHY
model xxBROADCOM BCM54K2	0x002e BCM54K2 10/100/1000baseTX PHY
model xxBROADCOM BCM5714	0x0034 BCM5714 10/100/1000baseTX PHY
model xxBROADCOM BCM5780	0x0035 BCM5780 10/100/1000baseTX PHY
model xxBROADCOM BCM5708C	0x0036 BCM5708C 10/100/1000baseTX PHY
model xxBROADCOM_ALT1 BCM5482S	0x000b BCM5482S Dual-Port 10/100/1000baseX/FX PHY
model xxBROADCOM_ALT1 BCM5755	0x000c BCM5755 10/100/1000baseTX PHY
model xxBROADCOM_ALT1 BCM5787	0x000e BCM5787 10/100/1000baseTX PHY
model xxBROADCOM_ALT1 BCM5708S	0x0015 BCM5708S 1000/2500BaseSX PHY
model xxBROADCOM_ALT1 BCM5709CAX	0x002c BCM5709C(AX) 10/100/1000baseTX PHY
model xxBROADCOM_ALT1 BCM5722	0x002d BCM5722 10/100/1000baseTX PHY
model xxBROADCOM_ALT1 BCM5784	0x003a BCM5784 10/100/1000baseTX PHY
model xxBROADCOM_ALT1 BCM5709C	0x003c BCM5709C 10/100/1000baseTX PHY
model xxBROADCOM_ALT1 BCM5761	0x003d BCM5761 10/100/1000baseTX PHY
model xxBROADCOM_ALT1 BCM5709S	0x003f BCM5709S 1000/2500baseSX PHY
model xxBROADCOM_ALT2 BCM5717C	0x0020 BCM5717C 10/100/1000baseTX PHY
model xxBROADCOM_ALT2 BCM57765	0x0024 BCM57765 10/100/1000baseTX PHY
model BROADCOM2 BCM5906		0x0004 BCM5906 10/100baseTX PHY
d184 7
a190 7
model CICADA CS8201		0x0001 Cicada CS8201 10/100/1000TX PHY
model CICADA CS8204		0x0004 Cicada CS8204 10/100/1000TX PHY
model CICADA VSC8211		0x000b Cicada VSC8211 10/100/1000TX PHY
model CICADA CS8201A		0x0020 Cicada CS8201 10/100/1000TX PHY
model CICADA CS8201B		0x0021 Cicada CS8201 10/100/1000TX PHY
model CICADA CS8244		0x002c Cicada CS8244 10/100/1000TX PHY
model VITESSE VSC8601		0x0002 Vitesse VSC8601 10/100/1000TX PHY
d193 9
a201 2
model DAVICOM DM9102		0x0004 DM9102 10/100 media interface
model xxDAVICOM DM9101		0x0000 DM9101 10/100 media interface
d204 15
a218 16
model xxICS 1889		0x0001 ICS1889 10/100 media interface
model xxICS 1890		0x0002 ICS1890 10/100 media interface
model xxICS 1892		0x0003 ICS1892 10/100 media interface
model xxICS 1893		0x0004 ICS1893 10/100 media interface

/* IC Plus Corp. PHYs */
model ICPLUS IP101		0x0005 IC Plus 10/100 PHY
model ICPLUS IP1000A		0x0008 IC Plus 10/100/1000 media interface
model ICPLUS IP1001		0x0019 IC Plus IP1001 10/100/1000 media interface

/* Intel PHYs */
model xxINTEL I82553AB		0x0000 i83553 10/100 media interface
model INTEL I82555		0x0015 i82555 10/100 media interface
model INTEL I82562EM		0x0032 i82562EM 10/100 media interface
model INTEL I82562ET		0x0033 i82562ET 10/100 media interface
model INTEL I82553C		0x0035 i82553 10/100 media interface
d221 1
a221 1
model JATO BASEX		0x0000 Jato 1000baseX media interface
d229 28
d259 13
a271 7
model NATSEMI DP83840		0x0000 DP83840 10/100 media interface
model NATSEMI DP83843		0x0001 DP83843 10/100 media interface
model NATSEMI DP83815		0x0002 DP83815 10/100 media interface
model NATSEMI DP83847		0x0003 DP83847 10/100 media interface
model NATSEMI DP83891		0x0005 DP83891 10/100/1000 media interface
model NATSEMI DP83861		0x0006 DP83861 10/100/1000 media interface
model NATSEMI DP83865		0x0007 DP83865 10/100/1000 media interface
d274 1
a274 1
model QUALSEMI QS6612		0x0000 QS6612 10/100 media interface
d279 11
a289 9
/* RealTek Semiconductor PHYs */
model REALTEK RTL8201L		0x0020 RTL8201L 10/100 media interface
model xxREALTEK RTL8305SC	0x0005 RTL8305SC 10/100 802.1q switch
model xxREALTEK RTL8201E	0x0008 RTL8201E 10/100 media interface
model xxREALTEK RTL8169S	0x0011 RTL8169S/8110S/8211B media interface

/* Seeq PHYs */
model xxSEEQ 80220		0x0003 Seeq 80220 10/100 media interface
model xxSEEQ 84220		0x0004 Seeq 84220 10/100 media interface
d292 1
a292 7
model xxSIS 900			0x0000 SiS 900 10/100 media interface

/* SMSC PHYs */
model SMSC LAN83C183		0x0004 SMSC LAN83C183 10/100 media interface

/* TDK */
model TDK 78Q2120		0x0014 TDK 78Q2120 media interface
d295 7
a301 5
model xxTI TLAN10T		0x0001 ThunderLAN 10baseT media interface
model xxTI 100VGPMI		0x0002 ThunderLAN 100VG-AnyLan media interface

/* XaQti Corp. PHYs. */
model XAQTI XMACII		0x0000 XaQti Corp. XMAC II gigabit interface
d303 2
a304 21
/* Marvell Semiconductor PHYs */
model MARVELL E1000		0x0000 Marvell 88E1000 Gigabit PHY
model MARVELL E1011		0x0002 Marvell 88E1011 Gigabit PHY
model MARVELL E1000_3		0x0003 Marvell 88E1000 Gigabit PHY
model MARVELL E1000S		0x0004 Marvell 88E1000S Gigabit PHY
model MARVELL E1000_5		0x0005 Marvell 88E1000 Gigabit PHY
model MARVELL E1101		0x0006 Marvell 88E1101 Gigabit PHY
model MARVELL E3082		0x0008 Marvell 88E3082 10/100 Fast Ethernet PHY
model MARVELL E1112		0x0009 Marvell 88E1112 Gigabit PHY
model MARVELL E1149		0x000b Marvell 88E1149 Gigabit PHY
model MARVELL E1111		0x000c Marvell 88E1111 Gigabit PHY
model MARVELL E1116		0x0021 Marvell 88E1116 Gigabit PHY
model MARVELL E1116R		0x0024 Marvell 88E1116R Gigabit PHY
model MARVELL E1118		0x0022 Marvell 88E1118 Gigabit PHY
model MARVELL E3016		0x0026 Marvell 88E3016 10/100 Fast Ethernet PHY
model MARVELL PHYG65G		0x0027 Marvell PHYG65G Gigabit PHY
model xxMARVELL E1000		0x0005 Marvell 88E1000 Gigabit PHY
model xxMARVELL E1011		0x0002 Marvell 88E1011 Gigabit PHY
model xxMARVELL E1000_3		0x0003 Marvell 88E1000 Gigabit PHY
model xxMARVELL E1000_5		0x0005 Marvell 88E1000 Gigabit PHY
model xxMARVELL E1111		0x000c Marvell 88E1111 Gigabit PHY
@


1.79
log
@SVN rev 217910 on 2011-01-26 21:07:44Z by yongari

Add Realtek RTL8201E 10/100 PHY found in RTL8105E controller. The
exact model name is not clear yet. All previous RTL8201 10/100 PHYs
used 0x8201 in MII_PHYIDR2 which in turn makes model number 0x20
but this PHY used new model number 0x08.
@
text
@d162 1
@


1.78
log
@SVN rev 216828 on 2010-12-30 23:50:25Z by yongari

Add RDC Semiconductor R6040 10/100 PHY driver.
@
text
@d223 1
@


1.77
log
@SVN rev 215720 on 2010-11-22 22:03:11Z by marius

- Also probe BCM5214 and BCM5222.
- Add some DSP init code for BCM5221. The values derived from Apple's GMAC
  driver and the same init code also exists in Linux's sungem_phy driver.
- Only read media status bits when they are valid.

Obtained from:	NetBSD, OpenBSD
@
text
@d62 1
d217 3
@


1.76
log
@SVN rev 215015 on 2010-11-08 21:23:28Z by jmallett

Recognize the BCM5482S.
@
text
@d131 1
d133 1
@


1.75
log
@SVN rev 214427 on 2010-10-27 17:16:40Z by yongari

Add BCM5717C 10/100/1000TX PHY id.
@
text
@d148 1
@


1.74
log
@SVN rev 211103 on 2010-08-09 17:22:14Z by yongari

Add F1 PHY found on Atheros AR8151 v2.0 PCIe gigabit ethernet
controller.
@
text
@d84 1
d157 1
@


1.73
log
@SVN rev 211046 on 2010-08-07 23:16:21Z by yongari

Marvell model number 0x06 is 88E1101 PHY.
@
text
@d124 1
@


1.72
log
@SVN rev 207446 on 2010-04-30 19:01:55Z by yongari

Add Marvell PHYG65G Gigabit PHY which is found on 88E8059 Yukon Optima.

Tested by:	James LaLagna < jameslalagna <> gmail dot com >
MFC after:	5 days
@
text
@d241 1
a241 1
model MARVELL E1000_6		0x0006 Marvell 88E1000 Gigabit PHY
@


1.71
log
@SVN rev 206563 on 2010-04-13 20:07:52Z by yongari

Add Agere ET1011 PHY which is found on Belkin F5D5055 USB
controller. Unlike Agere ET1011C, Agere ET1011 does not seem to
need special DSP programming to workaround silicon bug.
@
text
@d250 1
@


1.70
log
@SVN rev 205299 on 2010-03-18 20:57:57Z by davidch

- Added support for 5709S/5716S PHYs.

Submitted by:	pyunyh
MFC after:	2 weeks
@
text
@d105 1
@


1.69
log
@SVN rev 204646 on 2010-03-03 17:55:51Z by joel

The NetBSD Foundation has granted permission to remove clause 3 and 4 from
the software.

Obtained from:	NetBSD
@
text
@d153 1
@


1.68
log
@SVN rev 204144 on 2010-02-20 22:01:24Z by marius

Add support for BCM54K2 found in combination with Apple K2 GMAC.

Submitted by:   Andreas Tobler
Obtained from:  OpenBSD
MFC after:      1 week
@
text
@a19 7
 * 3. All advertising materials mentioning features or use of this software
 *    must display the following acknowledgement:
 *	This product includes software developed by the NetBSD
 *	Foundation, Inc. and its contributors.
 * 4. Neither the name of The NetBSD Foundation nor the names of its
 *    contributors may be used to endorse or promote products derived
 *    from this software without specific prior written permission.
@


1.67
log
@SVN rev 202269 on 2010-01-14 00:36:49Z by yongari

Add BCM5754 PHY id that is found on Dell Studio XPS 16.

Tested by:	scf
MFC after:	1 week
@
text
@d148 1
@


1.66
log
@SVN rev 198813 on 2009-11-02 18:15:11Z by yongari

Add BCM5761 PHY id.
@
text
@d156 1
@


1.65
log
@SVN rev 194134 on 2009-06-13 23:27:04Z by marius

- Also probe DP83865, which is an is an ultra low power version
  of the DP83861 and DP83891.
- Reset the PHY during attach so it's in a known state.
- Add a comment describing why we hardwire 10baseT support in
  the BMSR.
- Always explicitly set IFM_HDX for half-duplex. [1]

Obtained from:	OpenBSD [1]
MFC after:	2 weeks
@
text
@d157 1
@


1.65.2.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.65.2.2
log
@SVN rev 199928 on 2009-11-29 19:46:15Z by yongari

MFC 198813.
  Add BCM5761 PHY id.
@
text
@a156 1
model xxBROADCOM_ALT1 BCM5761	0x003d BCM5761 10/100/1000baseTX PHY
@


1.65.2.3
log
@SVN rev 202724 on 2010-01-21 00:37:14Z by yongari

MFC r202269:
  Add BCM5754 PHY id that is found on Dell Studio XPS 16.
@
text
@a155 1
model xxBROADCOM_ALT1 BCM5784	0x003a BCM5784 10/100/1000baseTX PHY
@


1.65.2.4
log
@SVN rev 205186 on 2010-03-15 19:04:44Z by marius

MFC: r204144

Add support for BCM54K2 found in combination with Apple K2 GMAC.

Submitted by:   Andreas Tobler
Obtained from:  OpenBSD
@
text
@a147 1
model xxBROADCOM BCM54K2	0x002e BCM54K2 10/100/1000baseTX PHY
@


1.65.2.5
log
@SVN rev 206678 on 2010-04-15 19:19:59Z by yongari

MFC r205299:
  - Added support for 5709S/5716S PHYs.

  Submitted by: pyunyh
  PR:	kern/134658, kern/136417, kern/139761, kern/140970
@
text
@a159 1
model xxBROADCOM_ALT1 BCM5709S	0x003f BCM5709S 1000/2500baseSX PHY
@


1.65.2.6
log
@SVN rev 207046 on 2010-04-22 01:39:45Z by yongari

MFC r206563:
  Add Agere ET1011 PHY which is found on Belkin F5D5055 USB
  controller. Unlike Agere ET1011C, Agere ET1011 does not seem to
  need special DSP programming to workaround silicon bug.
@
text
@a111 1
model AGERE ET1011		0x0001 ET1011 10/100/1000baseT PHY
@


1.65.2.7
log
@SVN rev 207723 on 2010-05-06 18:50:23Z by yongari

MFC r207446:
  Add Marvell PHYG65G Gigabit PHY which is found on 88E8059 Yukon Optima.

  Tested by:	James LaLagna < jameslalagna <> gmail dot com >
@
text
@a256 1
model MARVELL PHYG65G		0x0027 Marvell PHYG65G Gigabit PHY
@


1.65.2.8
log
@SVN rev 212015 on 2010-08-30 20:59:13Z by yongari

MFC r211046:
  Marvell model number 0x06 is 88E1101 PHY.
@
text
@d248 1
a248 1
model MARVELL E1101		0x0006 Marvell 88E1101 Gigabit PHY
@


1.65.2.9
log
@SVN rev 212019 on 2010-08-30 21:11:45Z by yongari

MFC r211103:
  Add F1 PHY found on Atheros AR8151 v2.0 PCIe gigabit ethernet
  controller.
@
text
@a130 1
model ATHEROS F1_7		0x0007 Atheros F1 10/100/1000 PHY
@


1.65.2.10
log
@SVN rev 213956 on 2010-10-17 12:11:42Z by marius

MFC: r204646

The NetBSD Foundation has granted permission to remove clause 3 and 4 from
the software.

Obtained from:	NetBSD
@
text
@d20 7
@


1.65.2.11
log
@SVN rev 214993 on 2010-11-08 19:22:36Z by yongari

MFC r214427:
  Add BCM5717C 10/100/1000TX PHY id.
@
text
@a83 1
oui xxBROADCOM_ALT2		0x00d897	Broadcom Corporation
a155 1
model xxBROADCOM_ALT2 BCM5717C	0x0020 BCM5717C 10/100/1000baseTX PHY
@


1.65.2.12
log
@SVN rev 215889 on 2010-11-26 20:59:43Z by marius

MFC: r215720

- Also probe BCM5214 and BCM5222.
- Add some DSP init code for BCM5221. The values derived from Apple's GMAC
  driver and the same init code also exists in Linux's sungem_phy driver.
- Only read media status bits when they are valid.

Obtained from:	NetBSD, OpenBSD
@
text
@a130 1
model BROADCOM BCM5214		0x0028 BCM5214 Quad 10/100 PHY
a131 1
model BROADCOM BCM5222		0x0032 BCM5222 Dual 10/100 PHY
@


1.65.2.13
log
@SVN rev 218294 on 2011-02-04 20:12:45Z by yongari

MFC r216828:
  Add RDC Semiconductor R6040 10/100 PHY driver.
@
text
@a61 1
oui RDC				0x000bb4	RDC Semiconductor
a214 3
/* RDC Semiconductor PHYs */
model RDC R6040			0x0003 R6040 10/100 media interface

@


1.65.2.14
log
@SVN rev 221916 on 2011-05-14 20:51:17Z by marius

MFC: r221341, r221713

- Probe the PHY accompanying BCM57765.
- Recognize BCM5719C PHY.
@
text
@a160 2
model xxBROADCOM_ALT2 BCM5719C	0x0022 BCM5719C 10/100/1000baseTX PHY
model xxBROADCOM_ALT2 BCM57765	0x0024 BCM57765 10/100/1000baseTX PHY
@


1.65.2.15
log
@SVN rev 225114 on 2011-08-23 14:00:01Z by marius

MFC: r223688

Add detection for the Marvel 88E1149R and treat it just like the
88E1149.
@
text
@a259 1
model MARVELL E1149R		0x0025 Marvell 88E1149R Quad Gigabit PHY
@


1.65.2.16
log
@SVN rev 229358 on 2012-01-03 00:47:54Z by yongari

Recognize BCM5720C PHY.
This is a direct commit to stable/8.
@
text
@a162 1
model xxBROADCOM_ALT2 BCM5720C	0x0036 BCM5720C 10/100/1000baseTX PHY
@


1.65.2.17
log
@SVN rev 232135 on 2012-02-25 00:35:28Z by marius

MFC: r231913

- Probe BCM57780.
- In case the parent is bge(4), don't set the Jumbo frame settings unless
  the MAC actually is Jumbo capable as otherwise the PHY might not have the
  corresponding registers implemented. This is also in line with what the
  Linux tg3 driver does.

PR:		165032
Submitted by:	Alexander Milanov
Approved by:	re (kib)
Obtained from:	OpenBSD
@
text
@a159 1
model xxBROADCOM_ALT2 BCM57780	0x0019 BCM57780 1000BASE-T media interface
@


1.65.2.18
log
@SVN rev 232138 on 2012-02-25 00:41:37Z by marius

MFC: r231914

Probe the National DP83849, which is a dual-port version of the PHYTER.

Obtained from:	NetBSD
Approved by:	re (kib)
@
text
@a215 1
model NATSEMI DP83849		0x000a DP83849 10/100 media interface
@


1.65.2.19
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
$FreeBSD: stable/8/sys/dev/mii/miidevs 232138 2012-02-25 00:41:37Z marius $
@


1.65.2.20
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/245866
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
$FreeBSD: stable/8/sys/dev/mii/miidevs 245866 2013-01-24 02:20:25Z yongari $
d159 1
a159 1
model xxBROADCOM_ALT1 BCM5709S	0x003f BCM5709S/5720S 1000/2500baseSX PHY
@


1.65.2.18.2.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.65.2.18.2.2
log
@Switch importer
@
text
@d1 1
a1 1
$FreeBSD: releng/8.3/sys/dev/mii/miidevs 232138 2012-02-25 00:41:37Z marius $
@


1.65.2.12.2.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.65.2.7.2.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.65.2.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.64
log
@SVN rev 192713 on 2009-05-25 02:36:29Z by yongari

Add driver support for 88E3016 PHY which is found on Marvell Yukon
FE+ controller. Due to the severe silicon bugs for Yukon FE+,
88E3016 seems to require more workarounds. However I'm not sure
whether the workaround is PHY specific or only applicable to Yukon
FE+. The datasheet for the PHY is publicly available but it lacks
several details for the workaround used in this change. The
workaround information was obtained from Linux. Many thanks to
Yukon FE+ users who helped me add 88E3016 support.

Tested by:	bz, Tanguy Bouzeloc ( the.zauron <> gmail dot com )
		Bruce Cran ( bruce <> cran dot org dot uk )
		Michael Reifenberger ( mike <> reifenberger dot com )
		Stephen Montgomery-Smith ( stephen <> missouri dot edu )
@
text
@d207 1
@


1.63
log
@SVN rev 190538 on 2009-03-30 01:47:32Z by imp

Add PHY entry for the ASIX 88x90 internal PHYs.
@
text
@d250 1
@


1.62
log
@SVN rev 184192 on 2008-10-23 01:27:15Z by yongari

Correct PHY description and OUI of VSC8211. Previously VSC8211 was
not recognized by ciphy(4) due to the incorrect OUI.

Reported by:	nork
Tested by:	nork
@
text
@d55 1
d124 3
@


1.61
log
@SVN rev 183567 on 2008-10-03 10:31:31Z by stas

- Add driver for Attansic L2 FastEthernet controller found on
  Asus EeePC and some Asus mainboards.

Reviewed by:	yongari, rpaulo, jhb
Tested by:	many
Approved by:	kib (mentor)
MFC after:	1 week
@
text
@d158 1
a162 1
model VITESSE VSC8211		0x000b Vitesse VSC8211 10/100/1000TX PHY
@


1.60
log
@SVN rev 183492 on 2008-09-30 07:30:05Z by yongari

Add Vitesse VSC8211 PHY which is found on Planex GU-1000T.

HW donated by:	nork
@
text
@d125 1
@


1.59
log
@SVN rev 182751 on 2008-09-04 11:09:40Z by raj

Recognize 88E1116R phy variation. This part is found on some embedded devices.

Obtained from:	Semihalf
@
text
@d161 1
@


1.58
log
@SVN rev 179895 on 2008-06-20 19:28:33Z by delphij

Add et(4), a port of DragonFly's Agere ET1310 10/100/Gigabit
Ethernet device driver, written by sephe@@

Obtained from:	DragonFly
Sponsored by:	iXsystems
MFC after:	2 weeks
@
text
@d242 1
@


1.57
log
@SVN rev 179592 on 2008-06-06 05:00:49Z by benno

This is a rewritten driver for the SMSC LAN91C111.  It's based in part on the
sn(4) driver and also looking at newer drivers.  The reason for the rewrite is
to support MII and to try and resolve some performance issues found when trying
to use the sn(4) driver on the Gumstix network boards.

For reference, the SMSC LAN91C111 is a non-PCI ethernet part whose lineage
dates back to Ye Olde Days of ISA.  It seems to get some use in the embedded
space these days on parts lacking on-board MACs or on-board PCI controllers,
such as the XScale PXA line of ARM CPUs.

This also includes a driver for the SMSC LAN83C183 10/100 PHY.

Man page to follow.
@
text
@d52 1
d110 3
@


1.56
log
@Add JMicron JMP202/JMP211 PHY driver.
@
text
@d70 1
d213 3
@


1.55
log
@Add Attansic/Atheros F1 PHY driver.
@
text
@d63 1
d182 4
@


1.54
log
@Add support for the BCM5906[M] adapters.  These adapters only support
10/100 operation and place the mailbox registers at a different offset.
They also do not have an EEPROM, so the MAC address must be read from
NVRAM instead.

MFC after:	1 month
PR:		kern/118975
Submitted by:	benjsc, Thomas Nystrm  thn at saeab dot se
Submitted by:	sephe (original patch for DragonflyBSD)
@
text
@d54 1
d117 3
@


1.53
log
@Recognize Cicada CS8244 phy chip (among others, can be found on MPC8572DS
development systems).

Obtained from:	Freescale, Semihalf
@
text
@d55 1
d142 1
@


1.52
log
@Add support for IC Plus IP1001 PHY.

Tested by:	Stuart Fraser < stuart AT stuartfraser DOT net >
@
text
@d147 1
@


1.51
log
@Flesh out support for the BCM5722 by recognizing the phy on the 5722 and
the specific ASIC revision.

MFC after:	1 week
Obtained from:	OpenBSD (mii/phy bits)
@
text
@d162 1
@


1.50
log
@- Add PHY ID for BCM5709C 1000Base-T controllers.

MFC after:	1 week
@
text
@d139 1
@


1.49
log
@Recognize the quad-port Cicada (Vitesse) CS8204 10/100/1000TX PHY.

This PHY is found on many embedded development boards: among others MPC8555CDS
evaluation systems use it.

Approved by:	cognet (mentor)
MFp4:		e500
@
text
@d138 2
@


1.48
log
@Add a driver for the National Semiconductor DP83815, DP83843 and
DP83847 PHYs. The main reason for using a specific driver for these
PHYs are reset quirks similar to the nsphy(4) driven DP83840A.

PR:		112654
Obtained from:	NetBSD
MFC after:	2 weeks
Thanks to:	mlaier for testing w/ DP83815
@
text
@d141 1
@


1.47
log
@Add a newer RTL8211B(L) PHY.
@
text
@d175 2
@


1.46
log
@Add ICS1889/ICS1892/ICS1893 PHY.

Submitted by:	Ed Schouten <ed@@fxq.nl>
@
text
@d98 1
a98 1
/* This is the OUI of the gigE PHY in the RealTek 8169S/8110S chips */
d184 1
a184 1
model xxREALTEK RTL8169S	0x0011 RTL8169S/8110S media interface
@


1.46.2.1
log
@MFC miidevs rev 1.47 to RELENG_7
  Add a newer RTL8211B(L) PHY.

Approved by:	re (kensmith)
@
text
@d98 1
a98 1
/* This is the OUI of the gigE PHY in the RealTek 8169S/8110S/8211B chips */
d184 1
a184 1
model xxREALTEK RTL8169S	0x0011 RTL8169S/8110S/8211B media interface
@


1.46.2.2
log
@MFC: conf/files 1.1266; dev/mii/miidevs 1.48; dev/mii/nsphyter.c 1.1;
     dev/mii/nsphyterreg.h 1.1; modules/mii/Makefile 1.32

Add a driver for the National Semiconductor DP83815, DP83843 and
DP83847 PHYs.

PR:	112654
@
text
@a174 2
model NATSEMI DP83815		0x0002 DP83815 10/100 media interface
model NATSEMI DP83847		0x0003 DP83847 10/100 media interface
@


1.46.2.3
log
@MFC: Add support for the BCM5722.
@
text
@a137 1
model xxBROADCOM_ALT1 BCM5722	0x002d BCM5722 10/100/1000baseTX PHY
@


1.46.2.4
log
@MFC ip1000phy.c 1.3, ip1000phyreg.h 1.2 and miidevs 1.52 to RELENG_7.
  Add support for IC Plus IP1001 PHY.
@
text
@a158 1
model ICPLUS IP1001		0x0019 IC Plus IP1001 10/100/1000 media interface
@


1.46.2.5
log
@SVN rev 179868 on 2008-06-19 03:56:39Z by yongari

MFC: r179098

Add Attansic/Atheros F1 PHY driver.
@
text
@a53 1
oui ATHEROS			0x001374	Atheros Communications
a114 3
/* Atheros Communications/Attansic PHYs. */
model ATHEROS F1		0x0001 Atheros F1 10/100/1000 PHY

@


1.46.2.6
log
@SVN rev 180053 on 2008-06-27 03:24:54Z by jhb

MFC: Add support for the BCM5906[M] adapters including subsequent
improvements by marius@@.
@
text
@a55 1
oui BROADCOM2			0x000af7	Broadcom Corporation
a142 1
model BROADCOM2 BCM5906		0x0004 BCM5906 10/100baseTX PHY
@


1.46.2.7
log
@SVN rev 180240 on 2008-07-04 01:29:12Z by delphij

MFC revision 179895 and 179896:

Add et(4), a port of DragonFly's Agere ET1310 10/100/Gigabit
Ethernet device driver, written by sephe@@

Obtained from:	DragonFly
Sponsored by:	iXsystems
MFC after:	2 weeks
@
text
@a51 1
oui AGERE			0x00a0bc	Agere Systems
a106 3
/* Agere Systems PHYs */
model AGERE ET1011C		0x0004 ET1011C 10/100/1000baseT PHY

@


1.46.2.8
log
@SVN rev 180538 on 2008-07-16 00:44:49Z by yongari

MFC r179335.
  Add JMicron JMP202/JMP211 PHY driver.
@
text
@a63 1
oui JMICRON			0x001b8c	JMicron Technologies
a180 4
/* JMicron Technologies PHYs */
model JMICRON JMP211		0x0021 JMP211 10/100/1000 media interface
model JMICRON JMP202		0x0022 JMP202 10/100 media interface

@


1.46.2.9
log
@SVN rev 184267 on 2008-10-25 21:42:43Z by stas

- MFC ae(4) Attansic FastEthernet controller driver.

Approved by:	re (kensmith), kib (mentor)
@
text
@a123 1
model ATHEROS F2		0x0002 Atheros F2 10/100 PHY
@


1.46.2.10
log
@SVN rev 187073 on 2009-01-12 02:31:22Z by yongari

MFC r183492,r184192

r183492:
  Add Vitesse VSC8211 PHY which is found on Planex GU-1000T.

  HW donated by:	nork

r184192:
  Correct PHY description and OUI of VSC8211. Previously VSC8211 was
  not recognized by ciphy(4) due to the incorrect OUI.

  Reported by:	nork
  Tested by:	nork
@
text
@a153 1
model CICADA VSC8211		0x000b Cicada VSC8211 10/100/1000TX PHY
@


1.46.2.11
log
@SVN rev 193358 on 2009-06-02 23:30:02Z by davidch

- MFC BCM5709 PHY code to fix fix ukphy attachment and PHY write timeout
  errors.
@
text
@a148 1
model xxBROADCOM_ALT1 BCM5709CAX	0x002c BCM5709C(AX) 10/100/1000baseTX PHY
a149 1
model xxBROADCOM_ALT1 BCM5709C	0x003c BCM5709C 10/100/1000baseTX PHY
@


1.46.2.12
log
@SVN rev 194415 on 2009-06-18 04:51:07Z by yongari

MFC r192713:
  Add driver support for 88E3016 PHY which is found on Marvell Yukon
  FE+ controller. Due to the severe silicon bugs for Yukon FE+,
  88E3016 seems to require more workarounds. However I'm not sure
  whether the workaround is PHY specific or only applicable to Yukon
  FE+. The datasheet for the PHY is publicly available but it lacks
  several details for the workaround used in this change. The
  workaround information was obtained from Linux. Many thanks to
  Yukon FE+ users who helped me add 88E3016 support.

  Tested by:	bz, Tanguy Bouzeloc ( the.zauron <> gmail dot com )
		Bruce Cran ( bruce <> cran dot org dot uk )
		Michael Reifenberger ( mike <> reifenberger dot com )
		Stephen Montgomery-Smith ( stephen <> missouri dot edu )
@
text
@a238 1
model MARVELL E3016		0x0026 Marvell 88E3016 10/100 Fast Ethernet PHY
@


1.46.2.13
log
@SVN rev 197337 on 2009-09-20 00:54:51Z by marius

MFC: r194134

- Also probe DP83865, which is an is an ultra low power version
  of the DP83861 and DP83891.
- Reset the PHY during attach so it's in a known state.
- Add a comment describing why we hardwire 10baseT support in
  the BMSR.
- Always explicitly set IFM_HDX for half-duplex. [1]

Obtained from:	OpenBSD [1]
@
text
@a199 1
model NATSEMI DP83865		0x0007 DP83865 10/100/1000 media interface
@


1.46.2.14
log
@SVN rev 199929 on 2009-11-29 19:47:31Z by yongari

MFC 198813.
  Add BCM5761 PHY id.
@
text
@a151 1
model xxBROADCOM_ALT1 BCM5761	0x003d BCM5761 10/100/1000baseTX PHY
@


1.46.2.15
log
@SVN rev 202725 on 2010-01-21 00:39:45Z by yongari

MFC r202269:
  Add BCM5754 PHY id that is found on Dell Studio XPS 16.
@
text
@a150 1
model xxBROADCOM_ALT1 BCM5784	0x003a BCM5784 10/100/1000baseTX PHY
@


1.46.2.16
log
@SVN rev 205187 on 2010-03-15 19:04:51Z by marius

MFC: r204144

Add support for BCM54K2 found in combination with Apple K2 GMAC.

Submitted by:   Andreas Tobler
Obtained from:  OpenBSD
@
text
@a142 1
model xxBROADCOM BCM54K2	0x002e BCM54K2 10/100/1000baseTX PHY
@


1.46.2.17
log
@SVN rev 206679 on 2010-04-15 19:22:55Z by yongari

MFC r205299:
  - Added support for 5709S/5716S PHYs.

  Submitted by: pyunyh
  PR:	kern/134658, kern/136417, kern/139761, kern/140970
@
text
@a154 1
model xxBROADCOM_ALT1 BCM5709S	0x003f BCM5709S 1000/2500baseSX PHY
@


1.46.2.18
log
@SVN rev 207047 on 2010-04-22 01:45:18Z by yongari

MFC r206563:
  Add Agere ET1011 PHY which is found on Belkin F5D5055 USB
  controller. Unlike Agere ET1011C, Agere ET1011 does not seem to
  need special DSP programming to workaround silicon bug.
@
text
@a109 1
model AGERE ET1011		0x0001 ET1011 10/100/1000baseT PHY
@


1.46.2.19
log
@SVN rev 207724 on 2010-05-06 18:51:47Z by yongari

MFC r207446:
  Add Marvell PHYG65G Gigabit PHY which is found on 88E8059 Yukon Optima.

  Tested by:	James LaLagna < jameslalagna <> gmail dot com >
@
text
@a245 1
model MARVELL PHYG65G		0x0027 Marvell PHYG65G Gigabit PHY
@


1.46.2.20
log
@SVN rev 212016 on 2010-08-30 21:00:37Z by yongari

MFC r211046:
  Marvell model number 0x06 is 88E1101 PHY.
@
text
@d238 1
a238 1
model MARVELL E1101		0x0006 Marvell 88E1101 Gigabit PHY
@


1.46.2.21
log
@SVN rev 212020 on 2010-08-30 21:13:08Z by yongari

MFC r211103:
  Add F1 PHY found on Atheros AR8151 v2.0 PCIe gigabit ethernet
  controller.
@
text
@a125 1
model ATHEROS F1_7		0x0007 Atheros F1 10/100/1000 PHY
@


1.46.2.22
log
@SVN rev 213957 on 2010-10-17 12:11:43Z by marius

MFC: r204646

The NetBSD Foundation has granted permission to remove clause 3 and 4 from
the software.

Obtained from:	NetBSD
@
text
@d20 7
@


1.46.2.23
log
@SVN rev 213965 on 2010-10-17 12:43:15Z by marius

MFC: r176773, r178598

Recognize Cicada CS8204 and CS8244 PHYs.
@
text
@a154 1
model CICADA CS8204		0x0004 Cicada CS8204 10/100/1000TX PHY
a157 1
model CICADA CS8244		0x002c Cicada CS8244 10/100/1000TX PHY
@


1.46.2.24
log
@SVN rev 213966 on 2010-10-17 12:47:07Z by marius

MFC: r182751

Recognize 88E1116R phy variation. This part is found on some embedded devices.

Obtained from:	Semihalf
@
text
@a239 1
model MARVELL E1116R		0x0024 Marvell 88E1116R Gigabit PHY
@


1.46.2.25
log
@SVN rev 214994 on 2010-11-08 19:25:47Z by yongari

MFC r214427:
  Add BCM5717C 10/100/1000TX PHY id.
@
text
@a81 1
oui xxBROADCOM_ALT2		0x00d897	Broadcom Corporation
a150 1
model xxBROADCOM_ALT2 BCM5717C	0x0020 BCM5717C 10/100/1000baseTX PHY
@


1.46.2.26
log
@SVN rev 215888 on 2010-11-26 20:59:43Z by marius

MFC: r215720

- Also probe BCM5214 and BCM5222.
- Add some DSP init code for BCM5221. The values derived from Apple's GMAC
  driver and the same init code also exists in Linux's sungem_phy driver.
- Only read media status bits when they are valid.

Obtained from:	NetBSD, OpenBSD
@
text
@a125 1
model BROADCOM BCM5214		0x0028 BCM5214 Quad 10/100 PHY
a126 1
model BROADCOM BCM5222		0x0032 BCM5222 Dual 10/100 PHY
@


1.46.2.27
log
@SVN rev 218295 on 2011-02-04 20:27:50Z by yongari

MFC r216828:
  Add RDC Semiconductor R6040 10/100 PHY driver.
@
text
@a60 1
oui RDC				0x000bb4	RDC Semiconductor
a209 3
/* RDC Semiconductor PHYs */
model RDC R6040			0x0003 R6040 10/100 media interface

@


1.46.2.28
log
@SVN rev 221917 on 2011-05-14 20:51:19Z by marius

MFC: r221341, r221713

- Probe the PHY accompanying BCM57765.
- Recognize BCM5719C PHY.
@
text
@a155 2
model xxBROADCOM_ALT2 BCM5719C	0x0022 BCM5719C 10/100/1000baseTX PHY
model xxBROADCOM_ALT2 BCM57765	0x0024 BCM57765 10/100/1000baseTX PHY
@


1.46.2.29
log
@SVN rev 225115 on 2011-08-23 14:01:04Z by marius

MFC: r223688

Add detection for the Marvel 88E1149R and treat it just like the
88E1149.
@
text
@a251 1
model MARVELL E1149R		0x0025 Marvell 88E1149R Quad Gigabit PHY
@


1.46.2.30
log
@SVN rev 229359 on 2012-01-03 00:49:12Z by yongari

Recognize BCM5720C PHY.
This is a direct commit to stable/7.
@
text
@a157 1
model xxBROADCOM_ALT2 BCM5720C	0x0036 BCM5720C 10/100/1000baseTX PHY
@


1.46.2.31
log
@SVN rev 232136 on 2012-02-25 00:35:32Z by marius

MFC: r231913

- Probe BCM57780.
- In case the parent is bge(4), don't set the Jumbo frame settings unless
  the MAC actually is Jumbo capable as otherwise the PHY might not have the
  corresponding registers implemented. This is also in line with what the
  Linux tg3 driver does.

PR:		165032
Submitted by:	Alexander Milanov
Obtained from:	OpenBSD
@
text
@a154 1
model xxBROADCOM_ALT2 BCM57780	0x0019 BCM57780 1000BASE-T media interface
@


1.46.2.32
log
@SVN rev 232139 on 2012-02-25 00:41:38Z by marius

MFC: r231914

Probe the National DP83849, which is a dual-port version of the PHYTER.

Obtained from:	NetBSD
@
text
@a210 1
model NATSEMI DP83849		0x000a DP83849 10/100 media interface
@


1.46.2.33
log
@Switch importer
@
text
@d1 1
a1 1
$FreeBSD: stable/7/sys/dev/mii/miidevs 232139 2012-02-25 00:41:38Z marius $
@


1.46.2.26.2.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.46.2.26.2.2
log
@Switch importer
@
text
@d1 1
a1 1
$FreeBSD: releng/7.4/sys/dev/mii/miidevs 215888 2010-11-26 20:59:43Z marius $
@


1.46.2.15.2.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.46.2.10.2.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.46.2.9.2.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.45
log
@New features:
- Moved BCM5706S/5708S SerDes support to brgphy (since they are not technically
  TBI interfaces)
- Added 2.5G support for BCM5708S

Comments:
Since this driver is shared with bge I tested several available controllers
supported by bge and all worked as expected, however the list was not
exhaustive.  Need wider testing.

MFC after:	4 weeks
@
text
@d150 1
d152 2
@


1.44
log
@Add IC Plus IP101 PHY
@
text
@d127 1
a127 1
model xxBROADCOM BCM5706C	0x0015 BCM5706C 10/100/1000baseTX PHY
d137 1
@


1.43
log
@Add OUI for Vitesse Semiconductor.
Add Vitesse VSC8601 PHY.
@
text
@d152 1
@


1.42
log
@Let brgphy(4) attach for the Broadcom BCM5755 ASIC based chipsets
as well.

Obtained from:	OpenBSD
MFC after:	1 week
@
text
@d69 1
d142 1
@


1.41
log
@Restore support for the 5706C bce(4) phy that was broken during the
addition of SerDes support.  According to the docs, the 5706C and 5708C
phys are supposed to use the same MII model that is separate from the
SerDes parts, but the 5706C actually uses the MII model of the SerDes
parts.  To fix this, readd the old 5706C entry to miidevs and add a
special check in brgphy_probe() for phys that match the 5706C ID.  If
the phy is supported by the gentbi(4) driver, then it's a SerDes phy, so
we fail the probe and let gentbi(4) grab it.  Otherwise, it's a 5706C phy,
so we let brgphy(4) grab it.

In coordination with:	dwhite
@
text
@d134 1
@


1.40
log
@Collapse 5706C and 5708C PHYs into one entry. ID 0x15 is actually used for
the SERDES PHY on these chips and we want gentbi to pick this up, not brgphy.
@
text
@d126 1
d133 1
a133 1
model xxBROADCOM BCM5706C	0x0036 BCM5706C/5708C 10/100/1000baseTX PHY
@


1.39
log
@- Fix BCM5754 support found in Dell PowerEdge SC440.
- Move some PHY bug detections from brgphy.c to if_bge.c.
- Do not penalize working PHYs.
- Re-arrange bge_flags roughly by their categories.
- Fix minor style(9) nits.

PR:		kern/107257
Obtained from:	OpenBSD
Tested by:	Mike Hibler <mike at flux dot utah dot edu>
@
text
@d132 1
a132 2
model xxBROADCOM BCM5706C	0x0015 BCM5706C 10/100/1000baseTX PHY
model xxBROADCOM BCM5708C	0x0036 BCM5708C 10/100/1000baseTX PHY
@


1.38
log
@MFp4:	add basic driver for RTL8305SC switch in PHY emulation
@
text
@d134 1
@


1.37
log
@Add a bunch of new Marvell PHY ids.
@
text
@d174 1
@


1.36
log
@Teach the brgphy about some new Broadcom IDs.

Submitted by: David Christenson
Sponsored by: www.UIA.net
@
text
@d196 10
d207 4
@


1.35
log
@- Add another Altima PHY, which is a AC101 workalike and integrated
  in at least ADMtek ADM8511 but apparently is not mentioned in any
  publically available data sheet so the actual identifier is unknown.
- Add Davicom DM9102 PHY.
- Add DM9101 to the description of AMD 79C873 as at least some Davicom
  DM9101F identify identical to AMD 79C873.

Obtained from:	NetBSD
MFC after:	2 weeks
@
text
@d83 1
d123 1
@


1.34
log
@Add Broadcom BCM5752 PHY id.
@
text
@d106 1
a108 1
model xxAMD 79C873		0x0000 Am79C873 10/100 media interface
d111 1
d139 1
@


1.33
log
@Add IC Plus IP1000A integrated PHY id.
@
text
@d121 1
@


1.32
log
@Add a driver for the Broadcom NetXtreme II (BCM5706/BCM5708)
PCI/PCIe Gigabit Ethernet adapeter.

Submitted by:	David Christensen
@
text
@d57 1
d142 3
@


1.31
log
@Add basic support for BCM5780 PHY.

Submitted by:	grehan
Approved by:	glebius (mentor)
MFC after:	1 week
@
text
@d127 2
@


1.30
log
@Support the 5714C

Submitted by:	John Cagle <john dot cagle at hp dot com>
@
text
@d126 1
@


1.30.2.1
log
@MFC brgphy.c rev.1.39, miidevs rev.1.31
- Add basic support for BCM5780 PHY.

Submitted by:	grehan
Approved by:	re (hrs)
@
text
@a125 1
model xxBROADCOM BCM5780	0x0035 BCM5780 10/100/1000baseTX PHY
@


1.30.2.1.2.1
log
@MFC: add bce

Approved by:	re
@
text
@a126 2
model xxBROADCOM BCM5706C	0x0015 BCM5706C 10/100/1000baseTX PHY
model xxBROADCOM BCM5708C	0x0036 BCM5708C 10/100/1000baseTX PHY
@


1.30.2.2
log
@MFC: Add bce

Approved by:	re
@
text
@a126 2
model xxBROADCOM BCM5706C	0x0015 BCM5706C 10/100/1000baseTX PHY
model xxBROADCOM BCM5708C	0x0036 BCM5708C 10/100/1000baseTX PHY
@


1.30.2.3
log
@MFC miidevs, rev. 1.33 to RELENG_6
 Add IC Plus IP1000A integrated PHY id.
@
text
@a56 1
oui ICPLUS			0x0090c3	IC Plus Corp.
a140 3
/* IC Plus Corp. PHYs */
model ICPLUS IP1000A		0x0008 IC Plus 10/100/1000 media interface

@


1.30.2.4
log
@MFC miidevs, rev. 1.34 to RELENG_6
 Add Broadcom BCM5752 PHY id.

Requested by:	delphij
Approved by:	re (hrs)
@
text
@a120 1
model xxBROADCOM BCM5752	0x0010 BCM5752 10/100/1000baseTX PHY
@


1.30.2.5
log
@MFC: 1.35

- Add another Altima PHY, which is a AC101 workalike and integrated
  in at least ADMtek ADM8511 but apparently is not mentioned in any
  publically available data sheet so the actual identifier is unknown.
- Add Davicom DM9102 PHY.
- Add DM9101 to the description of AMD 79C873 as at least some Davicom
  DM9101F identify identical to AMD 79C873.

Obtained from:	NetBSD
@
text
@a105 1
model xxALTIMA ACXXX		0x0001 ACXXX 10/100 media interface
d108 1
a110 1
model xxAMD 79C873		0x0000 Am79C873/DM9101 10/100 media interface
a137 1
model DAVICOM DM9102		0x0004 DM9102 10/100 media interface
@


1.30.2.6
log
@MFC: Add support for SERDES phys which are handled by gentbi(4).  brgphy(4)
had to be changed to only attach to 5706C phys as the SERDES phys use the
same MII model ID.

Approved by:	dwhite
@
text
@a123 1
model xxBROADCOM BCM5706C	0x0015 BCM5706C 10/100/1000baseTX PHY
d130 1
@


1.30.2.7
log
@MFC: Sync bge(4) with -CURRENT (minus if_bge.c 1.185 and 1.186)

- Support for BCM5754/5755/5786/5787.
- Support for IPMI/ASF mode (disabled by default)
- Fix lots of bugs including style(9) nits.

Tested by:	net, stable
@
text
@a82 1
oui xxBROADCOM_ALT1		0x0050ef	Broadcom Corporation
a121 1
model xxBROADCOM BCM5754	0x000e BCM5754 10/100/1000baseTX PHY
a131 1
model xxBROADCOM_ALT1 BCM5787	0x000e BCM5787 10/100/1000baseTX PHY
@


1.30.2.8
log
@MFC miidevs, rev. 1.37 to RELENG_6
  Add a bunch of new Marvell PHY ids.
@
text
@a196 10
model MARVELL E1000_3		0x0003 Marvell 88E1000 Gigabit PHY
model MARVELL E1000S		0x0004 Marvell 88E1000S Gigabit PHY
model MARVELL E1000_5		0x0005 Marvell 88E1000 Gigabit PHY
model MARVELL E1000_6		0x0006 Marvell 88E1000 Gigabit PHY
model MARVELL E3082		0x0008 Marvell 88E3082 10/100 Fast Ethernet PHY
model MARVELL E1112		0x0009 Marvell 88E1112 Gigabit PHY
model MARVELL E1149		0x000b Marvell 88E1149 Gigabit PHY
model MARVELL E1111		0x000c Marvell 88E1111 Gigabit PHY
model MARVELL E1116		0x0021 Marvell 88E1116 Gigabit PHY
model MARVELL E1118		0x0022 Marvell 88E1118 Gigabit PHY
a197 4
model xxMARVELL E1011		0x0002 Marvell 88E1011 Gigabit PHY
model xxMARVELL E1000_3		0x0003 Marvell 88E1000 Gigabit PHY
model xxMARVELL E1000_5		0x0005 Marvell 88E1000 Gigabit PHY
model xxMARVELL E1111		0x000c Marvell 88E1111 Gigabit PHY
@


1.30.2.9
log
@MFC: brgphy.c 1.67; miidevs 1.42

Let brgphy(4) attach for the Broadcom BCM5755 ASIC based chipsets
as well.

Obtained from:	OpenBSD
@
text
@a133 1
model xxBROADCOM_ALT1 BCM5755	0x000c BCM5755 10/100/1000baseTX PHY
@


1.30.2.10
log
@New features:
- Moved BCM5706S/5708S SerDes support to brgphy (since they are not technically
  TBI interfaces)
- Added 2.5G support for BCM5708S
@
text
@d126 1
a126 1
model xxBROADCOM BCM5706	0x0015 BCM5706 10/100/1000baseTX/SX PHY
a135 1
model xxBROADCOM_ALT1 BCM5708S	0x0015 BCM5708S 1000/2500BaseSX PHY
@


1.30.2.11
log
@MFC miidevs rev 1.47 to RELENG_6
  Add a newer RTL8211B(L) PHY.
@
text
@d97 1
a97 1
/* This is the OUI of the gigE PHY in the RealTek 8169S/8110S/8211B chips */
d177 1
a177 1
model xxREALTEK RTL8169S	0x0011 RTL8169S/8110S/8211B media interface
@


1.30.2.12
log
@MFC: conf/files 1.1266; dev/mii/miidevs 1.48; dev/mii/nsphyter.c 1.1;
     dev/mii/nsphyterreg.h 1.1; modules/mii/Makefile 1.32

Add a driver for the National Semiconductor DP83815, DP83843 and
DP83847 PHYs.

PR:	112654
@
text
@a168 2
model NATSEMI DP83815		0x0002 DP83815 10/100 media interface
model NATSEMI DP83847		0x0003 DP83847 10/100 media interface
@


1.30.2.13
log
@MFC: Add support for the BCM5722.
@
text
@a136 1
model xxBROADCOM_ALT1 BCM5722	0x002d BCM5722 10/100/1000baseTX PHY
@


1.30.2.14
log
@MFC icsphy(4) to RELENG_6.
icsphy(4) is required to support PHYs found on Xbox and VIA Rhine
ethernet controllers.

PR:	kern/121459
@
text
@a148 1
model xxICS 1889		0x0001 ICS1889 10/100 media interface
a149 2
model xxICS 1892		0x0003 ICS1892 10/100 media interface
model xxICS 1893		0x0004 ICS1893 10/100 media interface
@


1.30.2.15
log
@MFC ip1000phy.c 1.3, ip1000phyreg.h 1.2 and miidevs 1.52 to RELENG_6.
  Add support for IC Plus IP1001 PHY.
@
text
@a155 1
model ICPLUS IP1001		0x0019 IC Plus IP1001 10/100/1000 media interface
@


1.30.2.16
log
@SVN rev 180055 on 2008-06-27 03:35:48Z by jhb

MFC: Add support for the BCM5906[M] adapters including subsequent
improvements by marius@@.
@
text
@a54 1
oui BROADCOM2			0x000af7	Broadcom Corporation
a137 1
model BROADCOM2 BCM5906		0x0004 BCM5906 10/100baseTX PHY
@


1.30.2.17
log
@SVN rev 180773 on 2008-07-24 00:50:50Z by yongari

MFC r179335.
  Add JMicron JMP202/JMP211 PHY driver.
@
text
@a61 1
oui JMICRON			0x001b8c	JMicron Technologies
a169 4
/* JMicron Technologies PHYs */
model JMICRON JMP211		0x0021 JMP211 10/100/1000 media interface
model JMICRON JMP202		0x0022 JMP202 10/100 media interface

@


1.30.2.18
log
@SVN rev 185645 on 2008-12-05 19:53:12Z by jhb

MFC: Support for the IC Plus IP101 10/100 PHY and Vitesse VSC8601 PHY that
are found on some nvidia parts.

Suggested by:	yongari
@
text
@a70 1
oui VITESSE			0x0001c1	Vitesse Semiconductor
a145 1
model VITESSE VSC8601		0x0002 Vitesse VSC8601 10/100/1000TX PHY
a157 1
model ICPLUS IP101		0x0005 IC Plus 10/100 PHY
@


1.30.2.19
log
@SVN rev 198994 on 2009-11-06 17:58:44Z by ambrisko

MFC: Merge in minimal 5709/5716 support into 6.X extracted from current.
This is not a direct merge since I tried to only extra the changes to
support the 5709 from all of the other changes that have happened in
head.  This should not introduce any issues that the other changes may
have caused.  We have been running this code for months on Dell r710's.
It has been lightly tested on systems with 5716's.

This is to allow people to run newer hardware on 6.X.
@
text
@a136 2
model xxBROADCOM_ALT1 BCM5709CAX	0x002c BCM5709C(AX) 10/100/1000baseTX PHY
model xxBROADCOM_ALT1 BCM5709C		0x003c BCM5709C 10/100/1000baseTX PHY
@


1.30.2.20
log
@SVN rev 205188 on 2010-03-15 19:04:56Z by marius

MFC: r204144

Add support for BCM54K2 found in combination with Apple K2 GMAC.

Submitted by:   Andreas Tobler
Obtained from:  OpenBSD
@
text
@a133 1
model xxBROADCOM BCM54K2	0x002e BCM54K2 10/100/1000baseTX PHY
@


1.30.2.21
log
@Switch importer
@
text
@d1 1
a1 1
$FreeBSD: stable/6/sys/dev/mii/miidevs 205188 2010-03-15 19:04:56Z marius $
@


1.30.2.17.2.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.29
log
@Add support for the BCM5750/5751.  Unfortunately the documentation
I have from Broadcom does not give much information on these devices,
so the Broadcom Linux driver was used for clues to what these chips
support.  It turns out they are similar to the 5705 with the 5751
being the PCI-Express version and needing special work-arounds and
settings.
@
text
@d125 1
@


1.28
log
@Add device driver support for the VIA Networking Technologies
VT6122 gigabit ethernet chip and integrated 10/100/1000 copper PHY.
The vge driver has been added to GENERIC for i386, pc98 and amd64,
but not to sparc or ia64 since I don't have the ability to test
it there. The vge(4) driver supports VLANs, checksum offload and
jumbo frames.

Also added the lge(4) and nge(4) drivers to GENERIC for i386 and
pc98 since I was in the neighborhood. There's no reason to leave them
out anymore.
@
text
@d124 1
@


1.27
log
@Add support for SK-9521 V2.0 and 3COM 3C940.

Tested at 100Mbit only, using Asus P4P800 onboard 3C940.
The -stable version of this patch I have in use for ~2 weeks now, and works
just fine for me.

Based on: Nathan L. Binkert's patch for OpenBSD
Patch submitted by and thanks to: Jung-uk Kim <jkim@@niksun.com>
MFC after: 2 weeks
@
text
@d55 1
d124 5
@


1.27.4.1
log
@Merge the vge(4) driver from the HEAD. Also add nge(4) and lge(4) to
GENERIC for x86.

Approved by:	re (scottl)
@
text
@a54 1
oui CICADA			0x0003F1	Cicada Semiconductor
a122 5

/* Cicada Semiconductor PHYs (now owned by Vitesse?) */
model CICADA CS8201		0x0001 Cicada CS8201 10/100/1000TX PHY
model CICADA CS8201A		0x0020 Cicada CS8201 10/100/1000TX PHY
model CICADA CS8201B		0x0021 Cicada CS8201 10/100/1000TX PHY
@


1.27.4.2
log
@MFC: Forgot to update this when merging support for the 5750/5751.
@
text
@a123 1
model xxBROADCOM BCM5750	0x0018 BCM5750 10/100/1000baseTX PHY
@


1.27.4.3
log
@MFC: support for the 5714
@
text
@a124 1
model xxBROADCOM BCM5714	0x0034 BCM5714 10/100/1000baseTX PHY
@


1.26
log
@Add a PHY driver to support the built-in gigE PHY in the 8169S/8110S
ethernet chips. This driver is pretty simple, however it contains
special DSP initialization code which is needed in order to get
the chip to negotiate a gigE link. (This special initialization
may not be needed in subsequent chip revs.) Also:

- Fix typo in if_rlreg.h (RL_GMEDIASTAT_1000MPS -> RL_GMEDIASTAT_1000MBPS)

- Deal with shared interrupts in re_intr(): if interface isn't up,
  return.

- Fix another bug in re_gmii_writereg() (properly apply data field mask)

- Allow PHY driver to read the RL_GMEDIASTAT register via the
  re_gmii_readreg() register (this is register needed to determine
  real time link/media status).
@
text
@d175 1
a176 1

@


1.25
log
@Add a device driver for the Broadcom BCM4401 ethernet controller,
written by Stuart Walsh and Duncan Barclay (with some kibbitzing by
me). I'm checking it in on Stuart's behalf.

The BCM4401 is built into several x86 laptop and desktop systems. For the
moment, I have only enabled it in the x86 kernel config because although
it's a PCI device, I haven't heard of any standalone NICs that use it. If
somebody knows of one, we can easily add it to the other arches.

This driver uses register/structure data gleaned from the Linux
driver released by Broadcom, but does not contain any of the code
from the Linux driver itself. It uses busdma.
@
text
@d94 2
d154 1
@


1.24
log
@Add support for the BCM5705 and its ilk. Changes:

- 5705 doesn't support jumbo frames
- Statistics must be read from registers
- RX return ring must be capped at 512 entries
- Omit initialization of certain device blocks
- Acknowledge link change interrupts by setting the 'link changed'
  bit in the status register (used to have no effect)
- Remember to toggle the MI completion bit too
- Set the mbuf low watermark differently (on-chip memory buffers,
  not BSD mbufs)
- Don't enable Ethernet@@WireSpeed feature for certain 5705 chip revs
- Add additional PCI IDs for 5705 and 5782 parts
- Add a forgotten 5704 PCI ID

Most changes ripped kicking and screaming from the Broadcom linux driver.
Thanks to Paul Saab for sanity testing. (My lack of sanity has been
confirmed.)
@
text
@d113 1
@


1.23
log
@Add untested support for the Broadcom 5704.

Obtained from:	NetBSD
@
text
@d119 1
@


1.22
log
@Partial support for the nVidia nForce2 chipset's on-board Broadcom/Altima PHY
and 3com MAC.  Specifications for the Altima PHY are available at:
   http://www.altimacom.com/products/ac101L.html

Submitted by:	Mikko S. Hyvarinen <morphy@@morphy.iki.fi>
@
text
@d118 1
@


1.21
log
@Add support for the BCM5703x chips.  I do not have one of these
cards to test; however the submitter reports that this patch works
with the on-board interface on the IBM x235 server.

Submitted by:	Jung-uk Kim <jkim@@niksun.com>
MFC after:	1 month
@
text
@d101 1
@


1.20
log
@Add a driver for the Broadcom BCM52xx "mini-theta" PHY.  This includes the
internal PHY on the 3COM 3C905B and 3C905C parts, however I've rigged it so
that xlphy (aka exphy) takes precedence for the time being.

If people try this with their xl cards and decide that it's a better choice,
we can switch this later.

This is the PHY used in various iMacs and possibly other GMAC-equipped
Macintoshes with 10/100 PHYs (the ones with 10/100/1000 appear to use brgphy).

Obtained from:	NetBSD
@
text
@d116 1
@


1.19
log
@Use 3C905C instead of 3c905Cphy as the identifier for the Broadcom PHY used
in the 3C905C.  This is mainly cosmetic.

I'm doing this mainly so we share the same identifier as NetBSD.
@
text
@d108 1
d110 2
@


1.18
log
@Teach the rlphy driver how to do parallel link detection. If the link partner
doesn't support NWAY, the RealTek PHY (both the integrated ones on 8139
chips and the RTL8201L 10/100 PHY) will not report the link speed via
the ANLPAR or BMSR registers. For the 8201L, we need to look in magic
vendor-specific PHY register 0x19. For the 8139 MAC+PHY combo, we have
to be able to test the RL_MEDIASTAT register.

The changes to rlphy.c are based largely on the patch from PR 30836,
however I tried to eliminate some magic numbers by creating an entry
for the 8201 PHY in miidevs.

Also updated if_rl.c to allow the rlphy driver to read the RL_MEDIASTAT
register via the rl_miibus_readreg() routine.
@
text
@d108 1
a108 1
model BROADCOM 3c905Cphy	0x0017 3c905C 10/100 internal PHY
@


1.17
log
@Teach the brgphy driver about the BCM5701's internal copper PHY.
@
text
@d62 1
d141 3
@


1.16
log
@Cleanup pass for mii drivers.
   . Make internal service routines static.
   . Use a consistent ordering of checks in MII_TICK.  Do the work in the
     mii_phy_tick() subroutine if appropriate.
   . Call mii_phy_update() to trigger the callbacks.
@
text
@d1 1
a1 1
$FreeBSD: src/sys/dev/mii/miidevs,v 1.15 2001/09/04 22:00:33 wpaul Exp $
d111 1
@


1.15
log
@Add support for the BCM5401 and BCM5411 10/100/1000Mbps copper gigE PHYs.
This basically updates the brgphy driver to support 10/100 modes in
addition to 1000Mbps modes.
@
text
@d1 1
a1 1
$FreeBSD: src/sys/dev/mii/miidevs,v 1.14 2001/05/23 22:10:55 wpaul Exp $
d68 1
d158 3
a160 1
model MARVELL E1000		0x0000 Marvell Semiconductor 88E1000* gigabit PHY
@


1.14
log
@Tweak the xmphy driver a little bit based on something I learned about
the built-in 1000baseX interface in the Level 1 LXT1001 chip. The Level 1
PHY comes up with the isolate bit in the control register set by default,
but it also has the autonegotiate bit set. When you tell the xmphy driver
to select IFM_AUTO mode, it sees that the autoneg bit is already on, and
thus doesn't bother updating the control register. However this means that
the isolate bit is never turned off (unless you manually select 1000baseSX
full or half duplex mode, which does result in the control register being
modified and the ISO bit being turned off).

This subtle and unusual behavioral difference stopped me from being able
to receive packets on the SMC9462TX card for several days, since isolating
the PHY disconnects it from the MAC's data interface. The fix is to omit
the 'is the autoneg big set?' test, since it doesn't really provide much
of an optimization anyway.

This commit also updates the xmphy driver to support the Jato/Level 1
internal PHY. (I'm not sure how Jato Technologies is related to Level 1:
all I know is the OUI from the PHY ID registers maps to Jato in the OUI
database.) This will be used once I add the if_lge driver to support
the LXT10010 chip.
@
text
@d1 1
a1 1
$FreeBSD: src/sys/dev/mii/miidevs,v 1.13 2001/05/11 20:34:38 jlemon Exp $
d108 2
@


1.13
log
@Correctly recognize the i82562{EM} PHYs.

Obtained from: OpenBSD
@
text
@d1 1
a1 1
$FreeBSD: src/sys/dev/mii/miidevs,v 1.12 2001/05/11 19:56:36 wpaul Exp $
d58 1
d121 3
@


1.12
log
@Add support for gigabit ethernet cards based on the NatSemi DP83820
and DP83821 gigabit ethernet MAC chips and the NatSemi DP83861 10/100/1000
copper PHY. There are a whole bunch of very low cost cards available with
this chipset selling for $150USD or less. This includes the SMC9462TX,
D-Link DGE-500T, Asante GigaNIX 1000TA and 1000TPC, and a couple cards
from Addtron.

This chip supports TCP/IP checksum offload, VLAN tagging/insertion.
2048-bit multicast filter, jumbograms and has 8K TX and 32K RX FIFOs.
I have not done serious performance testing with this driver. I know
it works, and I want it under CVS control so I can keep tabs on it.
Note that there's no serious mutex stuff in here yet either: I need
to talk more with jhb to figure out the right way to do this. That
said, I don't think there will be any problems.

This driver should also work on the alpha. It's not turned on in
GENERIC.
@
text
@d1 1
a1 1
$FreeBSD: src/sys/dev/mii/miidevs,v 1.11 2001/04/09 21:28:53 mjacob Exp $
d116 3
a119 1
model INTEL I82555		0x0015 i82555 10/100 media interface
@


1.11
log
@Add Marvell PHY support for 10/100/1000 LIVENGOOD_CU Intel NIC.
Parag Patel did all of the grunt work, so he gets the credit.
Register definitions and actions inferred from a Linux driver,
so Intel also gets some 'credit'.
@
text
@d1 1
a1 1
$FreeBSD: src/sys/dev/mii/miidevs,v 1.10 2001/03/12 02:27:10 jlemon Exp $
d125 2
@


1.10
log
@Add some definitions for Intel 82553 PHYs
@
text
@d1 1
a1 1
$FreeBSD: src/sys/dev/mii/miidevs,v 1.9 2000/10/12 00:15:52 imp Exp $
d66 1
d145 3
@


1.9
log
@Forced commit.  Last commit was submitted by Jonathan Chen.

Submitted by:	Jonathan Chen
@
text
@d1 1
a1 1
$FreeBSD: src/sys/dev/mii/miidevs,v 1.8 2000/10/12 00:15:10 imp Exp $
d70 3
d114 2
@


1.8
log
@Add mii entry for tdk phy found on some cardbus cards.
@
text
@d1 1
a1 1
$FreeBSD: src/sys/dev/mii/miidevs,v 1.7 2000/09/20 17:02:16 wpaul Exp $
@


1.7
log
@Add the ID for the built-in homePNA PHY in the AMD 79C798 controller.
@
text
@d1 1
a1 1
$FreeBSD: src/sys/dev/mii/miidevs,v 1.6 2000/06/21 19:26:01 semenu Exp $
d63 1
d129 3
@


1.6
log
@Added Altima Communications OUI and their AC101 10/100
media interface to the list of known chips.

miidevs.h regenerated also.
@
text
@d1 1
a1 1
$FreeBSD: src/sys/dev/mii/miidevs,v 1.5 2000/04/22 01:54:55 wpaul Exp $
d97 1
@


1.5
log
@Add entries for the XMAC II's internal PHY and the Broadcom BCM5400
1000baseTx PHY.
@
text
@d1 1
a1 1
$FreeBSD: src/sys/dev/mii/miidevs,v 1.4 1999/09/05 15:21:05 peter Exp $
d52 1
d71 1
d90 3
@


1.4
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
$FreeBSD$
d63 1
a63 1

d70 1
d75 1
d95 1
d126 3
@


1.4.2.1
log
@MFC: add 1000baseTX PHYs from head.
@
text
@d1 1
a1 1
$FreeBSD: src/sys/dev/mii/miidevs,v 1.5 2000/04/22 01:54:55 wpaul Exp $
d63 1
a63 1
oui XAQTI			0x00e0ae	XaQti Corp.
a69 1
oui xxBROADCOM			0x000818	Broadcom Corporation
a73 1
oui xxXAQTI			0x350700	XaQti Corp.
a92 1
model xxBROADCOM BCM5400	0x0004 Broadcom 1000baseTX PHY
a122 3

/* XaQti Corp. PHYs. */
model XAQTI XMACII		0x0000 XaQti Corp. XMAC II gigabit interface
@


1.4.2.2
log
@MFC: added ALTIMA's AC 101 PHY. AC101 and QS6612 are quite compatible
with DP83840, so support them as nsphy. All this to convert tx driver
to use miibus.

PR:		kern/20967
Obtained from:	current
@
text
@d1 1
a1 1
$FreeBSD: src/sys/dev/mii/miidevs,v 1.6 2000/06/21 19:26:01 semenu Exp $
a51 1
oui ALTIMA			0x0010a9	Altima Communications
a69 1
oui xxALTIMA			0x000895	Altima Communications
a87 3

/* Altima Communications PHYs */
model xxALTIMA AC101		0x0021 AC101 10/100 media interface
@


1.4.2.3
log
@Add ID for AMD HomePNA PHY.
@
text
@d1 1
a1 1
$FreeBSD: src/sys/dev/mii/miidevs,v 1.7 2000/09/20 17:02:16 wpaul Exp $
a96 1
model AMD 79c978		0x0039 Am79c978 HomePNA PHY
@


1.4.2.4
log
@MFC: Add MARVELL PHY support (for Intel GigE)
@
text
@d1 1
a1 1
$FreeBSD: src/sys/dev/mii/miidevs,v 1.4.2.3 2000/10/03 18:31:47 wpaul Exp $
a64 1
oui MARVELL			0x005043	Marvell Semiconductor
a134 3

/* Marvell Semiconductor PHYs */
model MARVELL E1000		0x0000 Marvell Semiconductor 88E1000* gigabit PHY
@


1.4.2.5
log
@Add Intel ids
@
text
@d1 1
a1 1
$FreeBSD: src/sys/dev/mii/miidevs,v 1.11 2001/04/09 21:28:53 mjacob Exp $
a69 3
/* Intel 82553 A/B steppings */
oui xxINTEL			0x00f800	Intel

a110 1
model xxINTEL I82553AB		0x0000 i83553 10/100 media interface
a111 3
model INTEL I82562EM		0x0032 i82562EM 10/100 media interface
model INTEL I82562ET		0x0033 i82562ET 10/100 media interface
model INTEL I82553C		0x0035 i82553 10/100 media interface
@


1.4.2.6
log
@MFC the necessary PHY support for the if_nge and if_lge drivers. This
includes:

- modifications to the xmphy driver to recognize the internal PCS
  PHY on the Level 1 LXT1001 chip.

- addition of the natsemi DP83861 nsgphy driver for cards which use
  the natsemi DP83820 MAC.

- addition of new ID info to miidevs
@
text
@d1 1
a1 1
$FreeBSD$
a57 1
oui JATO			0x00e083	Jato Technologies
a62 1
oui TDK				0x00c039	TDK
a119 3
/* Jato Technologies PHYs */
model JATO BASEX		0x0000 Jato 1000baseX media interface

a125 2
model NATSEMI DP83891		0x0005 DP83891 10/100/1000 media interface
model NATSEMI DP83861		0x0006 DP83861 10/100/1000 media interface
a135 3

/* TDK */
model TDK 78Q2120		0x0014 TDK 78Q2120 media interface
@


1.4.2.7
log
@MFC: update the brgphy driver to support the 5401 and 5411 PHYs
@
text
@d1 1
a1 1
$FreeBSD: src/sys/dev/mii/miidevs,v 1.15 2001/09/04 22:00:33 wpaul Exp $
a107 2
model xxBROADCOM BCM5401	0x0005 BCM5401 10/100/1000baseTX PHY
model xxBROADCOM BCM5411	0x0007 BCM5411 10/100/1000baseTX PHY
@


1.4.2.8
log
@MFC: sync bge and bgrphy drivers with current (tweak support for BCM5701
cards, try to detect more kinds of fiber cards)
@
text
@d1 1
a1 1
$FreeBSD$
a109 1
model xxBROADCOM BCM5701	0x0011 BCM5701 10/100/1000baseTX PHY
@


1.4.2.9
log
@MFC: fix parallel link detection and add support for Nortel Networks card
@
text
@a61 1
oui REALTEK			0x000020	RealTek Semicondctor
a138 3

/* RealTek Semiconductor PHYs */
model REALTEK RTL8201L		0x0020 RTL8201L 10/100 media interface
@


1.4.2.10
log
@MFC: MII ID's for the Broadcom 5703's.

Tested by:	Yahoo! and others
@
text
@a111 1
model xxBROADCOM BCM5703	0x0016 BCM5703 10/100/1000baseTX PHY
@


1.4.2.11
log
@MFC:
if_bge.c:
- Support for the 5704
- Write twice to send producer index workaround
- Leave LED set to hardware default
- ONEDMA_AT_ONCE workaround
- Disable AUTOPOLL when accessing the PHY
- Check the UPDATED bit in the status block

brgphy.c:
- Support for the 5704
- Loop the phy when changing media types
- For 1000BaseT operation, autonegotiation must be enabled
- DSP patches
@
text
@a112 2
model xxBROADCOM BCM5703	0x0016 BCM5703 10/100/1000baseTX PHY
model xxBROADCOM BCM5704	0x0019 BCM5704 10/100/1000baseTX PHY
@


1.4.2.12
log
@Opps.  nuke duplicate definition for the 5703

Submitted by:	kbyanc
@
text
@d113 1
@


1.4.2.13
log
@MFC: support for the Broadcom 5705
@
text
@a113 1
model xxBROADCOM BCM5705	0x001a BCM5705 10/100/1000baseTX PHY
@


1.4.2.14
log
@MFC: Add support for SK-9521 V2.0 and 3COM 3C940.

Based on: Nathan L. Binkert's patch for OpenBSD
Patch submitted by and thanks to: Jung-uk Kim <jkim@@niksun.com>
Approved by: re (jhb, murray)
@
text
@a165 1
model MARVELL E1011		0x0002 Marvell Semiconductor 88E1011 Gigabit PHY
@


1.4.2.15
log
@MFC: Support for the 5750/5751
@
text
@a114 1
model xxBROADCOM BCM5750	0x0018 BCM5750 10/100/1000baseTX PHY
@


1.4.2.16
log
@MFC support for the 5714
@
text
@a115 1
model xxBROADCOM BCM5714	0x0034 BCM5714 10/100/1000baseTX PHY
@


1.4.2.17
log
@MF6: Add the bce(4) driver.  Unlike the driver in 6.x and later this driver
does not support jumbo frames or hardware vlan tagging.
@
text
@a116 2
model xxBROADCOM BCM5706C	0x0015 BCM5706C 10/100/1000baseTX PHY
model xxBROADCOM BCM5708C	0x0036 BCM5708C 10/100/1000baseTX PHY
@


1.4.2.18
log
@Add BCM5752 and BCM5780.
@
text
@a110 1
model xxBROADCOM BCM5752	0x0010 BCM5752 10/100/1000baseTX PHY
a116 1
model xxBROADCOM BCM5780	0x0035 BCM5780 10/100/1000baseTX PHY
@


1.4.2.19
log
@Switch importer
@
text
@d1 1
a1 1
$FreeBSD: stable/4/sys/dev/mii/miidevs 164983 2006-12-07 16:25:31Z jhb $
@


1.3
log
@The ASIC on the 3c905C appears to be manufactured by Broadcom (previous
ones were made by Lucent). The Broadcom chip also appears to use an
internal PHY made by Broadcom which uses the Broadcom OUI. This is different
from previous ASICs which always returned 0 in the PHY ID registers.
To account for this, I added the necessary ID values for the Broadcom
PHY so that it can be detected and attached using the 3Com PHY driver
instead of defaulting to the generic one.
@
text
@d1 1
a1 1
$Id: miidevs,v 1.1 1999/08/21 17:40:43 wpaul Exp $
@


1.2
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
$FreeBSD$
d53 1
d90 3
@


1.1
log
@This commit adds support for the NetBSD MII abstraction layer and
MII-compliant PHY drivers. Many 10/100 ethernet NICs available today
either use an MII transceiver or have built-in transceivers that can
be programmed using an MII interface. It makes sense then to separate
this support out into common code instead of duplicating it in all
of the NIC drivers. The mii code also handles all of the media
detection, selection and reporting via the ifmedia interface.

This is basically the same code from NetBSD's /sys/dev/mii, except
it's been adapted to FreeBSD's bus architecture. The advantage to this
is that it automatically allows everything to be turned into a
loadable module. There are some common functions for use in drivers
once an miibus has been attached (mii_mediachg(), mii_pollstat(),
mii_tick()) as well as individual PHY drivers. There is also a
generic driver for all PHYs that aren't handled by a specific driver.
It's possible to do this because all 10/100 PHYs implement the same
general register set in addition to their vendor-specific register
sets, so for the most part you can use one driver for pretty much
any PHY. There are a couple of oddball exceptions though, hence
the need to have specific drivers.

There are two layers: the generic "miibus" layer and the PHY driver
layer. The drivers are child devices of "miibus" and the "miibus" is
a child of a given NIC driver. The "miibus" code and the PHY drivers
can actually be compiled and kldoaded as completely separate modules
or compiled together into one module. For the moment I'm using the
latter approach since the code is relatively small.

Currently there are only three PHY drivers here: the generic driver,
the built-in 3Com XL driver and the NS DP83840 driver. I'll be adding
others later as I convert various NIC drivers to use this code.

I realize that I'm cvs adding this stuff instead of importing it
onto a separate vendor branch, but in my opinion the import approach
doesn't really offer any significant advantage: I'm going to be
maintaining this stuff and writing my own PHY drivers one way or
the other.
@
text
@d1 1
a1 1
$Id$
@
