The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.31 / (download) - annotate - [select for diffs], Wed Feb 23 21:54:41 2022 UTC (11 months, 1 week ago) by andvar
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

fix various typos in comments, mainly immediatly/immediately/,
as well shared and recently fixed typos in OpenBSD code by Jonathan Grey.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Aug 2 12:56:24 2021 UTC (18 months ago) by andvar
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-futex2-base, thorpej-futex2
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

fix various typos in comments and log messages.

Revision 1.29 / (download) - annotate - [select for diffs], Fri May 8 16:43:17 2020 UTC (2 years, 8 months ago) by jakllsch
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.28: +1 -50 lines
Diff to previous 1.28 (colored)

if_skreg.h: remove duplicate or triplicate identical #defines

Revision 1.28 / (download) - annotate - [select for diffs], Sun Apr 26 15:39:04 2020 UTC (2 years, 9 months ago) by jakllsch
Branch: MAIN
Changes since 1.27: +4 -4 lines
Diff to previous 1.27 (colored)

Use __aligned(8) with naturally-aligned-yet-__packed msk(4) descriptors.

Allows compiler to generate more efficent struct member accesses.

Revision 1.21.2.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:26 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.21.2.1: +17 -3 lines
Diff to previous 1.21.2.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.26.4.1 / (download) - annotate - [select for diffs], Tue Nov 19 13:07:37 2019 UTC (3 years, 2 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Changes since 1.26: +17 -3 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #450):

	sys/dev/pci/if_msk.c: revision 1.94
	sys/dev/pci/if_skreg.h: revision 1.27

 Make Yukon EX, FE+, SUPR stable. The code is mainly taken from FreeBSD.

 At least, this change made my own Yukon EX machine (HP ProBook 4501s) much
stable than before.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Nov 15 12:38:09 2019 UTC (3 years, 2 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.26: +17 -3 lines
Diff to previous 1.26 (colored)

 Make Yukon EX, FE+, SUPR stable. The code is mainly taken from FreeBSD.

 At least, this change made my own Yukon EX machine (HP ProBook 4501s) much
stable than before.

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:16 2019 UTC (3 years, 7 months ago) by christos
Branch: phil-wifi
Changes since 1.21: +8 -6 lines
Diff to previous 1.21 (colored)

Sync with HEAD

Revision 1.26 / (download) - annotate - [select for diffs], Tue Mar 5 08:25:02 2019 UTC (3 years, 11 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-20190609, netbsd-9-base, isaki-audio2-base, isaki-audio2
Branch point for: netbsd-9
Changes since 1.25: +1 -2 lines
Diff to previous 1.25 (colored)

 Centralize ETHER_ALIGN into net/if_ether.h. Note that this commit also changes
if_upgt.c's ETHER_ALIGN from 0 to 2.

Revision 1.15.18.3 / (download) - annotate - [select for diffs], Sun Sep 30 01:45:50 2018 UTC (4 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.15.18.2: +3 -1 lines
Diff to previous 1.15.18.2 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

Ssync with HEAD

Revision 1.25 / (download) - annotate - [select for diffs], Fri Sep 14 18:46:47 2018 UTC (4 years, 4 months ago) by jakllsch
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930
Changes since 1.24: +3 -1 lines
Diff to previous 1.24 (colored)

msk(4): add 64-bit DMA support

portions of this change set provided by mrg@

Revision 1.15.18.2 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:46 2018 UTC (4 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.15.18.1: +6 -5 lines
Diff to previous 1.15.18.1 (colored) to branchpoint 1.15 (colored)

Sync with HEAD

Revision 1.24 / (download) - annotate - [select for diffs], Wed Jul 11 00:46:39 2018 UTC (4 years, 6 months ago) by kre
Branch: MAIN
CVS Tags: pgoyette-compat-0906, pgoyette-compat-0728, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Changes since 1.23: +2 -1 lines
Diff to previous 1.23 (colored)


Build fix:  Supply missing symbol definition.
Value taken from OpenBSD (and confirmed with FreeBSD)
(Feel free to fix/reformat as appropriate...)

Revision 1.23 / (download) - annotate - [select for diffs], Tue Jul 10 22:52:38 2018 UTC (4 years, 6 months ago) by kre
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)


Whitespace fixes.  NFC.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Jul 4 19:37:10 2018 UTC (4 years, 7 months ago) by jdolecek
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

sync SK_IMTIMER_TICKS_YUKON value with OpenBSD (likely pasto)

Revision 1.15.18.1 / (download) - annotate - [select for diffs], Mon Jun 25 07:25:52 2018 UTC (4 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.15: +32 -7 lines
Diff to previous 1.15 (colored)

Sync with HEAD

Revision 1.21 / (download) - annotate - [select for diffs], Thu Jun 14 07:19:47 2018 UTC (4 years, 7 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0625
Branch point for: phil-wifi
Changes since 1.20: +5 -5 lines
Diff to previous 1.20 (colored)

 s/regisrer/register/. No functional change.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Jun 14 06:58:15 2018 UTC (4 years, 7 months ago) by msaitoh
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

 The revision number of Yukon FE A2 is not 0x3 but 0x2. Same as other OSes.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Jun 13 20:17:03 2018 UTC (4 years, 7 months ago) by jdolecek
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

actually recognize the Yukon 2 variants up to SK_YUKON_OPTIMA2 as such

Revision 1.18 / (download) - annotate - [select for diffs], Tue Jun 12 21:36:34 2018 UTC (4 years, 7 months ago) by jdolecek
Branch: MAIN
Changes since 1.17: +3 -1 lines
Diff to previous 1.17 (colored)

move SK_HASH_BITS to if_skreg.h and reuse in if_msk.c (from OpenBSD)

Revision 1.17 / (download) - annotate - [select for diffs], Tue Jun 12 20:27:54 2018 UTC (4 years, 7 months ago) by jdolecek
Branch: MAIN
Changes since 1.16: +2 -1 lines
Diff to previous 1.16 (colored)

match three more variants - DGE550T_B1, 8040T, 8042

sync more sk_type conditionals from OpenBSD

Revision 1.16 / (download) - annotate - [select for diffs], Sat Jun 9 18:53:16 2018 UTC (4 years, 7 months ago) by jdolecek
Branch: MAIN
Changes since 1.15: +23 -1 lines
Diff to previous 1.15 (colored)

port basic match support for several more Yukon variants from OpenBSD, together
with some basic conditionals I've found in that driver; only compile-tested, so
very likely needs further work to actually work

adresses also PR kern/43507

Revision 1.14.14.1 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:08 2017 UTC (5 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.14: +3 -2 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

update from HEAD

Revision 1.15 / (download) - annotate - [select for diffs], Fri Oct 10 14:23:06 2014 UTC (8 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, 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-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, 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-8-base, 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, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: pgoyette-compat
Changes since 1.14: +3 -2 lines
Diff to previous 1.14 (colored)

PR/49270: Hauke Fath: Samsung NC10 Marvell Yukon ethernet not supported

Revision 1.13.10.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:08:15 2011 UTC (11 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.13: +4 -1 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Sync with HEAD.

Revision 1.13.8.1 / (download) - annotate - [select for diffs], Tue May 31 03:04:41 2011 UTC (11 years, 8 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.13: +4 -1 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

sync with head

Revision 1.14 / (download) - annotate - [select for diffs], Sun May 29 13:31:30 2011 UTC (11 years, 8 months ago) by phx
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-uvmplock-nbase, rmind-uvmplock-base, 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, 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, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Changes since 1.13: +4 -1 lines
Diff to previous 1.13 (colored)

The Genesis interface provides a register in the device specific config space
to automatically revert the byte order in all descriptors.
Make sure this feature is inactive. Otherwise the driver is unable to
receive or transmit any frame.

Revision 1.11.44.2 / (download) - annotate - [select for diffs], Mon May 4 08:12:57 2009 UTC (13 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.11.44.1: +18 -1 lines
Diff to previous 1.11.44.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

sync with head.

Revision 1.12.8.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:18:26 2009 UTC (14 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.12: +18 -1 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Sync with HEAD.

Revision 1.11.40.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:00 2009 UTC (14 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.11.40.1: +17 -0 lines
Diff to previous 1.11.40.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

Sync with HEAD.

Revision 1.12.6.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:14:35 2008 UTC (14 years, 1 month ago) by haad
Branch: haad-dm
Changes since 1.12: +18 -1 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.12.10.1 / (download) - annotate - [select for diffs], Thu Nov 20 03:12:08 2008 UTC (14 years, 2 months ago) by snj
Branch: 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, 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, 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
Changes since 1.12: +18 -1 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Pull up following revision(s) (requested by chris in ticket #84):
	sys/dev/pci/if_skreg.h: revision 1.13
	sys/dev/pci/if_msk.c: revision 1.22
Fix Yukon EC Ultra cold power up issue.
For the EC Ultra it is necessary to update some extra registers during
reset.  Without doing so causes the system to hang at boot.  The only
workaround I found was to PXE boot before booting into NetBSD.
This change is based on the code from FreeBSD's if_msk.c.  Specifically the
msk_phy_power function.
Also add an splnet/splx across mii_tick.  This matches most other network
drivers.
Change posted for review on 3rd Oct 2008 to tech-net.  No feedback
received.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Nov 18 09:30:43 2008 UTC (14 years, 2 months ago) by chris
Branch: MAIN
CVS Tags: 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, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base, matt-premerge-20091211, matt-mips64-premerge-20101231, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, jruoho-x86intr-base, haad-nbase2, haad-dm-base2, haad-dm-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, ad-audiomp2-base, ad-audiomp2
Branch point for: rmind-uvmplock, jruoho-x86intr
Changes since 1.12: +18 -1 lines
Diff to previous 1.12 (colored)

Fix Yukon EC Ultra cold power up issue.

For the EC Ultra it is necessary to update some extra registers during
reset.  Without doing so causes the system to hang at boot.  The only
workaround I found was to PXE boot before booting into NetBSD.

This change is based on the code from FreeBSD's if_msk.c.  Specifically the
msk_phy_power function.

Also add an splnet/splx across mii_tick.  This matches most other network
drivers.

Change posted for review on 3rd Oct 2008 to tech-net.  No feedback
received.

Revision 1.11.40.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:40 2008 UTC (14 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.11: +1 -8 lines
Diff to previous 1.11 (colored)

Sync with HEAD.

Revision 1.11.42.1 / (download) - annotate - [select for diffs], Sun May 18 12:34:20 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.11: +1 -8 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

sync with head.

Revision 1.11.44.1 / (download) - annotate - [select for diffs], Fri May 16 02:24:44 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.11: +1 -8 lines
Diff to previous 1.11 (colored)

sync with head.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:55 2008 UTC (14 years, 9 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, netbsd-5-base, matt-mips64-base2, hpcarm-cleanup-nbase, haad-dm-base1
Branch point for: nick-hppapmap, netbsd-5, haad-dm
Changes since 1.11: +1 -8 lines
Diff to previous 1.11 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.8.6.1 / (download) - annotate - [select for diffs], Mon Sep 3 07:04:32 2007 UTC (15 years, 5 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.8: +149 -57 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Sync w/ NetBSD-4-RC_1

Revision 1.8.4.1 / (download) - annotate - [select for diffs], Sun Aug 26 12:01:19 2007 UTC (15 years, 5 months ago) by liamjfoy
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.8: +149 -57 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Pull up following revision(s) (requested by riz in ticket #816):
	sys/dev/pci/if_skreg.h: revision 1.10
	sys/dev/pci/if_skreg.h: revision 1.11
	sys/dev/pci/pcidevs: revision 1.866
	sys/dev/pci/if_skreg.h: revision 1.9
	sys/dev/pci/if_sk.c: revision 1.36
	sys/dev/pci/if_msk.c: revision 1.4
	sys/dev/pci/if_msk.c: revision 1.5
	sys/dev/pci/if_msk.c: revision 1.6
	sys/dev/pci/if_msk.c: revision 1.7
	sys/dev/pci/if_mskvar.h: revision 1.2
	sys/dev/pci/if_mskvar.h: revision 1.3
Apply OpenBSD's rev. 1.33 to shut up "msk0: phy write timed out"
Original commit message:
 > In msk_marv_miibus_writereg, wait for busy flag to clear instead of
 > continuing when busy flag set.

add some msk devices

sync with OpenBSD-current (many bugfixes, add some devices)
if_msk.c: rev. 1.42
if_mskvar.h rev. 1.3
if_skreg.h rev. 1.41

sync with if_skreg.h rev. 1.41
need more work?

apply some patches from FreeBSD
 o fix device timeout
 o add some workaround
 o TX underrun bug (grr...)
 o and some bugs

fix bit definitions for the RX FIFO Flush mode

Apply OpenBSD's rev. 1.14 via patch:
 > remove another Yukon Lite workaround.

Revision 1.4.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:10:28 2007 UTC (15 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.2.2: +149 -57 lines
Diff to previous 1.4.2.2 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

sync with head.

Revision 1.7.6.2 / (download) - annotate - [select for diffs], Thu Feb 1 08:48:22 2007 UTC (16 years ago) by ad
Branch: newlock2
Changes since 1.7.6.1: +149 -57 lines
Diff to previous 1.7.6.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

Sync with head.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Jan 31 09:56:26 2007 UTC (16 years ago) by msaitoh
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, yamt-idlelwp, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, post-newlock2-merge, nick-net80211-sync-base, nick-net80211-sync, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, mjf-ufs-trans-base, mjf-ufs-trans, mjf-devfs-base, mjf-devfs, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-socklock-base1, ad-audiomp-base, ad-audiomp
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

fix bit definitions for the RX FIFO Flush mode

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jan 30 11:58:10 2007 UTC (16 years ago) by msaitoh
Branch: MAIN
Changes since 1.9: +42 -1 lines
Diff to previous 1.9 (colored)

apply some patches from FreeBSD

 o fix device timeout
 o add some workaround
 o TX underrun bug (grr...)
 o and some bugs

Revision 1.9 / (download) - annotate - [select for diffs], Tue Jan 30 11:34:39 2007 UTC (16 years ago) by msaitoh
Branch: MAIN
Changes since 1.8: +107 -56 lines
Diff to previous 1.8 (colored)

sync with OpenBSD-current (many bugfixes, add some devices)

if_msk.c: rev. 1.42
if_mskvar.h rev. 1.3
if_skreg.h rev. 1.41

Revision 1.4.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:48:45 2006 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.2.1: +301 -5 lines
Diff to previous 1.4.2.1 (colored) to branchpoint 1.4 (colored)

sync with head.

Revision 1.7.6.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:30 2006 UTC (16 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.7: +301 -5 lines
Diff to previous 1.7 (colored)

Sync with head.

Revision 1.7.4.1 / (download) - annotate - [select for diffs], Fri Sep 15 11:55:40 2006 UTC (16 years, 4 months ago) by tron
Branch: abandoned-netbsd-4
Changes since 1.7: +301 -5 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Pull up following revision(s) (requested by riz in ticket #153):
	sys/dev/pci/if_skreg.h: revision 1.8
	sys/dev/pci/if_msk.c: revision 1.1
	sys/dev/pci/files.pci: revision 1.268
	sys/dev/pci/if_mskvar.h: revision 1.1
Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD.  There are still some outstanding
issues with this driver, namely:
 - Checksum offload is unsupported
 - There is a significant amount of code duplication from sk(4)
 - There remain some 'magic numbers'
 - Performance is not heavily tested, and likely to be lower than
   the chip is capable of in some cases.  Syncing some of the
   aforementioned 'magic numbers' with the Marvell FreeBSD driver
   should help here.
Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.

Revision 1.6.2.2 / (download) - annotate - [select for diffs], Thu Sep 14 12:31:33 2006 UTC (16 years, 4 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.6.2.1: +301 -5 lines
Diff to previous 1.6.2.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

sync with head.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Sep 9 16:17:50 2006 UTC (16 years, 4 months ago) by riz
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, netbsd-4-base
Branch point for: wrstuden-fixsa, netbsd-4
Changes since 1.7: +301 -5 lines
Diff to previous 1.7 (colored)

Add msk(4), a driver for Marvell Yukon 2 gigabit ethernet chips,
from Mark Kettenis of OpenBSD.  There are still some outstanding
issues with this driver, namely:

 - Checksum offload is unsupported
 - There is a significant amount of code duplication from sk(4)
 - There remain some 'magic numbers'
 - Performance is not heavily tested, and likely to be lower than
   the chip is capable of in some cases.  Syncing some of the
   aforementioned 'magic numbers' with the Marvell FreeBSD driver
   should help here.

Tested on a motherboard with Marvell 88E8053 ethernet, under NetBSD/i386
and NetBSD/amd64.

Revision 1.5.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:52:18 2006 UTC (16 years, 4 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.5: +19 -4 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

sync with head

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Mon Jun 26 12:51:22 2006 UTC (16 years, 7 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (colored)

sync with head.

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

sync with head.

Revision 1.6.8.1 / (download) - annotate - [select for diffs], Mon Jun 19 04:01:36 2006 UTC (16 years, 7 months ago) by chap
Branch: chap-midi
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Sync with head.

Revision 1.2.6.3 / (download) - annotate - [select for diffs], Sun Jun 4 14:06:34 2006 UTC (16 years, 8 months ago) by tron
Branch: netbsd-2
Changes since 1.2.6.2: +2 -1 lines
Diff to previous 1.2.6.2 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Pull up following revision(s) (requested by riz in ticket #10636):
	sys/dev/pci/if_skreg.h: revision 1.7
	sys/dev/pci/if_sk.c: revision 1.26
Add support for the DLink DGE-530T revision B1 (Tested by Tillman
Hodgson) and the DGE-560T (untested).

Revision 1.3.10.2 / (download) - annotate - [select for diffs], Sun Jun 4 08:53:50 2006 UTC (16 years, 8 months ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1
Changes since 1.3.10.1: +2 -1 lines
Diff to previous 1.3.10.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Pull up following revision(s) (requested by riz in ticket #1350):
	sys/dev/pci/if_skreg.h: revision 1.7
	sys/dev/pci/if_sk.c: revision 1.26
Add support for the DLink DGE-530T revision B1 (Tested by Tillman
Hodgson) and the DGE-560T (untested).

Revision 1.5.6.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:36:45 2006 UTC (16 years, 8 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.5.6.1: +2 -1 lines
Diff to previous 1.5.6.1 (colored) next main 1.6 (colored)

Sync with head.

Revision 1.7 / (download) - annotate - [select for diffs], Wed May 31 21:46:32 2006 UTC (16 years, 8 months ago) by riz
Branch: MAIN
CVS Tags: yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, abandoned-netbsd-4-base
Branch point for: newlock2, abandoned-netbsd-4
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (colored)

Add support for the DLink DGE-530T revision B1 (Tested by Tillman
Hodgson) and the DGE-560T (untested).

Revision 1.5.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:14 2006 UTC (16 years, 9 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.5: +18 -4 lines
Diff to previous 1.5 (colored)

Sync with head.

Revision 1.2.6.2 / (download) - annotate - [select for diffs], Wed Mar 29 21:38:34 2006 UTC (16 years, 10 months ago) by tron
Branch: netbsd-2
Changes since 1.2.6.1: +18 -4 lines
Diff to previous 1.2.6.1 (colored) to branchpoint 1.2 (colored)

Pull up following revision(s) (requested by riz in ticket #10403):
	sys/dev/pci/if_skreg.h: revision 1.6
	sys/dev/pci/if_skvar.h: revision 1.9
	sys/dev/pci/if_sk.c: revision 1.20 via patch
Not all chips supported by this driver use the same interrupt moderation
timer frequency; Take this into account.  Information gathered from
the sk98lin driver for Linux, from Marvell.
Also add sysctl support for changing the interrupt moderation timer at
runtime; each board is controlled independently.
Discussed on tech-net beginning in November 2005.

Revision 1.3.10.1 / (download) - annotate - [select for diffs], Wed Mar 29 21:13:47 2006 UTC (16 years, 10 months ago) by tron
Branch: netbsd-3
Changes since 1.3: +18 -4 lines
Diff to previous 1.3 (colored)

Pull up following revision(s) (requested by riz in ticket #1230):
	sys/dev/pci/if_skreg.h: revision 1.6
	sys/dev/pci/if_skvar.h: revision 1.9
	sys/dev/pci/if_sk.c: revision 1.20 via patch
Not all chips supported by this driver use the same interrupt moderation
timer frequency; Take this into account.  Information gathered from
the sk98lin driver for Linux, from Marvell.
Also add sysctl support for changing the interrupt moderation timer at
runtime; each board is controlled independently.
Discussed on tech-net beginning in November 2005.

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 15:39:08 2006 UTC (16 years, 11 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.5: +18 -4 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

sync with head.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Feb 14 00:19:17 2006 UTC (16 years, 11 months ago) by riz
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base, peter-altq, elad-kernelauth-base, elad-kernelauth
Branch point for: yamt-pdpolicy, chap-midi
Changes since 1.5: +18 -4 lines
Diff to previous 1.5 (colored)

Not all chips supported by this driver use the same interrupt moderation
timer frequency; Take this into account.  Information gathered from
the sk98lin driver for Linux, from Marvell.

Also add sysctl support for changing the interrupt moderation timer at
runtime; each board is controlled independently.

Discussed on tech-net beginning in November 2005.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Dec 11 12:22:49 2005 UTC (17 years, 1 month ago) by christos
Branch: MAIN
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.4: +1 -1 lines
Diff to previous 1.4 (colored)

merge ktrace-lwp.

Revision 1.2.4.6 / (download) - annotate - [select for diffs], Thu Nov 10 14:06:01 2005 UTC (17 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.4.5: +2 -2 lines
Diff to previous 1.2.4.5 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with HEAD. Here we go again...

Revision 1.4 / (download) - annotate - [select for diffs], Mon May 30 04:35:22 2005 UTC (17 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

- const poisoning
- avoid variable shadowing.

Revision 1.2.6.1 / (download) - annotate - [select for diffs], Fri Jan 7 12:15:28 2005 UTC (18 years, 1 month ago) by jdc
Branch: netbsd-2
CVS Tags: netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1
Changes since 1.2: +12 -4 lines
Diff to previous 1.2 (colored)

Pull up revision 1.3 (requested by abs in ticket #973).

Fix Yukon ram sizing.
Fix tx queue (slist can be corrupted when tx interrupts hit within tx_encap.
Lower interrupt moderation timer to (improves performance).
Improve chip identification. (from linux sk98lin driver).
Keep tx queue running by kicking the tx bmu repeatedly.

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Fri Jan 7 12:15:18 2005 UTC (18 years, 1 month ago) by jdc
Branch: netbsd-2-0
CVS Tags: netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE
Changes since 1.2: +12 -4 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

Pull up revision 1.3 (requested by abs in ticket #973).

Fix Yukon ram sizing.
Fix tx queue (slist can be corrupted when tx interrupts hit within tx_encap.
Lower interrupt moderation timer to (improves performance).
Improve chip identification. (from linux sk98lin driver).
Keep tx queue running by kicking the tx bmu repeatedly.

Revision 1.2.4.5 / (download) - annotate - [select for diffs], Tue Oct 19 15:56:59 2004 UTC (18 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.4.4: +12 -4 lines
Diff to previous 1.2.4.4 (colored) to branchpoint 1.2 (colored)

Sync with HEAD

Revision 1.3 / (download) - annotate - [select for diffs], Sun Sep 26 14:23:58 2004 UTC (18 years, 4 months ago) by skd
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, 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, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: netbsd-3
Changes since 1.2: +12 -4 lines
Diff to previous 1.2 (colored)

Fix Yukon ram sizing.
Fix tx queue (slist can be corrupted when tx interrupts hit within tx_encap.
Lower interrupt moderation timer to (improves performance).
Improve chip identification. (from linux sk98lin driver).
Keep tx queue running by kicking the tx bmu repeatedly.

Revision 1.2.4.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:31:03 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.4.3: +1 -1 lines
Diff to previous 1.2.4.3 (colored) to branchpoint 1.2 (colored)

Fix the sync with head I botched.

Revision 1.2.4.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:49:04 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.4.2: +1 -1 lines
Diff to previous 1.2.4.2 (colored) to branchpoint 1.2 (colored)

Sync with HEAD.

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:49:09 2004 UTC (18 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.4.1: +1900 -0 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored)

Sync with HEAD

Revision 1.2.4.1, Tue Aug 26 21:14:08 2003 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2: +0 -1900 lines
FILE REMOVED

file if_skreg.h was added on branch ktrace-lwp on 2004-08-03 10:49:09 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Tue Aug 26 21:14:08 2003 UTC (19 years, 5 months ago) by jdolecek
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1
Branch point for: netbsd-2-0, netbsd-2, ktrace-lwp
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

retain the FreeBSD RCS Id for xmaciireg.h for reference

Revision 1.1 / (download) - annotate - [select for diffs], Tue Aug 26 21:11:00 2003 UTC (19 years, 5 months ago) by jdolecek
Branch: MAIN

Add driver for SysKonnect SK-9821 and 3COM 3C940 gigabit ethernet boards
From FreeBSD via OpenBSD, port to NetBSD done by Stephen Degler

Changes relative to submitted version:
* yukonreg.h and xmaciireg.h merged into if_skreg.h
* bhack[] constified + other small editing changes
* use 'Ethernet address' rather than 'address' in attach message

XXX completely untested by me, needs further cleanup

Driver provided in PR kern/22511 by Stephen Degler

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>