The NetBSD Project

CVS log for src/sys/dev/pci/if_wmreg.h

[BACK] Up to [cvs.netbsd.org] / src / sys / dev / pci

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.47 / (download) - annotate - [select for diffs], Fri May 25 23:37:38 2012 UTC (7 hours, 45 minutes ago) by msaitoh
Branch: MAIN
CVS Tags: HEAD
Changes since 1.46: +17 -1 lines
Diff to previous 1.46 (colored)

Add support Intel I350 Ethernet.

Revision 1.45.4.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:50 2012 UTC (5 weeks, 4 days ago) by yamt
Branch: yamt-pagecache
Changes since 1.45: +7 -7 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

sync with head

Revision 1.45.8.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:34:43 2012 UTC (3 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.45: +7 -7 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

merge to -current.

Revision 1.24.20.6 / (download) - annotate - [select for diffs], Thu Jan 5 11:54:05 2012 UTC (4 months, 2 weeks ago) by sborrill
Branch: netbsd-5
Changes since 1.24.20.5: +7 -7 lines
Diff to previous 1.24.20.5 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored)

Pull up the following revisions(s) (requested by dyoung in ticket #1703):
	sys/dev/pci/if_wmreg.h:	revision 1.46

Mark all of the wm(4) Rx descriptor fields 'volatile' so that the compiler
will not re-order accesses.  Some versions of GCC (such as one in NetBSD
5.x) definitely do re-order reads from these fields if they're not
marked volatile.

Revision 1.46 / (download) - annotate - [select for diffs], Tue Dec 20 21:27:29 2011 UTC (5 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, netbsd-6, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2
Changes since 1.45: +7 -7 lines
Diff to previous 1.45 (colored)

Mark all of the Rx descriptor fields 'volatile' so that the compiler
will not re-order accesses.  Some versions of GCC (such as one in NetBSD
5.x) definitely do re-order reads from these fields if they're not
marked volatile.

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:08:16 2011 UTC (11 months, 2 weeks ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.44: +7 -2 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

Sync with HEAD.

Revision 1.40.2.3 / (download) - annotate - [select for diffs], Tue May 31 03:04:41 2011 UTC (11 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.40.2.2: +6 -1 lines
Diff to previous 1.40.2.2 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

sync with head

Revision 1.45 / (download) - annotate - [select for diffs], Fri May 20 01:51:36 2011 UTC (12 months, 1 week ago) by msaitoh
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.44: +7 -2 lines
Diff to previous 1.44 (colored)

Add PCH2 support.

Revision 1.40.2.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:53:45 2011 UTC (14 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.40.2.1: +5 -5 lines
Diff to previous 1.40.2.1 (colored) to branchpoint 1.40 (colored)

sync with head

Revision 1.24.20.5 / (download) - annotate - [select for diffs], Fri Nov 19 23:40:28 2010 UTC (18 months ago) by riz
Branch: netbsd-5
CVS Tags: matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.24.20.4: +134 -14 lines
Diff to previous 1.24.20.4 (colored) to branchpoint 1.24 (colored)

Pull up revisions (requested by msaitoh in ticket #1358):
	sys/dev/pci/if_wm.c		1.196-1.199,1.202,1.205
	sys/dev/pci/if_wmvar.h		1.9
	sys/dev/pci/if_wmreg.h		1.36-1.39
	sys/dev/pci/pcireg.h		1.61-1.64
	sys/dev/pci/pcidevs		1.1023
	sys/dev/pci/pcidevs.h		regen
	sys/dev/pci/pcidevs_data.h	regen
	mii/igphy.c			1.21
	mii/igphyvar.h			1.1
	mii/inbmphyreg.h		1.2

- Count Receive error, CRC error, Alignment error, Symbol error, Sequence
  error, Carrier extension error and Receive length error into ierror.
  Fixes PR#30349 reported by UMEZAWA Takeshi.
- Add support for 82575, 82576 and 82580(ER).
  - Apply the patch for 82575 from Wolfgang Stukenbrock (PR#42422). We use
    only one RX ring and with the legacy mode.
  - Add support for 82576.
  - Partial support for 82580.
  - Partial support for the serdes systems.
- Add two workarounds for ICH8 with igp3.
  - Workaround for 82566 Kumeran PCS lock loss.
  - WOL from S5 stops working.
- (pcireg.h) Add PCIe config register definitions.
- Note that the changes to count Missed packet (rx fifo overflow) and Receive
  no buffers (rx ring full) into iqdrops in rev. 1.196 of if_wm.c is not
  pulled up.

Revision 1.36.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:46:26 2010 UTC (21 months, 1 week ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.36.2.1: +24 -7 lines
Diff to previous 1.36.2.1 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored)

Sync with HEAD.

Revision 1.24.10.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:53:49 2010 UTC (21 months, 2 weeks ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.24.10.3: +25 -8 lines
Diff to previous 1.24.10.3 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored)

sync with head.

Revision 1.44 / (download) - annotate - [select for diffs], Wed Jul 14 00:11:06 2010 UTC (22 months, 1 week ago) by msaitoh
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.43: +5 -5 lines
Diff to previous 1.43 (colored)

- s/TBDA/TDBA/. It stands for Transmit Descriptor Base Address.
- The document says that the TDH register must be set after
  TCL.EN is set on 82575 and newer devices.

TODO:
- ip4csum doesn't work on 82575 and newer devices (reported by Paul Goyette),
  so we have to fix it.

Revision 1.40.2.1 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:37 2010 UTC (22 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.40: +21 -4 lines
Diff to previous 1.40 (colored)

sync with head

Revision 1.43 / (download) - annotate - [select for diffs], Fri Jun 25 04:16:28 2010 UTC (23 months ago) by msaitoh
Branch: MAIN
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored)

fix comment.

Revision 1.42 / (download) - annotate - [select for diffs], Fri Jun 25 04:03:14 2010 UTC (23 months ago) by msaitoh
Branch: MAIN
Changes since 1.41: +19 -2 lines
Diff to previous 1.41 (colored)

Add some code to support 82580[ER]. Tested on my own I340-T4.

 - Fix CTRL_EXT_SWDPIN() and CTRL_EXT_SWDPIO() macros. The bit order of the
   SW definable pin is not 6543 but 3654!!!

 - Rewrite the code to read MAC address from eeprom.

 - Add some code to support 82580.

TODO:
 - ukphy -> somephy

Revision 1.41 / (download) - annotate - [select for diffs], Fri Jun 25 03:47:57 2010 UTC (23 months ago) by msaitoh
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

The GIO master enable bit in STATUS register is not bit 16 but bit 19.
It will fix a problem in the reset sequence on PCI-e chips.

Revision 1.36.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:38 2010 UTC (2 years ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.36: +156 -15 lines
Diff to previous 1.36 (colored)

Sync with HEAD.

Revision 1.24.26.1.2.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:27:42 2010 UTC (2 years, 1 month ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.24.26.1: +46 -3 lines
Diff to previous 1.24.26.1 (colored) next main 1.25 (colored)

sync to netbsd-5

Revision 1.24.10.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:49 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.24.10.2: +192 -19 lines
Diff to previous 1.24.10.2 (colored) to branchpoint 1.24 (colored)

sync with head

Revision 1.40 / (download) - annotate - [select for diffs], Sun Mar 7 09:05:19 2010 UTC (2 years, 2 months ago) by msaitoh
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1
Branch point for: rmind-uvmplock
Changes since 1.39: +31 -2 lines
Diff to previous 1.39 (colored)

- Add code for WOL, ASF, IPMI and Intel AMT.
    - wm_enable_wakeup() is disabled by default. If you want to use WOL with
      the Magic Packet, define WM_WOL.
    - Add the following flags:
        WM_F_ASF_FIRMWARE_PRESENT
        WM_F_ARC_SUBSYSTEM_VALID
        WM_F_HAS_AMT
        WM_F_HAS_MANAGE
        WM_F_WOL
    - Add wm_suspend() and wm_resume(). Give/get the control to/from the
      firmware.
    - Need more work for PCH. See wm_enable_phy_wakeup().
- Enable wm_get_hw_control() for 82574 and 82583.
- Add Yet another workaround for ICH8.
    - Add wm_igp3_phy_powerdown_workaround_ich8lan() for power down problem
      on D3.

Revision 1.39 / (download) - annotate - [select for diffs], Sun Mar 7 07:53:37 2010 UTC (2 years, 2 months ago) by msaitoh
Branch: MAIN
Changes since 1.38: +9 -1 lines
Diff to previous 1.38 (colored)

Add two workarounds for ICH8 with igp3.
- Workaround for 82566 Kumeran PCS lock loss.
- WOL from S5 stops working.

Revision 1.38 / (download) - annotate - [select for diffs], Tue Feb 16 15:17:17 2010 UTC (2 years, 3 months ago) by msaitoh
Branch: MAIN
Changes since 1.37: +116 -12 lines
Diff to previous 1.37 (colored)

Add support for 82575, 82576 and 82580(ER).
- Apply the patch for 82575 from Wolfgang Stukenbrock (PR#42422). We use
  only one RX ring and with the legacy mode.
- Add support for 82576.
- Partial support for 82580.
- Partial support for the serdes systems.

Revision 1.37 / (download) - annotate - [select for diffs], Tue Feb 16 10:06:19 2010 UTC (2 years, 3 months ago) by msaitoh
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)

indent, tabify and remove extra spaces.

Revision 1.36 / (download) - annotate - [select for diffs], Thu Feb 4 09:13:23 2010 UTC (2 years, 3 months ago) by msaitoh
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.35: +10 -2 lines
Diff to previous 1.35 (colored)

- Count Receive error, CRC error, Alignment error, Symbol error, Sequence
  error, Carrier extension error and Receive length error into ierror.
  Fixes PR#30349 reported by UMEZAWA Takeshi.
- Count Missed packet (rx fifo overflow) and Receive no buffers (rx ring full)
  into iqdrops.

Revision 1.24.20.4 / (download) - annotate - [select for diffs], Wed Jan 27 22:27:42 2010 UTC (2 years, 3 months ago) by sborrill
Branch: netbsd-5
CVS Tags: netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1
Changes since 1.24.20.3: +30 -6 lines
Diff to previous 1.24.20.3 (colored) to branchpoint 1.24 (colored)

Pull up the following revisions(s) (requested by msaitoh in ticket #1277):
sys/dev/pci/if_wm.c		1.184-1.192, 1.194
sys/dev/pci/if_wmreg.h		1.29-1.35
sys/dev/pci/if_wmvar.h		1.5-1.8
sys/dev/pci/pcidevs		1.1006,1.1009-1.1010, 1.1012-1.1013 via patch
sys/dev/pci/pcidevs.h		regen
sys/dev/pci/pcidevs_data.h	regen
sys/dev/mii/igphyreg.h		1.5
sys/dev/mii/inbmphyreg.h	1.1

- Add support for i82583V.
- Add some ICH9 and ICH10 devices.
- Add support for PCH.
- Fix the bug that ICH9 can't found a PHY. Fixes PR#42237
- Fix an incorrect test for WM_F_EEPROM_INVALID since rev. 1.183. Some old
  chips don't set EECD_EE_PRES.
- Fix a bug that both WM_F_EEPROM_SPI and WM_F_EEPROM_FLASH are set.
- Add a missing decrement for a timeout reported by Wolfgang Stukenbrock
  in PR#42422.
- PBA setting for i82574 is not 12K but 20K.
- Enable checking the management mode on 82574.
- Fix the length of the delay() in wm_gmii_reset(). It fixed the problem that
  sometimes the driver misunderstood PHYs in mii_attach(). It was reported
  by MATSUI Yoshihiro. We observed it on ICH9.
- Fix the checking of jumbo frame function
- Remove the extra macro definition for the offset 0x1a in EEPROM.
- Add missing break in wm_reset()...
- Fix the offset of WMREG_PBS...
- Make wm_reset() and wm_gmii_reset() close to e1000 driver.
  At least, this change make wm_attach() stable on ICH9.
- Reset GMII interface after wm_reset() in wm_init().
- Rework for assigning mii_{read,write}reg(). Use PCI product ID to identify
  the PHY.
- Add code about LPLU(Low Power Link Up) function. It seems that we have to
  do the same work for ICH9.
- Fixes the rx stall problem on 82578 by MANY workaround code. We need more
  work for 82577.

Revision 1.35 / (download) - annotate - [select for diffs], Thu Jan 14 18:56:02 2010 UTC (2 years, 4 months ago) by msaitoh
Branch: MAIN
Changes since 1.34: +9 -1 lines
Diff to previous 1.34 (colored)

Fixes the rx stall problem on 82578 by MANY workaround code.
We need more work for 82577.

Revision 1.34 / (download) - annotate - [select for diffs], Tue Jan 12 22:26:30 2010 UTC (2 years, 4 months ago) by msaitoh
Branch: MAIN
Changes since 1.33: +3 -1 lines
Diff to previous 1.33 (colored)

- Add i82567LM-2 i82567LM-4 i82567V-3 LAN controller.
- Reset GMII interface after wm_reset() in wm_init().
- Rework for assigning mii_{read,write}reg(). Use PCI product ID to identify
  the PHY.
- Add code about LPLU(Low Power Link Up) function. Now we can linkup 1000BaseT
  on PCH. It seems that we have to do the same work for ICH9.

Revision 1.33 / (download) - annotate - [select for diffs], Mon Jan 11 12:29:28 2010 UTC (2 years, 4 months ago) by msaitoh
Branch: MAIN
Changes since 1.32: +4 -1 lines
Diff to previous 1.32 (colored)

 Add partial support for PCH. We have to do more work for PCH. Especially
I don't know what driver i82578 should be attached to. makephy? or atphy?
MII_OUI() says that the PHY is from Attansic (== Atheros). Intel's e1000
driver says that it's close to makphy...

 I can't link up at 1000BaseT yet...

Revision 1.32 / (download) - annotate - [select for diffs], Thu Jan 7 17:45:58 2010 UTC (2 years, 4 months ago) by msaitoh
Branch: MAIN
Changes since 1.31: +10 -1 lines
Diff to previous 1.31 (colored)

Make wm_reset() and wm_gmii_reset() close to e1000 driver.
At least, this change make wm_attach() stable on ICH9.

Revision 1.31 / (download) - annotate - [select for diffs], Thu Jan 7 17:34:38 2010 UTC (2 years, 4 months ago) by msaitoh
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

bugfixes:
 - add missing break in wm_reset()...
 - fix the offset of WMREG_PBS...
 - fix length of some delay()s in wm_gmii_reset()

Revision 1.30 / (download) - annotate - [select for diffs], Tue Jan 5 10:02:01 2010 UTC (2 years, 4 months ago) by msaitoh
Branch: MAIN
Changes since 1.29: +5 -4 lines
Diff to previous 1.29 (colored)

 Fix the checking of jumbo frame function though I don't know whether
the function wokrs or not...

 Remove the extra macro definition for the offset 0x1a in EEPROM.

Revision 1.29 / (download) - annotate - [select for diffs], Tue Dec 29 16:01:21 2009 UTC (2 years, 4 months ago) by msaitoh
Branch: MAIN
Changes since 1.28: +2 -1 lines
Diff to previous 1.28 (colored)

- Fix an incorrect test for WM_F_EEPROM_INVALID since rev. 1.183. Some old
  chips don't set EECD_EE_PRES.
- Fix a bug that both WM_F_EEPROM_SPI and WM_F_EEPROM_FLASH are set.
- Add a missing decrement for a timeout reported by Wolfgang Stukenbrock
  in PR#42422.
- Add support for i82583V.
- PBA setting for i82574 is not 12K but 20K.
- Enable checking the management mode on 82574.

Revision 1.24.20.3 / (download) - annotate - [select for diffs], Wed Dec 23 10:37:37 2009 UTC (2 years, 5 months ago) by sborrill
Branch: netbsd-5
Changes since 1.24.20.2: +7 -1 lines
Diff to previous 1.24.20.2 (colored) to branchpoint 1.24 (colored)

Pull up the following revisions(s) (requested by msaitoh in ticket #1203):
	sys/dev/pci/if_wm.c:		1.176-1.179, 1.181-1.183
	sys/dev/pci/if_wmreg.h:		1.28
	sys/dev/pci/if_wmvar.h:		1.1-1.4
	sys/dev/mii/igphy.c:		1.18-1.20 via patch

Many bugfixes:
- Some fixes for i80003 and ICH{8,9,10} from e1000 driver and document:
  - Add setting for KABGTXD register for ICH{8,9,10}.
  - ICH9 and ICH10 has no FCAL, FCAH and FCT like ICH8.
  - Add special setting for FCTTV and TCTL_EXT register for i80003
  - The special setting for TIPG is only for i80003.
  - Some of kumeran settings are only for i80003's bugs.
  - Add some ICH10 fixes.
  - Fix the bug that another lock mechanism is used to access Kumeran
    registers on i80003 and ICHs.
  - Fix yet another i80003 ONLY workaround. The code to modifing TIPG
    register is only for i80003.
- Set the Re-Transmit on Late Collision(RTLC) flag for all devices.
- Fix a typo in a printf message.
- If the difference bettween last flag and new flag is only IFF_PROMISC
  or IFF_ALLMULTI, set multicast filter only to prevent link down.
  Tested by Mark Davies and me. Fixes PR#29126 for wm.
- Cleanup interrupt establish error messages. Do not mix
  aprint_error/aprint_normal/printf calls for a single line.
- Fix igphy's 82566 support.
  - Patch for the DSP code is only for 8254[17] and we have to apply
    the different patches between rev. 1 and rev. 2.
  - The workaround for analog fuse is only for 82547 rev. 1.
  - The workaround for smartspeed is only for 8254[17]
- Sync with Intel's original em driver:
  - Check PCI-X mode as e1000 driver.
  - Add dspcode for igp3 and use it when the EEPROM isn't available.
  - Add some delays.
  - Stop the PHY transmitter before patching the DSP code and
    restart it after writing.
  - Save and restore register 0x2f5b.

Revision 1.24.24.2 / (download) - annotate - [select for diffs], Thu Jul 23 23:31:58 2009 UTC (2 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.24.24.1: +7 -1 lines
Diff to previous 1.24.24.1 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored)

Sync with HEAD.

Revision 1.24.26.1 / (download) - annotate - [select for diffs], Sun Jul 19 19:48:26 2009 UTC (2 years, 10 months ago) by snj
Branch: netbsd-5-0
CVS Tags: netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, 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
Branch point for: matt-nb5-mips64
Changes since 1.24: +3 -1 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #862):
	sys/dev/pci/if_wm.c: revisions 1.168, 1.170, and 1.173 via patch
	sys/dev/pci/if_wmreg.h: revision 1.27
Fixes serious three bugs.
1) On i82563, the em driver says that the ready bit in the MDIC
register may be incorrectly set. Insert delay(200) like the em driver.
Fixes PR#41014
2) Add workaround for 82543GC. We need to force speed and duplex on
the MAC equal to what the PHY speed and duplex configuration is.
Fixes PR#36430.
3) Fix many problems and panic on TBI's cards (includes PR#32009).

Revision 1.24.10.2 / (download) - annotate - [select for diffs], Sat Jul 18 14:53:05 2009 UTC (2 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.24.10.1: +7 -1 lines
Diff to previous 1.24.10.1 (colored) to branchpoint 1.24 (colored)

sync with head.

Revision 1.28 / (download) - annotate - [select for diffs], Tue Jul 14 00:00:44 2009 UTC (2 years, 10 months ago) by msaitoh
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase
Changes since 1.27: +7 -1 lines
Diff to previous 1.27 (colored)

Some fixes for i80003 and ICH{8,9,10} from e1000 driver and document:

    Add setting for KABGTXD register for ICH{8,9,10}.

    ICH9 and ICH10 has no FCAL, FCAH and FCT like ICH8.

    Add special setting for FCTTV and TCTL_EXT register for i80003

    The special setting for TIPG is only for i80003.

    Some of kumeran settings are only for i80003's bugs.

    Add some ICH10 fixes.

Revision 1.24.20.2 / (download) - annotate - [select for diffs], Thu May 21 01:13:49 2009 UTC (3 years ago) by snj
Branch: netbsd-5
Changes since 1.24.20.1: +6 -1 lines
Diff to previous 1.24.20.1 (colored) to branchpoint 1.24 (colored)

Pull up following revision(s) (requested by bouyer in ticket #711):
	sys/dev/pci/pcidevs: revisions 1.975, 1.981, 1.982 via patch
	sys/dev/pci/if_wm.c: revisions 1.164, 1.167, 1.173, 1.174 via patch
	sys/dev/pci/if_wmreg.h: revisions 1.25, 1.27 via patch
Add Intel 82567LM_3 ethernet
--
Add i82567LM-3
--
add i82567LF-3 LAN Controller
--
add an entry for 82567LF-3.
fix the register access for ICH10DO.
--
Fix about TBI mode. This fix doesn't influence MII mode.
--
 - Fix panic in mediachange.
 - Fix SWDPIN(1)'s polarity on some chips.
 - Fix flow control stuff (includes PR#32009).
 - Stop RXCFG storm. It ocours easily.
 - And more fix about autonego.
--
add 82801J_D_BM_LF (ICH10)
--
Reload sc_ctrl in wm_reset().
Add an ICH10 entry.
Remove some obsolete comments.

Revision 1.24.24.1 / (download) - annotate - [select for diffs], Wed May 13 17:20:26 2009 UTC (3 years ago) by jym
Branch: jym-xensuspend
Changes since 1.24: +16 -1 lines
Diff to previous 1.24 (colored)

Sync with HEAD.

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

Revision 1.24.10.1 / (download) - annotate - [select for diffs], Mon May 4 08:12:58 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.24: +16 -1 lines
Diff to previous 1.24 (colored)

sync with head.

Revision 1.24.20.1 / (download) - annotate - [select for diffs], Sun May 3 17:51:02 2009 UTC (3 years ago) by snj
Branch: netbsd-5
Changes since 1.24: +11 -1 lines
Diff to previous 1.24 (colored)

Pull up following revision(s) (requested by spz in ticket #621):
	sys/dev/pci/if_wm.c: revisions 1.168, 1.169 via patch
	sys/dev/pci/if_wmreg.h: revision 1.26 via patch
On i82563, the em driver says that the ready bit in the MDIC register may be
incorrectly set. Insert delay(200) like the em driver.
--
Examine the management mode and mark DRV_LOAD (for ICH{8,9,10},80003,
8257{1,2,3,4}).
Add some error's printf().
Make the bank detect routine into the function.

Revision 1.24.18.1 / (download) - annotate - [select for diffs], Tue Apr 28 07:35:57 2009 UTC (3 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.24: +16 -1 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

Sync with HEAD.

Revision 1.27 / (download) - annotate - [select for diffs], Tue Apr 7 18:23:37 2009 UTC (3 years, 1 month ago) by msaitoh
Branch: MAIN
CVS Tags: yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jym-xensuspend-base
Changes since 1.26: +3 -1 lines
Diff to previous 1.26 (colored)

Fix about TBI mode. This fix doesn't influence MII mode.
 - Fix SWDPIN(1)'s polarity on some chips.
 - Fix flow control stuff (includes PR#32009).
 - Stop RXCFG storm. It ocours easily.
 - And more fix about autonego.

Tested on PRO/1000F, PRO/1000XF and PRO/1000 MF.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Mar 20 07:29:15 2009 UTC (3 years, 2 months ago) by msaitoh
Branch: MAIN
Changes since 1.25: +11 -1 lines
Diff to previous 1.25 (colored)

Examine the management mode and mark DRV_LOAD (for ICH{8,9,10},80003,
8257{1,2,3,4}).

Add some error's printf().

Make the bank detect routine into the function.

Revision 1.25 / (download) - annotate - [select for diffs], Tue Mar 10 03:41:50 2009 UTC (3 years, 2 months ago) by msaitoh
Branch: MAIN
Changes since 1.24: +4 -1 lines
Diff to previous 1.24 (colored)

add an entry for 82567LF-3.
fix the register access for ICH10DO.

Revision 1.23.6.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:58 2008 UTC (4 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.23: +5 -5 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

Sync with HEAD.

Revision 1.14.6.4 / (download) - annotate - [select for diffs], Mon Jan 21 09:44:03 2008 UTC (4 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.14.6.3: +5 -5 lines
Diff to previous 1.14.6.3 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

sync with head

Revision 1.22.8.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:53:51 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
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.23.12.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:54:48 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.23: +5 -5 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

Sync with HEAD

Revision 1.23.8.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:46:59 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.23: +5 -5 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

Sync with head.

Revision 1.24 / (download) - annotate - [select for diffs], Tue Dec 25 18:33:41 2007 UTC (4 years, 5 months ago) by perry
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, vmlocking2-base3, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-net80211-sync-base, nick-net80211-sync, nick-hppapmap-base2, netbsd-5-base, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, mjf-devfs2-base, mjf-devfs2, mjf-devfs-base, matt-mips64-base2, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp, nick-hppapmap, netbsd-5-0, netbsd-5, jym-xensuspend
Changes since 1.23: +5 -5 lines
Diff to previous 1.23 (colored)

Convert many of the uses of __attribute__ to equivalent
__packed, __unused and __dead macros from cdefs.h

Revision 1.14.4.4 / (download) - annotate - [select for diffs], Mon Nov 19 21:24:24 2007 UTC (4 years, 6 months ago) by bouyer
Branch: netbsd-3
Changes since 1.14.4.3: +4 -1 lines
Diff to previous 1.14.4.3 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

Pull up following revision(s) via patch (requested by msaitoh in ticket #1863):
	sys/dev/pci/if_wm.c			 1.137-1.138,1.141,1.144-1.146
	sys/dev/pci/if_wmreg.h			 1.23
	sys/dev/pci/pcidevs			 1.893 via patch
	share/man/man4/wm.4			 1.18-1.19
Fix typo.
Fix EEPROM reload sequence.
Add ICH9 support.
Workaround for 82541 Errata 29 and 82547 Errata 28:
 These devices have to reset the PHY before reset the MAC.
 Reported and tested by salo.

Revision 1.22.8.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:29:11 2007 UTC (4 years, 6 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.22: +4 -1 lines
Diff to previous 1.22 (colored)

sync with HEAD

Revision 1.14.4.3 / (download) - annotate - [select for diffs], Sun Oct 14 05:07:51 2007 UTC (4 years, 7 months ago) by riz
Branch: netbsd-3
Changes since 1.14.4.2: +69 -1 lines
Diff to previous 1.14.4.2 (colored) to branchpoint 1.14 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1770):
	share/man/man4/wm.4: revision 1.17
	sys/dev/pci/if_wmreg.h: revision 1.22
	sys/dev/pci/if_wm.c: revision 1.139 via patch
	sys/dev/pci/if_wm.c: revision 1.140 via patch
	sys/dev/pci/pcidevs: patch
Add support for ICH8 (i82801H) LAN, from FreeBSD.
Should work on:
i82801H IFE (GT) LAN Controller
i82801H IFE (G) LAN Controller
i82801H (M_AMT) LAN Controller
i82801H (AMT) LAN Controller
i82801H LAN Controller
i82801H (IFE) LAN Controller
i82801H (M) LAN Controller
tested with: Intel i82801H (AMT) LAN Controller, rev. 2
Restore $NetBSD$ tag.
Note ICH8 LAN support.

Revision 1.21.8.2 / (download) - annotate - [select for diffs], Tue Oct 9 13:41:48 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.21.8.1: +4 -1 lines
Diff to previous 1.21.8.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

Sync with head.

Revision 1.22.6.1 / (download) - annotate - [select for diffs], Mon Sep 3 16:48:20 2007 UTC (4 years, 8 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.22: +4 -1 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Sync with HEAD.

Revision 1.14.6.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:37:06 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.14.6.2: +72 -1 lines
Diff to previous 1.14.6.2 (colored) to branchpoint 1.14 (colored)

sync with head.

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Mon Sep 3 10:21:04 2007 UTC (4 years, 8 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.22: +4 -1 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Sync with HEAD.

Revision 1.21.2.1.2.1 / (download) - annotate - [select for diffs], Mon Sep 3 07:04:34 2007 UTC (4 years, 8 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.21.2.1: +4 -1 lines
Diff to previous 1.21.2.1 (colored) next main 1.21.2.2 (colored)

Sync w/ NetBSD-4-RC_1

Revision 1.21.2.2 / (download) - annotate - [select for diffs], Wed Aug 29 16:12:53 2007 UTC (4 years, 8 months ago) by liamjfoy
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-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
Changes since 1.21.2.1: +4 -1 lines
Diff to previous 1.21.2.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

Pull up following revision(s) (requested by masanobu in ticket #850):

sys/dev/pci/if_wm.c		1.137
sys/dev/pci/if_wm.c		1.138
sys/dev/pci/if_wm.c		1.141
sys/dev/pci/if_wm.c		1.144
sys/dev/pci/if_wmreg.h		1.23
sys/dev/pci/pcidevs		1.893
sys/dev/pci/pcidevs.h		regen
sys/dev/pci/pcidevs_data.h	regen
sys/dev/mii/igphy.c		1.12
sys/dev/mii/miidevs		1.72
sys/dev/mii/miidevs.h		regen
sys/dev/mii/miidevs_data.h	regen
share/man/man4/wm.4		1.18

Fix for 82541 and 82547's reset bug.
Modify wm_reset() to make some device stable.
Add ICH9 support to wm.
Add I82566 support to igphy.

Pulled done via patch.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Aug 28 01:10:35 2007 UTC (4 years, 8 months ago) by msaitoh
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, vmlocking-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-csl-alignment-base5, jmcneill-pm-base, jmcneill-base, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: vmlocking2, mjf-devfs, bouyer-xeni386
Changes since 1.22: +4 -1 lines
Diff to previous 1.22 (colored)

add ICH9
need more work?

Revision 1.21.10.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:07:46 2007 UTC (4 years, 10 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.21: +69 -1 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

Sync with head.

Revision 1.21.8.1 / (download) - annotate - [select for diffs], Sun May 27 14:30:24 2007 UTC (5 years ago) by ad
Branch: vmlocking
Changes since 1.21: +69 -1 lines
Diff to previous 1.21 (colored)

Sync with head.

Revision 1.21.4.1 / (download) - annotate - [select for diffs], Mon May 7 10:55:30 2007 UTC (5 years ago) by yamt
Branch: yamt-idlelwp
Changes since 1.21: +69 -1 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

sync with head.

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Thu May 3 05:07:06 2007 UTC (5 years ago) by snj
Branch: netbsd-4
Branch point for: wrstuden-fixsa
Changes since 1.21: +69 -1 lines
Diff to previous 1.21 (colored)

Pull up following revision(s) (requested by bouyer in ticket #598):
	share/man/man4/wm.4: revision 1.17
	sys/dev/pci/if_wmreg.h: revision 1.22
	doc/CHANGES: revision 1.836
	sys/dev/pci/if_wm.c: revision 1.139
	sys/dev/pci/if_wm.c: revision 1.140
Add support for ICH8 (i82801H) LAN, from FreeBSD.
Should work on:
i82801H IFE (GT) LAN Controller
i82801H IFE (G) LAN Controller
i82801H (M_AMT) LAN Controller
i82801H (AMT) LAN Controller
i82801H LAN Controller
i82801H (IFE) LAN Controller
i82801H (M) LAN Controller
tested with: Intel i82801H (AMT) LAN Controller, rev. 2
Restore $NetBSD$ tag.
Note ICH8 LAN support.
Note ICH8 LAN support.

Revision 1.22 / (download) - annotate - [select for diffs], Sun Apr 29 20:35:21 2007 UTC (5 years ago) by bouyer
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, nick-csl-alignment-base, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: nick-csl-alignment, matt-armv6, jmcneill-pm
Changes since 1.21: +69 -1 lines
Diff to previous 1.21 (colored)

Add support for ICH8 (i82801H) LAN, from FreeBSD.
Should work on:
i82801H IFE (GT) LAN Controller
i82801H IFE (G) LAN Controller
i82801H (M_AMT) LAN Controller
i82801H (AMT) LAN Controller
i82801H LAN Controller
i82801H (IFE) LAN Controller
i82801H (M) LAN Controller

tested with: Intel i82801H (AMT) LAN Controller, rev. 2

Revision 1.14.4.2 / (download) - annotate - [select for diffs], Sat Mar 31 15:25:36 2007 UTC (5 years, 1 month ago) by bouyer
Branch: netbsd-3
Changes since 1.14.4.1: +84 -3 lines
Diff to previous 1.14.4.1 (colored) to branchpoint 1.14 (colored)

pullup the following revisions (requested by msaitoh in ticket 1681):
	sys/dev/pci/if_wm.c			1.104-1.105, 1.116-1.121,
						1.127,1.133-1.134 via patch
	sys/dev/pci/if_wmreg.h			1.17-1.20
	sys/dev/pci/pcidevs			patch
	sys/dev/mii/igphy.c			1.11
	sys/dev/mii/makphy.c			1.20, 1.23
	sys/dev/mii/ikphy.c			patch
	sys/dev/mii/ikphyreg.h			patch
	sys/dev/mii/miidevs			1.68
	sys/dev/mii/files.mii			1.39
	sys/arch/i386/conf/GENERIC		1.788-1.789 via patch
	sys/arch/i386/conf/GENERIC.MPACPI	patch
	sys/arch/i386/conf/GENERIC_LAPTOP	1.209 via patch
	sys/arch/i386/conf/INSTALL		1.291 via patch
	sys/arch/i386/conf/INSTALL_LAPTOP	1.104 via patch
	sys/arch/i386/conf/XEN2_DOM0		1.13 via patch
	share/man/man4/wm.4			1.14-1.16
Add support for many cards (include PCI-express based chips).
Many bug fixes about auto negotiations (PR#30078, PR#30490,
PR#30906, PR#33429 and PR#35386).
Fix media link issues with fiber-based card (PR#35797).

Revision 1.14.6.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:48:46 2006 UTC (5 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.14.6.1: +66 -1 lines
Diff to previous 1.14.6.1 (colored) to branchpoint 1.14 (colored)

sync with head.

Revision 1.19.8.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:17:45 2006 UTC (5 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.19.8.1: +2 -1 lines
Diff to previous 1.19.8.1 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)

sync with head.

Revision 1.19.6.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:31 2006 UTC (5 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.19: +66 -1 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Sync with head.

Revision 1.21 / (download) - annotate - [select for diffs], Thu Nov 16 06:07:54 2006 UTC (5 years, 6 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, newlock2-nbase, newlock2-base, netbsd-4-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp, vmlocking, netbsd-4, mjf-ufs-trans
Changes since 1.20: +2 -1 lines
Diff to previous 1.20 (colored)

wm: add IPv6 rx tcp/udp checksum offloading.

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

sync with head

Revision 1.20 / (download) - annotate - [select for diffs], Sat Oct 21 14:10:33 2006 UTC (5 years, 7 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.19: +65 -1 lines
Diff to previous 1.19 (colored)

Add support for the Intel 80003 Gigabit Ethernet controller (found e.g. in
newer server chipsets) to wm(4), from the FreeBSD em(4) driver.
While there, add a few other Intel Ethernet controller that should work as
is.
Properly update the RX error and TX collision counters.
Add ikphy(4), a driver for the Intel i82563 Kumeran 10/100/1000 Ethernet PHYs

Revision 1.16.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:52:18 2006 UTC (5 years, 8 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.16: +20 -3 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

sync with head

Revision 1.16.8.1 / (download) - annotate - [select for diffs], Mon Jun 26 12:51:22 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.16: +20 -3 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

sync with head.

Revision 1.14.6.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:05:05 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.14: +21 -4 lines
Diff to previous 1.14 (colored)

sync with head.

Revision 1.16.14.1 / (download) - annotate - [select for diffs], Mon Jun 19 04:01:36 2006 UTC (5 years, 11 months ago) by chap
Branch: chap-midi
Changes since 1.16: +20 -3 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Sync with head.

Revision 1.19 / (download) - annotate - [select for diffs], Sat Jun 10 14:26:52 2006 UTC (5 years, 11 months ago) by msaitoh
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, rpaulo-netinet-merge-pcb-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.18: +4 -1 lines
Diff to previous 1.18 (colored)

o i82573 doesn't support jumbo frame
o set PBA for i8257[123]
o set MULA when sc_type == i8257[123]

Revision 1.18 / (download) - annotate - [select for diffs], Sat Jun 10 08:11:47 2006 UTC (5 years, 11 months ago) by uebayasi
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

KNF.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Jun 10 08:01:31 2006 UTC (5 years, 11 months ago) by msaitoh
Branch: MAIN
Changes since 1.16: +17 -3 lines
Diff to previous 1.16 (colored)

fix TX_COLLISION_DISTANCE_FDX and TX_COLLISION_DISTANCE_HDX (swapped).

add some register definitions (EERD, EEWR).

Revision 1.16 / (download) - annotate - [select for diffs], Sun Dec 11 12:22:50 2005 UTC (6 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, peter-altq-base, peter-altq, elad-kernelauth-base, elad-kernelauth
Branch point for: yamt-pdpolicy, rpaulo-netinet-merge-pcb, chap-midi
Changes since 1.15: +1 -1 lines
Diff to previous 1.15 (colored)

merge ktrace-lwp.

Revision 1.5.2.6 / (download) - annotate - [select for diffs], Thu Nov 10 14:06:02 2005 UTC (6 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5.2.5: +2 -2 lines
Diff to previous 1.5.2.5 (colored) next main 1.6 (colored)

Sync with HEAD. Here we go again...

Revision 1.14.4.1 / (download) - annotate - [select for diffs], Sun Aug 28 09:49:37 2005 UTC (6 years, 8 months ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, 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
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Pull up following revision(s) (requested by yamt in ticket #699):
	sys/dev/pci/if_wmreg.h: revision 1.15
fix a typo(?) in an unused macro.  (WRX_ST_ISXM -> WRX_ST_IXSM)

Revision 1.15 / (download) - annotate - [select for diffs], Sun Aug 7 04:56:25 2005 UTC (6 years, 9 months ago) by yamt
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, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

fix a typo(?) in an unused macro.  (WRX_ST_ISXM -> WRX_ST_IXSM)

Revision 1.13.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:07 2005 UTC (7 years ago) by kent
Branch: kent-audio2
Changes since 1.13: +9 -1 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

sync with -current

Revision 1.13.6.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:35:11 2005 UTC (7 years, 2 months ago) by yamt
Branch: yamt-km
Changes since 1.13: +9 -1 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

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

Revision 1.5.2.5 / (download) - annotate - [select for diffs], Fri Mar 4 16:45:21 2005 UTC (7 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5.2.4: +9 -1 lines
Diff to previous 1.5.2.4 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.14 / (download) - annotate - [select for diffs], Fri Feb 18 04:32:35 2005 UTC (7 years, 3 months ago) by briggs
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, matt-timespec, kent-audio2-base
Branch point for: yamt-lazymbuf, netbsd-3
Changes since 1.13: +9 -1 lines
Diff to previous 1.13 (colored)

Update the interrupt mitigation support.
Actually initialize the interrupt throttling register.
Actually initialize the tx and tx absolute interrupt delay timer regs.
Update default values for the rx and tx delay timers.
Inspired by Zdenek Salvet in PR kern/29373.

Revision 1.10.4.3 / (download) - annotate - [select for diffs], Wed Jan 12 21:36:26 2005 UTC (7 years, 4 months ago) by he
Branch: netbsd-2
CVS Tags: 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
Changes since 1.10.4.2: +4 -1 lines
Diff to previous 1.10.4.2 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

Pull up revision 1.13 (requested by thorpej in ticket #898):
  Largest Tx descriptor buffer size is actually 4K.

Revision 1.10.2.2 / (download) - annotate - [select for diffs], Sat Jan 8 08:59:16 2005 UTC (7 years, 4 months ago) by jdc
Branch: netbsd-2-0
CVS Tags: netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE
Changes since 1.10.2.1: +2 -2 lines
Diff to previous 1.10.2.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

Fix pull up merge error.
Pointed out by Martin J. Laubach.

Revision 1.10.4.2 / (download) - annotate - [select for diffs], Sat Jan 8 08:57:26 2005 UTC (7 years, 4 months ago) by jdc
Branch: netbsd-2
Changes since 1.10.4.1: +2 -2 lines
Diff to previous 1.10.4.1 (colored) to branchpoint 1.10 (colored)

Fix pull up merge error.
Pointed out by Martin J. Laubach.

Revision 1.10.4.1 / (download) - annotate - [select for diffs], Fri Jan 7 11:43:33 2005 UTC (7 years, 4 months ago) by jdc
Branch: netbsd-2
Changes since 1.10: +27 -1 lines
Diff to previous 1.10 (colored)

Pull up revision 1.12 (requested by thorpej in ticket #897)

- Add some useful constants related to the Packet Buffer Allocation
  register.
- Add the Receive and Transmit Data FIFO registers.

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Fri Jan 7 11:43:29 2005 UTC (7 years, 4 months ago) by jdc
Branch: netbsd-2-0
Changes since 1.10: +27 -1 lines
Diff to previous 1.10 (colored)

Pull up revision 1.12 (requested by thorpej in ticket #897)

- Add some useful constants related to the Packet Buffer Allocation
  register.
- Add the Receive and Transmit Data FIFO registers.

Revision 1.5.2.4 / (download) - annotate - [select for diffs], Tue Oct 19 15:56:59 2004 UTC (7 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5.2.3: +30 -1 lines
Diff to previous 1.5.2.3 (colored)

Sync with HEAD

Revision 1.13 / (download) - annotate - [select for diffs], Tue Oct 5 21:29:56 2004 UTC (7 years, 7 months 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.12: +4 -1 lines
Diff to previous 1.12 (colored)

Largest Tx descriptor buffer size is actually 4K.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Oct 5 02:17:21 2004 UTC (7 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.11: +27 -1 lines
Diff to previous 1.11 (colored)

- Add some useful constants related to the Packet Buffer Allocation
  register.
- Add the Receive and Transmit Data FIFO registers.

Revision 1.5.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:31:04 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5.2.2: +1 -1 lines
Diff to previous 1.5.2.2 (colored)

Fix the sync with head I botched.

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:49:04 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5.2.1: +0 -0 lines
Diff to previous 1.5.2.1 (colored)

Sync with HEAD.

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:49:09 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5: +41 -14 lines
Diff to previous 1.5 (colored)

Sync with HEAD

Revision 1.11 / (download) - annotate - [select for diffs], Sun May 16 02:34:47 2004 UTC (8 years ago) by thorpej
Branch: MAIN
Changes since 1.10: +9 -2 lines
Diff to previous 1.10 (colored)

Add flow control support, based on work by HITOSHI Osada.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Feb 19 05:19:52 2004 UTC (8 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-2-base, 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
Branch point for: netbsd-2-0, netbsd-2
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

s/WTC_DTYP_D/WTX_DTYP_D/

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jan 14 14:29:48 2004 UTC (8 years, 4 months ago) by tsutsui
Branch: MAIN
Changes since 1.8: +10 -12 lines
Diff to previous 1.8 (colored)

Fix hardware cksum problem on big endian machines.
Tested on macppc by HATANO Hiromichi.

Note I guess this bug could be fixed only adding one htole32(),
but I'd rather clean up endianness handling:
- Use htole32() only to accesses against DMA descriptors.
- Don't use uint32_t union member  with htole32()/le32toh()
  to access uint8_t/uint16_t descriptors.
- Add le32toh() in some DPRINTF.
  (XXX: strictly speaking, bus_dmamap_sync() is needed for these DPRINTF)

Revision 1.8 / (download) - annotate - [select for diffs], Fri Nov 7 06:03:52 2003 UTC (8 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

Fix brain'o in PCIX speed detection.  kern/23375 (John R. Shannon).

Revision 1.7 / (download) - annotate - [select for diffs], Tue Oct 21 05:07:10 2003 UTC (8 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Fix a typo.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Oct 21 04:39:32 2003 UTC (8 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.5: +22 -1 lines
Diff to previous 1.5 (colored)

Add some additional register definitions needed for newer chips:
- Control register shadow
- SPI EEPROM stuff

Revision 1.1.6.4 / (download) - annotate - [select for diffs], Fri Jun 20 07:01:00 2003 UTC (8 years, 11 months ago) by msaitoh
Branch: netbsd-1-6
CVS Tags: 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
Changes since 1.1.6.3: +3 -3 lines
Diff to previous 1.1.6.3 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Pull up revision 1.5 (requested by matt in ticket #1299):
 FIx to recognize the PHY on i83543 correctly.

Revision 1.5 / (download) - annotate - [select for diffs], Fri May 30 02:08:55 2003 UTC (8 years, 11 months ago) by matt
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

Use proper shift marcos for EXT.  This makes the PHY on i83543 get
recognized.  From Doug Donsbach <dldonsbach at tds dot net>

Revision 1.1.6.3 / (download) - annotate - [select for diffs], Thu Nov 21 18:35:44 2002 UTC (9 years, 6 months ago) by tron
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Changes since 1.1.6.2: +1 -1 lines
Diff to previous 1.1.6.2 (colored) to branchpoint 1.1 (colored)

Pull up revision 1.4 (requested by yamt in ticket #925):
fix typos; "wiseman" is 82542, not 82452.

Revision 1.1.2.5 / (download) - annotate - [select for diffs], Mon Nov 11 22:11:14 2002 UTC (9 years, 6 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.1.2.4: +2 -2 lines
Diff to previous 1.1.2.4 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Catch up to -current

Revision 1.1.6.2 / (download) - annotate - [select for diffs], Fri Nov 8 08:50:42 2002 UTC (9 years, 6 months ago) by tron
Branch: netbsd-1-6
Changes since 1.1.6.1: +8 -1 lines
Diff to previous 1.1.6.1 (colored) to branchpoint 1.1 (colored)

Pull up revision 1.3 (requested by thorpej in ticket #650):
Add support for the new i82540, i82545, and i82546 Gig-E chips.  The
i82546 chip has 2 Gig-E interfaces in a single chip.
The main difference is these chips have a special handshaking protocol
for accessing the EEPROM (due to the shared nature on the i82546).

Revision 1.4 / (download) - annotate - [select for diffs], Fri Oct 18 00:56:16 2002 UTC (9 years, 7 months ago) by yamt
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

fix typos; "wiseman" is 82542, not 82452.

Revision 1.1.8.3 / (download) - annotate - [select for diffs], Fri Sep 6 08:45:22 2002 UTC (9 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.1.8.2: +10 -3 lines
Diff to previous 1.1.8.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync kqueue branch with HEAD

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Thu Aug 29 05:22:40 2002 UTC (9 years, 8 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.1.4.1: +8 -1 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

catch up with -current.

Revision 1.1.2.4 / (download) - annotate - [select for diffs], Tue Aug 13 02:19:40 2002 UTC (9 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.1.2.3: +8 -1 lines
Diff to previous 1.1.2.3 (colored) to branchpoint 1.1 (colored)

Catch up to -current.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Aug 8 00:12:08 2002 UTC (9 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-base, gehenna-devsw-base
Changes since 1.2: +8 -1 lines
Diff to previous 1.2 (colored)

Add support for the new i82540, i82545, and i82546 Gig-E chips.  The
i82546 chip has 2 Gig-E interfaces in a single chip.

The main difference is these chips have a special handshaking protocol
for accessing the EEPROM (due to the shared nature on the i82546).

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Thu Aug 1 02:45:21 2002 UTC (9 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.1.2.2: +3 -3 lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored)

Catch up to -current.

Revision 1.1.6.1 / (download) - annotate - [select for diffs], Mon Jul 15 16:14:01 2002 UTC (9 years, 10 months ago) by thorpej
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

pullup-1-6 ticket #499 (thorpej).

Original log message:
Correct the description of two bits in the TCP context descriptor.

Revision 1.1.4.1 / (download) - annotate - [select for diffs], Mon Jul 15 10:35:39 2002 UTC (9 years, 10 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

catch up with -current.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Jul 14 00:56:22 2002 UTC (9 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

Correct the description of two bits in the TCP context descriptor.

Revision 1.1.8.2 / (download) - annotate - [select for diffs], Sun Jun 23 17:47:47 2002 UTC (9 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.1.8.1: +509 -0 lines
Diff to previous 1.1.8.1 (colored) to branchpoint 1.1 (colored)

catch up with -current on kqueue branch

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Mon Apr 1 07:46:28 2002 UTC (10 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.1.2.1: +509 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.1.8.1, Thu Mar 28 04:54:35 2002 UTC (10 years, 2 months ago) by jdolecek
Branch: kqueue
Changes since 1.1: +0 -509 lines
FILE REMOVED

file if_wmreg.h was added on branch kqueue on 2002-06-23 17:47:47 +0000

Revision 1.1.2.1, Thu Mar 28 04:54:35 2002 UTC (10 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.1: +0 -509 lines
FILE REMOVED

file if_wmreg.h was added on branch nathanw_sa on 2002-04-01 07:46:28 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Thu Mar 28 04:54:35 2002 UTC (10 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-6-base
Branch point for: netbsd-1-6, nathanw_sa, kqueue, gehenna-devsw

Device driver for the Intel i82542, i82542, and i82544 Gigabit
Ethernet interfaces.

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>