The NetBSD Project

CVS log for src/sys/dev/ic/gemreg.h

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.16.10.1: download - view: text, markup, annotated - select for diffs
Wed Nov 4 23:21:58 2026 UTC (11 days, 11 hours ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +2 -1 lines
Sync with HEAD

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Jul 18 14:06:37 2026 UTC (3 months, 4 weeks ago) by thorpej
Branches: MAIN
CVS tags: perseant-exfatfs-base-20261102, HEAD
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -1 lines
Add a comment describing where the definitions of the GEM_SBUS_CONFIG
register can be found in the SBus GEM ASIC manual.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Aug 17 22:00:31 2021 UTC (5 years, 3 months ago) by andvar
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20250801, perseant-exfatfs-base-20240630, perseant-exfatfs-base, netbsd-11-base, netbsd-11-1-RELEASE, netbsd-11-0-RELEASE, netbsd-11-0-RC7, netbsd-11-0-RC6, netbsd-11-0-RC5, netbsd-11-0-RC4, netbsd-11-0-RC3, netbsd-11-0-RC2, netbsd-11-0-RC1, netbsd-11, netbsd-10-base, netbsd-10-2-RELEASE, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: perseant-exfatfs
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2 lines
fix multiplei repetitive typos in comments, messages and documentation. mainly because copy paste code big amount of files are affected.

Revision 1.14.28.1: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:21:03 2012 UTC (14 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +3 -1 lines
sync with head

Revision 1.14.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 15 09:32:36 2012 UTC (14 years, 2 months ago) by bouyer
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +3 -1 lines
Pull up following revision(s) (requested by jdc in ticket #1789):
	sys/dev/ic/gem.c: revision 1.99 via patch
	sys/dev/ic/gemvar.h: revision 1.24 via patch
	sys/dev/ic/gemreg.h: revision 1.15 via patch
Apply lockup fixes from Havard Eidnes/OpenBSD in PR port-sparc64/46260:
- add an additional watchdog for RX overflow
- re-initialise the chip on device timeout
Also alter the interrupt blanking rate to 8 packets, as per OpenSolaris.

Revision 1.14.34.1: download - view: text, markup, annotated - select for diffs
Thu Jul 5 17:59:12 2012 UTC (14 years, 4 months ago) by riz
Branches: netbsd-6
CVS tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +3 -1 lines
Pull up following revision(s) (requested by jdc in ticket #401):
	sys/dev/ic/gem.c: revision 1.99
	sys/dev/ic/gemvar.h: revision 1.24
	sys/dev/ic/gemreg.h: revision 1.15
Apply lockup fixes from Havard Eidnes/OpenBSD in PR port-sparc64/46260:
- add an additional watchdog for RX overflow
- re-initialise the chip on device timeout
Also alter the interrupt blanking rate to 8 packets, as per OpenSolaris.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Jul 2 11:23:40 2012 UTC (14 years, 4 months ago) by jdc
Branches: MAIN
CVS tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, tls-maxphys-base-20171202, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-9-base, netbsd-9-5-RELEASE, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, khorben-n900, jdolecek-ncqfixes-base, jdolecek-ncqfixes, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -1 lines
Apply lockup fixes from Havard Eidnes/OpenBSD in PR port-sparc64/46260:
  - add an additional watchdog for RX overflow
  - re-initialise the chip on device timeout
Also alter the interrupt blanking rate to 8 packets, as per OpenSolaris.

Revision 1.11.10.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:41 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.11.10.1: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.10.1: +11 -9 lines
sync with head.

Revision 1.13.6.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:16:26 2008 UTC (18 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +11 -9 lines
Sync with HEAD.

Revision 1.11.6.2: download - view: text, markup, annotated - select for diffs
Sun Sep 28 10:40:23 2008 UTC (18 years, 1 month ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.11.6.1: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.6.1: +10 -8 lines
Sync with HEAD.

Revision 1.13.2.1: download - view: text, markup, annotated - select for diffs
Wed Sep 24 16:38:52 2008 UTC (18 years, 1 month ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +11 -9 lines
Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Sep 15 19:43:24 2008 UTC (18 years, 2 months ago) by jdc
Branches: MAIN
CVS tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, 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-base11, yamt-nfs-mp-base10, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, 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, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-6-base, 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-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, 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-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-pagecache, netbsd-6, netbsd-5
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +11 -9 lines
Minor corrections to the SBus definitions, from the `Sbus GEM Specification':
  http://mediacast.sun.com/users/Barton808/media/gem_sbus-1.pdf

Revision 1.9.16.1: download - view: text, markup, annotated - select for diffs
Tue Jun 3 20:47:19 2008 UTC (18 years, 5 months ago) by skrll
Branches: wrstuden-fixsa
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +491 -253 lines
Sync with netbsd-4.

Revision 1.11.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:21 2008 UTC (18 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +14 -7 lines
Sync with HEAD.

Revision 1.11.8.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:33:42 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +14 -7 lines
sync with head.

Revision 1.9.2.1: download - view: text, markup, annotated - select for diffs
Sat May 17 16:36:08 2008 UTC (18 years, 6 months ago) by bouyer
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +491 -253 lines
Pull up following revision(s) (requested by jdc in ticket #1145):
	src/share/man/man4/gem.4              1.5,1.6 via patch
	src/sys/arch/sparc64/conf/GENERIC     1.97 via patch
	src/sys/dev/ic/gem.c                  1.59,1.61-1.68,1.70-1.73 via patch
	src/sys/dev/ic/gemreg.h               1.11 via patch
	src/sys/dev/ic/gemvar.h               1.16,1.18 via patch
	src/sys/dev/mii/bmtphy.c              1.24 via patch
	src/sys/dev/pci/if_gem_pci.c          1.25,1.27 via patch
	src/sys/dev/pci/pcidevs               1.12 via patch
	src/sys/dev/pci/pcidevs.h             regenerate
	src/sys/dev/pci/pcidevs_data.h        regenerate
Add support for Sun PCI X1141A (SX fibre) cards.
Add improvements to the driver.
Disable HW UDP4 and RX TCP4 checksums because they are buggy (PR#34799)
Add improvements to bmtphy.

Revision 1.11.10.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:24:03 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +14 -7 lines
sync with head.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed May 7 06:36:48 2008 UTC (18 years, 6 months ago) by jdc
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, haad-dm
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3 lines
Correct Sbus register definitions.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue May 6 21:09:34 2008 UTC (18 years, 6 months ago) by jdc
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +14 -7 lines
Add some Sbus-specific definitions (more registers and more values in the
Sbus Config register).

Revision 1.10.14.1: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:05:41 2008 UTC (18 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +491 -253 lines
Sync with HEAD.

Revision 1.7.6.3: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:42:59 2008 UTC (18 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.7.6.2: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.6.2: +491 -253 lines
sync with head

Revision 1.10.8.1: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:52:52 2008 UTC (18 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +491 -253 lines
sync with HEAD

Revision 1.10.20.1: download - view: text, markup, annotated - select for diffs
Tue Jan 8 22:11:03 2008 UTC (18 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +491 -253 lines
Sync with HEAD

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Jan 5 20:27:44 2008 UTC (18 years, 10 months ago) by jdc
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +491 -253 lines
Add support for Sun PCI X1141A (SX fibre) cards, based on the GEM
documentation, experimentation and a previous patch from John Heasley.

Add improvements to the driver based on the GEM documentation and
from FreeBSD if_gem.c (rev 1.45).

Revision 1.7.6.2: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:34:34 2007 UTC (19 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.7.6.1: preferred, colored; branchpoint 1.7: preferred, colored
Changes since revision 1.7.6.1: +3 -3 lines
sync with head.

Revision 1.9.10.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:05:47 2007 UTC (19 years, 4 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +3 -3 lines
Sync with head.

Revision 1.9.8.1: download - view: text, markup, annotated - select for diffs
Sun May 27 14:30:01 2007 UTC (19 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +3 -3 lines
Sync with head.

Revision 1.9.4.1: download - view: text, markup, annotated - select for diffs
Sun Apr 15 16:03:22 2007 UTC (19 years, 7 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +3 -3 lines
sync with head.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Apr 12 06:14:47 2007 UTC (19 years, 7 months ago) by dyoung
Branches: 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-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, 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: mjf-devfs, matt-armv6, bouyer-xeni386
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3 lines
Make the members of the descriptors volatile, because the NIC and
the host share them.

Before breaking out of the loop over descriptors in gem_rint(),
DMA-resynchronize the first Rx descriptor we found that does not
belong to the host.  We must avoid a cached descriptor "covering"
a descriptor in RAM, because the cached descriptor may say that
the descriptor still belongs to the NIC, when that is not true,
and the driver will hang.

XXX I believe this driver only works by luck on hosts that both
XXX have a cacheline size greater than the size of a descriptor
XXX (16 bytes) and lack DMA/cache coherency.  I need to add some
XXX trickery to make sure that we don't scribble over the NIC's
XXX changes to a descriptor when we flush a cached descriptor to
XXX RAM with bus_dmamap_sync(9).

Revision 1.8.20.1: download - view: text, markup, annotated - select for diffs
Fri Jan 12 00:57:36 2007 UTC (19 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +23 -6 lines
Sync with head.

Revision 1.7.6.1: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:48:02 2006 UTC (19 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +23 -6 lines
sync with head.

Revision 1.8.22.1: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:17:05 2006 UTC (19 years, 11 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +23 -6 lines
sync with head.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Nov 24 13:01:07 2006 UTC (19 years, 11 months ago) by martin
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-base-1, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp, wrstuden-fixsa, vmlocking, netbsd-4, mjf-ufs-trans
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +23 -6 lines
In preparation for gem @ sbus: split the GEM registers into two halfs
and provide a bus_space_handle_t for each. While there, fix a typo
in gem_bitwait().

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:21:26 2005 UTC (20 years, 11 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +1 -1 lines
merge ktrace-lwp.

Revision 1.6.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:50 2005 UTC (21 years, 6 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +58 -13 lines
sync with -current

Revision 1.6.6.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:34:02 2005 UTC (21 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +58 -13 lines
sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.4.10.5: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:41:28 2005 UTC (21 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.4.10.4: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.10.4: +58 -13 lines
Sync with HEAD.

Hi Perry!

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Feb 18 01:39:18 2005 UTC (21 years, 9 months ago) by heas
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, yamt-km-base4, yamt-km-base3, thorpej-vnode-attr-base, thorpej-vnode-attr, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, ktrace-lwp-base, kent-audio2-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +58 -13 lines
Adjust/add a few comments, add a few bitmask_snprintf formats, and add
register definitions for hardware checksums and the PCS (the fiber interface
version of a MII).

Revision 1.4.10.4: download - view: text, markup, annotated - select for diffs
Tue Oct 19 15:56:53 2004 UTC (22 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.4.10.3: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.10.3: +33 -14 lines
Sync with HEAD

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Oct 17 21:49:08 2004 UTC (22 years, 1 month ago) by heas
Branches: MAIN
CVS tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +33 -14 lines
Adjust/add a few comments and add defines for PCS (aka GEM_MII) FSM and
interrupt registers.
drop some trailing WS.

no functional changes.

Revision 1.4.10.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:27:55 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.4.10.2: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.10.2: +1 -1 lines
Fix the sync with head I botched.

Revision 1.4.10.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:45:57 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.4.10.1: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.10.1: +0 -0 lines
Sync with HEAD.

Revision 1.4.10.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:46:13 2004 UTC (22 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +6 -6 lines
Sync with HEAD

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Nov 2 11:07:45 2003 UTC (23 years ago) by wiz
Branches: 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, netbsd-2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +6 -6 lines
Fix some typos. From Tom Cosgrove via jmc@openbsd.

Revision 1.2.4.3: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:46:23 2002 UTC (24 years, 4 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.2.4.2: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.4.2: +8 -5 lines
catch up with -current on kqueue branch

Revision 1.1.2.4: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:44:35 2002 UTC (24 years, 5 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.1.2.3: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.3: +8 -5 lines
Catch up to -current.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat May 11 00:36:02 2002 UTC (24 years, 6 months ago) by matt
Branches: MAIN
CVS tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw, fvdl_fs64_base
Branch point for: ktrace-lwp
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +7 -4 lines
Many fixes.  Multicast hash filter works now.  Autonegotiation with GigE
on Mac G4's now works.  XXX Checksum offload still needs to be done.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed May 8 02:12:55 2002 UTC (24 years, 6 months ago) by matt
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
If the detected media is gigabit, change the gem to use GMII mode otherwise
switch back to MII mode.  Keep a sliding window for TX segments and when it
gets > 2/3 full, request a TX interrupt (window gets reset when the h/w TX
queue is empty).  Add dv_xname to a few printfs.  With the above changes,
the gem driver will now work on Macintoshes, even in GigE mode.  On a 733
PowerMac G4 it gets ~355Mb/s TX and ~280Mb/s RX to/from an Alpha XP1000.

XXX mii autoselect is still flakey.

Revision 1.2.4.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:54:29 2002 UTC (24 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.2.4.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.4.1: +534 -0 lines
Sync kqueue branch with -current.

Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Mon Oct 22 20:41:17 2001 UTC (25 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.1.2.2: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.2: +3 -2 lines
Catch up to -current.

Revision 1.2.4.1
Thu Oct 18 03:33:33 2001 UTC (25 years, 1 month ago) by thorpej
Branches: kqueue
FILE REMOVED
Changes since revision 1.2: +0 -534 lines
file gemreg.h was added on branch kqueue on 2002-01-10 19:54:29 +0000

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Oct 18 03:33:33 2001 UTC (25 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: thorpej-mips-cache-base, thorpej-mips-cache, newlock-base, newlock, ifpoll-base, eeh-devprop-base, eeh-devprop
Branch point for: kqueue
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -2 lines
Manipulate the Tx desc pointer as 2 32-bit values, just as
we do with the Rx desc pointer, both for consistency, and
for platforms which don't have bus_space_*_8().

Revision 1.1.4.2: download - view: text, markup, annotated - select for diffs
Mon Oct 1 12:45:35 2001 UTC (25 years, 1 month ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.1.4.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.4.1: +533 -0 lines
Catch up with -current.

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Fri Sep 21 22:35:37 2001 UTC (25 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.1: +533 -0 lines
Catch up to -current.

Revision 1.1.4.1
Sun Sep 16 00:11:43 2001 UTC (25 years, 2 months ago) by fvdl
Branches: thorpej-devvp
FILE REMOVED
Changes since revision 1.1: +0 -533 lines
file gemreg.h was added on branch thorpej-devvp on 2001-10-01 12:45:35 +0000

Revision 1.1.2.1
Sun Sep 16 00:11:43 2001 UTC (25 years, 2 months ago) by nathanw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.1: +0 -533 lines
file gemreg.h was added on branch nathanw_sa on 2001-09-21 22:35:37 +0000

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Sep 16 00:11:43 2001 UTC (25 years, 2 months ago) by eeh
Branches: MAIN
CVS tags: thorpej-devvp-base3, thorpej-devvp-base2
Branch point for: thorpej-devvp, nathanw_sa
Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>