The NetBSD Project

CVS log for src/sys/dev/mii/mii.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.23.2.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.23: +31 -13 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

Sync with HEAD

Revision 1.27 / (download) - annotate - [select for diffs], Thu Apr 11 09:14:07 2019 UTC (5 years ago) by msaitoh
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, 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, 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, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, 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, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache, HEAD
Changes since 1.26: +6 -6 lines
Diff to previous 1.26 (colored)

 KNF. No functional change.

Revision 1.26 / (download) - annotate - [select for diffs], Mon Feb 25 07:36:16 2019 UTC (5 years, 1 month ago) by msaitoh
Branch: MAIN
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored)

 MMDACR_FN_{DATANPI,DATAPIRW,DATAPIW} are little hard to identify and might be
misread, so rename them to MMDACR_FN_{DATA,DATA_INC_RW,DATA_INC_W}.

Revision 1.22.4.2 / (download) - annotate - [select for diffs], Fri Jan 18 08:50:26 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.22.4.1: +23 -5 lines
Diff to previous 1.22.4.1 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

Synch with HEAD

Revision 1.25 / (download) - annotate - [select for diffs], Wed Jan 16 08:32:24 2019 UTC (5 years, 2 months ago) by msaitoh
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118
Changes since 1.24: +13 -1 lines
Diff to previous 1.24 (colored)

 Add MII_100T2CR and MII_GTCR's test mode definitions.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Jan 16 07:30:35 2019 UTC (5 years, 2 months ago) by msaitoh
Branch: MAIN
Changes since 1.23: +11 -5 lines
Diff to previous 1.23 (colored)

 Add MII_GTCR(== 0x09 == MII_100T2CR) and MII_GTSR(== 0x0a == MII_100T2SR).
100T2 is little hard to imagine the meaning for gigabit Ethernet.

Revision 1.20.8.1 / (download) - annotate - [select for diffs], Thu Jul 26 21:41:19 2018 UTC (5 years, 8 months ago) by snj
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.20: +62 -7 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #932):
	sys/dev/mii/mii.h: 1.21-1.23
Fix typos.
--
- Add some bit definitions:
    - Unidirectional enable
    - Unidirectional ability
    - Extended Next Page
    - Receive Next Page Location Able
    - Received Next Page Storage Location
    - Data Link Layer Classification capability
    - Enable Physical Layer Classification
    - Invalid Class in PD Class
    - PSE Status bit definitions
- Sort registers
- Modify comments.
--
- Rename ENP (Extended Next Page) to XNP.
- Add ANLPAR_XNP bit.
- Add definitions for RF1 and RF2 (for 1000BASE-X) .
- Rename MII_ANNP (Autonegotiation next page transmit) register to MII_ANNPT.
- Add bit definitions for MII_ANNPT and MII_ANLPRNP.
- Remove GTSR_LP_ASM_DIR bit. This is not described in the 802.3 spec now and
   no any NetBSD drivers use the definition.

Revision 1.22.4.1 / (download) - annotate - [select for diffs], Mon Jun 25 07:25:51 2018 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.22: +45 -4 lines
Diff to previous 1.22 (colored)

Sync with HEAD

Revision 1.23 / (download) - annotate - [select for diffs], Mon Jun 18 09:11:03 2018 UTC (5 years, 9 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi
Changes since 1.22: +45 -4 lines
Diff to previous 1.22 (colored)

- Rename ENP (Extended Next Page) to XNP.
- Add ANLPAR_XNP bit.
- Add definitions for RF1 and RF2 (for 1000BASE-X) .
- Rename MII_ANNP (Autonegotiation next page transmit) register to MII_ANNPT.
- Add bit definitions for MII_ANNPT and MII_ANLPRNP.
- Remove GTSR_LP_ASM_DIR bit. This is not described in the 802.3 spec now and
  no any NetBSD drivers use the definition.

Revision 1.14.22.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:06 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.14.22.2: +23 -7 lines
Diff to previous 1.14.22.2 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

update from HEAD

Revision 1.18.4.3 / (download) - annotate - [select for diffs], Mon Aug 28 17:52:04 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.18.4.2: +20 -6 lines
Diff to previous 1.18.4.2 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)

Sync with HEAD

Revision 1.22 / (download) - annotate - [select for diffs], Wed Jun 7 03:21:31 2017 UTC (6 years, 10 months ago) by msaitoh
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, pgoyette-compat-base, 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
Branch point for: pgoyette-compat
Changes since 1.21: +18 -4 lines
Diff to previous 1.21 (colored)

- Add some bit definitions:
   - Unidirectional enable
   - Unidirectional ability
   - Extended Next Page
   - Receive Next Page Location Able
   - Received Next Page Storage Location
   - Data Link Layer Classification capability
   - Enable Physical Layer Classification
   - Invalid Class in PD Class
   - PSE Status bit definitions
- Sort registers
- Modify comments.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Jun 7 03:08:44 2017 UTC (6 years, 10 months ago) by msaitoh
Branch: MAIN
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored)

 Fix typos.

Revision 1.18.8.1 / (download) - annotate - [select for diffs], Wed Jan 18 08:46:27 2017 UTC (7 years, 2 months ago) by skrll
Branch: netbsd-7-nhusb
Changes since 1.18: +5 -3 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Sync with netbsd-5

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Mon Dec 12 07:18:29 2016 UTC (7 years, 4 months ago) by snj
Branch: 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
Changes since 1.18: +5 -3 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #1302):
	sys/dev/mii/igphyreg.h: revisions 1.7-1.10
	sys/dev/mii/ikphyreg.h: revisions 1.3
	sys/dev/mii/inbmphyreg.h: revisions 1.4-1.9
	sys/dev/mii/mii.h: revisions 1.19-1.20
	sys/dev/pci/if_wm.c: revisions 1.390, 1.392-1.395, 1.397, 1.419-1.425, 1.427-1.428, 1.430-1.435, 1.437-1.453 via patch
	sys/dev/pci/if_wmreg.: revisions 1.89-1.93 via patch
	sys/dev/pci/if_wmvar.h: revisions 1.31-1.32
Update wm(4) up to if_wm.c rev. 1.453 except MSI/MSI-X, multiqueue and
NET_MPSAFE:
- Add I219 support. It's not stable so it's disabled by default.
- wm_gate_hw_phy_config_ich8lan() is for younger than PCH2.
- Drop the host wakeup bit after resetting PHY on PCH and newer
  devices.
- Increase delay while toggling LANPHYPC
- Move call of wm_reset() in wm_attach() after setting PHY and NVM
  related flags because those flags are used in wm_reset().
- Use mutex for NVM access on ICH8 and newer devices. Same as FreeBSD.
- Rewrite PHY related lock stuff. Almost the same as FreeBSD.
  This change will fix a bug that PHY read/write fail on some cases.
- Increase delay in wm_phy_resetisblocked(). Same as FreeBSD.
- Use semaphore in wm_hv_phy_workaround_ich8lan() and
  wm_k1_gig_workaround_hv()
- Use wm_gii_mdic_readreg/writereg() in wm_access_phy_wakeup_reg_bm()
  because these functions are called with taking lock.
- 82567V_3 is BME1000_E_2(bm). Tested with Advantech AIMB-212 1st
  Ethernet port.
- Use wm_gmii_82544_{read,write}reg() on non-82567 ICH8, 9 and 10.
- Remove an 82578 workaround which was for PCH rev < 3. FreeBSD
  removed this workaround in r228386.
- Add an 82578 workaround which is for PHY rev < 2. From FreeBSD and
  Linux.
- Fix wm(4) input drop packet counter. WMREG_RNBC is incremented when
  there is no available buffers in host memory. However, ethernet
  controller can receive packets in such case if there is space in
  phy's FIFO. That is, ethernet controller drops packet only if there
  is no available buffers *and* there is no space in phy's FIFO. So,
  the number of dropped packets should be added WMREG_MPC only.
- Use MII_ADDRMASK.
- Define WMPHY_I217, WMPHY_VF and WMPHY_210.
- Use BME1000_PHY_PAGE_SELECT in wm_gmii_bm_{read,write}reg(). This
  change has no effect because GG82563_PHY_PAGE_SELECT and
  BME1000_PHY_PAGE_SELECT have the same value.
- Fix PHY access on  82567(ICH8 or ICH10), 82574 and 82583:
  - Use wm_gmii_bm_{read,write}reg() on 82574 and 82573.
  - Issue page select correctly on BM PHYs.
- Fix workaround which did dummy read BM_WUC register. This code was
  changed to drop BM_WUC_HOST_WU_BIT of BM_PROT_GEN_CFG register in
  FreeBSD r228386. The code was added rev. 1.149, but the location was
  not the best.
- wm_gmii_hv_{read/write}reg*(): USE PHY address 1 for some special
  registers.
- Add check code for an 82578 workaround. Not completed yet.
- wm_release_hw_control(): Remove extra line. No any effect.
- Add "10/100" into non-gigabit devices' name.
- Call wm_enable_wakeup() in wm_detach() and wm_suspend(). Now wake on
  lan works on Thinkpad X61(ICH8).
- Fix wm_access_phy_wakeup_reg_bm(). This change has no effect because
  this function is used for WUC register and our driver currenlty
  doesn't access to it.
- Call wm_enable_phy_wakeup() on PCH2 and newer, too. Now these devices
  can do WOL. Tested with Thinkpad X220(PCH2).
- Set CTRL_MEHE correctly (PCH_{LPT,SPT} only).
- Add three workarounds for PCH_{LPT,SPT}.
- Fix a bug that 8257[56], 82580, I35[04] and I21[01] didn't use
  wm_{get,release}_hw_control() correctly.
- Sync wm_smbustopci() with Linux and FreeBSD. This change effects PCH
  and newer devices.
- Move the location of wm_smbustopci() call.
- Fix flag check in wm_get_wakeup()
  - 8254[17]* and 8257[124] should not set WM_F_ARC_SUBSYS_VALID.
  - Add missing WM_T_82541_2 and WM_T_82547_2.
- Fix WOL related setting of the WUC register for other than PCH* in
  wm_enable_wakeup(). Tested with 82567V(ICH8) and 82583V.
- Use common MII_ADDRMASK.
- igphy(4): No binary change:
  - s/IGPPHY/IGPHY/
  - Fix the definition of PLHR_VALID_CHANNEL_*
  - Fix the definition of MSE_CHANNEL_*
  - Add MII_IGPHY_POWER_MGMT.
- Add some KASSERT.
- Add comment. Modify comment.
- Add debug code.

Revision 1.18.4.2 / (download) - annotate - [select for diffs], Mon Dec 5 10:55:02 2016 UTC (7 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.18.4.1: +3 -1 lines
Diff to previous 1.18.4.1 (colored) to branchpoint 1.18 (colored)

Sync with HEAD

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Fri Nov 4 14:49:09 2016 UTC (7 years, 5 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.19: +3 -1 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Sync with HEAD

Revision 1.20 / (download) - annotate - [select for diffs], Fri Oct 28 05:47:16 2016 UTC (7 years, 5 months ago) by msaitoh
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, nick-nhusb-base-20170204, nick-nhusb-base-20161204, netbsd-8-base, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-8
Changes since 1.19: +3 -1 lines
Diff to previous 1.19 (colored)

Define MII_ADDRBITS and MII_ADDRMASK.

Revision 1.18.4.1 / (download) - annotate - [select for diffs], Tue Sep 22 12:05:58 2015 UTC (8 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

Sync with HEAD

Revision 1.19 / (download) - annotate - [select for diffs], Tue Jul 21 02:04:24 2015 UTC (8 years, 8 months ago) by msaitoh
Branch: 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
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

 Fix typos reported by yuo@.

Revision 1.14.18.2 / (download) - annotate - [select for diffs], Sun Nov 9 12:13:16 2014 UTC (9 years, 5 months ago) by martin
Branch: netbsd-6
Changes since 1.14.18.1: +3 -3 lines
Diff to previous 1.14.18.1 (colored) to branchpoint 1.14 (colored) next main 1.15 (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.14.18.1 / (download) - annotate - [select for diffs], Tue Nov 4 09:23:20 2014 UTC (9 years, 5 months ago) by martin
Branch: netbsd-6
Changes since 1.14: +21 -10 lines
Diff to previous 1.14 (colored)

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.14.22.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:41 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.14.22.1: +2 -2 lines
Diff to previous 1.14.22.1 (colored) to branchpoint 1.14 (colored)

Rebase to HEAD as of a few days ago.

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

Rebase.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Jun 16 14:43:22 2014 UTC (9 years, 10 months ago) by msaitoh
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base, netbsd-7-base, 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
Branch point for: nick-nhusb, netbsd-7-nhusb, netbsd-7
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

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

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

sync with head.

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

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

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

resync from head

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

 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.16 / (download) - annotate - [select for diffs], Mon Apr 15 08:09:48 2013 UTC (11 years ago) by msaitoh
Branch: MAIN
CVS Tags: khorben-n900
Changes since 1.15: +36 -1 lines
Diff to previous 1.15 (colored)

Add the following registers from IEEE 802.3-2009 Clause 22.
 - PSE control register(0x0b)
 - PSE status register(0x0c)
 - MMD access control register(0x0d)
 - MMD access address data register(0x0e)

Revision 1.15 / (download) - annotate - [select for diffs], Wed Apr 3 03:24:27 2013 UTC (11 years ago) by msaitoh
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Fix typo in comment.

Revision 1.13.74.1 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:41 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.13: +1 -6 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

sync with head

Revision 1.14 / (download) - annotate - [select for diffs], Mon Oct 19 18:41:14 2009 UTC (14 years, 5 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-premerge-20091211, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, 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: yamt-pagecache, tls-maxphys, netbsd-6
Changes since 1.13: +1 -6 lines
Diff to previous 1.13 (colored)

Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen
for the booring work !

Revision 1.13 / (download) - annotate - [select for diffs], Sun Dec 11 12:22:42 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, 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-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, post-newlock2-merge, peter-altq-base, peter-altq, nick-net80211-sync-base, nick-net80211-sync, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, newlock2, 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, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, mjf-ufs-trans-base, mjf-ufs-trans, mjf-devfs2-base, mjf-devfs2, mjf-devfs-base, mjf-devfs, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jymxensuspend-base, jym-xensuspend-base, jym-xensuspend, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, cube-autoconf-base, cube-autoconf, chap-midi-nbase, chap-midi-base, chap-midi, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-nfs-mp
Changes since 1.12: +1 -1 lines
Diff to previous 1.12 (colored)

merge ktrace-lwp.

Revision 1.11.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:04 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

sync with -current

Revision 1.11.6.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:34:59 2005 UTC (19 years, 1 month ago) by yamt
Branch: yamt-km
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

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

Revision 1.10.20.4 / (download) - annotate - [select for diffs], Fri Mar 4 16:44:57 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.10.20.3: +2 -2 lines
Diff to previous 1.10.20.3 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.12 / (download) - annotate - [select for diffs], Sun Feb 27 00:27:31 2005 UTC (19 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, yamt-lazymbuf, yamt-km-base4, yamt-km-base3, thorpej-vnode-attr-base, thorpej-vnode-attr, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, ktrace-lwp-base, kent-audio2-base
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

nuke trailing whitespace

Revision 1.10.20.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:30:40 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.10.20.2: +1 -1 lines
Diff to previous 1.10.20.2 (colored) to branchpoint 1.10 (colored)

Fix the sync with head I botched.

Revision 1.10.20.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:48:44 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.10.20.1: +0 -0 lines
Diff to previous 1.10.20.1 (colored) to branchpoint 1.10 (colored)

Sync with HEAD.

Revision 1.10.20.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:48:49 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.10: +10 -10 lines
Diff to previous 1.10 (colored)

Sync with HEAD

Revision 1.11 / (download) - annotate - [select for diffs], Fri Apr 9 20:39:44 2004 UTC (20 years ago) by thorpej
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.10: +10 -10 lines
Diff to previous 1.10 (colored)

Correct pause related bits in ANAR and ANLPAR.

From HITOSHI Osada.

Revision 1.3.6.3 / (download) - annotate - [select for diffs], Fri Aug 24 00:09:58 2001 UTC (22 years, 7 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.3.6.2: +16 -1 lines
Diff to previous 1.3.6.2 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Catch up with -current.

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Fri Aug 3 04:13:13 2001 UTC (22 years, 8 months ago) by lukem
Branch: kqueue
Changes since 1.9: +16 -1 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

update to -current

Revision 1.10 / (download) - annotate - [select for diffs], Wed Jul 25 22:00:43 2001 UTC (22 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf, newlock-base, newlock, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, ifpoll-base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw, fvdl_fs64_base, eeh-devprop-base, eeh-devprop
Branch point for: ktrace-lwp
Changes since 1.9: +16 -1 lines
Diff to previous 1.9 (colored)

Fix 1000BASE-X duplex negotiation.  That'll teach me to read the
manual more carefully next time.

Revision 1.3.6.2 / (download) - annotate - [select for diffs], Thu Jun 21 20:04:21 2001 UTC (22 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.3.6.1: +59 -5 lines
Diff to previous 1.3.6.1 (colored) to branchpoint 1.3 (colored)

Catch up to -current.

Revision 1.9 / (download) - annotate - [select for diffs], Thu May 31 03:07:14 2001 UTC (22 years, 10 months ago) by thorpej
Branch: MAIN
Branch point for: kqueue
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Typo in last.

Revision 1.8 / (download) - annotate - [select for diffs], Thu May 31 03:06:46 2001 UTC (22 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.7: +17 -1 lines
Diff to previous 1.7 (colored)

The 1000baseT CR and SR are overlapped with the 100base-T2 CR and SR.
Note this in a comment.  Add the 1000baseT CR and SR bits.

Revision 1.7 / (download) - annotate - [select for diffs], Tue May 15 23:16:40 2001 UTC (22 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Note that extended status is in register 15

Revision 1.6 / (download) - annotate - [select for diffs], Mon Apr 30 19:49:08 2001 UTC (22 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.5: +4 -1 lines
Diff to previous 1.5 (colored)

Add code to recognize and set media on GMII (Gigabit MII) PHYs.

802.3 doens't specify ANAR or ANLPAR bits for GMII.  Need to
use PHY-specific registers for this, for now, which means we
need specific drivers for the Gigabit-capable PHYs (I think the
most common is the BCM5400).

Revision 1.5 / (download) - annotate - [select for diffs], Mon Apr 30 19:21:03 2001 UTC (22 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.4: +40 -5 lines
Diff to previous 1.4 (colored)

Add a bunch of Gig-E definitions.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Sat Apr 21 17:49:01 2001 UTC (22 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.2.2.1: +1 -5 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with HEAD

Revision 1.3.6.1 / (download) - annotate - [select for diffs], Mon Apr 9 01:56:52 2001 UTC (23 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.3: +1 -5 lines
Diff to previous 1.3 (colored)

Catch up with -current.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Mar 28 14:13:06 2001 UTC (23 years ago) by drochner
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Changes since 1.3: +1 -5 lines
Diff to previous 1.3 (colored)

Reading the IEEE specs shows that the bits have to be reversed when
mapping an OUI to the MII id registers.
Doing this in the MII_OUI() macro would be too complex, so put it into
a helper function and move the MII id register interpretation stuff
into miivar.h.

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 11:42:10 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored)

Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Feb 2 08:05:33 2000 UTC (24 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl, chs-ubc2-newbase
Branch point for: nathanw_sa
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored)

Bring some order to the chaos which was the MII code function naming
"conventions".

Revision 1.2 / (download) - annotate - [select for diffs], Wed Sep 29 22:49:33 1999 UTC (24 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999
Branch point for: thorpej_scsipi
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (colored)

Define ANAR and ANLPAR bits that are used to negotiate the 802.3x PAUSE
feature.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Aug 10 23:55:17 1998 UTC (25 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kenh-if-detach-base, kenh-if-detach, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, chs-ubc2-base, chs-ubc2, chs-ubc-base, chs-ubc

Near complete rewrite of the MII layer to present an interface compatible
with BSDI's MII layer to device drivers.

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>