The NetBSD Project

CVS log for src/sys/dev/mii/ciphy.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / mii

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.41.20.1 / (download) - annotate - [select for diffs], Wed Jun 21 22:11:29 2023 UTC (9 months, 3 weeks ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored) next main 1.42 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #208):

	sys/dev/mii/ciphy.c: revision 1.42
	sys/dev/mii/brgphy.c: revision 1.91
	sys/dev/mii/mii_physubr.c: revision 1.102
	sys/dev/mii/ipgphy.c: revision 1.11
	sys/dev/mii/tlphy.c: revision 1.72
	sys/dev/mii/jmphy.c: revision 1.5
	sys/dev/mii/urlphy.c: revision 1.40
	sys/dev/mii/atphy.c: revision 1.31

Retry autonegotiation every mii_anegticks seconds instead of mii_anegticks+1.

Revision 1.42 / (download) - annotate - [select for diffs], Wed Feb 22 08:09:09 2023 UTC (13 months, 3 weeks ago) by msaitoh
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored)

Retry autonegotiation every mii_anegticks seconds instead of mii_anegticks+1.

Revision 1.41 / (download) - annotate - [select for diffs], Mon Aug 24 04:23:41 2020 UTC (3 years, 7 months ago) by msaitoh
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, netbsd-10-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

 Don't do full initialization for autonego when just restarting autonego
because it's not required.

 This change reduce extra initialization which include PHY_RESET() which
caused long delay(max 500ms).

Revision 1.40 / (download) - annotate - [select for diffs], Tue Jul 7 08:44:12 2020 UTC (3 years, 9 months ago) by msaitoh
Branch: MAIN
Changes since 1.39: +4 -4 lines
Diff to previous 1.39 (colored)

- Remove the waitfor argument from mii_phy_auto().
- Whitespace fix.

Revision 1.26.18.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:24 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.26.18.1: +43 -35 lines
Diff to previous 1.26.18.1 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.39 / (download) - annotate - [select for diffs], Sun Mar 15 23:04:50 2020 UTC (4 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Changes since 1.38: +12 -2 lines
Diff to previous 1.38 (colored)

Define and implement a locking protocol for the ifmedia / mii layers:
- MP-safe drivers provide a mutex to ifmedia that is used to serialize
  access to media-related structures / hardware regsiters.  Converted
  drivers use the new ifmedia_init_with_lock() function for this.  The
  new name is provided to ease the transition.
- Un-converted drivers continue to call ifmedia_init(), which will supply
  a compatibility lock to be used instead.  Several media-related entry
  points must be aware of this compatibility lock, and are able to acquire
  it recursively a limited number of times, if needed.  This is a SPIN
  mutex with priority IPL_NET.
- This same lock is used to serialize access to PHY registers and other
  MII-related data structures.

The PHY drivers are modified to acquire and release the lock, as needed,
and assert the lock is held as a diagnostic aid.

The "usbnet" framework has had an overhaul of its internal locking
protocols to fit in with the media / mii changes, and the drivers adapted.

USB wifi drivers have been changed to provide their own adaptive mutex
to the ifmedia later via a new ieee80211_media_init_with_lock() function.
This is required because the USB drivers need an adaptive mutex.

Besised "usbnet", a few other drivers are converted: vmx, wm, ixgbe / ixv.

mcx also now calls ifmedia_init_with_lock() because it needs to also use
an adaptive mutex.  The mcx driver still needs to be fully converted to
NET_MPSAFE.

Revision 1.38 / (download) - annotate - [select for diffs], Wed Nov 27 10:19:20 2019 UTC (4 years, 4 months ago) by msaitoh
Branch: MAIN
CVS Tags: is-mlppp-base, is-mlppp, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.37: +5 -11 lines
Diff to previous 1.37 (colored)

- Simplify sc->mii_anegticks setting. Same as FreeBSD.

   Don't set the default value not in the attach function. Instead, set the
  default value (MII_ANEGTICKS) first in the beginning of the
  mii_phy_add_media(). The function already has the code to change the value to
  MII_ANEGTICKS_GIGE if it's gigabit capable.

- Remove extra pmf_device_register() call. It's done in mii_phy_add_media().

Revision 1.34.4.3 / (download) - annotate - [select for diffs], Thu Oct 24 16:29:13 2019 UTC (4 years, 5 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Changes since 1.34.4.2: +3 -3 lines
Diff to previous 1.34.4.2 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #378):

	sys/dev/mii/ciphy.c: revision 1.36

Call mii_phy_flowstatus() to show the flow setting.

Revision 1.26.10.3 / (download) - annotate - [select for diffs], Thu Oct 24 15:58:45 2019 UTC (4 years, 5 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE
Changes since 1.26.10.2: +45 -45 lines
Diff to previous 1.26.10.2 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)

Pull up the following revisions, requested by msaitoh in ticket #1414:

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

- Indicate master mode if the negotiated result say so.
- Call mii_phy_flowstatus() to show the flow setting.
- Match a lot of Cicada and Vitesse devices correctly.
- Add support for VSC8221, VSC8234 and VSC8641.
- KNF

Revision 1.34.4.2 / (download) - annotate - [select for diffs], Wed Oct 23 19:45:56 2019 UTC (4 years, 5 months ago) by martin
Branch: netbsd-9
Changes since 1.34.4.1: +22 -19 lines
Diff to previous 1.34.4.1 (colored) to branchpoint 1.34 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #372):

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

- All of Cicada and Vitesse devices' OUI are not bit-reversed, so use "xx".
- Rename CS82xx -> CIS82xx
- Add Vitesse VSC8224, VSC8234, VSC8641 and VSC8501.
- Match a lot of Cicada and Vitesse devices correctly. This change also fixes
  a bug that ciphy_fixup() didn't work.
- Match VSC8221, VSC8234 and VSC8641.

Revision 1.34.4.1 / (download) - annotate - [select for diffs], Thu Oct 17 19:06:58 2019 UTC (4 years, 5 months ago) by martin
Branch: netbsd-9
Changes since 1.34: +9 -8 lines
Diff to previous 1.34 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #347):

	sys/dev/mii/ciphy.c: revision 1.35
	sys/dev/mii/rgephy.c: revision 1.56
	sys/dev/mii/rgephy.c: revision 1.57

Make new rgephy_linkup() function and share it like FreeBSD.
No functional change intended.

- Indicate master mode if the negotiated result say so.
- KNF

Revision 1.37 / (download) - annotate - [select for diffs], Thu Oct 17 09:22:49 2019 UTC (4 years, 6 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-20191119
Changes since 1.36: +22 -19 lines
Diff to previous 1.36 (colored)

- Match a lot of Cicada and Vitesse devices correctly. This change also fixes
  a bug that ciphy_fixup() didn't work.
- Match VSC8221, VSC8234 and VSC8641.

Revision 1.36 / (download) - annotate - [select for diffs], Fri Oct 11 09:31:52 2019 UTC (4 years, 6 months ago) by msaitoh
Branch: MAIN
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored)

 Call mii_phy_flowstatus() to show the flow setting.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Oct 11 09:29:04 2019 UTC (4 years, 6 months ago) by msaitoh
Branch: MAIN
Changes since 1.34: +9 -8 lines
Diff to previous 1.34 (colored)

- Indicat master mode if the negotiated result say so.
- KNF

Revision 1.26.10.2 / (download) - annotate - [select for diffs], Sun Sep 1 10:19:04 2019 UTC (4 years, 7 months ago) by martin
Branch: netbsd-8
Changes since 1.26.10.1: +62 -62 lines
Diff to previous 1.26.10.1 (colored) to branchpoint 1.26 (colored)

Pull up the following revisions, requested by msaitoh in ticket #1350:

	sys/dev/mii/ciphy.c				1.27-1.28, 1.30, 1.32
							via patch
	sys/dev/mii/ciphyreg.h				1.6

- The register bit definitions from register 0 to 15 in ciphyreg.h
  conform to the 802.3 spec, so remove them and use mii.h's definition.
  No functional change.
- Add CS8204, CS8244 VSC8211 and VSC8601 support from {Free,Open}BSD.
- KNF.

Revision 1.26.18.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:13 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.26: +103 -106 lines
Diff to previous 1.26 (colored)

Sync with HEAD

Revision 1.26.10.1 / (download) - annotate - [select for diffs], Mon May 13 12:40:13 2019 UTC (4 years, 11 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

Pull up the following, via patch, requested by msaitoh in ticket #1263:

	sys/dev/mii/brgphy.c				1.84
	sys/dev/mii/ciphy.c				1.33 via patch
	sys/dev/mii/rgephy.c				1.53
	sys/arch/arm/imx/if_enet.c			1.18
	sys/arch/mips/adm5120/dev/if_admsw.c		1.19-1.20
	sys/dev/pci/if_bge.c				1.329
	sys/dev/pci/if_bnx.c				1.81
	sys/dev/pci/if_et.c				1.21
	sys/dev/pci/if_lii.c				1.22
	sys/dev/pci/if_msk.c				1.87
	sys/dev/pci/if_nfe.c				1.68
	sys/dev/pci/if_sk.c				1.95
	sys/dev/pci/if_ti.c				1.107
	sys/dev/pci/if_txp.c				1.52
	sys/dev/pci/if_vge.c				1.69
	sys/dev/usb/if_axen.c				1.38
	sys/dev/usb/if_aue.c				1.149

Fix a bug that the duplex of manual media setting may be wrong
when the IFM_GMASK bit other than IFM_[FH]DX is set.

Revision 1.34 / (download) - annotate - [select for diffs], Thu Apr 11 09:14:07 2019 UTC (5 years ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-20190609, netbsd-9-base, isaki-audio2-base, isaki-audio2
Branch point for: netbsd-9
Changes since 1.33: +7 -11 lines
Diff to previous 1.33 (colored)

 KNF. No functional change.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Apr 11 08:50:20 2019 UTC (5 years ago) by msaitoh
Branch: MAIN
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored)

 Fix a bug that the duplex of manual media setting may be wrong
when the IFM_GMASK bit other than IFM_[FH]DX is set. Same as a part of
FreeBSD r217413.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Mar 25 09:20:46 2019 UTC (5 years ago) by msaitoh
Branch: MAIN
Changes since 1.31: +23 -40 lines
Diff to previous 1.31 (colored)

 KNF. No functional change.

Revision 1.31 / (download) - annotate - [select for diffs], Sun Feb 24 17:22:21 2019 UTC (5 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.30: +13 -34 lines
Diff to previous 1.30 (colored)

use a macro to tidy up the phydesc array initialization, from FreeBSD

Revision 1.30 / (download) - annotate - [select for diffs], Wed Feb 13 08:41:43 2019 UTC (5 years, 2 months ago) by msaitoh
Branch: MAIN
Changes since 1.29: +19 -2 lines
Diff to previous 1.29 (colored)

Add CS8204, CS8244 VSC8211 and VSC8601 support from {Free,Open}BSD.

Revision 1.26.16.2 / (download) - annotate - [select for diffs], Sat Jan 26 22:00:06 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.26.16.1: +42 -20 lines
Diff to previous 1.26.16.1 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)

Sync with HEAD

Revision 1.29 / (download) - annotate - [select for diffs], Tue Jan 22 03:42:27 2019 UTC (5 years, 2 months ago) by msaitoh
Branch: MAIN
CVS Tags: pgoyette-compat-20190127
Changes since 1.28: +42 -20 lines
Diff to previous 1.28 (colored)

 Change MII PHY read/write API from:

	int (*mii_readreg_t)(device_t, int, int);
	void (*mii_writereg_t)(device_t, int, int, int);
to:

	int (*mii_readreg_t)(device_t, int, int, uint16_t *);
	int (*mii_writereg_t)(device_t, int, int, uint16_t);

Now we can test if a read/write operation failed or not by the return value.

 In 802.3 spec says that the PHY shall not respond to read/write transaction
to the unimplemented register(22.2.4.3). Detecting timeout can be used to
check whether a register is implemented or not (if the register conforms to
the spec). ukphy(4) can be used this for MII_MMDACR and MII_MMDAADR.

 Note that I noticed that the following code do infinite loop in the
read/wirte function. If it accesses unimplemented PHY register, it will hang.
It should be fixed:

	arm/at91/at91emac.c
	arm/ep93xx/epe.c
	arm/omap/omapl1x_emac.c
	mips/ralink/ralink_eth.c
	arch/powerpc/booke/dev/pq3etsec.c(read)
	dev/cadence/if_cemac.c <- hkenken
	dev/ic/lan9118.c


Tested with the following device:

	axe+ukphy
	axe+rgephy
	axen+rgephy	(tested by Andrius V)
	wm+atphy
	wm+ukphy
	wm+igphy
	wm+ihphy
	wm+makphy
	sk+makphy
	sk+brgphy
	sk+gentbi
	msk+makphy
	sip+icsphy
	sip+ukphy
	re+rgephy
	bge+brgphy
	bnx+brgphy
	gsip+gphyter
	rtk+rlphy
	fxp+inphy	(tested by Andrius V)
	tlp+acphy
	ex+exphy
	epic+qsphy
	vge+ciphy	(tested by Andrius V)
	vr+ukphy	(tested by Andrius V)
	vte+ukphy	(tested by Andrius V)

Not tested (MAC):
	arm:at91emac
	arm:cemac
	arm:epe
	arm:geminigmac
	arm:enet
	arm:cpsw
	arm:emac(omac)
	arm:emac(sunxi)
	arm:npe
	evbppc:temac
	macppc:bm
	macppc:gm
	mips:aumac
	mips:ae
	mips:cnmac
	mips:reth
	mips:sbmac
	playstation2:smap
	powerpc:tsec
	powerpc:emac(ibm4xx)
	sgimips:mec
	sparc:be
	sf
	ne(ax88190, dl10019)
	awge
	ep
	gem
	hme
	smsh
	mtd
	sm
	age
	alc
	ale
	bce
	cas
	et
	jme
	lii
	nfe
	pcn
	ste
	stge
	tl
	xi
	aue
	mue
	smsc
	udav
	url

Not tested (PHY):
	amhphy
	bmtphy
	dmphy
	etphy
	glxtphy
	ikphy
	iophy
	lxtphy
	nsphyter
	pnaphy
	rdcphy
	sqphy
	tlphy
	tqphy
	urlphy

Revision 1.26.16.1 / (download) - annotate - [select for diffs], Fri Jan 18 08:50:26 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.26: +25 -25 lines
Diff to previous 1.26 (colored)

Synch with HEAD

Revision 1.28 / (download) - annotate - [select for diffs], Wed Jan 16 08:40:24 2019 UTC (5 years, 3 months ago) by msaitoh
Branch: MAIN
CVS Tags: pgoyette-compat-20190118
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

CIPHY_MII_BMCR -> MII_BMCR in #ifdef foo.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Jan 16 08:32:58 2019 UTC (5 years, 3 months ago) by msaitoh
Branch: MAIN
Changes since 1.26: +24 -24 lines
Diff to previous 1.26 (colored)

 The register bit definitions from register 0 to 15 in ciphyreg.h conform to
the 802.3 spec, so remove them and use mii.h's definition.
No functional change.

Revision 1.19.22.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:06 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.19.22.2: +1 -2 lines
Diff to previous 1.19.22.2 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)

update from HEAD

Revision 1.25.4.1 / (download) - annotate - [select for diffs], Sat Jul 9 20:25:03 2016 UTC (7 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.25: +3 -4 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Sync with HEAD

Revision 1.26 / (download) - annotate - [select for diffs], Thu Jul 7 06:55:41 2016 UTC (7 years, 9 months ago) by msaitoh
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, netbsd-8-base, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncqfixes-base, jdolecek-ncqfixes, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, pgoyette-compat, netbsd-8
Changes since 1.25: +3 -4 lines
Diff to previous 1.25 (colored)

KNF. Remove extra spaces. No functional change.

Revision 1.19.18.2 / (download) - annotate - [select for diffs], Wed Feb 4 11:35:04 2015 UTC (9 years, 2 months ago) by martin
Branch: netbsd-6
Changes since 1.19.18.1: +2 -3 lines
Diff to previous 1.19.18.1 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #1245):
	sys/dev/mii/rgephy.c: revision 1.30
	sys/dev/mii/brgphy.c: revision 1.64
	sys/dev/mii/atphy.c: revision 1.13
	sys/dev/mii/urlphy.c: revision 1.26
	sys/dev/mii/ciphy.c: revision 1.20
	sys/dev/mii/mii_physubr.c: revision 1.76
  Fix a bug that the auto negotiation timer isn't cleard as we expected.
To not to forget clearing the timer and to reduce the code duplication,
clear mii_ticks in *mii_phy_auto().

Revision 1.19.18.1 / (download) - annotate - [select for diffs], Sun Nov 9 12:13:16 2014 UTC (9 years, 5 months ago) by martin
Branch: netbsd-6
Changes since 1.19: +4 -2 lines
Diff to previous 1.19 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #1189):
	sys/dev/pci/if_wm.c: revision 1.270
	sys/dev/mii/inphy.c: revision 1.53
	sys/dev/mii/glxtphy.c: revision 1.24
	sys/dev/mii/tlphy.c: revision 1.62
	sys/dev/mii/iophy.c: revision 1.37
	sys/dev/mii/brgphy.c: revision 1.70
	sys/dev/mii/ihphy.c: revision 1.8
	sys/dev/mii/bmtphy.c: revision 1.31
	sys/dev/mii/urlphy.c: revision 1.30
	sys/dev/mii/makphy.c: revision 1.40
	sys/dev/mii/qsphy.c: revision 1.48
	sys/dev/mii/igphy.c: revision 1.23
	sys/dev/mii/nsphy.c: revision 1.58
	sys/dev/mii/mvphy.c: revision 1.10
	sys/dev/pci/if_txp.c: revision 1.41
	sys/dev/mii/nsphy.c: revision 1.59
	sys/dev/mii/rlphy.c: revision 1.28
	sys/dev/mii/icsphy.c: revision 1.49
	sys/dev/mii/rlphy.c: revision 1.29
	sys/dev/mii/lxtphy.c: revision 1.49
	sys/dev/mii/ciphyreg.h: revision 1.5
	sys/dev/mii/nsphyter.c: revision 1.38
	sys/dev/mii/sqphy.c: revision 1.50
	sys/dev/mii/gentbi.c: revision 1.26
	sys/dev/mii/gentbi.c: revision 1.27
	sys/dev/mii/tqphy.c: revision 1.39
	sys/dev/mii/ikphy.c: revision 1.10
	sys/dev/mii/dmphy.c: revision 1.35
	sys/dev/mii/amhphy.c: revision 1.20
	sys/dev/mii/acphy.c: revision 1.24
	sys/dev/mii/ciphy.c: revision 1.25
	sys/dev/mii/brgphyreg.h: revision 1.8
	sys/dev/mii/ukphy_subr.c: revision 1.12
	sys/dev/ic/rtl80x9.c: revision 1.16
	sys/arch/mips/adm5120/dev/if_admsw.c: revision 1.12
	sys/dev/pci/if_kse.c: revision 1.28
	sys/dev/mii/ukphy_subr.c: revision 1.13
	sys/dev/mii/mii.h: revision 1.18
	sys/dev/mii/gphyter.c: revision 1.29
No functional change:
- Fix typo.
- Remove trailing white spaces.
- Capitalize comments.
- Tabify.
- KNF.
 IFM_FDX and IFM_HDX use different bit, so set IFM_HDX bit if it's not full
duplex. For many drivers, it recognize half duplex if IFM_FDX isn't set,
but not for others. Same as {Free|Open}BSD.

Revision 1.19.22.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:41 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.19.22.1: +2 -0 lines
Diff to previous 1.19.22.1 (colored) to branchpoint 1.19 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.24.6.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:54:53 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.24: +4 -2 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

Rebase.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Jun 16 16:48:16 2014 UTC (9 years, 10 months ago) by msaitoh
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Branch point for: nick-nhusb
Changes since 1.24: +4 -2 lines
Diff to previous 1.24 (colored)

 IFM_FDX and IFM_HDX use different bit, so set IFM_HDX bit if it's not full
duplex. For many drivers, it recognize half duplex if IFM_FDX isn't set,
but not for others. Same as {Free|Open}BSD.

Revision 1.19.12.1 / (download) - annotate - [select for diffs], Thu May 22 11:40:23 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.19: +28 -7 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.19.22.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:20:18 2013 UTC (10 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.19: +28 -7 lines
Diff to previous 1.19 (colored)

resync from head

Revision 1.24 / (download) - annotate - [select for diffs], Tue Jun 11 07:22:08 2013 UTC (10 years, 10 months ago) by msaitoh
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Branch point for: tls-earlyentropy
Changes since 1.23: +11 -3 lines
Diff to previous 1.23 (colored)

Update link status quickly. This change is a part of mii_physubr.c rev.
1.77-1.78.

Revision 1.23 / (download) - annotate - [select for diffs], Sun Jun 9 09:31:32 2013 UTC (10 years, 10 months ago) by msaitoh
Branch: MAIN
Changes since 1.22: +17 -4 lines
Diff to previous 1.22 (colored)

 Update link status quickly. This change is a part of FreeBSD's mii_physubr.c
r158649.

Revision 1.22 / (download) - annotate - [select for diffs], Sun Jun 9 08:45:32 2013 UTC (10 years, 10 months ago) by msaitoh
Branch: MAIN
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored)

 ciphy is gigabit PHY, so use MII_ANEGTICKS_GIGE instead of MII_ANEGTICKS.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Jun 9 08:42:16 2013 UTC (10 years, 10 months ago) by msaitoh
Branch: MAIN
Changes since 1.20: +4 -3 lines
Diff to previous 1.20 (colored)

 atphy, ciphy, ihphy and rgephy are gigabit PHY, so not only check IFM_AUTO
for autonegotiation but also check IFM_1000_T, too.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Jun 6 03:10:48 2013 UTC (10 years, 10 months ago) by msaitoh
Branch: MAIN
Changes since 1.19: +2 -3 lines
Diff to previous 1.19 (colored)

 Fix a bug that the auto negotiation timer isn't cleard as we expected.
To not to forget clearing the timer and to reduce the code duplication,
clear mii_ticks in *mii_phy_auto().

Revision 1.14.4.3 / (download) - annotate - [select for diffs], Sat May 16 10:41:30 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.14.4.2: +4 -4 lines
Diff to previous 1.14.4.2 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

sync with head

Revision 1.16.4.1 / (download) - annotate - [select for diffs], Wed May 13 17:20:15 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.16: +6 -10 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.19 / (download) - annotate - [select for diffs], Tue May 12 14:31:27 2009 UTC (14 years, 11 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-premerge-20091211, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, khorben-n900, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, netbsd-6
Changes since 1.18: +4 -4 lines
Diff to previous 1.18 (colored)

struct device * -> device_t, no functional changes intended.

Revision 1.18 / (download) - annotate - [select for diffs], Tue May 12 13:16:02 2009 UTC (14 years, 11 months ago) by cegger
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

struct cfdata * -> cfdata_t, no functional changes intended.

Revision 1.14.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:12:52 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.14.4.1: +4 -11 lines
Diff to previous 1.14.4.1 (colored) to branchpoint 1.14 (colored)

sync with head.

Revision 1.15.8.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:35:54 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.15.8.1: +4 -8 lines
Diff to previous 1.15.8.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

Sync with HEAD.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Mar 14 15:36:18 2009 UTC (15 years, 1 month ago) by dsl
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Changes since 1.16: +4 -8 lines
Diff to previous 1.16 (colored)

Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)

Revision 1.15.8.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:18:14 2009 UTC (15 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.15: +2 -5 lines
Diff to previous 1.15 (colored)

Sync with HEAD.

Revision 1.13.10.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:57 2009 UTC (15 years, 3 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.13.10.1: +0 -3 lines
Diff to previous 1.13.10.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

Sync with HEAD.

Revision 1.15.6.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:14:26 2008 UTC (15 years, 4 months ago) by haad
Branch: haad-dm
Changes since 1.15: +2 -5 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Nov 17 03:04:27 2008 UTC (15 years, 5 months ago) by dyoung
Branch: MAIN
CVS Tags: nick-hppapmap-base2, mjf-devfs2-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: jym-xensuspend
Changes since 1.15: +2 -5 lines
Diff to previous 1.15 (colored)

Reduce code duplication: most PHY drivers call mii_phy_add_media()
when they attach to the device tree, so call pmf_device_register(9)
once there instead of once in more than twenty drivers.

Revision 1.13.10.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:35 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.13: +11 -11 lines
Diff to previous 1.13 (colored)

Sync with HEAD.

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:34:13 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.14: +10 -9 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

sync with head.

Revision 1.14.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:24:36 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.14: +10 -9 lines
Diff to previous 1.14 (colored)

sync with head.

Revision 1.15 / (download) - annotate - [select for diffs], Sun May 4 17:06:09 2008 UTC (15 years, 11 months ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-dm-base1
Branch point for: nick-hppapmap, haad-dm
Changes since 1.14: +10 -9 lines
Diff to previous 1.14 (colored)

device_t/softc split for all mii(4) devices, and other related
cosmetic changes.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Apr 8 20:10:20 2008 UTC (16 years ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.13: +6 -7 lines
Diff to previous 1.13 (colored)

use aprint_*_dev and device_xname

Revision 1.3.8.4 / (download) - annotate - [select for diffs], Mon Jan 21 09:43:23 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.8.3: +5 -2 lines
Diff to previous 1.3.8.3 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

sync with head

Revision 1.11.24.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:53:19 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.11.24.1: +5 -2 lines
Diff to previous 1.11.24.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

sync with HEAD

Revision 1.12.4.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:46:34 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.12: +5 -2 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Sync with head.

Revision 1.12.6.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:29:21 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-kmem
Changes since 1.12: +5 -2 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

sync with head.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Dec 9 20:28:02 2007 UTC (16 years, 4 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, vmlocking2-base3, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, ad-socklock-base1
Branch point for: mjf-devfs2
Changes since 1.12: +5 -2 lines
Diff to previous 1.12 (colored)

Merge jmcneill-pm branch.

Revision 1.11.22.3 / (download) - annotate - [select for diffs], Sat Dec 8 16:21:15 2007 UTC (16 years, 4 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.11.22.2: +3 -3 lines
Diff to previous 1.11.22.2 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

Rename pnp(9) -> pmf(9), as requested by many.

Revision 1.11.22.2 / (download) - annotate - [select for diffs], Tue Nov 27 09:28:21 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.11.22.1: +5 -2 lines
Diff to previous 1.11.22.1 (colored) to branchpoint 1.11 (colored)

Register MII PHY drives with the PM framework. Nothing to do on suspend,
just reset the PHY on resume.

Revision 1.11.24.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:28:22 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

sync with HEAD

Revision 1.3.8.3 / (download) - annotate - [select for diffs], Sat Oct 27 11:32:17 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.8.2: +3 -3 lines
Diff to previous 1.3.8.2 (colored) to branchpoint 1.3 (colored)

sync with head.

Revision 1.11.22.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:45:44 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.11.28.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:38:38 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Sync with HEAD.

Revision 1.11.8.1 / (download) - annotate - [select for diffs], Tue Oct 23 20:08:32 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Sync with head.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Oct 19 12:00:35 2007 UTC (16 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, mjf-devfs, jmcneill-pm-base, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: yamt-kmem, vmlocking2
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.7.8.2 / (download) - annotate - [select for diffs], Fri Jan 12 00:57:40 2007 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.7.8.1: +3 -2 lines
Diff to previous 1.7.8.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

Sync with head.

Revision 1.3.8.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:48:38 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.8.1: +7 -5 lines
Diff to previous 1.3.8.1 (colored) to branchpoint 1.3 (colored)

sync with head.

Revision 1.7.10.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:17:36 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.7.10.1: +7 -6 lines
Diff to previous 1.7.10.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

sync with head.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Nov 26 15:40:14 2006 UTC (17 years, 4 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, vmlocking-base, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, mjf-ufs-trans-base, mjf-ufs-trans, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-base, matt-mips64, hpcarm-cleanup, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, matt-armv6, jmcneill-pm, bouyer-xenamd64
Changes since 1.10: +3 -2 lines
Diff to previous 1.10 (colored)

Include <sys/device.h> for struct device.

Revision 1.7.8.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:26 2006 UTC (17 years, 5 months ago) by ad
Branch: newlock2
Changes since 1.7: +6 -5 lines
Diff to previous 1.7 (colored)

Sync with head.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Nov 16 21:24:07 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored)

- don't hardcode 5, 10 define and use MII_ANEGTICKS{,_GIGE}
- instead of != limit, use <= limit (conservative)

Revision 1.9 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:06 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored)

__unused removal on arguments; approved by core.

Revision 1.7.10.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:06:12 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.7: +5 -4 lines
Diff to previous 1.7 (colored)

sync with head

Revision 1.8 / (download) - annotate - [select for diffs], Thu Oct 12 01:31:25 2006 UTC (17 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.7: +5 -4 lines
Diff to previous 1.7 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.4.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:52:03 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.4: +9 -3 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

sync with head

Revision 1.3.8.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:04:46 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3: +15 -3 lines
Diff to previous 1.3 (colored)

sync with head.

Revision 1.7 / (download) - annotate - [select for diffs], Sun May 14 21:42:28 2006 UTC (17 years, 11 months ago) by elad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

integrate kauth.

Revision 1.4.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:11 2006 UTC (17 years, 11 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.4: +9 -3 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Sync with head.

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Thu Apr 20 03:14:45 2006 UTC (18 years ago) by snj
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1
Changes since 1.3: +8 -2 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Pull up following revision(s) (requested by tron in ticket #1266):
	sys/dev/mii/ciphyreg.h: revision 1.4 via patch
	sys/dev/mii/ciphy.c: revision 1.5 via patch
from OpenBSD:
We need to special case ciphy to ask for RGMII interface at 2.5V for nfe.
This makes Cicada/Vitesse PHYs attached to nfe work.
Many thanks to Bill Paul for diagnosing the problem and suggesting a solution.

Revision 1.4.10.1 / (download) - annotate - [select for diffs], Wed Apr 19 03:25:23 2006 UTC (18 years ago) by elad
Branch: elad-kernelauth
Changes since 1.4: +9 -3 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

sync with head.

Revision 1.4.8.2 / (download) - annotate - [select for diffs], Sat Apr 1 12:07:11 2006 UTC (18 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.4.8.1: +3 -3 lines
Diff to previous 1.4.8.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

sync with head.

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Fri Mar 31 09:45:22 2006 UTC (18 years ago) by tron
Branch: peter-altq
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Mar 29 07:05:24 2006 UTC (18 years ago) by thorpej
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3, elad-kernelauth-base
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

Use device_private().

Revision 1.4.8.1 / (download) - annotate - [select for diffs], Mon Mar 13 09:07:26 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.4: +8 -2 lines
Diff to previous 1.4 (colored)

sync with head.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Mar 12 22:41:41 2006 UTC (18 years, 1 month ago) by chs
Branch: MAIN
CVS Tags: yamt-pdpolicy-base2, peter-altq-base
Branch point for: peter-altq
Changes since 1.4: +8 -2 lines
Diff to previous 1.4 (colored)

from OpenBSD:
We need to special case ciphy to ask for RGMII interface at 2.5V for nfe.
This makes Cicada/Vitesse PHYs attached to nfe work.
Many thanks to Bill Paul for diagnosing the problem and suggesting a solution.

Revision 1.2.2.4 / (download) - annotate - [select for diffs], Sun Dec 11 10:28:57 2005 UTC (18 years, 4 months ago) by christos
Branch: ktrace-lwp
Changes since 1.2.2.3: +8 -2 lines
Diff to previous 1.2.2.3 (colored) next main 1.3 (colored)

Sync with head.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Dec 1 04:59:53 2005 UTC (18 years, 4 months ago) by riz
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base, ktrace-lwp-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, elad-kernelauth
Changes since 1.3: +8 -2 lines
Diff to previous 1.3 (colored)

Match all model numbers with both Cicada OUIs; this allows the proper PHY to
attach on my ZyXEL GN650-T.

Revision 1.3.6.2 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:04 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.3.6.1: +413 -0 lines
Diff to previous 1.3.6.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

sync with -current

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Fri Apr 1 14:30:10 2005 UTC (19 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.2.2: +32 -22 lines
Diff to previous 1.2.2.2 (colored)

Sync with HEAD.

Revision 1.3.4.2 / (download) - annotate - [select for diffs], Sat Mar 19 08:34:59 2005 UTC (19 years, 1 month ago) by yamt
Branch: yamt-km
Changes since 1.3.4.1: +413 -0 lines
Diff to previous 1.3.4.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.3.6.1, Wed Mar 16 17:25:32 2005 UTC (19 years, 1 month ago) by kent
Branch: kent-audio2
Changes since 1.3: +0 -413 lines
FILE REMOVED

file ciphy.c was added on branch kent-audio2 on 2005-04-29 11:29:04 +0000

Revision 1.3.4.1, Wed Mar 16 17:25:32 2005 UTC (19 years, 1 month ago) by yamt
Branch: yamt-km
Changes since 1.3: +0 -413 lines
FILE REMOVED

file ciphy.c was added on branch yamt-km on 2005-03-19 08:34:59 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Wed Mar 16 17:25:32 2005 UTC (19 years, 1 month ago) by briggs
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, yamt-km-base4, yamt-km-base3, thorpej-vnode-attr-base, thorpej-vnode-attr, netbsd-3-base, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, kent-audio2-base
Branch point for: yamt-lazymbuf, yamt-km, netbsd-3, kent-audio2
Changes since 1.2: +32 -22 lines
Diff to previous 1.2 (colored)

Changes to match xxCICADA 8201B found in a VT6122.
Match at > 1 (10) to ensure we get ciphy instead of ukphy.
Use aprint(9) on attach.
Minor stylistic changes.
All from Tomokazu HARADA in PR kern/29705.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Fri Mar 4 16:44:57 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.2.1: +403 -0 lines
Diff to previous 1.2.2.1 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.2.2.1, Sun Feb 27 00:27:31 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.2: +0 -403 lines
FILE REMOVED

file ciphy.c was added on branch ktrace-lwp on 2005-03-04 16:44:57 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Sun Feb 27 00:27:31 2005 UTC (19 years, 1 month ago) by perry
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.1: +5 -5 lines
Diff to previous 1.1 (colored)

nuke trailing whitespace

Revision 1.1 / (download) - annotate - [select for diffs], Sun Feb 20 16:35:56 2005 UTC (19 years, 1 month ago) by jdolecek
Branch: MAIN

Add driver for 10/100/1000 copper PHY integrated on VIA Networking Technologies
VT6122 gigabit ethernet chips

From FreeBSD

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>