The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.30.18.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:24 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.30.18.2: +4 -1 lines
Diff to previous 1.30.18.2 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.30.18.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:08 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.30.18.1: +14 -6 lines
Diff to previous 1.30.18.1 (colored) to branchpoint 1.30 (colored)

Merge changes from current as of 20200406

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: thorpej-ifq-base, thorpej-ifq, 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, thorpej-altq-separation-base, thorpej-altq-separation, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, netbsd-10-base, 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, netbsd-10, 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, HEAD
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:21 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: +4 -6 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.36.4.1 / (download) - annotate - [select for diffs], Mon Nov 25 16:26:00 2019 UTC (4 years, 4 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.36: +6 -3 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

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

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

 Add Teranetics, Aquantia and Renesas.

 Use uppercase for vendor name.

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

Fix typo. from vezhlys
- Rename JMICRON 0x0021 from JMC250 to JMP211
- Rename JMICRON 0x0022 from JMC260 to JMP202

Revision 1.30.10.1 / (download) - annotate - [select for diffs], Mon Nov 25 15:57:23 2019 UTC (4 years, 4 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE
Changes since 1.30: +7 -4 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

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

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

- miidevs update:
 - Add Teranetics, Aquantia and Renesas.
 - Change ICPLUS(0x0090c3) to xxICPLUS(0x0009c3).
 - Fix typo. from vezhlys.
 - Rename JMICRON 0x0021 from JMC250 to JMP211
 - Rename JMICRON 0x0022 from JMC260 to JMP202
- rlphy(4): Print model name if it's ICPLUS IP101 to avoid printing
  "Realtek internal PHY".

Revision 1.37 / (download) - annotate - [select for diffs], Thu Sep 19 14:41:28 2019 UTC (4 years, 7 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-20191119
Changes since 1.36: +6 -3 lines
Diff to previous 1.36 (colored)

- ICPLUS -> xxICPLUS
- Print model name if it's ICPLUS IP101 to avoid "Realtek internal PHY".

Revision 1.30.18.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:14 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.30: +55 -57 lines
Diff to previous 1.30 (colored)

Sync with HEAD

Revision 1.36 / (download) - annotate - [select for diffs], Mon Mar 25 09:20:46 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.35: +15 -23 lines
Diff to previous 1.35 (colored)

 KNF. No functional change.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Mar 8 09:59:15 2019 UTC (5 years, 1 month ago) by msaitoh
Branch: MAIN
Changes since 1.34: +11 -12 lines
Diff to previous 1.34 (colored)

 Use static.

Revision 1.34 / (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.33: +6 -11 lines
Diff to previous 1.33 (colored)

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

Revision 1.33 / (download) - annotate - [select for diffs], Sat Feb 9 07:48:39 2019 UTC (5 years, 2 months ago) by rin
Branch: MAIN
Changes since 1.32: +12 -6 lines
Diff to previous 1.32 (colored)

Support RTL8152. Tested on ure(4) (RTL8152).

Revision 1.30.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.30.16.1: +14 -10 lines
Diff to previous 1.30.16.1 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored)

Sync with HEAD

Revision 1.32 / (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.31: +14 -10 lines
Diff to previous 1.31 (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.30.16.1 / (download) - annotate - [select for diffs], Fri Jan 18 08:50:26 2019 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.30: +12 -10 lines
Diff to previous 1.30 (colored)

Synch with HEAD

Revision 1.31 / (download) - annotate - [select for diffs], Mon Jan 7 05:01:10 2019 UTC (5 years, 3 months ago) by msaitoh
Branch: MAIN
CVS Tags: pgoyette-compat-20190118
Changes since 1.30: +12 -10 lines
Diff to previous 1.30 (colored)

 Fix a bug that rlphy might ignore the link partner's advertised speed.

Revision 1.27.14.2 / (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.27.14.1: +1 -2 lines
Diff to previous 1.27.14.1 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

update from HEAD

Revision 1.29.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.29: +3 -4 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Sync with HEAD

Revision 1.30 / (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-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, 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.29: +3 -4 lines
Diff to previous 1.29 (colored)

KNF. Remove extra spaces. No functional change.

Revision 1.27.10.1 / (download) - annotate - [select for diffs], Sun Nov 9 12:13:15 2014 UTC (9 years, 5 months ago) by martin
Branch: netbsd-6
Changes since 1.27: +7 -7 lines
Diff to previous 1.27 (colored) next main 1.28 (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.27.14.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:41 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.27: +7 -7 lines
Diff to previous 1.27 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.27.28.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.27: +7 -7 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

Rebase.

Revision 1.29 / (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.28: +6 -6 lines
Diff to previous 1.28 (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.28 / (download) - annotate - [select for diffs], Mon Jun 16 14:43:22 2014 UTC (9 years, 10 months ago) by msaitoh
Branch: MAIN
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

No functional change:
- Fix typo.
- Remove trailing white spaces.
- Capitalize comments.
- Tabify.
- KNF.

Revision 1.26.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:08:07 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.26: +6 -2 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Sync with HEAD.

Revision 1.25.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:53:32 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.25: +7 -23 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

sync with head

Revision 1.26.4.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:19:49 2011 UTC (13 years, 2 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.26: +6 -2 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Sync with HEAD

Revision 1.27 / (download) - annotate - [select for diffs], Thu Jan 20 14:26:11 2011 UTC (13 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base9, 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-pagecache, rmind-uvmplock-nbase, rmind-uvmplock-base, 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, 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-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, 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, agc-symver-base, agc-symver
Branch point for: tls-maxphys, tls-earlyentropy, netbsd-6
Changes since 1.26: +6 -2 lines
Diff to previous 1.26 (colored)

Match only first instance of rlphy, following suite from Free/OpenBSD.

should fix PR kern/42950, variant of patch from "js" on irc

Revision 1.26 / (download) - annotate - [select for diffs], Sun Nov 14 13:40:36 2010 UTC (13 years, 5 months ago) by mlelstv
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.25: +3 -23 lines
Diff to previous 1.25 (colored)

rlphy fails to work without autonegotiation.

Reason is that ifm_data does not store BMCR data but a media index
that gets poked into the BMCR register.

Setting the BMCR and ANAR registers is correctly handled by the
generic function mii_phy_setmedia.

Revision 1.22.14.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:27:39 2010 UTC (14 years ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.22: +5 -5 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

sync to netbsd-5

Revision 1.24.2.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.24: +5 -5 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

Sync with HEAD.

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

Revision 1.21.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.21.4.1: +6 -33 lines
Diff to previous 1.21.4.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

sync with head.

Revision 1.22.10.1 / (download) - annotate - [select for diffs], Fri May 1 01:29:20 2009 UTC (14 years, 11 months ago) by snj
Branch: 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-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, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.22: +5 -5 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Pull up following revision(s) (requested by cegger in ticket #474):
	sys/dev/mii/inphy.c: revision 1.51
	sys/dev/mii/iophy.c: revision 1.35
	sys/dev/mii/nsphy.c: revision 1.56
	sys/dev/mii/rlphy.c: revision 1.25
	sys/dev/mii/ukphy_subr.c: revision 1.11
	sys/dev/pci/if_txp.c: revision 1.28
fix media priorities:
IEEE 802.3 Annex 28B.3 specifies the following relative
priorities of the technologies supported by
802.3 Selector Field value:
1000BASE-T full duplex
1000BASE-T
100BASE-T2 full duplex
100BASE-TX full duplex
100BASE-T2
100BASE-T4
100BASE-TX
10BASE-T full duplex
10BAST-T
Our drivers give 100BASE-T4 a higher priority than
100BASE-TX full duplex.
Fix this. This patch is based on changes in FreeBSD and OpenBSD.
Patch presented on tech-kern and tech-net:
http://mail-index.netbsd.org/tech-kern/2009/02/15/msg004397.html
http://mail-index.netbsd.org/tech-net/2009/02/15/msg001064.html
got no comments, no objections.

Revision 1.22.8.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:31:06 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.22.8.1: +5 -5 lines
Diff to previous 1.22.8.1 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

Sync with HEAD.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Feb 16 08:00:42 2009 UTC (15 years, 2 months ago) by cegger
Branch: MAIN
CVS Tags: 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-base3, 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, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Branch point for: rmind-uvmplock
Changes since 1.24: +5 -5 lines
Diff to previous 1.24 (colored)

fix media priorities:

IEEE 802.3 Annex 28B.3 specifies the following relative
priorities of the technologies supported by
802.3 Selector Field value:

1000BASE-T full duplex
1000BASE-T
100BASE-T2 full duplex
100BASE-TX full duplex
100BASE-T2
100BASE-T4
100BASE-TX
10BASE-T full duplex
10BAST-T

Our drivers give 100BASE-T4 a higher priority than
100BASE-TX full duplex.
Fix this. This patch is based on changes in FreeBSD and OpenBSD.

Patch presented on tech-kern and tech-net:
http://mail-index.netbsd.org/tech-kern/2009/02/15/msg004397.html
http://mail-index.netbsd.org/tech-net/2009/02/15/msg001064.html

got no comments, no objections.

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

Sync with HEAD.

Revision 1.20.6.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:58 2009 UTC (15 years, 3 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.20.6.1: +1 -28 lines
Diff to previous 1.20.6.1 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

Sync with HEAD.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Jan 16 20:52:20 2009 UTC (15 years, 3 months ago) by cegger
Branch: MAIN
CVS Tags: mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.23: +3 -27 lines
Diff to previous 1.23 (colored)

Use mii_anar(). No functional change.

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

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

Revision 1.23 / (download) - annotate - [select for diffs], Mon Nov 17 03:04:27 2008 UTC (15 years, 5 months ago) by dyoung
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.22: +2 -5 lines
Diff to previous 1.22 (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.12.16.1 / (download) - annotate - [select for diffs], Tue Jun 3 20:47:23 2008 UTC (15 years, 10 months ago) by skrll
Branch: wrstuden-fixsa
Changes since 1.12: +34 -11 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Sync with netbsd-4.

Revision 1.20.6.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.20: +9 -8 lines
Diff to previous 1.20 (colored)

Sync with HEAD.

Revision 1.21.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.21: +9 -8 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

sync with head.

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

sync with head.

Revision 1.22 / (download) - annotate - [select for diffs], Sun May 4 17:06:10 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-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, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-dm-base1
Branch point for: nick-hppapmap, netbsd-5, matt-nb5-mips64, haad-dm
Changes since 1.21: +9 -8 lines
Diff to previous 1.21 (colored)

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

Revision 1.21 / (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.20: +3 -3 lines
Diff to previous 1.20 (colored)

use aprint_*_dev and device_xname

Revision 1.12.2.2 / (download) - annotate - [select for diffs], Sun Mar 30 15:02:29 2008 UTC (16 years ago) by jdc
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base
Changes since 1.12.2.1: +18 -10 lines
Diff to previous 1.12.2.1 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

Pull up revisions 1.14-1.15 (requested by tsutsui in ticket #1111).

Prepare sc_rtl8201l flag in softc and use it in rlphy_status() so that
we don't have to check device names of device_parent(). From FreeBSD.

Fix wrong softc size (missed in the previous).

Revision 1.12.2.1 / (download) - annotate - [select for diffs], Sun Mar 9 11:06:54 2008 UTC (16 years, 1 month ago) by bouyer
Branch: netbsd-4
Changes since 1.12: +18 -3 lines
Diff to previous 1.12 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #1098):
	sys/dev/mii/rlphy.c: revision 1.13
Prepare rlphy_reset() and set BMCR_AUTOEN in it.
This makes autonegotiation on rlphy(4) at re(4)
on landisk (8139C+) select 100baseTX full-duplex
at boot time (before first ifconfig) properly,
and there is no bad side effect on rlphy(4) at nfe(4).
This may also fix PR kern/34109.

Revision 1.17.2.3 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:51 2008 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.17.2.2: +2 -5 lines
Diff to previous 1.17.2.2 (colored) next main 1.18 (colored)

Sync with HEAD.

Revision 1.9.6.7 / (download) - annotate - [select for diffs], Mon Jan 21 09:43:29 2008 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.6.6: +5 -5 lines
Diff to previous 1.9.6.6 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

sync with head

Revision 1.15.8.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:53:24 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.15.8.1: +5 -5 lines
Diff to previous 1.15.8.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

sync with HEAD

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:54:35 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.19: +2 -5 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Sync with HEAD

Revision 1.20 / (download) - annotate - [select for diffs], Sat Dec 29 19:34:56 2007 UTC (16 years, 3 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, 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, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: mjf-devfs2
Changes since 1.19: +2 -5 lines
Diff to previous 1.19 (colored)

Remove the device_is_active() check from each individual PHY's
service routine.  Add a wrapper for PHY_SERVICE(), called phy_service(),
and check device_is_active() there.  Make the mii_*() routines call
the PHY service routines thorugh phy_service() instead of PHY_SERVICE().

In mii_phy_resume(), restore a PHY's state after resetting it by
sending a MII_MEDIACHG command.  This change makes bnx(4) resume
more reliably and more quickly; it should help other NICs to resume,
too, if they attach PHYs through MII.

Revision 1.17.2.2 / (download) - annotate - [select for diffs], Thu Dec 27 00:45:12 2007 UTC (16 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.17.2.1: +5 -2 lines
Diff to previous 1.17.2.1 (colored)

Sync with HEAD.

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

Sync with head.

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

sync with head.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Dec 9 20:28:04 2007 UTC (16 years, 4 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, vmlocking2-base3, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.18: +5 -2 lines
Diff to previous 1.18 (colored)

Merge jmcneill-pm branch.

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

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

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

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

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Mon Nov 19 00:48:04 2007 UTC (16 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.17: +3 -2 lines
Diff to previous 1.17 (colored)

Sync with HEAD.

Revision 1.9.6.6 / (download) - annotate - [select for diffs], Thu Nov 15 11:44:15 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.6.5: +3 -2 lines
Diff to previous 1.9.6.5 (colored) to branchpoint 1.9 (colored)

sync with head.

Revision 1.16.2.2 / (download) - annotate - [select for diffs], Tue Nov 13 16:01:10 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.16.2.1: +1 -0 lines
Diff to previous 1.16.2.1 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

Sync with HEAD

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

sync with HEAD

Revision 1.15.6.2 / (download) - annotate - [select for diffs], Tue Nov 6 19:25:22 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.15.6.1: +3 -2 lines
Diff to previous 1.15.6.1 (colored) to branchpoint 1.15 (colored)

Sync with HEAD.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Nov 6 00:58:32 2007 UTC (16 years, 5 months ago) by uwe
Branch: MAIN
CVS Tags: yamt-kmem-base, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: yamt-kmem, vmlocking2
Changes since 1.17: +3 -2 lines
Diff to previous 1.17 (colored)

Add missing aprint_naive("\n"); in rlphyattach.

Revision 1.9.6.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:32:18 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.6.4: +4 -4 lines
Diff to previous 1.9.6.4 (colored) to branchpoint 1.9 (colored)

sync with head.

Revision 1.15.6.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.15: +4 -4 lines
Diff to previous 1.15 (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.16.2.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:38:39 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

Sync with HEAD.

Revision 1.12.10.3 / (download) - annotate - [select for diffs], Tue Oct 23 20:08:33 2007 UTC (16 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.12.10.2: +4 -4 lines
Diff to previous 1.12.10.2 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

Sync with head.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Oct 19 12:00:35 2007 UTC (16 years, 6 months ago) by ad
Branch: MAIN
Branch point for: mjf-devfs
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

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

Revision 1.15.10.1 / (download) - annotate - [select for diffs], Sun Oct 14 11:48:11 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

sync with head.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Oct 13 13:05:19 2007 UTC (16 years, 6 months ago) by isaki
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3
Branch point for: bouyer-xenamd64
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

Correct indent.

Revision 1.9.6.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:36:11 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.6.3: +34 -11 lines
Diff to previous 1.9.6.3 (colored) to branchpoint 1.9 (colored)

sync with head.

Revision 1.12.12.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:06:52 2007 UTC (16 years, 9 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.12: +34 -11 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Sync with head.

Revision 1.12.10.2 / (download) - annotate - [select for diffs], Sun May 27 14:30:20 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.12.10.1: +3 -3 lines
Diff to previous 1.12.10.1 (colored) to branchpoint 1.12 (colored)

Sync with head.

Revision 1.12.4.2 / (download) - annotate - [select for diffs], Thu May 17 13:41:28 2007 UTC (16 years, 11 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.12.4.1: +3 -3 lines
Diff to previous 1.12.4.1 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

sync with head.

Revision 1.15 / (download) - annotate - [select for diffs], Wed May 9 23:16:37 2007 UTC (16 years, 11 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-x86pmap-base2, yamt-x86pmap-base, yamt-idlelwp-base8, vmlocking-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: yamt-x86pmap, matt-armv6, jmcneill-pm
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

Fix wrong softc size (missed in the previous).

Revision 1.12.10.1 / (download) - annotate - [select for diffs], Tue Apr 10 13:24:33 2007 UTC (17 years ago) by ad
Branch: vmlocking
Changes since 1.12: +33 -10 lines
Diff to previous 1.12 (colored)

Sync with head.

Revision 1.12.14.1 / (download) - annotate - [select for diffs], Thu Mar 29 19:27:46 2007 UTC (17 years ago) by reinoud
Branch: reinoud-bufcleanup
Changes since 1.12: +33 -10 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Pullup to -current

Revision 1.12.4.1 / (download) - annotate - [select for diffs], Sat Mar 24 14:55:30 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.12: +33 -10 lines
Diff to previous 1.12 (colored)

sync with head.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Mar 20 10:17:18 2007 UTC (17 years, 1 month ago) by tsutsui
Branch: MAIN
CVS Tags: thorpej-atomic-base, thorpej-atomic
Changes since 1.13: +17 -9 lines
Diff to previous 1.13 (colored)

Prepare sc_rtl8201l flag in softc and use it in rlphy_status() so that
we don't have to check device names of device_parent(). From FreeBSD.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Mar 19 12:23:30 2007 UTC (17 years, 1 month ago) by tsutsui
Branch: MAIN
Changes since 1.12: +18 -3 lines
Diff to previous 1.12 (colored)

Prepare rlphy_reset() and set BMCR_AUTOEN in it.
This makes autonegotiation on rlphy(4) at re(4)
on landisk (8139C+) select 100baseTX full-duplex
at boot time (before first ifconfig) properly,
and there is no bad side effect on rlphy(4) at nfe(4).

This may also fix PR kern/34109.

Revision 1.12.8.2 / (download) - annotate - [select for diffs], Sat Mar 3 23:30:25 2007 UTC (17 years, 1 month ago) by bouyer
Branch: netbsd-3
Changes since 1.12.8.1: +336 -0 lines
Diff to previous 1.12.8.1 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #1673):
	distrib/sets/lists/man/mi		1.844, 1.871
	share/man/man4/Makefile			1.372, 1.379 via patch
	share/man/man4/re.4			1.8, 1.9, 1.11, 1.12
	share/man/man4/rgephy.4			1.1
	share/man/man4/rlphy.4			1.1, 1.2
	sys/arch/amd64/conf/GENERIC		1.79, 1.89
	sys/arch/amd64/conf/INSTALL		1.45, 1.49
	sys/arch/i386/conf/GENERIC		1.717, 1.747
	sys/arch/i386/conf/GENERIC_LAPTOP	1.164
	sys/arch/i386/conf/INSTALL		1.277, 1.283
	sys/arch/i386/conf/INSTALL_LAPTOP	1.96, 1.98
	sys/arch/i386/conf/XEN2_DOM0		1.22 via patch
	sys/arch/macppc/conf/GENERIC		1.220, 1.246
	sys/arch/macppc/conf/INSTALL		1.96, 1.100
	sys/dev/cardbus/if_re_cardbus.c		1.10
	sys/dev/cardbus/if_rtk_cardbus.c 	1.29-1.31
	sys/dev/ic/rtl8169.c			1.14, 1.20, 1.24, 1.25, 1.28-1.61, 1.63, 1.64-1.81 via patch
	sys/dev/ic/rtl81x9.c			1.52, 1.54-1.63, 1.65, 1.67-1.70
	sys/dev/ic/rtl81x9reg.h			1.15-1.26
	sys/dev/ic/rtl81x9var.h			1.19, 1.21-1.37
	sys/dev/mii/files.mii			1.38
	sys/dev/mii/miidevs			1.62, 1.64
	sys/dev/mii/rgephy.c			1.10, 1.13-1.16
	sys/dev/mii/rlphy.c			1.1, 1.6, 1.7, 1.11 via patch
	sys/dev/pci/if_re_pci.c			1.13, 1.15-1.17, 1.19-1.23
	sys/dev/pci/if_rtk_pci.c		1.25, 1.28, 1.29, 1.31
	sys/dev/pci/pcidevs			1.851, 1.852

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

on rtk(4):
- fix kern/31348
- fix possible panic on dreamcast

Revision 1.9.6.3 / (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.9.6.2: +3 -3 lines
Diff to previous 1.9.6.2 (colored) to branchpoint 1.9 (colored)

sync with head.

Revision 1.9.12.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.9.12.1: +5 -5 lines
Diff to previous 1.9.12.1 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

sync with head.

Revision 1.9.10.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:27 2006 UTC (17 years, 5 months ago) by ad
Branch: newlock2
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Sync with head.

Revision 1.12.8.1, Thu Nov 16 01:33:06 2006 UTC (17 years, 5 months ago) by bouyer
Branch: netbsd-3
Changes since 1.12: +0 -333 lines
FILE REMOVED

file rlphy.c was added on branch netbsd-3 on 2007-03-03 23:30:25 +0000

Revision 1.12 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:06 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-base-1, post-newlock2-merge, 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, matt-nb4-arm-base, matt-nb4-arm, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp, wrstuden-fixsa, vmlocking, reinoud-bufcleanup, netbsd-4, netbsd-3, mjf-ufs-trans
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

__unused removal on arguments; approved by core.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Nov 3 17:05:16 2006 UTC (17 years, 5 months ago) by tsutsui
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Make rlphy also match if parent MII is re(4) for RTL8139C+ case.
Tested by Brian A. Seklecki.

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

sync with head

Revision 1.10 / (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.9: +4 -4 lines
Diff to previous 1.9 (colored)

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

Revision 1.1.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.1: +18 -13 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

sync with head

Revision 1.9.6.2 / (download) - annotate - [select for diffs], Wed Jun 21 15:04:46 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.6.1: +333 -0 lines
Diff to previous 1.9.6.1 (colored) to branchpoint 1.9 (colored)

sync with head.

Revision 1.1.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:11 2006 UTC (18 years ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.1: +18 -13 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

Sync with head.

Revision 1.5.4.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.5: +16 -9 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

sync with head.

Revision 1.5.2.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.5.2.1: +16 -9 lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

sync with head.

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

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

Revision 1.9.6.1, Wed Mar 29 07:05:24 2006 UTC (18 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9: +0 -333 lines
FILE REMOVED

file rlphy.c was added on branch yamt-lazymbuf on 2006-06-21 15:04:46 +0000

Revision 1.9 / (download) - annotate - [select for diffs], Wed Mar 29 07:05:24 2006 UTC (18 years ago) by thorpej
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, yamt-lazymbuf, newlock2
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Use device_private().

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Tue Mar 28 09:42:12 2006 UTC (18 years ago) by tron
Branch: peter-altq
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

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

Revision 1.8 / (download) - annotate - [select for diffs], Sat Mar 25 23:17:36 2006 UTC (18 years ago) by thorpej
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

Use device_parent().

Revision 1.7 / (download) - annotate - [select for diffs], Tue Mar 14 04:48:44 2006 UTC (18 years, 1 month ago) by chs
Branch: MAIN
CVS Tags: peter-altq-base
Branch point for: peter-altq
Changes since 1.6: +14 -7 lines
Diff to previous 1.6 (colored)

add an rlphy clone from IC Plus.  from openbsd.

Revision 1.5.2.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.5: +3 -3 lines
Diff to previous 1.5 (colored)

sync with head.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Mar 12 22:30:24 2006 UTC (18 years, 1 month ago) by chs
Branch: MAIN
CVS Tags: yamt-pdpolicy-base2
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

fix match for RealTek 8201L.

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Wed Mar 1 09:28:21 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.1.2.2: +5 -7 lines
Diff to previous 1.1.2.2 (colored) next main 1.2 (colored)

sync with head.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Feb 28 22:52:34 2006 UTC (18 years, 1 month ago) by kleink
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base
Branch point for: yamt-pdpolicy, elad-kernelauth
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

Reduce previous (!is(...) != 0) to (!is(...)).

Revision 1.4 / (download) - annotate - [select for diffs], Mon Feb 27 02:58:56 2006 UTC (18 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.3: +3 -5 lines
Diff to previous 1.3 (colored)

Use device_is_a() more.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Feb 27 02:58:03 2006 UTC (18 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

Use device_is_a().

Revision 1.2 / (download) - annotate - [select for diffs], Mon Feb 20 16:50:37 2006 UTC (18 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

Use device_is_active() rather than testing dv_flags for DVF_ACTIVE
directly.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Sun Jan 15 10:02:48 2006 UTC (18 years, 3 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.1.2.1: +328 -0 lines
Diff to previous 1.1.2.1 (colored)

sync with head.

Revision 1.1.2.1, Wed Jan 4 21:52:17 2006 UTC (18 years, 3 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.1: +0 -328 lines
FILE REMOVED

file rlphy.c was added on branch yamt-uio_vmspace on 2006-01-15 10:02:48 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jan 4 21:52:17 2006 UTC (18 years, 3 months ago) by xtraeme
Branch: MAIN
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb

Add rlphy(4) (Realtek 8139/8201L PHY) from OpenBSD.

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>