The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.10.28.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.10.28.1: +14 -9 lines
Diff to previous 1.10.28.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

Merge changes from current as of 20200406

Revision 1.15 / (download) - annotate - [select for diffs], Sun Mar 15 23:04:50 2020 UTC (4 years 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.14: +12 -2 lines
Diff to previous 1.14 (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.14 / (download) - annotate - [select for diffs], Wed Nov 27 10:19:20 2019 UTC (4 years, 4 months ago) by msaitoh
Branch: MAIN
CVS Tags: is-mlppp-base, is-mlppp, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.13: +4 -9 lines
Diff to previous 1.13 (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.10.28.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.10: +32 -36 lines
Diff to previous 1.10 (colored)

Sync with HEAD

Revision 1.13 / (download) - annotate - [select for diffs], Mon Mar 25 07:34:13 2019 UTC (5 years ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2
Changes since 1.12: +15 -20 lines
Diff to previous 1.12 (colored)

 KNF. No functional change.

Revision 1.12 / (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.11: +4 -7 lines
Diff to previous 1.11 (colored)

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

Revision 1.10.26.1 / (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.10: +17 -13 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Sync with HEAD

Revision 1.11 / (download) - annotate - [select for diffs], Wed Jan 23 03:38:26 2019 UTC (5 years, 2 months ago) by msaitoh
Branch: MAIN
CVS Tags: pgoyette-compat-20190127
Changes since 1.10: +17 -13 lines
Diff to previous 1.10 (colored)

Make evbmips/conf/WGT624V3 compilable:
- Modify for new read/write API
- Do "#if 0" for unused structures.

Revision 1.9.18.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.9: +4 -2 lines
Diff to previous 1.9 (colored) next main 1.10 (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.9.22.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:41 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.9: +4 -2 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Rebase to HEAD as of a few days ago.

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

Rebase.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Jun 16 16:48:16 2014 UTC (9 years, 9 months ago) by msaitoh
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, tls-maxphys-base, tls-earlyentropy-base, 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-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, 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, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, 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, 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
Changes since 1.9: +4 -2 lines
Diff to previous 1.9 (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.7.14.1 / (download) - annotate - [select for diffs], Thu Jan 28 17:43:11 2010 UTC (14 years, 2 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.7: +4 -4 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Fix a split device_t/softc botch.

Revision 1.8.4.1 / (download) - annotate - [select for diffs], Thu Jul 23 23:31:57 2009 UTC (14 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.8: +5 -6 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Sync with HEAD.

Revision 1.6.4.3 / (download) - annotate - [select for diffs], Sat Jun 20 07:20:23 2009 UTC (14 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.6.4.2: +5 -6 lines
Diff to previous 1.6.4.2 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

sync with head

Revision 1.9 / (download) - annotate - [select for diffs], Thu Jun 18 08:40:26 2009 UTC (14 years, 9 months ago) by rjs
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, yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, 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-premerge-20091211, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, khorben-n900, jymxensuspend-base, jym-xensuspend-nbase, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver
Branch point for: tls-maxphys, tls-earlyentropy, netbsd-6
Changes since 1.8: +5 -6 lines
Diff to previous 1.8 (colored)

Make it compile. Change a commented out printf() to aprint_error_dev().

Revision 1.6.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.6.4.1: +2 -5 lines
Diff to previous 1.6.4.1 (colored) to branchpoint 1.6 (colored)

sync with head.

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

Sync with HEAD.

Revision 1.5.6.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:58 2009 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.5.6.1: +0 -3 lines
Diff to previous 1.5.6.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

Sync with HEAD.

Revision 1.7.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.7: +2 -5 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

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

Revision 1.8 / (download) - annotate - [select for diffs], Mon Nov 17 03:04:27 2008 UTC (15 years, 4 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base, jym-xensuspend-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: jym-xensuspend
Changes since 1.7: +2 -5 lines
Diff to previous 1.7 (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.5.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.5: +10 -9 lines
Diff to previous 1.5 (colored)

Sync with HEAD.

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

sync with head.

Revision 1.6.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.6: +10 -9 lines
Diff to previous 1.6 (colored)

sync with head.

Revision 1.7 / (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-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-dm-base1
Branch point for: nick-hppapmap, matt-nb5-mips64, haad-dm
Changes since 1.6: +10 -9 lines
Diff to previous 1.6 (colored)

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

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

use aprint_*_dev and device_xname

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

Sync with HEAD.

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

sync with head

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

sync with HEAD

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

Sync with HEAD

Revision 1.5 / (download) - annotate - [select for diffs], Sat Dec 29 19:34:55 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.4: +2 -5 lines
Diff to previous 1.4 (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.3.26.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:46:36 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.3: +5 -2 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Sync with head.

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

sync with head.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Dec 9 20:28:03 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.3: +5 -2 lines
Diff to previous 1.3 (colored)

Merge jmcneill-pm branch.

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

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

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

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

Revision 1.2.6.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:53:55 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.2: +21 -6 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.2.4.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:10:18 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.4.2: +21 -6 lines
Diff to previous 1.2.4.2 (colored) to branchpoint 1.2 (colored)

sync with head.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Feb 17 23:23:38 2007 UTC (17 years, 1 month ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-kmem-base, yamt-idlelwp-base8, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-audiomp-base, ad-audiomp
Branch point for: yamt-kmem, vmlocking2, mjf-devfs, matt-armv6, jmcneill-pm
Changes since 1.2: +21 -6 lines
Diff to previous 1.2 (colored)

Add a default "dumb" mode, that adds all ports to the same interface.

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

sync with head.

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

sync with head.

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

Sync with head.

Revision 1.2.4.1, Thu Nov 16 21:24:07 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2: +0 -338 lines
FILE REMOVED

file mvphy.c was added on branch yamt-lazymbuf on 2006-12-30 20:48:38 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Thu Nov 16 21:24:07 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, 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, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Branch point for: yamt-lazymbuf, yamt-idlelwp
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

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

Revision 1.1.8.2 / (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.8.1: +338 -0 lines
Diff to previous 1.1.8.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync with head

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Fri Aug 11 15:44:24 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.1.4.1: +338 -0 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync with head

Revision 1.1.8.1, Fri Jul 21 23:55:27 2006 UTC (17 years, 8 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.1: +0 -338 lines
FILE REMOVED

file mvphy.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:52:03 +0000

Revision 1.1.4.1, Fri Jul 21 23:55:27 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.1: +0 -338 lines
FILE REMOVED

file mvphy.c was added on branch yamt-pdpolicy on 2006-08-11 15:44:24 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Fri Jul 21 23:55:27 2006 UTC (17 years, 8 months ago) by gdamore
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, rpaulo-netinet-merge-pcb-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, yamt-pdpolicy, rpaulo-netinet-merge-pcb, newlock2

Initial implementation for Marvell 88E6060 10/100 5-port PHY switch, from
Sam Leffler, used in various products including AR5312-based designs.  This
is not enabled in any configs yet, nor tested by anyone other than Sam.  I
will be testing this more later, and adding it to appropriate configs once
I have verified (unless someone else beats me to the punch.)

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>