CVS log for src/sys/dev/ic/i82557var.h
Up to [cvs.NetBSD.org] / src / sys / dev / ic
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.50.6.1: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:03 2017 UTC (7 years, 4 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +5 -4
lines
update from HEAD
Revision 1.51.2.1: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:40:07 2015 UTC (9 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51: +2 -1
lines
Sync with HEAD
Revision 1.50.22.1: download - view: text, markup, annotated - select for diffs
Fri May 15 04:12:07 2015 UTC (9 years, 11 months ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
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
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +4 -4
lines
Pull up following revision(s) (requested by joerg in ticket #772):
sys/arch/arm/amlogic/amlogic_genfb.c: revision 1.4
sys/arch/arm/arm/disassem.c: revision 1.25
sys/arch/arm/omap/am335x_cm_padconf.c: revision 1.3
sys/arch/arm/omap/sitara_cm.h: revision 1.2
sys/dev/ic/i82557var.h: revision 1.51
sys/dev/ic/rtl8169.c: revision 1.143
sys/dev/ieee1394/fwcrom.c: revision 1.17
sys/external/bsd/dwc2/dwc2.c: revision 1.32
dwc2_hubd appears to be unused so #if 0 it in order to appease clang
--
Preserve const.
--
No reason not to make the string const.
--
Drop unnecessary-but-harmful casts.
--
Replace void * cast with proper __UNVOLATILE.
--
Preserve const.
--
amlogic_genfb_hdmi_write_4 is currently unused, mark it as such.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Mon Apr 13 16:33:24 2015 UTC (10 years ago) by riastradh
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
thorpej-ifq-base,
thorpej-ifq,
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,
thorpej-altq-separation-base,
thorpej-altq-separation,
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,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
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,
netbsd-9-base,
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-10-base,
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,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
localcount-20160914,
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-sunxi-drm-base,
bouyer-sunxi-drm,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache,
HEAD
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +2 -1
lines
Convert sys/dev to use <sys/rndsource.h>.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Sat Nov 22 19:50:00 2014 UTC (10 years, 5 months ago) by joerg
Branches: MAIN
CVS tags: nick-nhusb-base-20150406,
nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +4 -4
lines
Replace void * cast with proper __UNVOLATILE.
Revision 1.48.10.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:33 2012 UTC (13 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +2 -5
lines
sync with head
Revision 1.49.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:34:19 2012 UTC (13 years, 2 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +1 -4
lines
merge to -current.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Thu Feb 2 19:43:03 2012 UTC (13 years, 2 months ago) by tls
Branches: MAIN
CVS tags: yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
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-base,
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-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,
agc-symver-base,
agc-symver
Branch point for: tls-maxphys,
netbsd-7
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +1 -4
lines
Entropy-pool implementation move and cleanup.
1) Move core entropy-pool code and source/sink/sample management code
to sys/kern from sys/dev.
2) Remove use of NRND as test for presence of entropy-pool code throughout
source tree.
3) Remove use of RND_ENABLED in device drivers as microoptimization to
avoid expensive operations on disabled entropy sources; make the
rnd_add calls do this directly so all callers benefit.
4) Fix bug in recent rnd_add_data()/rnd_add_uint32() changes that might
have lead to slight entropy overestimation for some sources.
5) Add new source types for environmental sensors, power sensors, VM
system events, and skew between clocks, with a sample implementation
for each.
ok releng to go in before the branch due to the difficulty of later
pullup (widespread #ifdef removal and moved files). Tested with release
builds on amd64 and evbarm and live testing on amd64.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Sat Nov 19 22:51:22 2011 UTC (13 years, 5 months ago) by tls
Branches: MAIN
CVS tags: jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base
Branch point for: jmcneill-usbmp
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -2
lines
First step of random number subsystem rework described in
<20111022023242.BA26F14A158@mail.netbsd.org>. This change includes
the following:
An initial cleanup and minor reorganization of the entropy pool
code in sys/dev/rnd.c and sys/dev/rndpool.c. Several bugs are
fixed. Some effort is made to accumulate entropy more quickly at
boot time.
A generic interface, "rndsink", is added, for stream generators to
request that they be re-keyed with good quality entropy from the pool
as soon as it is available.
The arc4random()/arc4randbytes() implementation in libkern is
adjusted to use the rndsink interface for rekeying, which helps
address the problem of low-quality keys at boot time.
An implementation of the FIPS 140-2 statistical tests for random
number generator quality is provided (libkern/rngtest.c). This
is based on Greg Rose's implementation from Qualcomm.
A new random stream generator, nist_ctr_drbg, is provided. It is
based on an implementation of the NIST SP800-90 CTR_DRBG by
Henric Jungheim. This generator users AES in a modified counter
mode to generate a backtracking-resistant random stream.
An abstraction layer, "cprng", is provided for in-kernel consumers
of randomness. The arc4random/arc4randbytes API is deprecated for
in-kernel use. It is replaced by "cprng_strong". The current
cprng_fast implementation wraps the existing arc4random
implementation. The current cprng_strong implementation wraps the
new CTR_DRBG implementation. Both interfaces are rekeyed from
the entropy pool automatically at intervals justifiable from best
current cryptographic practice.
In some quick tests, cprng_fast() is about the same speed as
the old arc4randbytes(), and cprng_strong() is about 20% faster
than rnd_extract_data(). Performance is expected to improve.
The AES code in src/crypto/rijndael is no longer an optional
kernel component, as it is required by cprng_strong, which is
not an optional kernel component.
The entropy pool output is subjected to the rngtest tests at
startup time; if it fails, the system will reboot. There is
approximately a 3/10000 chance of a false positive from these
tests. Entropy pool _input_ from hardware random numbers is
subjected to the rngtest tests at attach time, as well as the
FIPS continuous-output test, to detect bad or stuck hardware
RNGs; if any are detected, they are detached, but the system
continues to run.
A problem with rndctl(8) is fixed -- datastructures with
pointers in arrays are no longer passed to userspace (this
was not a security problem, but rather a major issue for
compat32). A new kernel will require a new rndctl.
The sysctl kern.arandom() and kern.urandom() nodes are hooked
up to the new generators, but the /dev/*random pseudodevices
are not, yet.
Manual pages for the new kernel interfaces are forthcoming.
Revision 1.47.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:43:16 2010 UTC (15 years ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47: +3 -2
lines
Sync with HEAD.
Revision 1.38.10.4: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:31 2010 UTC (15 years, 1 month ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.38.10.3: preferred, colored; branchpoint 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38.10.3: +3 -2
lines
sync with head
Revision 1.48: download - view: text, markup, annotated - select for diffs
Thu Feb 25 23:40:39 2010 UTC (15 years, 2 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-nfs-mp-base9,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
rmind-uvmplock,
matt-mips64-premerge-20101231,
jruoho-x86intr-base,
jruoho-x86intr,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: yamt-pagecache
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -2
lines
Make fxp at cardbus detach during shutdown.
Stop calling (*cardbus_ctrl) to enable bus mastering, I/O and memory
spaces on the CardBus bridge. cbb(4) always enables that stuff,
anyway. In the process, avoid remembering what BAR we mapped by
writing CARDBUS_{IO,MEM}_ENABLE to sc_cben or sc_cbenable, and
record the BAR in use sc_bar, instead.
Replace more CARDBUS_ constants with PCI_ constants.
Compile-tested, only.
Revision 1.38.10.3: download - view: text, markup, annotated - select for diffs
Sat May 16 10:41:23 2009 UTC (15 years, 11 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.38.10.2: preferred, colored; branchpoint 1.38: preferred, colored
Changes since revision 1.38.10.2: +2 -2
lines
sync with head
Revision 1.42.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:19:23 2009 UTC (15 years, 11 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +7 -7
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Tue May 12 14:25:17 2009 UTC (15 years, 11 months ago) by cegger
Branches: MAIN
CVS tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
uebayasi-xip-base,
matt-premerge-20091211,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base
Branch point for: uebayasi-xip
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +2 -2
lines
struct device * -> device_t, no functional changes intended.
Revision 1.38.10.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:42 2009 UTC (15 years, 11 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.38.10.1: preferred, colored; branchpoint 1.38: preferred, colored
Changes since revision 1.38.10.1: +15 -7
lines
sync with head.
Revision 1.40.2.3: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:35:26 2009 UTC (16 years ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.40.2.2: preferred, colored; branchpoint 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40.2.2: +6 -5
lines
Sync with HEAD.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Sun Mar 15 14:18:38 2009 UTC (16 years, 1 month ago) by tsutsui
Branches: MAIN
CVS tags: yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +4 -4
lines
Adjust comments about sc_flags.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Wed Mar 11 13:12:41 2009 UTC (16 years, 1 month ago) by tsutsui
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +3 -3
lines
u_intNN_t -> uintNN_t
Revision 1.44: download - view: text, markup, annotated - select for diffs
Sat Mar 7 15:03:25 2009 UTC (16 years, 1 month ago) by tsutsui
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +2 -1
lines
Add TCPv4/UDPv4 RX hardware checksum support for i82559 and later chips
which don't have EXT_RFA and IPCB support. From hme(4) driver and
FreeBSD's fxp(4). Tested on i82559.
XXX: Probably we should have a common function to parse RX packet headers
XXX: to handle a raw checksum value and share it among hme(4) and gem(4) etc.
Revision 1.40.2.2: download - view: text, markup, annotated - select for diffs
Tue Mar 3 18:30:45 2009 UTC (16 years, 1 month ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.40.2.1: preferred, colored; branchpoint 1.40: preferred, colored
Changes since revision 1.40.2.1: +1 -2
lines
Sync with HEAD.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Fri Feb 20 05:49:34 2009 UTC (16 years, 2 months ago) by mrg
Branches: MAIN
CVS tags: nick-hppapmap-base2
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +1 -2
lines
- remove FXPF_IPCB flag. it should always/only be used with the code
conditional on FXPF_EXT_TXCB, so, replace all uses with that
- for the pci frontend, reestablish some flags lost the the prior
changes and simplify one of the cases
this fixes PR 40677 and may fix PR 40431.
Revision 1.40.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:17:55 2009 UTC (16 years, 3 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +9 -1
lines
Sync with HEAD.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Sun Jan 18 10:37:04 2009 UTC (16 years, 3 months ago) by mrg
Branches: MAIN
Branch point for: jym-xensuspend
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -1
lines
The PCI revision numbers are unique to a PCI vendor/product
ID pair. Misuse of the revision numbers was causing some of the chip
features to be disabled on some integrated Intel chips. So, move the
determination of the features into the bus frontend, where the
vendor/product ID is known. (Note: sc_rev should be removed. The
microcode patch stuff is also busted and needs to be fixed.) Also,
poll the actual flow control status in inphy, rather than making
assumptions.
contributed anonymously.
Revision 1.38.6.3: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:55 2009 UTC (16 years, 3 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.38.6.2: preferred, colored; branchpoint 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38.6.2: +7 -0
lines
Sync with HEAD.
Revision 1.40.4.1: download - view: text, markup, annotated - select for diffs
Sun Dec 14 11:52:40 2008 UTC (16 years, 4 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,
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
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +8 -1
lines
Pull up following revision(s) (requested by tsutsui in ticket #181):
sys/dev/ic/i82557.c: revision 1.116-1.120
sys/dev/ic/i82557reg.h: revision 1.21
sys/dev/ic/i82557var.h: revision 1.41
doc/CHANGES: patch
Call BUS_DMASYNC_PREREAD more strictly on polling DMA descriptors.
Add a workaround for hardware ip4csum-tx bug and enable it.
Confirmed on i82550 rev 12 and UDP fragment packets by ttcp(1).
Sort Tx/Rx macro in previous.
Add a missed htole32() on the previous ip4csum-tx bug workaround.
Don't pass uint8_t values to le16toh() in fxp_rx_hwcksum().
fxp(4)'s RX hwcksum results weren't used at all on big endian machines.
Checked by i82550 and vmstat -ev on macppc GENERIC kernel with
options INET_CSUM_COUNTERS,TCP_CSUM_COUNTERS,UDP_CSUM_COUNTERS.
Revision 1.39.6.2: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:14:14 2008 UTC (16 years, 4 months ago) by haad
Branches: haad-dm
Diff to: previous 1.39.6.1: preferred, colored; branchpoint 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39.6.1: +8 -1
lines
Update haad-dm branch to haad-dm-base2.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Wed Dec 3 15:34:38 2008 UTC (16 years, 4 months ago) by tsutsui
Branches: MAIN
CVS tags: mjf-devfs2-base,
haad-nbase2,
haad-dm-base2,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +8 -1
lines
Add a workaround for hardware ip4csum-tx bug and enable it.
Confirmed on i82550 rev 12 and UDP fragment packets by ttcp(1).
Revision 1.39.6.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:16:26 2008 UTC (16 years, 6 months ago) by haad
Branches: haad-dm
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -2
lines
Sync with HEAD.
Revision 1.38.6.2: download - view: text, markup, annotated - select for diffs
Sun Sep 28 10:40:23 2008 UTC (16 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.38.6.1: preferred, colored; branchpoint 1.38: preferred, colored
Changes since revision 1.38.6.1: +1 -1
lines
Sync with HEAD.
Revision 1.39.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:35:04 2008 UTC (16 years, 7 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +2 -2
lines
Sync with wrstuden-revivesa-base-2.
Revision 1.39.4.1: download - view: text, markup, annotated - select for diffs
Fri Jul 18 16:37:33 2008 UTC (16 years, 9 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +2 -2
lines
Sync with head.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Wed Jul 9 17:07:28 2008 UTC (16 years, 9 months ago) by joerg
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
simonb-wapbl-nbase,
simonb-wapbl-base,
netbsd-5-base,
matt-mips64-base2,
haad-dm-base1
Branch point for: nick-hppapmap,
netbsd-5
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -2
lines
- device/softc split for fxp(4)
Revision 1.35.38.1: download - view: text, markup, annotated - select for diffs
Tue Jun 3 20:47:19 2008 UTC (16 years, 10 months ago) by skrll
Branches: wrstuden-fixsa
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +5 -3
lines
Sync with netbsd-4.
Revision 1.38.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:22 2008 UTC (16 years, 11 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +1 -8
lines
Sync with HEAD.
Revision 1.38.8.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:33:43 2008 UTC (16 years, 11 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +1 -8
lines
sync with head.
Revision 1.38.10.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:24:04 2008 UTC (16 years, 11 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +1 -8
lines
sync with head.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:50 2008 UTC (17 years ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa,
simonb-wapbl,
haad-dm
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +1 -8
lines
Remove clause 3 and 4 from TNF licenses
Revision 1.35.58.1: download - view: text, markup, annotated - select for diffs
Sat Feb 2 23:16:39 2008 UTC (17 years, 2 months ago) by riz
Branches: netbsd-4-0
CVS tags: netbsd-4-0-1-RELEASE
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +5 -3
lines
Pull up following revision(s) (requested by tsutsui in ticket #1028):
sys/dev/ic/i82557reg.h: revision 1.19
sys/dev/ic/i82557var.h: revision 1.36
sys/dev/ic/i82557.c: revision 1.105
Pull several fixes from OpenBSD's fxp.c:
Rev 1.41:
use a nop with I bit set at the end of the tx chain. This avoids a race
between status update and clearing the suspend bit on machines which can't
write data smaller than 32bits at a time.
This should fix PR port-alpha/30560.
Rev 1.50:
Fix nasty bug where driver would not correctly catch and handle an rnr
condition when it was due to the the recieve buffers being exhausted with
no packet transmits during that time. Symptom was that the fxp would
simply stop interrupting for the next 15 seconds until the watchdog kicked
in and reset the chip due to 15 seconds of inactivity, making the fxp very
poorly behaved when hammered on hard.
Rev 1.61:
Defer reinitialisation of the RU until after the interrupt handler has had
a chance to process all pending packets, otherwise the chip may overwrite
their mbuf clusters after we have freed them.
Eliminates a race that can cause random pool corruption when reconfiguring
an interface under heavy network load.
And one more change for RX sanity:
- put RU into suspend when the last RFA is processed.
These RNR/RU changes may fix pool corruption problems on fxp.
Tested on AlphaPC164 and i386 with i82559 and i82550.
Revision 1.35.24.1: download - view: text, markup, annotated - select for diffs
Sat Feb 2 23:16:03 2008 UTC (17 years, 2 months ago) by riz
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +5 -3
lines
Pull up following revision(s) (requested by tsutsui in ticket #1028):
sys/dev/ic/i82557reg.h: revision 1.19
sys/dev/ic/i82557var.h: revision 1.36
sys/dev/ic/i82557.c: revision 1.105
Pull several fixes from OpenBSD's fxp.c:
Rev 1.41:
use a nop with I bit set at the end of the tx chain. This avoids a race
between status update and clearing the suspend bit on machines which can't
write data smaller than 32bits at a time.
This should fix PR port-alpha/30560.
Rev 1.50:
Fix nasty bug where driver would not correctly catch and handle an rnr
condition when it was due to the the recieve buffers being exhausted with
no packet transmits during that time. Symptom was that the fxp would
simply stop interrupting for the next 15 seconds until the watchdog kicked
in and reset the chip due to 15 seconds of inactivity, making the fxp very
poorly behaved when hammered on hard.
Rev 1.61:
Defer reinitialisation of the RU until after the interrupt handler has had
a chance to process all pending packets, otherwise the chip may overwrite
their mbuf clusters after we have freed them.
Eliminates a race that can cause random pool corruption when reconfiguring
an interface under heavy network load.
And one more change for RX sanity:
- put RU into suspend when the last RFA is processed.
These RNR/RU changes may fix pool corruption problems on fxp.
Tested on AlphaPC164 and i386 with i82559 and i82550.
Revision 1.34.4.1: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:43:01 2008 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +5 -5
lines
sync with head
Revision 1.35.46.1: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:52:54 2008 UTC (17 years, 3 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +5 -5
lines
sync with HEAD
Revision 1.35.56.2: download - view: text, markup, annotated - select for diffs
Wed Dec 26 21:39:26 2007 UTC (17 years, 4 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.35.56.1: preferred, colored; branchpoint 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.56.1: +1 -3
lines
Sync with head.
Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Thu Dec 13 21:55:36 2007 UTC (17 years, 4 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +1 -2
lines
Sync with HEAD
Revision 1.38: download - view: text, markup, annotated - select for diffs
Thu Dec 13 19:58:43 2007 UTC (17 years, 4 months ago) by degroote
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
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-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base,
ad-socklock-base1
Branch point for: yamt-pf42,
yamt-nfs-mp,
mjf-devfs2
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +1 -2
lines
Remove the shutdown hook (pmf takes care about it already), as suggested by joerg@
Revision 1.36.2.1: download - view: text, markup, annotated - select for diffs
Tue Dec 11 15:27:40 2007 UTC (17 years, 4 months ago) by yamt
Branches: yamt-kmem
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +1 -2
lines
sync with head.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon Dec 10 16:15:02 2007 UTC (17 years, 4 months ago) by degroote
Branches: MAIN
CVS tags: yamt-kmem-base3,
yamt-kmem-base2,
cube-autoconf-base,
cube-autoconf
Branch point for: bouyer-xeni386
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +1 -2
lines
Register fxp @ pci to the pmf framework
Kill reference to old powerhook framework.
Revision 1.35.44.1: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:37:49 2007 UTC (17 years, 4 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +5 -3
lines
Sync with HEAD.
Revision 1.35.34.1: download - view: text, markup, annotated - select for diffs
Sun Dec 9 16:03:59 2007 UTC (17 years, 4 months ago) by reinoud
Branches: reinoud-bufcleanup
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +5 -3
lines
Pullup to HEAD
Revision 1.35.56.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 17:57:23 2007 UTC (17 years, 4 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +5 -3
lines
Sync with head.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Sat Dec 8 15:45:43 2007 UTC (17 years, 4 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-kmem-base,
vmlocking2-base2,
reinoud-bufcleanup-nbase,
jmcneill-pm-base
Branch point for: yamt-kmem
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +5 -3
lines
Pull several fixes from OpenBSD's fxp.c:
Rev 1.41:
> use a nop with I bit set at the end of the tx chain. This avoids a race
> between status update and clearing the suspend bit on machines which can't
> write data smaller than 32bits at a time.
This should fix PR port-alpha/30560.
Rev 1.50:
> Fix nasty bug where driver would not correctly catch and handle an rnr
> condition when it was due to the the recieve buffers being exhausted with
> no packet transmits during that time. Symptom was that the fxp would
> simply stop interrupting for the next 15 seconds until the watchdog kicked
> in and reset the chip due to 15 seconds of inactivity, making the fxp very
> poorly behaved when hammered on hard.
Rev 1.61:
> Defer reinitialisation of the RU until after the interrupt handler has had
> a chance to process all pending packets, otherwise the chip may overwrite
> their mbuf clusters after we have freed them.
>
> Eliminates a race that can cause random pool corruption when reconfiguring
> an interface under heavy network load.
And one more change for RX sanity:
- put RU into suspend when the last RFA is processed.
These RNR/RU changes may fix pool corruption problems on fxp.
Tested on AlphaPC164 and i386 with i82559 and i82550.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:21:26 2005 UTC (19 years, 4 months ago) by christos
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
yamt-uio_vmspace-base5,
yamt-uio_vmspace,
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,
yamt-pdpolicy-base,
yamt-pdpolicy,
yamt-idlelwp-base8,
yamt-idlelwp,
wrstuden-fixsa-base-1,
vmlocking2-base1,
vmlocking-nbase,
vmlocking-base,
vmlocking,
thorpej-atomic-base,
thorpej-atomic,
simonb-timecounters-base,
simonb-timecounters,
simonb-timcounters-final,
rpaulo-netinet-merge-pcb-base,
rpaulo-netinet-merge-pcb,
reinoud-bufcleanup-base,
post-newlock2-merge,
peter-altq-base,
peter-altq,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
newlock2-nbase,
newlock2-base,
newlock2,
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,
mjf-ufs-trans-base,
mjf-ufs-trans,
mjf-devfs,
matt-nb4-arm-base,
matt-nb4-arm,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
jmcneill-base,
hpcarm-cleanup,
gdamore-uart-base,
gdamore-uart,
elad-kernelauth-base,
elad-kernelauth,
chap-midi-nbase,
chap-midi-base,
chap-midi,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64,
ad-audiomp-base,
ad-audiomp,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: wrstuden-fixsa,
vmlocking2,
reinoud-bufcleanup,
netbsd-4-0,
netbsd-4,
matt-armv6,
jmcneill-pm
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +1 -1
lines
merge ktrace-lwp.
Revision 1.33.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:50 2005 UTC (20 years ago) by kent
Branches: kent-audio2
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +6 -6
lines
sync with -current
Revision 1.33.6.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:34:02 2005 UTC (20 years, 1 month ago) by yamt
Branches: yamt-km
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +6 -6
lines
sync with head. xen and whitespace. xen part is not finished.
Revision 1.31.2.4: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:41:28 2005 UTC (20 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.31.2.3: preferred, colored; branchpoint 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31.2.3: +6 -6
lines
Sync with HEAD.
Hi Perry!
Revision 1.34: download - view: text, markup, annotated - select for diffs
Sun Feb 27 00:27:01 2005 UTC (20 years, 2 months ago) by perry
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.33: preferred, colored
Changes since revision 1.33: +6 -6
lines
nuke trailing whitespace
Revision 1.31.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:27:56 2004 UTC (20 years, 7 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.31.2.2: preferred, colored; branchpoint 1.31: preferred, colored
Changes since revision 1.31.2.2: +1 -1
lines
Fix the sync with head I botched.
Revision 1.31.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:45:57 2004 UTC (20 years, 7 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.31.2.1: preferred, colored; branchpoint 1.31: preferred, colored
Changes since revision 1.31.2.1: +0 -0
lines
Sync with HEAD.
Revision 1.31.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:46:14 2004 UTC (20 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +4 -1
lines
Sync with HEAD
Revision 1.33: download - view: text, markup, annotated - select for diffs
Sun May 16 02:59:04 2004 UTC (20 years, 11 months ago) by thorpej
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.32: preferred, colored
Changes since revision 1.32: +3 -1
lines
Patch from HITOSHI Osada:
* Add PAUSE-related event counters.
* Return flow control bits in fxp_mii_mediastatus().
Revision 1.32: download - view: text, markup, annotated - select for diffs
Sun May 16 02:41:46 2004 UTC (20 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -1
lines
Patch from HITOSHI Osada:
* Newer chips do not need the receiver lock-up workaround; detect when it
is required.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon May 26 16:14:49 2003 UTC (21 years, 11 months ago) by yamt
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
Branch point for: ktrace-lwp
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +11 -2
lines
ip/tcp/udp checksum offloading support for i82550.
largely from FreeBSD.
Revision 1.16.4.4: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:41:51 2002 UTC (22 years, 6 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.16.4.3: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.4.3: +2 -2
lines
Catch up to -current.
Revision 1.26.2.2: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:38:59 2002 UTC (22 years, 6 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.26.2.1: preferred, colored; branchpoint 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26.2.1: +2 -2
lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Sep 29 23:24:00 2002 UTC (22 years, 7 months ago) by wiz
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base,
kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -2
lines
"definitions" has lots of 'i's, but that's not reason to leave one out.
Revision 1.26.2.1: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:46:27 2002 UTC (22 years, 10 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +20 -8
lines
catch up with -current on kqueue branch
Revision 1.16.4.3: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:44:38 2002 UTC (22 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.16.4.2: preferred, colored; branchpoint 1.16: preferred, colored
Changes since revision 1.16.4.2: +7 -9
lines
Catch up to -current.
Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 6 19:42:18 2002 UTC (22 years, 10 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +54 -45
lines
Pull up revisions 1.17-1.26,1.29 (via patch, requested by mycroft):
Work around a bug which can cause some machines to randomly hang.
Drag along performance improvements and improved hardware support.
Revision 1.28.2.1: download - view: text, markup, annotated - select for diffs
Thu May 30 14:45:42 2002 UTC (22 years, 11 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +6 -8
lines
Catch up with -current.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon May 20 15:23:01 2002 UTC (22 years, 11 months ago) by mycroft
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,
gehenna-devsw-base
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +6 -8
lines
The FIX_RESUME_BUG hack does not work, so remove it.
Also, attempt to clarify the message slightly when updating the EEPROM.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri May 3 00:09:06 2002 UTC (23 years ago) by thorpej
Branches: MAIN
Branch point for: gehenna-devsw
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -2
lines
Bump the number of Tx DMA segments from 8 to 16 (the zero-copy socket
code sometimes sees more than 8).
Revision 1.16.4.2: download - view: text, markup, annotated - select for diffs
Wed Apr 17 00:05:38 2002 UTC (23 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.16.4.1: preferred, colored; branchpoint 1.16: preferred, colored
Changes since revision 1.16.4.1: +15 -1
lines
Catch up to -current.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Fri Apr 5 19:51:05 2002 UTC (23 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +15 -1
lines
Add support for the "CPUSaver" receive interrupt mitigating microcode
on the following PRO/100 chips:
* i82558 step A4
* i82558 step B0
* i82559 step A0
* i82559S step A
* i82550
* i82550 step C
The interrupt delay is configurable on all microcodable chips. The
maximum "bundle" size (packet count) is configurable on all but the
i82558.
The microcode is enabled by setting IFF_LINK0 on the interface.
Derived from code in FreeBSD.
Revision 1.16.4.1: download - view: text, markup, annotated - select for diffs
Thu Jun 21 20:02:33 2001 UTC (23 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +56 -45
lines
Catch up to -current.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Fri Jun 15 22:16:01 2001 UTC (23 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-mips-cache-base,
thorpej-mips-cache,
thorpej-devvp-base3,
thorpej-devvp-base2,
thorpej-devvp-base,
thorpej-devvp,
pre-chs-ubcperf,
post-chs-ubcperf,
newlock-base,
newlock,
ifpoll-base,
eeh-devprop-base,
eeh-devprop
Branch point for: kqueue
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +13 -1
lines
Split the Tx and Rx interrupt routines into separate functions,
and add some (optional) event counters.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Jun 12 15:17:22 2001 UTC (23 years, 10 months ago) by wiz
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -2
lines
receive, not recieve
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Jun 2 01:04:01 2001 UTC (23 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +9 -8
lines
Define some extra configuration block bits used on the i82550 (a.k.a.
PRO 100/S), including the extended RFA format. Don't hard-code the
RFA size to allow us to use the extended format in the future.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Tue May 22 15:29:30 2001 UTC (23 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +11 -7
lines
Some changes from the new FreeBSD `fxp' driver:
- Add some additional config block bits for the i82558/i82559.
- Change the config block template to only fill in the must-be-one
reserved bits, leave fxp_init() to fill in all the important things.
- On the i82558/i82559, we can use "Receive Long Frames" rather than
"Save Bad Frames" to support the VLAN MTU.
- Use 802.3x flow control on the i82558/i82559. This is all handled
transparently by the hardware. When in promiscuous mode, allow
wire-watchers to see the flow control frames.
- Use the Extended TxCB format on the i82558/i82559. This places two
Transmit Buffer Descriptors directly in the TxCB, which should cover
the vast majority of packets transmitted. This saves PCI transactions
that would otherwise be required to fetch the TBD list.
With the tansmit queue length changes from yesterday, this gets us up to
11.5MB/s TCP transmit speed, out of an absolute maximum of 12MB/s possible
on a 100Mb/s link.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue May 22 01:23:25 2001 UTC (23 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -1
lines
Report 82558, 82559, etc. based on chip revision. Also, remember which
revsion we have for feature enables later.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue May 22 00:27:01 2001 UTC (23 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +1 -3
lines
A little slight cleanup.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon May 21 23:58:44 2001 UTC (23 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +13 -21
lines
Re-arrange the transmit control data somewhat so that we can
use the extended TxCB format (that change will happen later).
Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon May 21 22:20:31 2001 UTC (23 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -4
lines
Change NTXSEGS from 16 to 8, and the TXQUEUE len from 128 to 256. Also
increase the number of Rx buffers from 64 to 128.
These mirror some performance tweaks made to the sip(4) driver.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon May 21 21:47:53 2001 UTC (23 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +7 -4
lines
The 82801BA built-in Ethernet has a bug which requires us to
issue a NOP before a CU_RESUME when in 10baseT mode. Handle
this.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon May 21 20:59:39 2001 UTC (23 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +9 -9
lines
ANSI'ify.
Revision 1.6.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 11:40:36 2000 UTC (24 years, 5 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +34 -6
lines
Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 17:06:43 2000 UTC (24 years, 10 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +2 -1
lines
Sync w/ netbsd-1-5-base.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon May 29 17:37:13 2000 UTC (24 years, 11 months ago) by jhawk
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base,
netbsd-1-5-base,
netbsd-1-5-RELEASE,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2
Branch point for: netbsd-1-5,
nathanw_sa
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -1
lines
For all network drivers that call ether_ifattach(), and also
have _detach() functions:
Ensure that softc keeps state about whether the attach succeeded,
and make the detach function return immediately if the attach did
not complete.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri May 26 19:11:25 2000 UTC (24 years, 11 months ago) by tsutsui
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +5 -1
lines
Call bus_dmamap_sync() properly before/after reading fcd_stats
in fxp_control_data.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri May 12 18:46:33 2000 UTC (24 years, 11 months ago) by jhawk
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -1
lines
sc_ih (interrupt cookie) is not pci-specific data
and needs to remain in fxp_softc rather than fxp_pci_softc;
otherwise we break cardbus.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri May 12 03:36:19 2000 UTC (24 years, 11 months ago) by jhawk
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +1 -2
lines
Move pci-specific data to fxp_pci_softc from fxp_pci_softc.
Add some more pci-specific data to fxp_pci_softc.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Mar 23 07:01:31 2000 UTC (25 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -1
lines
New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
resource allocation.
- Insertion and removal of callouts is constant time, important as
this facility is used quite a lot in the kernel.
The old timeout()/untimeout() API has been removed from the kernel.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Feb 12 04:05:49 2000 UTC (25 years, 2 months ago) by enami
Branches: MAIN
CVS tags: chs-ubc2-newbase
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2
lines
Add activate routine and check device active flag also in one second
tick handler.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Feb 9 22:15:58 2000 UTC (25 years, 2 months ago) by joda
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +6 -2
lines
add detach code
Revision 1.6.6.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:34:48 1999 UTC (25 years, 4 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +22 -6
lines
Pull up to last week's -current.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Dec 12 17:46:36 1999 UTC (25 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +10 -6
lines
Take a stab at making this work on big-endian systems.
Revision 1.6.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 15 00:40:33 1999 UTC (25 years, 5 months ago) by fvdl
Branches: fvdl-softdep
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +13 -1
lines
Sync with -current
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Oct 30 16:07:58 1999 UTC (25 years, 6 months ago) by sommerfeld
Branches: MAIN
CVS tags: fvdl-softdep-base,
comdex-fall-1999-base,
comdex-fall-1999
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +12 -1
lines
Add enable/disable support and EEPROM size selection, prerequisites
for getting the cardbus fxp attachment to work.
Tested on the built-in 82559 in a VAIO Z505S.
From Johan Danielsson / PR8631; changed slightly to KNF.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Oct 28 19:21:51 1999 UTC (25 years, 6 months ago) by sommerfeld
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -1
lines
Fix suspend/resume-related problems observed on fxp0 on Sony Z505S:
Symptoms: system would crash with "data modified on free list" pool
panic from the mbuf cluster pool shortly after a resume. The cluster
in question contained a valid 82557 receive descriptor and an IP
packet. Happened sporadically in normal use. Easiest way for me to
reproduce it was to run tcpdump and a flood ping and do a
suspend/resume cycle or two.
Changes:
- in interrupt handler, if the interface isn't in IFF_RUNNING state,
just ack interrupts and return; don't try to receive packets, queue
new descriptors, etc., etc.,
- add power control hook to take interface down on suspend,
and restart it (if it was up) on resume.
- tweaks to fxp_stop and fxp_shutdown to avoid recursive panics due
to the (now fixed) bug.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Aug 5 01:35:41 1999 UTC (25 years, 9 months ago) by thorpej
Branches: MAIN
Branch point for: wrstuden-devbsize,
thorpej_scsipi,
fvdl-softdep
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2
lines
Since we have to go through fxp_init() to properly handle IFF_ALLMULTI
anyway, take advantage of this and greatly simplify the programming
of the multicast filter. This solves the last reported "device timeout"
problem with this driver.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Aug 4 05:21:18 1999 UTC (25 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +65 -17
lines
Almost completely rewrite the receive logic, making it as close as possible
to the EPIC/100 driver's (adjusting for the fact that Intel Ethernet chips
are from Pluto):
* Don't allocate receive buffers until the interface is actually brought
up, and release all of them if the interface is taken down.
* Add a knob (defaults to off) which will copy an incoming packet to
a single header mbuf if it is small enough to fit in one, rather than
burning an entire cluster on it. Note that this change will be mostly
moot if/when sbcompress() is changed to handle compressing clusters.
Simplify some of the receive list logic:
* Rather than using a homegrown queue and additional software RX descriptors,
use an ifqueue to queue receive buffers, and M_{GET,SET}CTX() to hook DMA
maps and receive buffers together.
Clean up a bit:
* Macroize a bunch of things to make the code a bit easier to follow.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Aug 4 00:17:29 1999 UTC (25 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -1
lines
Only tick the MII if we are using it.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Aug 3 23:18:32 1999 UTC (25 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -2
lines
G/c a flag.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 22:43:28 1999 UTC (25 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +91 -30
lines
Completely rewrite the transmit logic, making it look more like the
EPIC/100 driver's. Also, fix the "all multicast" logic. Also do some
general cleanup.
Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Thu Jul 1 23:32:29 1999 UTC (25 years, 10 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.1: +199 -0
lines
Sync w/ -current.
Revision 1.1.2.1
Sun Jun 20 16:33:29 1999 UTC (25 years, 10 months ago) by thorpej
Branches: chs-ubc2
FILE REMOVED
Changes since revision 1.1: +0 -199
lines
file i82557var.h was added on branch chs-ubc2 on 1999-07-01 23:32:29 +0000
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Jun 20 16:33:29 1999 UTC (25 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: chs-ubc2-base
Branch point for: chs-ubc2
Bus-independent back-end driver for Intel i82557 fast Ethernet chips.
CVSweb <webmaster@jp.NetBSD.org>