The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.48.4.2 / (download) - annotate - [select for diffs], Fri Nov 19 23:58:40 2010 UTC (18 months ago) by riz
Branch: netbsd-5
CVS Tags: matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.48.4.1: +132 -71 lines
Diff to previous 1.48.4.1 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored)

Pull up revisions (requested by msaitoh in ticket #1359):
sys/dev/pci/if_bge.c		1.170-1.181
sys/dev/pci/if_bgereg.h		1.53-1.56
sys/dev/pci/if_bgevar.h		1.2-1.5
sys/dev/pci/pcidevs		1.1017, 1.1021
sys/dev/pci/pcidevs.h		regen
sys/dev/pci/pcidevs_data.h	regen
sys/dev/mii/miidevs		1.89, 1.93
sys/dev/mii/miidevs.h		regen
sys/dev/mii/miidevs_data.h	regen
sys/dev/mii/brgphy.c		1.49, 1.52

- Fix a bug of BGE_RDMA_MODE_FIFO_LONG_BURST definition.
- Fix the bug that both BGE_PCIE and BGE_PCIX are set on PCI-Express devices.
- Add support for BCM5705F,BCM5714,SBCM5715S,BCM5717,BCM5718,BCM5720,BCM5723,
  BCM5724,BCM5751F,BCM5753F,BCM5756,BCM5761,BCM5761E,BCM5761S,BCM5761SE,
  BCM5764,BCM5781,BCM5784M,BCM5903M,BCM57760,BCM57761,BCM57765,BCM57780,
  BCM57781,BCM57785,BCM57788,BCM57790,BCM57791 and BCM57795. Fixes PR#41694.
- Fix misunderstanding the capability for TSO4 on some chips.
- Use proplib for no EEPROM systems (e.g. sparc64 with onboard bge).
- Add debug function to show some flags.
- (brgphy(4)) Add support for BCM5461, BCM5464, BCM5784 and BCM5761.
- (brgphy(4)) Enable brgphy_jumbo_settings().
- (brgphy(4)) Enable the Ethernet@Wirespeed function.
- Add support for device properties to override the mac address and set
  the BGE_NO_EEPROM flag if we have an onboard device w/o SEEPROM.
- Introduce IPMI and ASF related code from FreeBSD. It fixes some problems
  which occured in netboot on sparc64 and PR#32767
- move the code of disabling host interrput in bge_stop() like linux tg3
  driver.
- fix the return value of bge_eeprom_getbyte().
- Fixes the bug that error bits arent cleard because these bit are W2C
  (in other words W1C).
- Many other bugfixes from FreeBSD and OpenBSD.
- remove an unused structure.
- ANSI C, KNF and tabify
- fix typo in comment.

Revision 1.48.12.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:27:40 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.48: +36 -230 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

sync to netbsd-5

Revision 1.45.14.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:44 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.45.14.2: +131 -70 lines
Diff to previous 1.45.14.2 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)

sync with head

Revision 1.56 / (download) - annotate - [select for diffs], Wed Feb 3 15:36:36 2010 UTC (2 years, 3 months ago) by msaitoh
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, 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, matt-mips64-premerge-20101231, 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-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, HEAD
Changes since 1.55: +2 -1 lines
Diff to previous 1.55 (colored)

- Make the initialize sequence close to the document.
- Fix ASF heartbeat sending bug (FreeBSD rev. 1.271 (r202821))
- Use new handshake command for BCM5750 or new controllers (FreeBSD rev. 1.272
  (r202822))

Revision 1.55 / (download) - annotate - [select for diffs], Thu Jan 28 03:09:13 2010 UTC (2 years, 3 months ago) by msaitoh
Branch: MAIN
Changes since 1.54: +30 -12 lines
Diff to previous 1.54 (colored)

- Introduce IPMI and ASF related code from FreeBSD. It fixes some problems
  which occured in netboot on sparc64 and PR#32767
- move the code of disabling host interrput in bge_stop() like linux tg3
  driver.
- fix the return value of bge_eeprom_getbyte().
- remove an unused structure.
- KNF

Revision 1.54 / (download) - annotate - [select for diffs], Sun Jan 24 16:21:09 2010 UTC (2 years, 4 months ago) by msaitoh
Branch: MAIN
Changes since 1.53: +101 -59 lines
Diff to previous 1.53 (colored)

Many changes from FreeBSD and OpenBSD:
 - Add support for BCM5705F,BCM5714,SBCM5715S,BCM5717,BCM5718,BCM5720,BCM5723,
   BCM5724,BCM5751F,BCM5753F,BCM5756,BCM5761,BCM5761E,BCM5761S,BCM5761SE,
   BCM5764,BCM5781,BCM5784M,BCM5903M,BCM57760,BCM57761,BCM57765,BCM57780,
   BCM57781,BCM57785,BCM57788,BCM57790,BCM57791 and BCM57795. Fixes PR#41694.
 - Fix misunderstanding the capability for TSO4 on some chips.
 - Many other bugfixes.
 - Use proplib for no EEPROM systems (e.g. sparc64 with onboard bge).
 - Add debug function to show some flags.

Revision 1.45.14.2 / (download) - annotate - [select for diffs], Wed Aug 19 18:47:11 2009 UTC (2 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.45.14.1: +2 -2 lines
Diff to previous 1.45.14.1 (colored) to branchpoint 1.45 (colored)

sync with head.

Revision 1.39.2.5 / (download) - annotate - [select for diffs], Tue Aug 18 10:10:19 2009 UTC (2 years, 9 months ago) by bouyer
Branch: netbsd-4
Changes since 1.39.2.4: +101 -224 lines
Diff to previous 1.39.2.4 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #1342):
	sys/dev/pci/if_bge.c: revisions 1.135, 1.146, 1.151-1.152,
					1.155-1.167 via patch
	sys/dev/pci/if_bgereg.h: revisions 1.43, 1.48-1.52
	sys/dev/pci/if_bgevar.h: revision 1.1
	sys/dev/mii/brgphy.c: revisions 1.36, 1.40, 1.43-1.44 and
					1.47-1.48 via patch
	sys/dev/mii/brgphyreg.h: revisions 1.3-1.4
	sys/dev/mii/miidevs: revisions 1.75, 1.77, 1.85
	sys/dev/mii/miidevs.h: regen
	sys/dev/mii/miidevs_data.h: regen
	sys/dev/mii/miivar.h: revision 1.54
For bge:
  - Really set Tx threshold.
  - Fix the case of setting a flag in BGE_PCI_DMA_RW_CTL on
    conventional PCI.
  - Fix some bugs that the driver unable to detect link loss
    (OpenBSD 1.135, FreeBSD 1.102)
  - bge_tick(): fix some extra input error (OpenBSD 1.221 FreeBSD 1.212)
  - Acknowledge link change interrupts by setting the "link changed" bit
    in the status register (used to have no effect). FreeBSD 1.44
    (OpenBSD 1.21)
  - Add some fiber support (OpenBSD 1.220)
  - Set BGE_MISCCFG_KEEP_GPHY_POWER as {Open,Free}BSD and linux.
  - Add special case code to fix a problem with the BCM5704 in TBI
    mode (FreeBSD rev. 1.71, OpenBSD rev. 1.35)
  - Force an interrupt in bge_ifmedia_upd (FreeBSD rev. 1.205, OpenBSD
    rev. 1.242)
  - Add missing workaround for 5705 (FreeBSD rev. 1.44, OpenBSD rev.
    1.21)
  - Don't print error message only when the register is BGE_SRS_MODE.
    It occurs on some environment (and once after boot?). Other *BSDs
    and Linux don't print the error message for all registers.
  - Fix comments.
  - Remove obsolete codes.
  - Add BCM5786 support.
for brgphy:
  - Add some quirk codes.
  - Add support for BCM5462, BCM54K2, BCM5708C, BCM5722, and BCM5906.

Revision 1.48.4.1 / (download) - annotate - [select for diffs], Tue Aug 4 19:46:20 2009 UTC (2 years, 9 months ago) by snj
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.48: +36 -230 lines
Diff to previous 1.48 (colored)

Apply patch (requested by msaitoh in ticket #866):
For bge:
  - Fix the case of setting a flag in BGE_PCI_DMA_RW_CTL on
    conventional PCI.
  - Fix some bugs that the driver unable to detect link loss
    (OpenBSD 1.135, FreeBSD 1.102)
  - bge_tick(): fix some extra input error (OpenBSD 1.221 FreeBSD 1.212)
  - Acknowledge link change interrupts by setting the 'link changed' bit
    in the status register (used to have no effect). FreeBSD 1.44
    (OpenBSD 1.21)
  - Add some fiber support (OpenBSD 1.220)
  - Set BGE_MISCCFG_KEEP_GPHY_POWER as {Open,Free}BSD and linux.
  - Add special case code to fix a problem with the BCM5704 in TBI
    mode (FreeBSD rev. 1.71, OpenBSD rev. 1.35)
  - Force an interrupt in bge_ifmedia_upd (FreeBSD rev. 1.205, OpenBSD
    rev. 1.242)
  - Add missing workaround for 5705 (FreeBSD rev. 1.44, OpenBSD rev.
    1.21)
  - Don't print error message only when the register is BGE_SRS_MODE.
    It occurs on some environment (and once after boot?). Other *BSDs
    and Linux don't print the error message for all registers.
  - Fix comments.
  - Remove obsolete codes.
For brgphy:
  - Add some quirk codes.
  - Add support for BCM5462, BCM54K2 and BCM5722.

Revision 1.53 / (download) - annotate - [select for diffs], Tue Aug 4 08:49:02 2009 UTC (2 years, 9 months ago) by taca
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, matt-premerge-20091211, jym-xensuspend-nbase
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored)

Fix a bug of BGE_RDMA_MODE_FIFO_LONG_BURST definition.

Confirmed by msaito@.

Revision 1.48.8.1 / (download) - annotate - [select for diffs], Wed May 13 17:20:24 2009 UTC (3 years ago) by jym
Branch: jym-xensuspend
Changes since 1.48: +36 -230 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

Sync with HEAD.

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

Revision 1.45.14.1 / (download) - annotate - [select for diffs], Mon May 4 08:12:56 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.45: +106 -224 lines
Diff to previous 1.45 (colored)

sync with head.

Revision 1.48.2.1 / (download) - annotate - [select for diffs], Tue Apr 28 07:35:56 2009 UTC (3 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.48: +36 -230 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

Sync with HEAD.

Revision 1.52 / (download) - annotate - [select for diffs], Thu Apr 23 10:47:44 2009 UTC (3 years, 1 month ago) by msaitoh
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jymxensuspend-base, jym-xensuspend-base
Changes since 1.51: +2 -226 lines
Diff to previous 1.51 (colored)

use proplib

Revision 1.51 / (download) - annotate - [select for diffs], Sun Apr 19 11:10:36 2009 UTC (3 years, 1 month ago) by msaitoh
Branch: MAIN
Changes since 1.50: +12 -1 lines
Diff to previous 1.50 (colored)

Some fixes and enhancements:

  Both if_bge* and brgphy.[ch]:
    Check the parent's MAC and use the quirk code for the bug like OpenBSD and
    FreeBSD. Some bugs can't identify the PHY ID. For example, 5704 Ax has the
    ADC bug, but 5704 A3 and 5704 B0 have the same PHY ID and revision. Add
    BGE_PHY_CRC_BUG, BGE_PHY_ADC_BUG, BGE_PHY_5704_A0_BUG, BGE_PHY_JITTER_BUG,
    BGE_PHY_ADJUST_TRIM and BGE_PHY_BER_BUG for this flag. Some of the DSP
    patches are newly taken from OpenBSD and FreeBSD.

  if_bge*:
    Remove duplicated BGE_CHIPID_BCM5714_A0 entry in the known CHIPID table.
    Fix obsolete comments.

  brgphy.[ch]:
    Add some PHY IDs.

TODO:
  Add more three quirk code into bge and brgphy (the brgphy side's are
  currently #if0'ed).
  Add support for bnx into brgphy (currently #if0'ed)

Revision 1.50 / (download) - annotate - [select for diffs], Thu Apr 16 01:38:34 2009 UTC (3 years, 1 month ago) by msaitoh
Branch: MAIN
Changes since 1.49: +28 -9 lines
Diff to previous 1.49 (colored)

Take some code from FreeBSD and OpenBSD:

  Fix some bugs that the driver unable to detect link loss (OpenBSD 1.135,
  FreeBSD 1.102)

  bge_tick(): fix some extra input error (OpenBSD 1.221 FreeBSD 1.212)

  Acknowledge link change interrupts by setting the 'link changed' bit
  in the status register (used to have no effect). FreeBSD 1.44 (OpenBSD 1.21)

  Add some fiber support (OpenBSD 1.220)

  Set BGE_MISCCFG_KEEP_GPHY_POWER as {Open,Free}BSD and linux.

  Add special case code to fix a problem with the BCM5704 in TBI mode
  (FreeBSD rev. 1.71, OpenBSD rev. 1.35)

  Force an interrupt in bge_ifmedia_upd (FreeBSD rev. 1.205, OpenBSD rev.
  1.242)

  Add missing workaround for 5705 (FreeBSD rev. 1.44, OpenBSD rev. 1.21)

  Add some known CHIPID entries.

Revision 1.49 / (download) - annotate - [select for diffs], Sun Mar 22 16:20:06 2009 UTC (3 years, 2 months ago) by msaitoh
Branch: MAIN
Changes since 1.48: +8 -8 lines
Diff to previous 1.48 (colored)

Make bge(4) close to FreBSD and OpenBSD.

NO FUNCTIONAL CHANGE BY THIS COMMIT.

Revision 1.46.2.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:16:38 2008 UTC (3 years, 7 months ago) by haad
Branch: haad-dm
Changes since 1.46: +73 -1 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

Sync with HEAD.

Revision 1.45.10.2 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:26 2008 UTC (3 years, 7 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.45.10.1: +72 -0 lines
Diff to previous 1.45.10.1 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)

Sync with HEAD.

Revision 1.45.16.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:35:06 2008 UTC (3 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.45.16.1: +73 -1 lines
Diff to previous 1.45.16.1 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.39.2.1.2.3 / (download) - annotate - [select for diffs], Thu Sep 4 08:46:45 2008 UTC (3 years, 8 months ago) by skrll
Branch: wrstuden-fixsa
Changes since 1.39.2.1.2.2: +6 -1 lines
Diff to previous 1.39.2.1.2.2 (colored) next main 1.39.2.2 (colored)

Sync with netbsd-4.

Revision 1.48 / (download) - annotate - [select for diffs], Mon Aug 25 08:15:05 2008 UTC (3 years, 9 months ago) by cegger
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, 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, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, mjf-devfs2-base, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, netbsd-5, matt-nb5-mips64, jym-xensuspend
Changes since 1.47: +68 -1 lines
Diff to previous 1.47 (colored)

PR 39241: Add support for Broadcom BCM5906(M) from Karl Uwe Lockhoff

Revision 1.39.2.4 / (download) - annotate - [select for diffs], Wed Aug 20 19:33:49 2008 UTC (3 years, 9 months ago) by bouyer
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base
Changes since 1.39.2.3: +5 -0 lines
Diff to previous 1.39.2.3 (colored) to branchpoint 1.39 (colored)

Pull up following revision(s) (requested by sborrill in ticket #1172):
	sys/dev/pci/if_bge.c: revision 1.149
	sys/dev/pci/if_bgereg.h: revision 1.47
Add support for Broadcom 5722 and identify 5755 ASICs.

Revision 1.45.18.2 / (download) - annotate - [select for diffs], Mon Jul 28 14:37:27 2008 UTC (3 years, 9 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.45.18.1: +6 -1 lines
Diff to previous 1.45.18.1 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)

Sync with head.

Revision 1.47 / (download) - annotate - [select for diffs], Thu Jul 24 08:14:49 2008 UTC (3 years, 10 months ago) by sborrill
Branch: MAIN
CVS Tags: simonb-wapbl-nbase, simonb-wapbl-base
Changes since 1.46: +6 -1 lines
Diff to previous 1.46 (colored)

Add support for Broadcom 5722 and identify 5755 ASICs.

Revision 1.45.10.1 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:09 2008 UTC (3 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.45: +5 -1 lines
Diff to previous 1.45 (colored)

Sync with HEAD.

Revision 1.45.16.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:11 2008 UTC (3 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.45: +5 -1 lines
Diff to previous 1.45 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.45.18.1 / (download) - annotate - [select for diffs], Wed Jun 18 16:33:18 2008 UTC (3 years, 11 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.45: +5 -1 lines
Diff to previous 1.45 (colored)

Sync with head.

Revision 1.45.12.1 / (download) - annotate - [select for diffs], Tue Jun 17 09:14:41 2008 UTC (3 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.45: +5 -1 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

sync with head.

Revision 1.46 / (download) - annotate - [select for diffs], Tue Jun 17 06:12:10 2008 UTC (3 years, 11 months ago) by mlelstv
Branch: MAIN
CVS Tags: yamt-pf42-base4, wrstuden-revivesa-base-1, wrstuden-revivesa-base
Branch point for: haad-dm
Changes since 1.45: +5 -1 lines
Diff to previous 1.45 (colored)

add rnd(4) hooks. Note that interrupts on bge hardware may occur
with certain patterns, especially when the interrupt mitigation
logic kicks in. So this might be a very weak entropy source.

Revision 1.24.4.6 / (download) - annotate - [select for diffs], Mon Jan 21 09:43:52 2008 UTC (4 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.24.4.5: +4 -4 lines
Diff to previous 1.24.4.5 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored)

sync with head

Revision 1.43.2.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:53:43 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.43.2.1: +4 -4 lines
Diff to previous 1.43.2.1 (colored) to branchpoint 1.43 (colored) next main 1.44 (colored)

sync with HEAD

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

Sync with head.

Revision 1.44.8.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:32:05 2007 UTC (4 years, 5 months ago) by yamt
Branch: yamt-kmem
Changes since 1.44: +4 -4 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

sync with head.

Revision 1.45 / (download) - annotate - [select for diffs], Sun Dec 9 20:28:08 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, vmlocking2-base3, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, wrstuden-revivesa, simonb-wapbl, mjf-devfs2
Changes since 1.44: +4 -4 lines
Diff to previous 1.44 (colored)

Merge jmcneill-pm branch.

Revision 1.24.2.6 / (download) - annotate - [select for diffs], Mon Nov 19 21:18:09 2007 UTC (4 years, 6 months ago) by bouyer
Branch: netbsd-3
Changes since 1.24.2.5: +124 -84 lines
Diff to previous 1.24.2.5 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored)

Pull up following revision(s) via patch (requested by msaitoh in ticket #1862):
	sys/dev/pci/if_bge.c		   	1.89,1.95,1.97,1.101,1.103,
						1.105,1.107,1.117-1.122,
						1.128-1.131,1.133-1.135,1.139
						via patch
	sys/dev/pci/if_bgereg.h		 	1.31,1.34-1.39,1.42-1.43
	sys/dev/pci/pcidevs		   	patch

Some cleanups(typo, whitespace, debug message).
Add TSO support to bge(4)
Add support for BCM5715, BCM5752M, BCM5754, BCM5755, BCM5786 and 5787.
Add support for BCM5789. Fixes PR/33828 from Pawel Chwalowskibg.
Add support for BCM5753 and BCM5753M Fixes PR kern/36139 from Mustafa Dogan.
Add and fix some BGE_CHIPIDs. From FreeBSD and OpenBSD.
In bge_ioctl(), don't call bge_init() if the interface is already up
(Makes ifwatchd work on this interface).
BCM5701 B2 requires BGE_QUIRK_ONLY_PHY_1 quirk. From Brian Baird in kern/23778.
Move TX ring full sanity check further up and check the number of DMA
segments from the DMA map, instead of counting the DMA segments in the
for loop and breaking out later.
Unload the DMA map if encountering an error condition.
Fix a NULL reference on failing mbuf allocation.
In bge_start return if IFF_OACTIVE is set in combination with
IFF_RUNNING, drop obscure check for length of interface queue.
Remove message about failing bge_encap, it can happen just too easily
because of full descriptor rings.
Fix some watchdog timeout and "block failed to stop" problems on
some cards.
Fix "pcistate failed to revert" problem on many cards.

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

sync with HEAD

Revision 1.24.4.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:32:49 2007 UTC (4 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.24.4.4: +2 -2 lines
Diff to previous 1.24.4.4 (colored) to branchpoint 1.24 (colored)

sync with head.

Revision 1.41.2.3 / (download) - annotate - [select for diffs], Tue Oct 9 13:41:43 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.41.2.2: +2 -2 lines
Diff to previous 1.41.2.2 (colored) to branchpoint 1.41 (colored) next main 1.42 (colored)

Sync with head.

Revision 1.43.4.1 / (download) - annotate - [select for diffs], Sat Oct 6 15:31:24 2007 UTC (4 years, 7 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

sync with head.

Revision 1.42.6.4 / (download) - annotate - [select for diffs], Tue Oct 2 18:28:32 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.42.6.3: +2 -2 lines
Diff to previous 1.42.6.3 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored)

Sync with HEAD.

Revision 1.42.6.3 / (download) - annotate - [select for diffs], Mon Oct 1 05:37:40 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.42.6.2: +1 -2 lines
Diff to previous 1.42.6.2 (colored) to branchpoint 1.42 (colored)

Extend device API by device_power_private and device_power_set_private.
The latter is a temporary mean until the pnp_register API itself is
overhault. This functions allow a generic power handler to store its
state independent of the driver.

Use this and revamp the PCI power handling. Pretty much all PCI devices
had power handlers that did the same thing, generalize this in
pci_generic_power_register/deregister and the handler. This interface
offers callbacks for the drivers to save and restore state on
transistions. After a long discussion with jmcneill@ it was considered
to be powerful enough until evidence is shown that devices can handle
D1/D2 with less code and higher speed than without the full
save/restore. The generic code is carefully written to handle device
without PCI-PM support and ensure that the correct registers are written
to when D3 loses all state.

Reimplement the generic PCI network device handling on
top of PCI generic power handling.

Introduce pci_disable_retry as used and implemented locally at least by
ath(4) and iwi(4). Use it in this drivers to restore behaviour from
before the introduction of generic PCI network handling.

Convert all PCI drivers that were using pnp_register to the new
framework. The only exception is vga(4) as it is commonly used as
console device. Add a note therein that this should be fixed later.

Revision 1.44 / (download) - annotate - [select for diffs], Mon Sep 24 21:25:45 2007 UTC (4 years, 8 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-kmem-base, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, vmlocking-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, mjf-devfs, jmcneill-pm-base, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: yamt-kmem, vmlocking2
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored)

Convert bge(4) to device/softc separation. Use aprint_* instead of
printf all over the place. Only the debug macros are kept. Place the TSO
message about the hard case under debug.

Revision 1.24.4.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:36:53 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.24.4.3: +6 -4 lines
Diff to previous 1.24.4.3 (colored) to branchpoint 1.24 (colored)

sync with head.

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

Sync w/ NetBSD-4-RC_1

Revision 1.39.2.3 / (download) - annotate - [select for diffs], Fri Aug 31 21:52:41 2007 UTC (4 years, 8 months ago) by xtraeme
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-base-1, 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.39.2.2: +3 -1 lines
Diff to previous 1.39.2.2 (colored) to branchpoint 1.39 (colored)

Pull up following revision(s) (requested by phil in ticket #819):
	sys/dev/mii/miidevs.h: regen
	sys/dev/mii/miidevs: revision 1.71
	sys/dev/pci/if_bge.c: revision 1.133
	sys/dev/pci/if_bge.c: revision 1.134
	sys/dev/pci/if_bgereg.h: revision 1.43
	sys/dev/mii/brgphy.c: revision 1.34
	sys/dev/mii/miidevs_data.h: regen
Add BCM5755 and 5754 Gig-E PHYs.
Regen for BCM5755 and 5754.
Add support for BCM5754 and BCM5755.  From suggestions from Jonathan
Stone.
Add a couple more BGE_CHIPIDs
Add support for BCM5755 and BCM5754/5787.  Suggestions from Jonathan
Stone and fixes from OpenBSD for various hardware bugs/errata.
Disable firmware fastboot on 5754 and 5755.  From FreeBSD by way of Phil
Nelson.

Revision 1.42.6.2 / (download) - annotate - [select for diffs], Tue Aug 21 06:56:49 2007 UTC (4 years, 9 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.42.6.1: +5 -4 lines
Diff to previous 1.42.6.1 (colored) to branchpoint 1.42 (colored)

Make bge(4) a bit more like other drivers in the tree with regard to
the data stored in the softc. Convert to pnp_register.

Revision 1.41.2.2 / (download) - annotate - [select for diffs], Mon Aug 20 18:37:12 2007 UTC (4 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.41.2.1: +3 -1 lines
Diff to previous 1.41.2.1 (colored) to branchpoint 1.41 (colored)

Sync with HEAD.

Revision 1.42.2.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:48:31 2007 UTC (4 years, 9 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.42: +3 -1 lines
Diff to previous 1.42 (colored) next main 1.43 (colored)

Sync with HEAD.

Revision 1.42.6.1 / (download) - annotate - [select for diffs], Thu Aug 9 02:37:11 2007 UTC (4 years, 9 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.42: +3 -1 lines
Diff to previous 1.42 (colored)

Sync with HEAD.

Revision 1.43.6.2 / (download) - annotate - [select for diffs], Mon Aug 6 12:23:09 2007 UTC (4 years, 9 months ago) by markd
Branch: matt-mips64
Changes since 1.43.6.1: +2442 -0 lines
Diff to previous 1.43.6.1 (colored) to branchpoint 1.43 (colored) next main 1.44 (colored)

Add a couple more BGE_CHIPIDs

Revision 1.43.6.1, Mon Aug 6 12:23:08 2007 UTC (4 years, 9 months ago) by markd
Branch: matt-mips64
Changes since 1.43: +0 -2442 lines
FILE REMOVED

file if_bgereg.h was added on branch matt-mips64 on 2007-08-06 12:23:09 +0000

Revision 1.43 / (download) - annotate - [select for diffs], Mon Aug 6 12:23:08 2007 UTC (4 years, 9 months ago) by markd
Branch: MAIN
CVS Tags: yamt-x86pmap-base, nick-csl-alignment-base5, matt-mips64-base
Branch point for: yamt-x86pmap, matt-mips64, matt-armv6
Changes since 1.42: +3 -1 lines
Diff to previous 1.42 (colored)

Add a couple more BGE_CHIPIDs

Revision 1.41.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:07:32 2007 UTC (4 years, 10 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored) next main 1.42 (colored)

Sync with head.

Revision 1.39.2.1.2.1 / (download) - annotate - [select for diffs], Mon Jun 4 01:54:20 2007 UTC (4 years, 11 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.39.2.1: +2 -2 lines
Diff to previous 1.39.2.1 (colored)

Update to today's netbsd-4.

Revision 1.39.2.2 / (download) - annotate - [select for diffs], Wed May 30 18:00:18 2007 UTC (4 years, 11 months ago) by riz
Branch: netbsd-4
Changes since 1.39.2.1: +2 -2 lines
Diff to previous 1.39.2.1 (colored) to branchpoint 1.39 (colored)

Pull up following revision(s) (requested by pavel in ticket #671):
	sys/dev/pci/if_bgereg.h: revision 1.42
from FreeBSD's src/sys/dev/bge/if_bgereg.h rev 1.22:
Fix a typo. BGE_HCC_TX_MAX_COAL_BDS_INT is at offset 0x3C24, not 0x3C34
Noticed by Patrick Welche on tech-kern@, ok cube.

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

Sync with head.

Revision 1.42 / (download) - annotate - [select for diffs], Fri May 18 22:30:24 2007 UTC (5 years ago) by pavel
Branch: MAIN
CVS Tags: nick-csl-alignment-base, mjf-ufs-trans-base, hpcarm-cleanup
Branch point for: nick-csl-alignment, jmcneill-pm
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored)

from FreeBSD's src/sys/dev/bge/if_bgereg.h rev 1.22:
Fix a typo. BGE_HCC_TX_MAX_COAL_BDS_INT is at offset 0x3C24, not 0x3C34
Noticed by Patrick Welche on tech-kern@, ok cube.

Revision 1.39.4.2 / (download) - annotate - [select for diffs], Mon Mar 12 05:55:16 2007 UTC (5 years, 2 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.39.4.1: +3 -3 lines
Diff to previous 1.39.4.1 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored)

Sync with HEAD.

Revision 1.24.2.5 / (download) - annotate - [select for diffs], Mon Mar 5 15:07:14 2007 UTC (5 years, 2 months ago) by ghen
Branch: netbsd-3
Changes since 1.24.2.4: +2 -2 lines
Diff to previous 1.24.2.4 (colored) to branchpoint 1.24 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1671):
	sys/dev/pci/if_bgereg.h: revision 1.40
	sys/dev/pci/if_bge.c: revision 1.124
	sys/dev/pci/if_bge.c: revision 1.125
bus_dma fixes for bge(4). It now works on amd64 with more than 4GB physical
RAM (jumbo frames untested yet).
We have to bus_mapmap_load() after m_adj, otherwise the map will point at
the wrong place in the buffer. Fix an issue in the !sc->bge_rx_alignment_bug
case reported by Nicolas Joly.
While there remove a duplicate m_adj(), and add a missing bus_dmamap_unload().

Revision 1.41 / (download) - annotate - [select for diffs], Sun Mar 4 06:02:19 2007 UTC (5 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.39.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 23:32:01 2007 UTC (5 years, 2 months ago) by riz
Branch: netbsd-4
Branch point for: wrstuden-fixsa
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored)

Pull up following revision(s) (requested by bouyer in ticket #466):
	sys/dev/pci/if_bgereg.h: revision 1.40
	sys/dev/pci/if_bge.c: revision 1.124-1.125
bus_dma fixes for bge(4). It now works on amd64 with more than 4GB physical
RAM (jumbo frames untested yet).
We have to bus_mapmap_load() after m_adj, otherwise the map will point at
the wrong place in the buffer. Fix an issue in the !sc->bge_rx_alignment_bug
case reported by Nicolas Joly.
While there remove a duplicate m_adj(), and add a missing bus_dmamap_unload().

Revision 1.39.4.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:53:59 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored)

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

Revision 1.24.4.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:10:25 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.24.4.2: +2 -2 lines
Diff to previous 1.24.4.2 (colored) to branchpoint 1.24 (colored)

sync with head.

Revision 1.40 / (download) - annotate - [select for diffs], Sat Feb 17 19:47:07 2007 UTC (5 years, 3 months ago) by bouyer
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored)

bus_dma fixes for bge(4). It now works on amd64 with more than 4GB physical
RAM (jumbo frames untested yet).

Revision 1.34.8.1 / (download) - annotate - [select for diffs], Fri Jan 12 00:57:41 2007 UTC (5 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.34: +104 -78 lines
Diff to previous 1.34 (colored) next main 1.35 (colored)

Sync with head.

Revision 1.24.4.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:48:44 2006 UTC (5 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.24.4.1: +104 -78 lines
Diff to previous 1.24.4.1 (colored) to branchpoint 1.24 (colored)

sync with head.

Revision 1.34.10.1 / (download) - annotate - [select for diffs], Sun Dec 10 07:17:43 2006 UTC (5 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.34: +104 -78 lines
Diff to previous 1.34 (colored) next main 1.35 (colored)

sync with head.

Revision 1.39 / (download) - annotate - [select for diffs], Sun Nov 26 05:52:15 2006 UTC (5 years, 6 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, post-newlock2-merge, newlock2-nbase, newlock2-base, netbsd-4-base
Branch point for: yamt-idlelwp, netbsd-4
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

Revert a CHIPID entry in the previous:
In OpenBSD's if_bgereg.h, CHIPID 0x4101000 is defined as BCM5750_B1
but our PR kern/31028 says it's BCM5751_A1 on BCM5751M on IBM T43p,
and the value seems reasonable.

Revision 1.38 / (download) - annotate - [select for diffs], Sun Nov 26 04:00:45 2006 UTC (5 years, 6 months ago) by tsutsui
Branch: MAIN
Changes since 1.37: +31 -9 lines
Diff to previous 1.37 (colored)

Add and fix some BGE_CHIPIDs. From FreeBSD and OpenBSD.

Revision 1.37 / (download) - annotate - [select for diffs], Sun Nov 26 03:08:02 2006 UTC (5 years, 6 months ago) by tsutsui
Branch: MAIN
Changes since 1.36: +30 -30 lines
Diff to previous 1.36 (colored)

TAB/space cleanup.

Revision 1.36 / (download) - annotate - [select for diffs], Sun Nov 26 03:02:04 2006 UTC (5 years, 6 months ago) by tsutsui
Branch: MAIN
Changes since 1.35: +5 -1 lines
Diff to previous 1.35 (colored)

Add support for BCM5752M. from Matt Kolb on tech-kern and OpenBSD.

Revision 1.35 / (download) - annotate - [select for diffs], Sun Nov 26 02:39:04 2006 UTC (5 years, 6 months ago) by tsutsui
Branch: MAIN
Changes since 1.34: +45 -45 lines
Diff to previous 1.34 (colored)

make DMA descriptor members volatile.

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

sync with head

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

sync with head.

Revision 1.24.2.4 / (download) - annotate - [select for diffs], Sun Jun 4 08:59:42 2006 UTC (5 years, 11 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
Changes since 1.24.2.3: +37 -1 lines
Diff to previous 1.24.2.3 (colored) to branchpoint 1.24 (colored)

Apply patch (requested by jonathan in ticket #1351):
Add support to bge(4) for bcm5714, bcm5715, bcm5780/HT-2000 and
bcm5752 chip variants.

Revision 1.33.6.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:27 2006 UTC (6 years ago) by tron
Branch: peter-altq
Changes since 1.33: +2 -1 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.33.2.1 / (download) - annotate - [select for diffs], Wed May 24 10:58:00 2006 UTC (6 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.33: +2 -1 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

sync with head.

Revision 1.32.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:14 2006 UTC (6 years, 1 month ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.32: +3 -2 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Sync with head.

Revision 1.33.4.1 / (download) - annotate - [select for diffs], Wed Apr 19 03:25:34 2006 UTC (6 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.33: +2 -1 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

sync with head.

Revision 1.34 / (download) - annotate - [select for diffs], Tue Apr 18 14:53:43 2006 UTC (6 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.33: +2 -1 lines
Diff to previous 1.33 (colored)

PR/33828: Pawel Chwalowski: Add support for Broadcom BCM5789 chip

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 15:39:07 2006 UTC (6 years, 3 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

sync with head.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Feb 16 20:17:19 2006 UTC (6 years, 3 months ago) by perry
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, peter-altq, elad-kernelauth
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

Change "inline" back to "__inline" in .h files -- C99 is still too
new, and some apps compile things in C89 mode. C89 keywords stay.

As per core@.

Revision 1.32 / (download) - annotate - [select for diffs], Sat Dec 24 20:27:42 2005 UTC (6 years, 5 months ago) by perry
Branch: MAIN
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

Revision 1.31 / (download) - annotate - [select for diffs], Mon Dec 12 00:40:44 2005 UTC (6 years, 5 months ago) by jonathan
Branch: MAIN
Changes since 1.30: +3 -1 lines
Diff to previous 1.30 (colored)

Add support for bcm5714 and (possibly incorrect) support for the
bcm5715 PCI-Express dual-port NICs. Taken from the Broadcom-supplied
Linux driver, bcm-8.3.13a.

Add nascent support for the bcm5780, but (since I have no bcm5780 to
test), don't yet add an entry which allows us to match or attach to a
5780.

Change 5752 support: Follow the lead of the Broadcom-supplied Linux
driver (bcm) and the Linux tg3 driver, and treat the 5752 like a 5750.

Revision 1.10.2.8 / (download) - annotate - [select for diffs], Sun Dec 11 10:28:58 2005 UTC (6 years, 5 months ago) by christos
Branch: ktrace-lwp
Changes since 1.10.2.7: +51 -14 lines
Diff to previous 1.10.2.7 (colored) next main 1.11 (colored)

Sync with head.

Revision 1.30 / (download) - annotate - [select for diffs], Wed Dec 7 04:43:05 2005 UTC (6 years, 5 months ago) by jonathan
Branch: MAIN
CVS Tags: ktrace-lwp-base
Changes since 1.29: +6 -1 lines
Diff to previous 1.29 (colored)

Add PCI device-ids to sys/dev/pci/pcidevs for newer Broadcom gigabit
ethernet devices: bcm5714, bcm5752 (previously the 5789, but fvdl
committed that whilst I was musing).

Add definitions to sys/dev/pci/if_bgereg.h for the Broadcom 57xx-family
ASIC revisions on these newer chips.

Add entries to the PCI-device-version and bge-internal-asic-revision
tables in sys/dev/pci/if_bge.c to use these new devices. Pending
further information, follow the lead of FreeBSD's if_bge.c driver and,
pending further info, treat these new chips as we do the 5750.

Revision 1.18.4.1 / (download) - annotate - [select for diffs], Thu Dec 1 20:14:40 2005 UTC (6 years, 5 months ago) by riz
Branch: netbsd-2
Changes since 1.18: +1 -12 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #10169):
	sys/dev/pci/if_bgereg.h: revision 1.29
Remove unnecessary byteswap code so that bge(4) should work
at least on macppc.

Revision 1.26.6.2 / (download) - annotate - [select for diffs], Tue Nov 29 21:23:14 2005 UTC (6 years, 5 months ago) by yamt
Branch: yamt-readahead
Changes since 1.26.6.1: +45 -14 lines
Diff to previous 1.26.6.1 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)

sync with head.

Revision 1.24.2.3 / (download) - annotate - [select for diffs], Sun Nov 27 22:41:42 2005 UTC (6 years, 5 months ago) by riz
Branch: netbsd-3
CVS Tags: netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Changes since 1.24.2.2: +1 -12 lines
Diff to previous 1.24.2.2 (colored) to branchpoint 1.24 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #1004):
	sys/dev/pci/if_bgereg.h: revision 1.29
Remove unnecessary byteswap code so that bge(4) should work
at least on macppc.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Nov 25 15:30:34 2005 UTC (6 years, 6 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-readahead-base3
Changes since 1.28: +1 -12 lines
Diff to previous 1.28 (colored)

Remove unnecessary byteswap code so that bge(4) should work
at least on macppc.

Revision 1.28 / (download) - annotate - [select for diffs], Thu Nov 24 03:27:59 2005 UTC (6 years, 6 months ago) by jonathan
Branch: MAIN
Changes since 1.27: +45 -3 lines
Diff to previous 1.27 (colored)

Add TSO support to bge(4) for PCI-Express bge devices, which are
shipped from the factory with TSO-capable firmware.  The TSO support
here may also work on 5705 chips, but that is (so far) untested.

TSO support written after careful reading of the Linux tg3 driver,
and (after attempting to deconstruct the cut-and-paste mess therein)
very close reading of the Broadcom-supplied Linux driver, particularly
the building of Tx-DMA buffer descriptors (bds). The TSO code herein was
then rewritten from scratch, circa 4am local time, October 27 2005.
(In other words: this is 4am software; caveat emptor.)

Other magic register settings in this patch are required; without
them, attepmting to use TSO locks up the chip. The required register
settings were extracted from the cited Linux drivers.

Note that TSO-capable firmware for the 5703/5704 is distributed in
non-GPL form with the aforementioned Linux drivers. Once the 5705 case
is debugged, (particularly the pseudo-header checksum precalculation
flagged with an XXX) downloading that TSO-capable firmware to the
5703/5704 should, in principle, enable TSO support on all but the
original bcm5700 (I forget if the 5701 can support TSO, or not).

Note also that the ``hard case '' of IP/TCP headers spanning more than
one mbuf is not handled; I haven't been able to trigger it.  In any
case, since TSO applies only to packets generated by the local TCP,
and our TCP always leaves space for TCP headers and a normal IP
header, TSO on an IP/TCP header spanning multiple headers can only
arise due to insertion of IP options. I beleive that we are clearly
better off outlawing that case, and requiring ip_insertoptions()
to  pull-up TCP headers on any packets with M_CSUM_TSOv4 set.

As far as I know, bge hardwar does not support TSO for IPv6.

Revision 1.24.2.2 / (download) - annotate - [select for diffs], Tue Nov 22 20:44:22 2005 UTC (6 years, 6 months ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-0-RC3
Changes since 1.24.2.1: +1 -0 lines
Diff to previous 1.24.2.1 (colored) to branchpoint 1.24 (colored)

Pull up following revision(s) (requested by jonathan in ticket #985):
	sys/dev/pci/if_bgereg.h: revision 1.27
	sys/dev/pci/if_bge.c: revision 1.94
Correct a performance bug from Bill Paul's original FreeBSD bge(4) driver:
Each call to the FreeBSD bge_start() routine the transmit producer
pointer index from the chip mailbox register BGE_MBX_TX_HOST_PROD0_LO.
The local copy of that value is then updated by bge_encap() as
bge_encap() encapsulates packets in the Tx ring. If bge_encap()
succeds in encpuslating one or more packets, bge_start() tells the
chip to start sending the newly-encinitiates writes the new value back
to the chip mailbox register.
However, comparison of the Linux drivers (Broadcom-supplied and
open-source tg3.c) and to the OpenSolaris driver confirms that
register BGE_MBX_TX_HOST_PROD0_LO is write-only to software.
Thus, we can just keep a copy in the softc, and eliminate the
(expensive) PCI register write on each call to bge_start().
``Make it so''.

Revision 1.26.6.1 / (download) - annotate - [select for diffs], Tue Nov 22 16:08:11 2005 UTC (6 years, 6 months ago) by yamt
Branch: yamt-readahead
Changes since 1.26: +2 -1 lines
Diff to previous 1.26 (colored)

sync with head.

Revision 1.27 / (download) - annotate - [select for diffs], Tue Nov 15 06:05:44 2005 UTC (6 years, 6 months ago) by jonathan
Branch: MAIN
CVS Tags: yamt-readahead-base2
Changes since 1.26: +2 -1 lines
Diff to previous 1.26 (colored)

Correct a performance bug from Bill Paul's original FreeBSD bge(4) driver:

Each call to the FreeBSD bge_start() routine the transmit producer
pointer index from the chip mailbox register BGE_MBX_TX_HOST_PROD0_LO.
The local copy of that value is then updated by bge_encap() as
bge_encap() encapsulates packets in the Tx ring. If bge_encap()
succeds in encpuslating one or more packets, bge_start() tells the
chip to start sending the newly-encinitiates writes the new value back
to the chip mailbox register.

However, comparison of the Linux drivers (Broadcom-supplied and
open-source tg3.c) and to the OpenSolaris driver confirms that
register BGE_MBX_TX_HOST_PROD0_LO is write-only to software.
Thus, we can just keep a copy in the softc, and eliminate the
(expensive) PCI register write on each call to bge_start().

``Make it so''.

Revision 1.10.2.7 / (download) - annotate - [select for diffs], Thu Nov 10 14:06:01 2005 UTC (6 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.10.2.6: +2 -3 lines
Diff to previous 1.10.2.6 (colored)

Sync with HEAD. Here we go again...

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Thu Sep 8 21:24:31 2005 UTC (6 years, 8 months ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-0-RC2, netbsd-3-0-RC1
Changes since 1.24: +2 -1 lines
Diff to previous 1.24 (colored)

Pull up following revision(s) (requested by gavan in ticket #752):
	sys/dev/pci/if_bgereg.h: revision 1.25
	sys/dev/pci/if_bge.c: revision 1.92
Add quirk for BGE_CHIPID_BCM5751_A1. From Kurt Schreiner <ks at ub.uni-mainz
dot de> via PR kern/31028.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Aug 28 19:24:57 2005 UTC (6 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-readahead
Changes since 1.25: +1 -3 lines
Diff to previous 1.25 (colored)

Remove unused and incorrect macro BGE_HOSTADDR().

Revision 1.25 / (download) - annotate - [select for diffs], Mon Aug 22 18:18:25 2005 UTC (6 years, 9 months ago) by gavan
Branch: MAIN
Changes since 1.24: +2 -1 lines
Diff to previous 1.24 (colored)

Add quirk for BGE_CHIPID_BCM5751_A1. From Kurt Schreiner <ks at ub.uni-mainz
dot de> via PR kern/31028.

Revision 1.22.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:05 2005 UTC (7 years ago) by kent
Branch: kent-audio2
Changes since 1.22: +8 -6 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

sync with -current

Revision 1.22.6.2 / (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.22.6.1: +6 -6 lines
Diff to previous 1.22.6.1 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

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

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

Sync with HEAD.

Hi Perry!

Revision 1.24 / (download) - annotate - [select for diffs], Sun Feb 27 00:27:32 2005 UTC (7 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, kent-audio2-base
Branch point for: yamt-lazymbuf, netbsd-3
Changes since 1.23: +6 -6 lines
Diff to previous 1.23 (colored)

nuke trailing whitespace

Revision 1.22.6.1 / (download) - annotate - [select for diffs], Sat Feb 12 18:17:47 2005 UTC (7 years, 3 months ago) by yamt
Branch: yamt-km
Changes since 1.22: +3 -1 lines
Diff to previous 1.22 (colored)

sync with head.

Revision 1.10.2.5 / (download) - annotate - [select for diffs], Fri Feb 4 11:46:38 2005 UTC (7 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.10.2.4: +3 -1 lines
Diff to previous 1.10.2.4 (colored)

Sync with HEAD.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Jan 26 21:52:47 2005 UTC (7 years, 3 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-km-base2, matt-timespec
Changes since 1.22: +3 -1 lines
Diff to previous 1.22 (colored)

Add powerhook to bge(4)

Revision 1.10.2.4 / (download) - annotate - [select for diffs], Tue Nov 2 07:52:10 2004 UTC (7 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.10.2.3: +14 -1 lines
Diff to previous 1.10.2.3 (colored)

Sync with HEAD.

Revision 1.22 / (download) - annotate - [select for diffs], Thu Oct 28 07:36:05 2004 UTC (7 years, 6 months ago) by cube
Branch: MAIN
CVS Tags: yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.21: +14 -1 lines
Diff to previous 1.21 (colored)

Add support for the BCM575x variants.  They're close to the 5705 one, with
some special cases for the PCI-Express versions.  As there is no
documentation available, all of this is inspired from Linux or taken from
FreeBSD (itself inspired from Linux).  There are a lot of magic numbers.

Tested on two BCM5751 devices as found in newer Dell computers.

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

Fix the sync with head I botched.

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

Sync with HEAD.

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:49:07 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.10: +116 -23 lines
Diff to previous 1.10 (colored)

Sync with HEAD

Revision 1.21 / (download) - annotate - [select for diffs], Sat May 15 22:19:27 2004 UTC (8 years ago) by thorpej
Branch: MAIN
Changes since 1.20: +13 -1 lines
Diff to previous 1.20 (colored)

Add PAUSE-related event counters.  Slightly modified from patch supplied by
HITOSHI Osada.

Revision 1.20 / (download) - annotate - [select for diffs], Sat May 15 21:58:40 2004 UTC (8 years ago) by thorpej
Branch: MAIN
Changes since 1.19: +2 -1 lines
Diff to previous 1.19 (colored)

Patches from HITOSHI Osada:
* Set buffer management high water marks for MTU > 1514.
* Set BGE_MAX_RX_FRAME_LOWAT (from Linux driver).

Revision 1.19 / (download) - annotate - [select for diffs], Sat Apr 10 19:23:50 2004 UTC (8 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.18: +2 -1 lines
Diff to previous 1.18 (colored)

Add 802.3x flow control support.  From HITOSHI Osada.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Mar 20 01:58:51 2004 UTC (8 years, 2 months ago) by jonathan
Branch: MAIN
CVS Tags: 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
Branch point for: netbsd-2
Changes since 1.17: +10 -1 lines
Diff to previous 1.17 (colored)

Possibloe fix for some bge chip revisions taking a long time to reset
(e.g., polling for a half-second or more at splnet(), blocking most
interrupts, durin an ifconfig down/ifconfig up).

Appears to help for a 5704C rev A3, which is the only chip I've
ever seen that had even a mild version of the reported problem.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Jan 22 02:29:46 2004 UTC (8 years, 4 months ago) by jonathan
Branch: MAIN
Changes since 1.16: +2 -1 lines
Diff to previous 1.16 (colored)

Add hooks to dynamically change the bge Rx interrupt thresholds.  I
found empiricaly that (at least on bcm5700s) the Rx coalesce and bd
counts cannot be updated on-the-fly; attempting to do so (even at
splhigh()) causes weird behaviour.

Instead, add a softc flag to record that the desired softc values for
Rx-interrupt thresholds have changed; check that boolean in the interrupt
routine. If set, apply the new values there and clear the flag.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Jan 22 02:13:48 2004 UTC (8 years, 4 months ago) by jonathan
Branch: MAIN
Changes since 1.15: +10 -2 lines
Diff to previous 1.15 (colored)

Add some extra register definitions from FreeBSD and Linux:
BGE_MISC_TIMER register definition, and more bit definitions for
HCC-mode. (I would credit individuals, but the attributions are buried
deep in my own tree.)

Revision 1.15 / (download) - annotate - [select for diffs], Mon Dec 8 17:09:39 2003 UTC (8 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.14: +1 -0 lines
Diff to previous 1.14 (colored)

Match 5703 ASIC A3.

Also, when printing the ASIC ID, print the revision in hex in all
cases to avoid extra confusion if only the "superclass" of the ASIC
is recognized.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Nov 2 10:31:06 2003 UTC (8 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

boundary, not boundry. Inspired by Tom Cosgrove.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Oct 23 17:41:59 2003 UTC (8 years, 7 months ago) by fvdl
Branch: MAIN
Changes since 1.12: +41 -26 lines
Diff to previous 1.12 (colored)

* match more cards (from FreeBSD)
* don't set the NOCRC bit in the mode control register, it can cause
  problems on some chips (from the broadcom errata via FreeBSD)
* implement a fallback quirktable that is searched only using the
  major asic revision, so that the driver has a shot at supporting
  newer versions properly without modification
* rename asicrev -> chipid, like the FreeBSD driver

Revision 1.12 / (download) - annotate - [select for diffs], Wed Aug 27 23:13:51 2003 UTC (8 years, 9 months ago) by fvdl
Branch: MAIN
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

Support the BCM5704C rev 3. From Nicolas Joly, PR 22620

Revision 1.11 / (download) - annotate - [select for diffs], Thu Jul 17 11:44:27 2003 UTC (8 years, 10 months ago) by hannken
Branch: MAIN
Changes since 1.10: +45 -1 lines
Diff to previous 1.10 (colored)

Add support for the BCM5705:
- Only BCM5705M asic rev A1 was tested.

Thanks to Bill Paul (wpaul@freebsd.org) for help and support.

Approved by: Frank van der Linden <fvdl@netbsd.org>

Revision 1.6.2.4 / (download) - annotate - [select for diffs], Mon Jun 16 13:24:00 2003 UTC (8 years, 11 months ago) by grant
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.6.2.3: +3 -1 lines
Diff to previous 1.6.2.3 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

Pull up revision 1.8 (requested by tron in ticket #1250):

Commit the FreeBSD alternative of a private patch to check NIC internal
ram for using TBI, versus MII/GMII.

FreeBSD commit log and versions:
   Obtain the media type from the shared memory and only use the eeprom
   as a fallback.

   if_bge.c:	rev 1.30
   if_bgereg.h:	rev 1.13

Thanks to Paul Saab @mu.org.

Revision 1.6.2.3 / (download) - annotate - [select for diffs], Mon Jun 16 13:20:48 2003 UTC (8 years, 11 months ago) by grant
Branch: netbsd-1-6
Changes since 1.6.2.2: +8 -18 lines
Diff to previous 1.6.2.2 (colored) to branchpoint 1.6 (colored)

Pull up revision 1.7 (requested by tron in ticket #1249):

FreeBSD fix for problems reported (to FreeBSD) with 16-bit accesses
to 32-bit device registers. Add (untested) NetBSD fix for big-endian hosts.
From FreeBSD versions:
	if_bge.c:	1.26 and 1.27
	if_bgereg.h: 1.12

FreeBSD (MFC) comment:

MFC:  Avoid 16-bit accesses to device memory.  Use volatile where
appropriate in referencing device memory.  Parenthesize BGE_HOSTADDR
define properly.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Jun 1 20:26:14 2003 UTC (8 years, 11 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.9: +3 -1 lines
Diff to previous 1.9 (colored)

Add newer 5704 asic revs, and add them to the table, with the
BGE_QUIRK_ONLY_PHY_1 quirk in their entry.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Mar 7 18:57:53 2003 UTC (9 years, 2 months ago) by jonathan
Branch: MAIN
Changes since 1.8: +2 -1 lines
Diff to previous 1.8 (colored)

Commit workaround for hardware bug: 5701 chips running in PCI-X mode
require that the DMA receive buffers be aligned. The driver was
deliberately mis-aligning by 2 bytes, to force the layer-2/3
headers to 32-bit alignment.

Workaround: if chip is a 5701, and is in PCI-X mode, leave the DMA
buffers aligned.  If the host CPU requires alignment, copy the buffer
after reception to force aligment.

Tested  on an i386 in  PCI-X bus, with __NO_STRICT_ALIGNMENT forced off.

Patch and comments reworked  to minimize drift from
	FreeBSD if_bge.c rev 1.14.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Mar 6 20:53:06 2003 UTC (9 years, 2 months ago) by jonathan
Branch: MAIN
Changes since 1.7: +3 -1 lines
Diff to previous 1.7 (colored)

Commit the FreeBSD alternative of a private patch to check NIC internal
ram for using TBI, versus MII/GMII.

FreeBSD commit log and versions:
   Obtain the media type from the shared memory and only use the eeprom
   as a fallback.

   if_bge.c:	rev 1.30
   if_bgereg.h:	rev 1.13

Thanks to Paul Saab @mu.org.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Mar 6 20:12:54 2003 UTC (9 years, 2 months ago) by jonathan
Branch: MAIN
Changes since 1.6: +8 -18 lines
Diff to previous 1.6 (colored)

FreeBSD fix for problems reported (to FreeBSD) with 16-bit accesses
to 32-bit device registers. Add (untested) NetBSD fix for big-endian hosts.
From FreeBSD versions:
	if_bge.c:	1.26 and 1.27
	if_bgereg.h: 1.12

FreeBSD (MFC) comment:

MFC:  Avoid 16-bit accesses to device memory.  Use volatile where
appropriate in referencing device memory.  Parenthesize BGE_HOSTADDR
define properly.

Revision 1.6.2.2 / (download) - annotate - [select for diffs], Tue Jan 28 06:20:12 2003 UTC (9 years, 3 months ago) by jmc
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.6.2.1: +2272 -0 lines
Diff to previous 1.6.2.1 (colored) to branchpoint 1.6 (colored)

Pullup from -current (lots of revisions 1.1-1.6
(requested by fvdl in ticket #1126)
 Pullup support for bge device. (Broadcom Gigabit Ethernet)

Revision 1.4.4.3 / (download) - annotate - [select for diffs], Fri Jan 17 16:31:40 2003 UTC (9 years, 4 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.4.4.2: +8 -1 lines
Diff to previous 1.4.4.2 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Sync with HEAD.

Revision 1.6.2.1, Fri Jan 17 11:17:08 2003 UTC (9 years, 4 months ago) by jmc
Branch: netbsd-1-6
Changes since 1.6: +0 -2272 lines
FILE REMOVED

file if_bgereg.h was added on branch netbsd-1-6 on 2003-01-28 06:20:12 +0000

Revision 1.6 / (download) - annotate - [select for diffs], Fri Jan 17 11:17:08 2003 UTC (9 years, 4 months ago) by fvdl
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base
Branch point for: netbsd-1-6
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)

Add local_ctl_reg field to softc.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Jan 17 00:21:37 2003 UTC (9 years, 4 months ago) by jonathan
Branch: MAIN
Changes since 1.4: +7 -1 lines
Diff to previous 1.4 (colored)

Add register definitions for 5704 internal ASIC revision.
Add cpp definitions for the DMA control register fields needed for
5703/5704 configuration on PCI-X.
Add softc copy of internal"local control" register clobbered by reset.

Revision 1.4.6.2 / (download) - annotate - [select for diffs], Fri Sep 6 08:45:14 2002 UTC (9 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.4.6.1: +2265 -0 lines
Diff to previous 1.4.6.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

sync kqueue branch with HEAD

Revision 1.4.4.2 / (download) - annotate - [select for diffs], Thu Aug 1 02:45:14 2002 UTC (9 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.4.4.1: +2265 -0 lines
Diff to previous 1.4.4.1 (colored) to branchpoint 1.4 (colored)

Catch up to -current.

Revision 1.4.2.2 / (download) - annotate - [select for diffs], Mon Jul 15 10:35:36 2002 UTC (9 years, 10 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.4.2.1: +2265 -0 lines
Diff to previous 1.4.2.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

catch up with -current.

Revision 1.4.6.1, Sat Jul 13 22:31:18 2002 UTC (9 years, 10 months ago) by jdolecek
Branch: kqueue
Changes since 1.4: +0 -2265 lines
FILE REMOVED

file if_bgereg.h was added on branch kqueue on 2002-09-06 08:45:14 +0000

Revision 1.4.4.1, Sat Jul 13 22:31:18 2002 UTC (9 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.4: +0 -2265 lines
FILE REMOVED

file if_bgereg.h was added on branch nathanw_sa on 2002-08-01 02:45:14 +0000

Revision 1.4.2.1, Sat Jul 13 22:31:18 2002 UTC (9 years, 10 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.4: +0 -2265 lines
FILE REMOVED

file if_bgereg.h was added on branch gehenna-devsw on 2002-07-15 10:35:36 +0000

Revision 1.4 / (download) - annotate - [select for diffs], Sat Jul 13 22:31:18 2002 UTC (9 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, fvdl_fs64_base
Branch point for: nathanw_sa, kqueue, gehenna-devsw
Changes since 1.3: +1 -7 lines
Diff to previous 1.3 (colored)

Give BCM5700 Ax and Bx revs the BGE_QUIRK_LINK_STATE_BROKEN quirk,
and test for that, rather than checking revision where the quirk is
handled.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Jul 13 22:21:20 2002 UTC (9 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.2: +5 -1 lines
Diff to previous 1.2 (colored)

Add a lookup table with ASIC revision, name, and any quirks.  Print
ASIC revision at attach time.  Add BCM5703 revisions.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jun 24 01:21:39 2002 UTC (9 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.1: +7 -2 lines
Diff to previous 1.1 (colored)

Add a few revision definitions.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Jun 22 14:42:07 2002 UTC (9 years, 11 months ago) by fvdl
Branch: MAIN

Driver for Broadcom 570x / Altima AC 1000 gigabit ethernet cards.
Written by Bill Paul for FreeBSD. This port started out with the
port done to OpenBSD by nate@openbsd.org, but ended up looking much
more like the port of the ti driver done by drochner@netbsd.org
(they are similar in structure).

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>