The NetBSD Project

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.31.6.2: download - view: text, markup, annotated - select for diffs
Wed Nov 4 23:22:01 2026 UTC (11 days, 12 hours ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.31.6.1: preferred, colored; branchpoint 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31.6.1: +6 -7 lines
Sync with HEAD

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat Oct 4 04:14:56 2025 UTC (13 months, 1 week ago) by thorpej
Branches: MAIN
CVS tags: perseant-exfatfs-base-20261102, HEAD
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +6 -7 lines
Use device_{get,set}prop_bool() for rgmii-related properties.

Revision 1.31.6.1: download - view: text, markup, annotated - select for diffs
Sat Aug 2 05:56:43 2025 UTC (15 months, 2 weeks ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -3 lines
Sync with HEAD

Revision 1.32: download - view: text, markup, annotated - select for diffs
Sat Jul 20 20:36:32 2024 UTC (2 years, 3 months ago) by andvar
Branches: MAIN
CVS tags: perseant-exfatfs-base-20250801, netbsd-11-base, netbsd-11-1-RELEASE, netbsd-11-0-RELEASE, netbsd-11-0-RC7, netbsd-11-0-RC6, netbsd-11-0-RC5, netbsd-11-0-RC4, netbsd-11-0-RC3, netbsd-11-0-RC2, netbsd-11-0-RC1, netbsd-11
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -3 lines
fix typos in comments, mainly s/harware/hardware/.

Revision 1.30.22.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 22:11:29 2023 UTC (3 years, 4 months ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-2-RELEASE, netbsd-10-1-RELEASE, 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
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +3 -3 lines
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.31: download - view: text, markup, annotated - select for diffs
Wed Feb 22 08:09:09 2023 UTC (3 years, 8 months ago) by msaitoh
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base
Branch point for: perseant-exfatfs
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -3 lines
Retry autonegotiation every mii_anegticks seconds instead of mii_anegticks+1.

Revision 1.18.8.2: download - view: text, markup, annotated - select for diffs
Tue Apr 14 17:57:17 2020 UTC (6 years, 7 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE
Diff to: previous 1.18.8.1: preferred, colored; branchpoint 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.8.1: +2 -4 lines
Pull up the following revisions, requested by msaitoh in ticket #1529:

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

- Add support Broadcom BCM54213PE and some new RDC devices.
- Rename RDC to xxRDC.
- Use xxVIA instead of VIA.
- etphy(4):
  - Rename ET1011 to ET1011C and add ET1011 support.
  - Use mii_phy_flowstatus() to reflect flow status from negotiated
    result.
- Use static.
- KNF.

Revision 1.18.16.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:24 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.18.16.1: preferred, colored; branchpoint 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.16.1: +105 -18 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.22.4.2: download - view: text, markup, annotated - select for diffs
Thu Mar 19 19:21:37 2020 UTC (6 years, 7 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-5-RELEASE, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Diff to: previous 1.22.4.1: preferred, colored; branchpoint 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22.4.1: +23 -4 lines
Pull up following revision(s) (requested by msaitoh in ticket #786):

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

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

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

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

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

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Mar 15 23:04:50 2020 UTC (6 years, 8 months ago) by thorpej
Branches: 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, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, netbsd-10-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +14 -2 lines
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.29: download - view: text, markup, annotated - select for diffs
Fri Mar 13 18:57:49 2020 UTC (6 years, 8 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +23 -3 lines
Fix a bug that atphy(4) doesn't work with Attansic L2 rev. 1.
Reported by Rocky Hotas.

- On ASUS M2N-MX SE Plus (NVIDIA MCP61 with Attansic L2 rev. 1), changing
  debug port 0x29's value makes the next PHY read fail with error.  Read any
  register to ignore this problem if the PHY is Attansic L2 revision 1.
  I don't know if this problem is from L2 rev. 1 itself or from the
  combination because I have only one machine which has L2 rev. "1".
  At least, ASUS eee pc 900 (Attansic L2 rev. "2") has no this problem.
- Add comment. AR8021 document has no description about the power saving
  control register(debug port 0x29).
- Add comment. AR8031 document says the lower 14 bits are reserved and the
  default value is 0x36d0. Shouldn't we clear those bits?
- I have no document neither L1(F1) nor L2(F2), so I don't know whether the
  debug port access is correct or not.

Tested with the following machines:
- ASUS P5B SE,         L1 rev. 5,            age(4)
- ASUS K50IJ,          L1 rev. 9,            ale(4)
- ASUS eee pc 900,     L2 rev. 2,            lii(4)
- ASUS M2N-MX SE Plus, L2 rev. 1,            nfe(4)
- Intel DP55WB,        82578(AR8021 rev. 2), wm(4)
- Dell inspiron 14z,   AR0835 rev. 9,        alc(4)

Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Mar 13 04:44:34 2020 UTC (6 years, 8 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -3 lines
0x001374 is non-bitreversed value of Attansic OUI(0x00c82e).

Attansic/Atheros correctly uses ID1 and ID2 register, so delete all 0x001374
related entries.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Fri Dec 13 08:30:26 2019 UTC (6 years, 11 months ago) by msaitoh
Branches: MAIN
CVS tags: is-mlppp-base, is-mlppp, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +7 -5 lines
 KNF. No functional change.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Nov 27 10:19:20 2019 UTC (6 years, 11 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -9 lines
- 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.18.8.1: download - view: text, markup, annotated - select for diffs
Thu Nov 21 14:06:16 2019 UTC (6 years, 11 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-2-RELEASE
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +7 -7 lines
Pull up the following revisions, requested by msaitoh in ticket #1454:

	sys/dev/mii/atphy.c			1.22-1.23, 1.25 via patch
	sys/dev/mii/mii_physubr.c		1.88 via patch
	sys/dev/mii/miivar.h			1.69 via patch

- Fix a bug that atphy(4) can't negotiate correctly when the media
  setting is neither auto nor 1000baseT.
- Code cleanup.

Revision 1.22.4.1: download - view: text, markup, annotated - select for diffs
Thu Nov 21 14:00:49 2019 UTC (6 years, 11 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +6 -6 lines
Pull up following revision(s) (requested by msaitoh in ticket #459):

	sys/dev/mii/atphy.c: revision 1.23
	sys/dev/mii/atphy.c: revision 1.25
	sys/dev/mii/miivar.h: revision 1.69
	sys/dev/mii/mii_physubr.c: revision 1.88

s/etphy/atphy/. No functional change.

 Fix a bug that atphy(4) can't negotiate correctly when the media setting is
neither auto nor 1000baseT. Use correct index for mii_media_table[].

 History: mii_anar() is first added in OpenBSD and ported to NetBSD. On NetBSD,
only atphy(4) use this function. mii_physubr.c rev. 1.75 changed mii_anar()
for simplify. It changed the argument from the ifmedia word to ifm_data used
in our MII API, but the caller have not been changed. And then, PR kern/50206
was reported and the caller was modified by me to prevent panic but it was not
correct fix.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Nov 20 08:50:59 2019 UTC (6 years, 11 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -3 lines
 Fix a bug that atphy(4) can't negotiate correctly when the media setting is
neither auto nor 1000baseT. Use correct index for mii_media_table[].

 History: mii_anar() is first added in OpenBSD and ported to NetBSD. On NetBSD,
only atphy(4) use this function. mii_physubr.c rev. 1.75 changed mii_anar()
for simplify. It changed the argument from the ifmedia word to ifm_data used
in our MII API, but the caller have not been changed. And then, PR kern/50206
was reported and the caller was modified by me to prevent panic but it was not
correct fix.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Fri Oct 18 12:53:08 2019 UTC (7 years, 1 month ago) by hkenken
Branches: MAIN
CVS tags: phil-wifi-20191119
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +65 -4 lines
Modified atphy(4)

* Support CLK_25M clock out.
* Support internal delay for RGMII interface.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Sep 2 12:48:52 2019 UTC (7 years, 2 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +5 -5 lines
s/etphy/atphy/. No functional change.

Revision 1.18.16.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:13 2019 UTC (7 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +35 -50 lines
Sync with HEAD

Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu Apr 11 09:00:34 2019 UTC (7 years, 7 months ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-20190609, netbsd-9-base, isaki-audio2-base, isaki-audio2
Branch point for: netbsd-9
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -3 lines
 Simplify. No functional change.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Mar 25 09:20:46 2019 UTC (7 years, 7 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +9 -23 lines
 KNF. No functional change.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Feb 24 17:22:21 2019 UTC (7 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +8 -14 lines
use a macro to tidy up the phydesc array initialization, from FreeBSD

Revision 1.18.14.1: download - view: text, markup, annotated - select for diffs
Sat Jan 26 22:00:06 2019 UTC (7 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +21 -16 lines
Sync with HEAD

Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Jan 22 03:42:27 2019 UTC (7 years, 9 months ago) by msaitoh
Branches: MAIN
CVS tags: pgoyette-compat-20190127
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +21 -16 lines
 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.12.2.3: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:06 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.12.2.2: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.2.2: +4 -1 lines
update from HEAD

Revision 1.16.2.1.2.1: download - view: text, markup, annotated - select for diffs
Wed Jan 18 08:46:27 2017 UTC (9 years, 9 months ago) by skrll
Branches: netbsd-7-nhusb
Diff to: previous 1.16.2.1: preferred, colored; next MAIN 1.16.2.2: preferred, colored
Changes since revision 1.16.2.1: +5 -2 lines
Sync with netbsd-5

Revision 1.16.2.2: download - view: text, markup, annotated - select for diffs
Mon Dec 12 07:04:31 2016 UTC (9 years, 11 months ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116, 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
Diff to: previous 1.16.2.1: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.2.1: +5 -2 lines
Pull up following revision(s) (requested by msaitoh in ticket #1301):
	sys/dev/mii/inphy.c: revision 1.55
	sys/dev/mii/makphy.c: revision 1.42
	sys/dev/mii/ikphy.c: revision 1.12
	sys/dev/mii/atphy.c: revision 1.18
	sys/dev/mii/ihphy.c: revision 1.10
Set mii_mpd_{oui,model,rev}.
--
Set mii_mpd_{oui,model,rev}.
--
Set mii_mpd_{oui,model,rev}.
--
Set mii_mpd_{oui,rev}.

Revision 1.16.4.2: download - view: text, markup, annotated - select for diffs
Mon Dec 5 10:55:02 2016 UTC (9 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.16.4.1: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.4.1: +5 -2 lines
Sync with HEAD

Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 4 14:49:09 2016 UTC (10 years ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +5 -2 lines
Sync with HEAD

Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Nov 2 10:11:32 2016 UTC (10 years ago) by msaitoh
Branches: 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-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-compat-base, pgoyette-compat-20190118, 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, netbsd-8-base, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek, 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
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +5 -2 lines
Set mii_mpd_{oui,model,rev}.

Revision 1.11.14.1: download - view: text, markup, annotated - select for diffs
Sun Nov 15 17:45:59 2015 UTC (11 years ago) by bouyer
Branches: netbsd-6-1
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +3 -3 lines
Pull up following revision(s) (requested by msaitoh in ticket #1325):
	sys/dev/mii/atphy.c: revision 1.17
  Fix incorrect argument of mii_anar(). Fixes PR#50206.
XXX pullup -[567]

Revision 1.11.12.1: download - view: text, markup, annotated - select for diffs
Sun Nov 15 17:45:50 2015 UTC (11 years ago) by bouyer
Branches: netbsd-6-0
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +3 -3 lines
Pull up following revision(s) (requested by msaitoh in ticket #1325):
	sys/dev/mii/atphy.c: revision 1.17
  Fix incorrect argument of mii_anar(). Fixes PR#50206.
XXX pullup -[567]

Revision 1.11.8.3: download - view: text, markup, annotated - select for diffs
Sun Nov 15 17:45:44 2015 UTC (11 years ago) by bouyer
Branches: netbsd-6
Diff to: previous 1.11.8.2: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.8.2: +3 -3 lines
Pull up following revision(s) (requested by msaitoh in ticket #1325):
	sys/dev/mii/atphy.c: revision 1.17
  Fix incorrect argument of mii_anar(). Fixes PR#50206.
XXX pullup -[567]

Revision 1.5.2.2.6.1: download - view: text, markup, annotated - select for diffs
Sat Nov 7 20:37:09 2015 UTC (11 years ago) by snj
Branches: netbsd-5-2
Diff to: previous 1.5.2.2: preferred, colored; next MAIN 1.5.2.3: preferred, colored
Changes since revision 1.5.2.2: +3 -3 lines
Pull up following revision(s) (requested by msaitoh in ticket #1978):
	sys/dev/mii/atphy.c: revision 1.17
Fix incorrect argument of mii_anar(). Fixes PR#50206.

Revision 1.5.2.2.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 7 20:36:42 2015 UTC (11 years ago) by snj
Branches: netbsd-5-1
Diff to: previous 1.5.2.2: preferred, colored; next MAIN 1.5.2.3: preferred, colored
Changes since revision 1.5.2.2: +3 -3 lines
Pull up following revision(s) (requested by msaitoh in ticket #1978):
	sys/dev/mii/atphy.c: revision 1.17
Fix incorrect argument of mii_anar(). Fixes PR#50206.

Revision 1.5.2.3: download - view: text, markup, annotated - select for diffs
Sat Nov 7 20:35:52 2015 UTC (11 years ago) by snj
Branches: netbsd-5
Diff to: previous 1.5.2.2: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.2.2: +3 -3 lines
Pull up following revision(s) (requested by msaitoh in ticket #1978):
	sys/dev/mii/atphy.c: revision 1.17
Fix incorrect argument of mii_anar(). Fixes PR#50206.
XXX pullup -[567]

Revision 1.16.6.1: download - view: text, markup, annotated - select for diffs
Wed Nov 4 18:21:07 2015 UTC (11 years ago) by riz
Branches: netbsd-7-0
CVS tags: netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +3 -3 lines
Pull up following revision(s) (requested by msaitoh in ticket #971):
	sys/dev/mii/atphy.c: revision 1.17
  Fix incorrect argument of mii_anar(). Fixes PR#50206.
XXX pullup -[567]

Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Wed Nov 4 18:19:58 2015 UTC (11 years ago) by riz
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base
Branch point for: netbsd-7-nhusb
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
Pull up following revision(s) (requested by msaitoh in ticket #971):
	sys/dev/mii/atphy.c: revision 1.17
  Fix incorrect argument of mii_anar(). Fixes PR#50206.
XXX pullup -[567]

Revision 1.16.4.1: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:05:58 2015 UTC (11 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
Sync with HEAD

Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Sep 8 10:16:53 2015 UTC (11 years, 2 months ago) by msaitoh
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
 Fix incorrect argument of mii_anar(). Fixes PR#50206.
XXX pullup -[567]

Revision 1.11.8.2: download - view: text, markup, annotated - select for diffs
Wed Feb 4 11:35:04 2015 UTC (11 years, 9 months ago) by martin
Branches: netbsd-6
Diff to: previous 1.11.8.1: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.8.1: +3 -3 lines
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.11.8.1: download - view: text, markup, annotated - select for diffs
Tue Nov 4 09:23:20 2014 UTC (12 years ago) by martin
Branches: netbsd-6
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -3 lines
Pull up following revision(s) (requested by msaitoh in ticket #1146):
	sys/dev/mii/mii_physubr.c: revision 1.79
	sys/dev/mii/rgephy.c: revision 1.33
	sys/dev/mii/brgphy.c: revision 1.66
	sys/dev/mii/atphy.c: revision 1.15
	sys/dev/mii/mii.h: revision 1.17
  The bit location of link ability is different between 1000Base-X and others
(See annex 28B.2 and 28D). The old mii.h defined ANAR_X_PAUSE_* macros. Those
macros were named for 1000Base-X, but the bit definitions were not for
1000Base-X but for others (e.g. 1000BaseT). So there was bug in auto
negotiation for 1000Base-X, but there was no bug for other media. Define new
macro named ANAR_PAUSE_* and ANLPAR_PAUSE_* for other than 1000Base-X and fix
the bit definitions of ANAR_X_PAUSE_* and ANLPPAR_X_*. Change some PHY drivers
to use true macro. Same as other *BSDs.

Revision 1.12.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:41 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.12.2.1: preferred, colored; branchpoint 1.12: preferred, colored
Changes since revision 1.12.2.1: +1 -1 lines
Rebase to HEAD as of a few days ago.

Revision 1.15.6.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:54:53 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +3 -3 lines
Rebase.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Jun 16 12:36:41 2014 UTC (12 years, 5 months ago) by msaitoh
Branches: MAIN
CVS tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-base, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1
Branch point for: nick-nhusb, netbsd-7-0, netbsd-7
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -3 lines
Fix a bug that atphy doesn't set the capability of pause function correctly.
This bug was added in "mii.h" rev. 1.17.

Revision 1.11.2.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:23 2014 UTC (12 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.11.2.1: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.2.1: +6 -5 lines
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.12.2.1: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:20:18 2013 UTC (13 years, 4 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +6 -5 lines
resync from head

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Jun 16 06:29:08 2013 UTC (13 years, 5 months ago) by msaitoh
Branches: 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
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -3 lines
 The bit location of link ability is different between 1000Base-X and others
(See annex 28B.2 and 28D). The old mii.h defined ANAR_X_PAUSE_* macros. Those
macros were named for 1000Base-X, but the bit definitions were not for
1000Base-X but for others (e.g. 1000BaseT). So there was bug in auto
negotiation for 1000Base-X, but there was no bug for other media. Define new
macro named ANAR_PAUSE_* and ANLPAR_PAUSE_* for other than 1000Base-X and fix
the bit definitions of ANAR_X_PAUSE_* and ANLPPAR_X_*. Change some PHY drivers
to use true macro. Same as other *BSDs.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Jun 9 08:42:16 2013 UTC (13 years, 5 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -3 lines
 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.13: download - view: text, markup, annotated - select for diffs
Thu Jun 6 03:10:48 2013 UTC (13 years, 5 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3 lines
 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.11.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:21:20 2012 UTC (14 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -2 lines
sync with head

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Jul 23 00:09:49 2012 UTC (14 years, 3 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -2 lines
Make it match AR8035

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Oct 2 21:42:19 2011 UTC (15 years, 1 month ago) by jmcneill
Branches: MAIN
CVS tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, 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-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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, 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
Branch point for: yamt-pagecache, netbsd-6-1, netbsd-6-0, netbsd-6
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +22 -4 lines
Attansic L2 is 10/100 but the status registers report 1000 Mbps, so don't
bother reading MII_EXTSR for this part. Also use MII_ANEGTICKS instead of
MII_ANEGTICKS_GIGE for this part.

Revision 1.7.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:08:06 2011 UTC (15 years, 5 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +14 -8 lines
Sync with HEAD.

Revision 1.6.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:53:31 2011 UTC (15 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +16 -8 lines
sync with head

Revision 1.7.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 15:10:22 2011 UTC (15 years, 8 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.7.4.1: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.4.1: +4 -2 lines
Sync with HEAD

Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Feb 23 03:22:44 2011 UTC (15 years, 8 months ago) by jmcneill
Branches: MAIN
CVS tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -2 lines
match on MII_MODEL_ATTANSIC_L2

alc0 at pci3 dev 0 function 0: Atheros AR8152 v2.0 PCIe Fast Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
atphy0 at alc0 phy 0: L2 10/100 PHY, rev. 5
atphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto

Revision 1.7.4.1: download - view: text, markup, annotated - select for diffs
Tue Feb 8 16:19:49 2011 UTC (15 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +12 -8 lines
Sync with HEAD

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Jan 22 18:26:12 2011 UTC (15 years, 9 months ago) by cegger
Branches: MAIN
CVS tags: bouyer-quota2-base
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3 lines
fix comment. from PR kern/44395

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Jan 22 08:13:47 2011 UTC (15 years, 9 months ago) by cegger
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +11 -7 lines
Fixes from PR kern/44395 Masanori Kanaoka:
- Fix register address in ale_phy_reset(). from linux
- Fix mask value in ale_stop_mac().
- Fix multicast handling. from openbsd
- Fix phy reset handling.

Revision 1.5.2.2.4.1: download - view: text, markup, annotated - select for diffs
Fri Jan 7 02:20:27 2011 UTC (15 years, 10 months ago) by matt
Branches: matt-nb5-pq3
Diff to: previous 1.5.2.2: preferred, colored; next MAIN 1.5.2.3: preferred, colored
Changes since revision 1.5.2.2: +4 -2 lines
Match some more phys.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Dec 11 18:10:16 2010 UTC (15 years, 11 months ago) by matt
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -2 lines
Recognize AR8021

Revision 1.6.6.2: download - view: text, markup, annotated - select for diffs
Wed Apr 21 00:27:39 2010 UTC (16 years, 7 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Diff to: previous 1.6.6.1: preferred, colored; branchpoint 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6.6.1: +390 -0 lines
sync to netbsd-5

Revision 1.5.4.3: download - view: text, markup, annotated - select for diffs
Wed Aug 19 18:47:09 2009 UTC (17 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.5.4.2: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.4.2: +5 -5 lines
sync with head.

Revision 1.6.6.1
Sat Jul 25 16:25:13 2009 UTC (17 years, 3 months ago) by matt
Branches: matt-nb5-mips64
FILE REMOVED
Changes since revision 1.6: +0 -390 lines
file atphy.c was added on branch matt-nb5-mips64 on 2010-04-21 00:27:39 +0000

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Jul 25 16:25:13 2009 UTC (17 years, 3 months ago) by cegger
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, 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, matt-premerge-20091211, jym-xensuspend-nbase
Branch point for: rmind-uvmplock, matt-nb5-mips64
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +5 -5 lines
- replace magic number with proper define from mii.h. From OpenBSD.
- fix typo in comment. From OpenBSD.

Revision 1.2.6.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:20:15 2009 UTC (17 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +8 -3 lines
Sync with HEAD.

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

Revision 1.5.4.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:52 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.5.4.1: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.4.1: +390 -0 lines
sync with head.

Revision 1.5.2.2: download - view: text, markup, annotated - select for diffs
Sun May 3 23:45:47 2009 UTC (17 years, 6 months ago) by snj
Branches: netbsd-5
CVS tags: 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-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, matt-nb5-pq3-base
Branch point for: netbsd-5-2, netbsd-5-1, matt-nb5-pq3
Diff to: previous 1.5.2.1: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.1: +390 -0 lines
Pull up following revision(s) (requested by cegger in ticket #735):
	sys/dev/pci/if_age.c: revisions 1.1-1.28
	sys/dev/pci/if_agereg.h: revisions 1.1-1.2
	sys/dev/pci/if_ale.c: revisions 1.1-1.3
	sys/dev/pci/if_alereg.h: revisions 1.1-1.2
	sys/dev/pci/files.pci: revisions 1.310-1.313
	sys/dev/mii/atphy.c: revisions 1.1-1.5
	sys/dev/mii/files.mii: revision 1.42
	share/man/man4/age.4: revisions 1.1-1.3
	share/man/man4/ale.4: revisions 1.1-1.2
	share/man/man4/atphy.4: revisions 1.1-1.2
	share/man/man4/Makefile: revisions 1.486, 1.489
	distrib/sets/lists/man/mi: revisions 1.1118, 1.1132
	sys/arch/i386/conf/GENERIC: revisions 1.928, 1.933
	sys/arch/i386/conf/XEN2_DOM0: revisions 1.57, 1.60
	sys/arch/amd64/conf/GENERIC: revisions 1.239, 1.241
	sys/arch/amd64/conf/XEN3_DOM0: revisions 1.38, 1.42
Add the age(4) and ale(4) drivers for Attansic L1 and Atheros
AR8121/AR8113/AR8114 devices respectively.

Revision 1.2.4.4: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:35:53 2009 UTC (17 years, 6 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.2.4.3: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.4.3: +4 -3 lines
Sync with HEAD.

Revision 1.5.4.1
Fri Mar 27 04:42:50 2009 UTC (17 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
FILE REMOVED
Changes since revision 1.5: +0 -390 lines
file atphy.c was added on branch yamt-nfs-mp on 2009-05-04 08:12:52 +0000

Revision 1.5.2.1
Fri Mar 27 04:42:50 2009 UTC (17 years, 7 months ago) by snj
Branches: netbsd-5
FILE REMOVED
Changes since revision 1.5: +0 -390 lines
file atphy.c was added on branch netbsd-5 on 2009-05-03 23:45:47 +0000

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Mar 27 04:42:50 2009 UTC (17 years, 7 months ago) by cegger
Branches: MAIN
CVS tags: yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jymxensuspend-base, jym-xensuspend-base
Branch point for: yamt-nfs-mp, netbsd-5
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -3 lines
use auto-negotiation for manual media type selection.
This should fix establishment of 10/100Mbps link on L1E.
Helpful to reduce watchdog timeout problems on L1 (age(4)) reported by Jochen Kunz.
From FreeBSD via OpenBSD.

Revision 1.2.4.3: download - view: text, markup, annotated - select for diffs
Tue Mar 3 18:31:06 2009 UTC (17 years, 8 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.2.4.2: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.4.2: +6 -2 lines
Sync with HEAD.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Feb 12 13:38:49 2009 UTC (17 years, 9 months ago) by cegger
Branches: MAIN
CVS tags: nick-hppapmap-base2
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -2 lines
pretty print atphy's supported medias in dmesg.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Feb 11 14:44:25 2009 UTC (17 years, 9 months ago) by cegger
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -2 lines
Attach atphy(4) on ATTANSIC oui.
ok cube@

Revision 1.2.4.2: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:18:14 2009 UTC (17 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.2.4.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.4.1: +385 -0 lines
Sync with HEAD.

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:57 2009 UTC (17 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.1: +385 -0 lines
Sync with HEAD.

Revision 1.2.4.1
Fri Jan 16 21:50:02 2009 UTC (17 years, 10 months ago) by skrll
Branches: nick-hppapmap
FILE REMOVED
Changes since revision 1.2: +0 -385 lines
file atphy.c was added on branch nick-hppapmap on 2009-01-19 13:18:14 +0000

Revision 1.2.2.1
Fri Jan 16 21:50:02 2009 UTC (17 years, 10 months ago) by mjf
Branches: mjf-devfs2
FILE REMOVED
Changes since revision 1.2: +0 -385 lines
file atphy.c was added on branch mjf-devfs2 on 2009-01-17 13:28:57 +0000

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Jan 16 21:50:02 2009 UTC (17 years, 10 months ago) by cegger
Branches: MAIN
CVS tags: mjf-devfs2-base
Branch point for: nick-hppapmap, mjf-devfs2, jym-xensuspend
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -1 lines
add RCSID

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Jan 16 21:06:24 2009 UTC (17 years, 10 months ago) by cegger
Branches: MAIN
Driver for Attansic Technology F1 10/100/1000 Ethernet PHY.

Written by Pyun YongHyeon for FreeBSD, ported to OpenBSD by Kevin Lo, ported to
NetBSD by me.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>