The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.1.26.1.2.2 / (download) - annotate - [select for diffs], Tue Jun 3 20:47:24 2008 UTC (3 years, 11 months ago) by skrll
Branch: wrstuden-fixsa
Changes since 1.1.26.1.2.1: +8 -1 lines
Diff to previous 1.1.26.1.2.1 (colored) to branchpoint 1.1.26.1 (colored) next main 1.1.26.2 (colored)

Sync with netbsd-4.

Revision 1.6.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:39 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.6: +21 -10 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Sync with HEAD.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Apr 17 19:12:26 2008 UTC (4 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base11, yamt-nfs-mp-base10, yamt-nfs-mp-base, yamt-nfs-mp, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-6-base, netbsd-6, netbsd-5-base, 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, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-premerge-20101231, matt-mips64-base2, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, 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, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, ad-audiomp2-base, ad-audiomp2, HEAD
Changes since 1.6: +21 -10 lines
Diff to previous 1.6 (colored)

sync with openbsd; fixes observed corruption issues.

Revision 1.4.16.2 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:48 2008 UTC (4 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.4.16.1: +6 -1 lines
Diff to previous 1.4.16.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

sync with HEAD

Revision 1.1.26.3 / (download) - annotate - [select for diffs], Sat Feb 23 14:21:50 2008 UTC (4 years, 3 months ago) by bouyer
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base
Changes since 1.1.26.2: +8 -1 lines
Diff to previous 1.1.26.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #1061):
	sys/dev/pci/if_nfe.c: revision 1.22, 1.23, 1.25, 1.27
	sys/dev/pci/pcidevs: revision 1.914
	sys/dev/pci/if_nfereg.h: revision 1.5, 1.6
	share/man/man4/nfe.4: revision 1.4
	sys/dev/pci/if_nfevar.h: revision 1.5, 1.6
Add NVIDIA MCP7[37] devices, from OpenBSD.
Attach to NVIDIA MCP67/73 Ethernet controllers.
Add the MCP{67,73} products on nfe_attach().
Sync with reality.
Handle a quirk of newer MCP6x chips on reading MAC address.
Fix from Richy Kim in PR kern/36576.
Wakeup some newer chips from powerdown mode. From FreeBSD/Linux driver
via OpenBSD.
Tested by wiz@ in PR kern/37868.

Revision 1.4.22.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:57 2008 UTC (4 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.4: +6 -1 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Sync with HEAD.

Revision 1.1.16.6 / (download) - annotate - [select for diffs], Mon Feb 4 09:23:30 2008 UTC (4 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.1.16.5: +6 -1 lines
Diff to previous 1.1.16.5 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync with head.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Jan 26 14:13:06 2008 UTC (4 years, 4 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, ad-socklock-base1
Branch point for: mjf-devfs2
Changes since 1.5: +6 -1 lines
Diff to previous 1.5 (colored)

Wakeup some newer chips from powerdown mode. From FreeBSD/Linux driver
via OpenBSD.

Tested by wiz@ in PR kern/37868.

Revision 1.1.16.5 / (download) - annotate - [select for diffs], Mon Jan 21 09:43:58 2008 UTC (4 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.1.16.4: +3 -1 lines
Diff to previous 1.1.16.4 (colored) to branchpoint 1.1 (colored)

sync with head

Revision 1.4.16.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:53:48 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.4: +3 -1 lines
Diff to previous 1.4 (colored)

sync with HEAD

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

Sync with HEAD

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

Sync with head.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Dec 17 12:41:07 2007 UTC (4 years, 5 months ago) by tsutsui
Branch: MAIN
CVS Tags: vmlocking2-base3, matt-armv6-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.4: +3 -1 lines
Diff to previous 1.4 (colored)

Handle a quirk of newer MCP6x chips on reading MAC address.
Fix from Richy Kim in PR kern/36576.

Revision 1.1.26.1.2.1 / (download) - annotate - [select for diffs], Mon Oct 29 00:45:15 2007 UTC (4 years, 6 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.1.26.1: +12 -9 lines
Diff to previous 1.1.26.1 (colored)

Catch up with 4.0 RC3

Revision 1.1.26.2 / (download) - annotate - [select for diffs], Sun Oct 7 15:48:27 2007 UTC (4 years, 7 months ago) by pavel
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-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.1.26.1: +12 -9 lines
Diff to previous 1.1.26.1 (colored) to branchpoint 1.1 (colored)

Pull up following revisions (requested by cube in ticket #920):
	sys/dev/pci/if_nfe.c: revision 1.14, 1.18-1.19
	sys/dev/pci/if_nfereg.h: revision 1.4
	sys/dev/pci/if_nfevar.h: revision 1.3
Apply patches which may fix RX stall problem on nfe(4):
- make DMA descriptors volatile to avoid possible unintended reordering
  which might cause some race conditions
- process interrupts until all NFE_IRQ_WANTED bits are handled
and also put misc fixes:
- return 1 and call nfe_start() in nfe_intr() only if any own interrupts
  are actually handled
- use bus_dmamap_load_mbuf(9) for RX mbufs rather than bus_dmamap_load(9)
  with mtod(9) and MCLBYTES
- check sc->txq.queued to see if TX descriptors are queued or handled
  in nfe_start() and nfe_txeof()
- use proper BUS_DMASYNC_{PRE,POST} ops
- prepare and use NFE_[RT]X_NEXTDESC() macro
- rename NFE_TX_TCP_CSUM to NFE_TX_TCP_UDP_CSUM since it also enables
  hardware udp4csum-tx for UDP4 packets
- some minor optimization
- misc KNF
Tested and confirmed by matthew green by
"to send >25MB/sec to nfe0 for over one hour,"
and also tested by me (with light TRX load on 100baseTX though)
for a month.


From OpenBSD, rev 1.72:
In nfe_start() do a fast return if IFF_OACTIVE is set, in
this case we need a Tx interrupt to clean up the DMA ring
before if_start can be properly called.


- If the chip doesn't support jumbo frames, don't use bus_dmamap_load_mbuf
  which expects a properly filled mbuf chain, but bus_dmamap_load for the
  mbuf storage space instead.
- If the chip supports jumbo frames
    + keep track of which RX descriptor uses which jumbo mbuf buffer, so
      that we can rewrite the physaddr field of the descriptor later, as it
      might be partially overwritten by the hw
    + when we're out of jumbo mbufs, and if the packet is small enough,
      copy it into a cluster mbuf
Those changes make my nfe(4) stable in both cases (defining NFE_NO_JUMBO
for the first one).

Revision 1.1.16.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:37:00 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.1.16.3: +12 -9 lines
Diff to previous 1.1.16.3 (colored) to branchpoint 1.1 (colored)

sync with head.

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:55:20 2007 UTC (5 years, 2 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.3: +12 -9 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Sync with HEAD.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Feb 28 17:40:11 2007 UTC (5 years, 2 months ago) by tsutsui
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, yamt-idlelwp-base8, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: vmlocking2, mjf-devfs, matt-armv6, bouyer-xeni386
Changes since 1.3: +12 -9 lines
Diff to previous 1.3 (colored)

Apply patches which may fix RX stall problem on nfe(4):
- make DMA descriptors volatile to avoid possible unintended reordering
  which might cause some race conditions
- process interrupts until all NFE_IRQ_WANTED bits are handled

and also put misc fixes:
- return 1 and call nfe_start() in nfe_intr() only if any own interrupts
  are actually handled
- use bus_dmamap_load_mbuf(9) for RX mbufs rather than bus_dmamap_load(9)
  with mtod(9) and MCLBYTES
- check sc->txq.queued to see if TX descriptors are queued or handled
  in nfe_start() and nfe_txeof()
- use proper BUS_DMASYNC_{PRE,POST} ops
- prepare and use NFE_[RT]X_NEXTDESC() macro
- rename NFE_TX_TCP_CSUM to NFE_TX_TCP_UDP_CSUM since it also enables
  hardware udp4csum-tx for UDP4 packets
- some minor optimization
- misc KNF

Tested and confirmed by matthew green by
"to send >25MB/sec to nfe0 for over one hour,"
and also tested by me (with light TRX load on 100baseTX though)
for a month.

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

sync with head.

Revision 1.1.26.1 / (download) - annotate - [select for diffs], Fri Jan 19 22:34:23 2007 UTC (5 years, 4 months ago) by bouyer
Branch: netbsd-4
CVS Tags: netbsd-4-0-RC2, netbsd-4-0-RC1
Branch point for: wrstuden-fixsa
Changes since 1.1: +6 -4 lines
Diff to previous 1.1 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #370):
	sys/dev/pci/if_nfe.c: revision 1.8 - 1.13
	sys/dev/pci/if_nfereg.h: revision 1.2 - 1.3
several bug fixes and hardware checksum support for nfs(4).

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

Sync with head.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Jan 9 10:29:27 2007 UTC (5 years, 4 months ago) by tsutsui
Branch: MAIN
CVS Tags: post-newlock2-merge, newlock2-nbase, newlock2-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.2: +6 -4 lines
Diff to previous 1.2 (colored)

Enable hardware checksum support by hardware info taken from FreeBSD.
Tested on nForce3 250 and nForce4 by Chuck Silvers, Cesar Catrian Carreno,
and me.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jan 5 01:26:52 2007 UTC (5 years, 4 months ago) by jmcneill
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Fix incorrect definition of wake-on-LAN magic number, from FreeBSD.

Revision 1.1.22.2 / (download) - annotate - [select for diffs], Sat Sep 9 02:52:17 2006 UTC (5 years, 8 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.1.22.1: +182 -0 lines
Diff to previous 1.1.22.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync with head

Revision 1.1.16.2 / (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.1.16.1: +182 -0 lines
Diff to previous 1.1.16.1 (colored) to branchpoint 1.1 (colored)

sync with head.

Revision 1.1.10.2 / (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.1.10.1: +182 -0 lines
Diff to previous 1.1.10.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with head.

Revision 1.1.8.2 / (download) - annotate - [select for diffs], Thu Apr 20 03:11:14 2006 UTC (6 years, 1 month ago) by snj
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.1.8.1: +182 -0 lines
Diff to previous 1.1.8.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Pull up following revision(s) (requested by tron in ticket #1266):
	share/man/man4/Makefile: revision 1.377
	sys/dev/pci/if_nfe.c: revision 1.1
	sys/dev/pci/if_nfereg.h: revision 1.1
	share/man/man4/nfe.4: revision 1.1
	sys/dev/pci/if_nfevar.h: revision 1.1
	distrib/sets/lists/man/mi: revision 1.863
add nfe driver and manpage from OpenBSD.

Revision 1.1.6.2 / (download) - annotate - [select for diffs], Wed Apr 19 03:25:35 2006 UTC (6 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.1.6.1: +182 -0 lines
Diff to previous 1.1.6.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync with head.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Mon Mar 13 09:07:26 2006 UTC (6 years, 2 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.1.2.1: +182 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync with head.

Revision 1.1.22.1, Sun Mar 12 22:40:42 2006 UTC (6 years, 2 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.1: +0 -182 lines
FILE REMOVED

file if_nfereg.h was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:52:17 +0000

Revision 1.1.16.1, Sun Mar 12 22:40:42 2006 UTC (6 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.1: +0 -182 lines
FILE REMOVED

file if_nfereg.h was added on branch yamt-lazymbuf on 2006-06-21 15:05:04 +0000

Revision 1.1.10.1, Sun Mar 12 22:40:42 2006 UTC (6 years, 2 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.1: +0 -182 lines
FILE REMOVED

file if_nfereg.h was added on branch simonb-timecounters on 2006-04-22 11:39:14 +0000

Revision 1.1.8.1, Sun Mar 12 22:40:42 2006 UTC (6 years, 2 months ago) by snj
Branch: netbsd-3
Changes since 1.1: +0 -182 lines
FILE REMOVED

file if_nfereg.h was added on branch netbsd-3 on 2006-04-20 03:11:14 +0000

Revision 1.1.6.1, Sun Mar 12 22:40:42 2006 UTC (6 years, 2 months ago) by elad
Branch: elad-kernelauth
Changes since 1.1: +0 -182 lines
FILE REMOVED

file if_nfereg.h was added on branch elad-kernelauth on 2006-04-19 03:25:35 +0000

Revision 1.1.2.1, Sun Mar 12 22:40:42 2006 UTC (6 years, 2 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.1: +0 -182 lines
FILE REMOVED

file if_nfereg.h was added on branch yamt-pdpolicy on 2006-03-13 09:07:26 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 12 22:40:42 2006 UTC (6 years, 2 months ago) by chs
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, peter-altq-base, peter-altq, netbsd-4-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-pdpolicy, yamt-lazymbuf, simonb-timecounters, rpaulo-netinet-merge-pcb, newlock2, netbsd-4, netbsd-3, elad-kernelauth

add nfe driver and manpage from OpenBSD.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>