The NetBSD Project

CVS log for src/sys/dev/pci/if_bce.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.33.8.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:45 2012 UTC (5 weeks, 4 days ago) by yamt
Branch: yamt-pagecache
Changes since 1.33: +31 -38 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

sync with head

Revision 1.34.2.2 / (download) - annotate - [select for diffs], Fri Feb 24 09:11:41 2012 UTC (3 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.34.2.1: +29 -26 lines
Diff to previous 1.34.2.1 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

sync to -current.

Revision 1.36 / (download) - annotate - [select for diffs], Mon Feb 20 02:14:34 2012 UTC (3 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, HEAD
Changes since 1.35: +29 -26 lines
Diff to previous 1.35 (colored)

convert to device_t.
been running on my inspiron 8500 for a couple of months.

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:34:38 2012 UTC (3 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.34: +3 -13 lines
Diff to previous 1.34 (colored)

merge to -current.

Revision 1.35 / (download) - annotate - [select for diffs], Thu Feb 2 19:43:05 2012 UTC (3 months, 3 weeks ago) by tls
Branch: MAIN
CVS Tags: netbsd-6-base, netbsd-6, jmcneill-usbmp-base2
Changes since 1.34: +3 -13 lines
Diff to previous 1.34 (colored)

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.34 / (download) - annotate - [select for diffs], Sat Nov 19 22:51:23 2011 UTC (6 months ago) by tls
Branch: MAIN
CVS Tags: jmcneill-usbmp-pre-base2, jmcneill-usbmp-base
Branch point for: jmcneill-usbmp
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

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.31.2.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:53:38 2011 UTC (14 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.31.2.1: +2 -4 lines
Diff to previous 1.31.2.1 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored)

sync with head

Revision 1.33 / (download) - annotate - [select for diffs], Sat Nov 13 13:52:05 2010 UTC (18 months, 1 week ago) by uebayasi
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, 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
Changes since 1.32: +2 -4 lines
Diff to previous 1.32 (colored)

Don't pull in the whole uvm(9) API to access only PAGE_SIZE and
some other constants.  These are provided by sys/param.h now.

Revision 1.23.4.6 / (download) - annotate - [select for diffs], Wed Aug 11 22:53:45 2010 UTC (21 months, 2 weeks ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.23.4.5: +4 -6 lines
Diff to previous 1.23.4.5 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

sync with head.

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:32 2010 UTC (23 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.31: +4 -6 lines
Diff to previous 1.31 (colored)

sync with head

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:33 2010 UTC (2 years ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.30: +6 -8 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

Sync with HEAD.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Apr 5 07:20:25 2010 UTC (2 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1
Changes since 1.31: +4 -6 lines
Diff to previous 1.31 (colored)

Push the bpf_ops usage back into bpf.h. Push the common ifp->if_bpf
check into the inline functions as well the fourth argument for
bpf_attach.

Revision 1.23.4.5 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:44 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.23.4.4: +8 -15 lines
Diff to previous 1.23.4.4 (colored) to branchpoint 1.23 (colored)

sync with head

Revision 1.31 / (download) - annotate - [select for diffs], Wed Feb 24 22:38:00 2010 UTC (2 years, 3 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9
Branch point for: rmind-uvmplock
Changes since 1.30: +4 -4 lines
Diff to previous 1.30 (colored)

A pointer typedef entails trading too much flexibility to declare const
and non-const types, and the kernel uses both const and non-const
PMF qualifiers and device suspensors, so change the pmf_qual_t and
device_suspensor_t typedefs from "pointers to const" to non-pointer,
non-const types.

Revision 1.30 / (download) - annotate - [select for diffs], Tue Jan 19 22:07:00 2010 UTC (2 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.29: +4 -11 lines
Diff to previous 1.29 (colored)

Redefine bpf linkage through an always present op vector, i.e.
#if NBPFILTER is no longer required in the client.  This change
doesn't yet add support for loading bpf as a module, since drivers
can register before bpf is attached.  However, callers of bpf can
now be modularized.

Dynamically loadable bpf could probably be done fairly easily with
coordination from the stub driver and the real driver by registering
attachments in the stub before the real driver is loaded and doing
a handoff.  ... and I'm not going to ponder the depths of unload
here.

Tested with i386/MONOLITHIC, modified MONOLITHIC without bpf and rump.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Jan 8 19:56:51 2010 UTC (2 years, 4 months ago) by dyoung
Branch: MAIN
Changes since 1.28: +4 -4 lines
Diff to previous 1.28 (colored)

Expand PMF_FN_* macros.

Revision 1.28 / (download) - annotate - [select for diffs], Thu Nov 26 15:17:09 2009 UTC (2 years, 5 months ago) by njoly
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.27: +4 -4 lines
Diff to previous 1.27 (colored)

Cleanup interrupt establish error messages. Do not mix
aprint_error/aprint_normal/printf calls for a single line.

Revision 1.23.4.4 / (download) - annotate - [select for diffs], Wed Sep 16 13:37:50 2009 UTC (2 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.23.4.3: +5 -5 lines
Diff to previous 1.23.4.3 (colored) to branchpoint 1.23 (colored)

sync with head

Revision 1.27 / (download) - annotate - [select for diffs], Sat Sep 5 14:09:55 2009 UTC (2 years, 8 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, jym-xensuspend-nbase
Changes since 1.26: +5 -5 lines
Diff to previous 1.26 (colored)

Invert logic around nested pmf(9) registrations for readability.

Revision 1.24.2.2 / (download) - annotate - [select for diffs], Thu Jul 23 23:31:57 2009 UTC (2 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.24.2.1: +21 -6 lines
Diff to previous 1.24.2.1 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored)

Sync with HEAD.

Revision 1.23.4.3 / (download) - annotate - [select for diffs], Sat Jul 18 14:53:04 2009 UTC (2 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.23.4.2: +21 -6 lines
Diff to previous 1.23.4.2 (colored) to branchpoint 1.23 (colored)

sync with head.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Jul 16 20:14:17 2009 UTC (2 years, 10 months ago) by jakllsch
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7, yamt-nfs-mp-base6, jymxensuspend-base
Changes since 1.25: +21 -6 lines
Diff to previous 1.25 (colored)

Correctly bus_dmamap_sync() the transmit descriptors.
Previously the sync could run off the end and not sync
the beginning of the ring.  Logic gleaned from if_nfe.

Revision 1.23.4.2 / (download) - annotate - [select for diffs], Sat May 16 10:41:34 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.23.4.1: +4 -4 lines
Diff to previous 1.23.4.1 (colored) to branchpoint 1.23 (colored)

sync with head

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:20:24 2009 UTC (3 years ago) by jym
Branch: jym-xensuspend
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 (colored)

Sync with HEAD.

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

Revision 1.25 / (download) - annotate - [select for diffs], Wed May 6 09:25:15 2009 UTC (3 years ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base5, yamt-nfs-mp-base4, jym-xensuspend-base
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 (colored)

struct cfdata * -> cfdata_t, no functional changes intended.

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

sync with head.

Revision 1.23.12.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:18:25 2009 UTC (3 years, 4 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

Sync with HEAD.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Jan 18 10:00:51 2009 UTC (3 years, 4 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base
Branch point for: jym-xensuspend
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

Enable flow control and poll the status appropriately.

contributed anonymously.

Revision 1.21.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:50 2008 UTC (4 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.21: +114 -118 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

Sync with HEAD.

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:15:47 2008 UTC (4 years, 2 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.21: +114 -118 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

sync with head.

Revision 1.17.6.2 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:46 2008 UTC (4 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.17.6.1: +212 -267 lines
Diff to previous 1.17.6.1 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored)

sync with HEAD

Revision 1.8.6.7 / (download) - annotate - [select for diffs], Mon Mar 17 09:15:11 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.8.6.6: +6 -6 lines
Diff to previous 1.8.6.6 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

sync with head.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Mar 11 23:58:06 2008 UTC (4 years, 2 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, 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, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp, nick-hppapmap
Changes since 1.22: +6 -6 lines
Diff to previous 1.22 (colored)

Prepare for PMF self-suspension: in the if_stop() methods, clear
IFF_UP and IFF_RUNNING before running the 'disable' step, instead
of after.  Soon I will handle the 'disable' step by calling into
PMF, which may call if_stop(, 0).  Ordinarily, that is harmless.
This change lets the if_stop() routines exit early when they find
on entry that IFF_RUNNING is not set.

Revision 1.8.6.6 / (download) - annotate - [select for diffs], Wed Feb 27 08:36:35 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.8.6.5: +110 -114 lines
Diff to previous 1.8.6.5 (colored) to branchpoint 1.8 (colored)

sync with head.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Feb 22 23:21:01 2008 UTC (4 years, 3 months ago) by dyoung
Branch: MAIN
CVS Tags: hpcarm-cleanup-base
Changes since 1.21: +110 -114 lines
Diff to previous 1.21 (colored)

use device_t and accessors.  Use aprint_*_dev().  Do not cast the
softc to 'struct device *', but use &sc->bce_dev instead.  Use
PMF_FN_*.

Revision 1.17.12.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:56 2008 UTC (4 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.17: +129 -179 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

Sync with HEAD.

Revision 1.8.6.5 / (download) - annotate - [select for diffs], Mon Feb 4 09:23:29 2008 UTC (4 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.8.6.4: +119 -139 lines
Diff to previous 1.8.6.4 (colored) to branchpoint 1.8 (colored)

sync with head.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Jan 30 12:00:35 2008 UTC (4 years, 3 months ago) by simonb
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.20: +18 -2 lines
Diff to previous 1.20 (colored)

Add a simple resume hook that just calls bce_reset(), and register
this with pmf_device_register().

Makes suspend/resume with bce happy.  Much thanks to Jared for help here.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Jan 30 11:54:08 2008 UTC (4 years, 3 months ago) by simonb
Branch: MAIN
Changes since 1.19: +103 -139 lines
Diff to previous 1.19 (colored)

WextraRemove unused DPRINTF/DPRINTFN macros.
Remove NetBSD 1.6 compatibility checks (way out of date).
Be somewhat consistent (and closer to KNF) with whitespace.
Use uintN_t instead of u_intN_t.

No functional changes.

Revision 1.8.6.4 / (download) - annotate - [select for diffs], Mon Jan 21 09:43:51 2008 UTC (4 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.8.6.3: +12 -42 lines
Diff to previous 1.8.6.3 (colored) to branchpoint 1.8 (colored)

sync with head

Revision 1.17.18.2 / (download) - annotate - [select for diffs], Sun Jan 20 17:51:36 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.17.18.1: +10 -41 lines
Diff to previous 1.17.18.1 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored)

Sync with HEAD

Revision 1.19 / (download) - annotate - [select for diffs], Sat Jan 19 20:25:44 2008 UTC (4 years, 4 months ago) by dyoung
Branch: MAIN
CVS Tags: bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.18: +12 -43 lines
Diff to previous 1.18 (colored)

Use the common code for ethernet media handling.  Compiles on i386.

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

sync with HEAD

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

Sync with head.

Revision 1.17.18.1 / (download) - annotate - [select for diffs], Thu Dec 13 21:55:46 2007 UTC (4 years, 5 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.17: +2 -1 lines
Diff to previous 1.17 (colored)

Sync with HEAD

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

sync with head.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Dec 11 11:25:50 2007 UTC (4 years, 5 months ago) by lukem
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, vmlocking2-base3, matt-armv6-base, cube-autoconf-base, cube-autoconf
Changes since 1.17: +2 -1 lines
Diff to previous 1.17 (colored)

use __KERNEL_RCSID()

Revision 1.8.6.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:36:52 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.8.6.2: +26 -9 lines
Diff to previous 1.8.6.2 (colored) to branchpoint 1.8 (colored)

sync with head.

Revision 1.14.2.3 / (download) - annotate - [select for diffs], Mon Aug 20 18:37:11 2007 UTC (4 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.14.2.2: +3 -1 lines
Diff to previous 1.14.2.2 (colored) next main 1.15 (colored)

Sync with HEAD.

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

Sync with HEAD.

Revision 1.17.20.2 / (download) - annotate - [select for diffs], Thu Jul 19 22:04:23 2007 UTC (4 years, 10 months ago) by dsl
Branch: matt-mips64
Changes since 1.17.20.1: +1528 -0 lines
Diff to previous 1.17.20.1 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored)

include sys/cdefs.h

Revision 1.17.20.1, Thu Jul 19 22:04:22 2007 UTC (4 years, 10 months ago) by dsl
Branch: matt-mips64
Changes since 1.17: +0 -1528 lines
FILE REMOVED

file if_bce.c was added on branch matt-mips64 on 2007-07-19 22:04:23 +0000

Revision 1.17 / (download) - annotate - [select for diffs], Thu Jul 19 22:04:22 2007 UTC (4 years, 10 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-kmem-base, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, vmlocking-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-csl-alignment-base5, matt-mips64-base, matt-armv6-prevmlocking, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: yamt-kmem, vmlocking2, mjf-devfs, matt-mips64, matt-armv6, bouyer-xeni386
Changes since 1.16: +3 -1 lines
Diff to previous 1.16 (colored)

include sys/cdefs.h

Revision 1.14.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:07:31 2007 UTC (4 years, 10 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.14: +18 -3 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

Sync with head.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Jul 9 21:00:53 2007 UTC (4 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: nick-csl-alignment-base, mjf-ufs-trans-base
Branch point for: nick-csl-alignment
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements

Revision 1.14.2.2 / (download) - annotate - [select for diffs], Sun Jul 1 21:48:07 2007 UTC (4 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.14.2.1: +3 -3 lines
Diff to previous 1.14.2.1 (colored)

Adapt to callout API change.

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Tue Apr 10 13:24:25 2007 UTC (5 years, 1 month ago) by ad
Branch: vmlocking
Changes since 1.14: +16 -1 lines
Diff to previous 1.14 (colored)

Sync with head.

Revision 1.14.6.1 / (download) - annotate - [select for diffs], Thu Mar 29 19:27:48 2007 UTC (5 years, 1 month ago) by reinoud
Branch: reinoud-bufcleanup
Changes since 1.14: +16 -1 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

Pullup to -current

Revision 1.12.4.3 / (download) - annotate - [select for diffs], Sat Mar 24 14:55:30 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.12.4.2: +16 -1 lines
Diff to previous 1.12.4.2 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

sync with head.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Mar 21 04:56:39 2007 UTC (5 years, 2 months ago) by dan
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic
Changes since 1.14: +16 -1 lines
Diff to previous 1.14 (colored)

teach bce(4) about being an rnd(4) source

Revision 1.12.4.2 / (download) - annotate - [select for diffs], Mon Mar 12 05:55:16 2007 UTC (5 years, 2 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.12.4.1: +7 -7 lines
Diff to previous 1.12.4.1 (colored) to branchpoint 1.12 (colored)

Sync with HEAD.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Mar 4 06:02:19 2007 UTC (5 years, 2 months ago) by christos
Branch: MAIN
Branch point for: vmlocking, reinoud-bufcleanup, mjf-ufs-trans
Changes since 1.13: +7 -7 lines
Diff to previous 1.13 (colored)

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

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

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

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

sync with head.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Feb 21 20:41:27 2007 UTC (5 years, 3 months ago) by mrg
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Changes since 1.12: +11 -2 lines
Diff to previous 1.12 (colored)

add a pair of new bus_dma(9) functions:
	int _bus_dmatag_subregion(bus_dma_tag_t tag,
				  bus_addr_t min_addr,
				  bus_addr_t max_addr,
				  bus_dma_tag_t *newtag,
				  int flags)
	void _bus_dmatag_destroy(bus_dma_tag_t tag)

that allow a (normally broken/limited) device to restrict the bus address
range it can talk to.  this is used by bce(4) to limit DMA addresses to
1GB range, the maximum the chip can address.

all this is from Yorick Hardy <yhardy@uj.ac.za> with input from several
people on tech-kern.

XXX: bus_dma(9) needs an update still.

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

sync with head.

Revision 1.10.6.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:17:43 2006 UTC (5 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.10.6.1: +3 -3 lines
Diff to previous 1.10.6.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

sync with head.

Revision 1.10.4.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:29 2006 UTC (5 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.10: +3 -2 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Sync with head.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:08 2006 UTC (5 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, post-newlock2-merge, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Branch point for: yamt-idlelwp
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

__unused removal on arguments; approved by core.

Revision 1.10.6.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:06:16 2006 UTC (5 years, 7 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.10: +4 -3 lines
Diff to previous 1.10 (colored)

sync with head

Revision 1.11 / (download) - annotate - [select for diffs], Thu Oct 12 01:31:29 2006 UTC (5 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.10: +4 -3 lines
Diff to previous 1.10 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

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

sync with head

Revision 1.9.8.1 / (download) - annotate - [select for diffs], Fri Aug 11 15:44:25 2006 UTC (5 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

sync with head

Revision 1.9.16.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:49:27 2006 UTC (5 years, 10 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Merge from HEAD.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Jul 7 00:56:15 2006 UTC (5 years, 10 months ago) by simonb
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, rpaulo-netinet-merge-pcb-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

s/writting/writing/.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Dec 11 12:22:49 2005 UTC (6 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, peter-altq-base, peter-altq, gdamore-uart-base, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi
Branch point for: yamt-pdpolicy, rpaulo-netinet-merge-pcb, gdamore-uart
Changes since 1.8: +1 -1 lines
Diff to previous 1.8 (colored)

merge ktrace-lwp.

Revision 1.6.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:05 2005 UTC (7 years ago) by kent
Branch: kent-audio2
Changes since 1.6: +13 -2 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

sync with -current

Revision 1.6.6.1 / (download) - annotate - [select for diffs], Sat Feb 12 18:17:47 2005 UTC (7 years, 3 months ago) by yamt
Branch: yamt-km
Changes since 1.6: +13 -2 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

sync with head.

Revision 1.5.2.6 / (download) - annotate - [select for diffs], Fri Feb 4 11:46:37 2005 UTC (7 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5.2.5: +13 -2 lines
Diff to previous 1.5.2.5 (colored) next main 1.6 (colored)

Sync with HEAD.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Feb 2 13:26:06 2005 UTC (7 years, 3 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, yamt-km-base4, yamt-km-base3, yamt-km-base2, 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, matt-timespec, ktrace-lwp-base, kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.7: +7 -1 lines
Diff to previous 1.7 (colored)

PR/29196: Robert Elz: Add support for Broadcom BCM4401-B0 ethernet

Revision 1.7 / (download) - annotate - [select for diffs], Sun Jan 30 17:38:49 2005 UTC (7 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.6: +7 -2 lines
Diff to previous 1.6 (colored)

Eliminate use of M_HASFCS.

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

Fix the sync with head I botched.

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

Sync with HEAD.

Revision 1.5.2.3 / (download) - annotate - [select for diffs], Wed Aug 25 06:58:05 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5.2.2: +24 -57 lines
Diff to previous 1.5.2.2 (colored)

Sync with HEAD.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Aug 21 23:48:33 2004 UTC (7 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.5: +24 -57 lines
Diff to previous 1.5 (colored)

Use ANSI function decls and make use of static.

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

Sync with HEAD

Revision 1.5.2.1, Fri Jul 9 05:08:22 2004 UTC (7 years, 10 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5: +0 -1523 lines
FILE REMOVED

file if_bce.c was added on branch ktrace-lwp on 2004-08-03 10:49:07 +0000

Revision 1.5 / (download) - annotate - [select for diffs], Fri Jul 9 05:08:22 2004 UTC (7 years, 10 months ago) by mycroft
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.4: +8 -7 lines
Diff to previous 1.4 (colored)

Keep track of what we set the interrupt mask to, rather than reading it from
the chip.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Apr 23 16:03:33 2004 UTC (8 years, 1 month ago) by joda
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

fix obvious past-o where the activity led register gets overwritten by
the traffic meter led register

Revision 1.3.2.4 / (download) - annotate - [select for diffs], Sun Oct 5 11:55:52 2003 UTC (8 years, 7 months ago) by tron
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002
Changes since 1.3.2.3: +50 -68 lines
Diff to previous 1.3.2.3 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Pull up revision 1.3 (requested by mrg in ticket #1486):
- convert to new aprint*() autoconfig print mechanism
- clean up some magic numbers
- make 1.6 friendly

Revision 1.3.2.3 / (download) - annotate - [select for diffs], Sun Oct 5 11:51:16 2003 UTC (8 years, 7 months ago) by tron
Branch: netbsd-1-6
Changes since 1.3.2.2: +320 -219 lines
Diff to previous 1.3.2.2 (colored) to branchpoint 1.3 (colored)

Pull up revision 1.2 (requested by mrg in ticket #1486):
from Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>:
- if_bcereg.h should only have register definitions, so declarations
  of softc structure etc. should be in if_bce.c.
- The types of DMA descriptors should be u_int32_t, not unsigned long.
- netinet headers are not required here.
- Values passed via bce_tx_ring should also be byte-swapped.
- byte-swapping is not needed for bus_space access.
from me:
- KNF
- mark all magic numbers with /* MAGIC */ so they can be identified at
  some point.  there are 33 in total though many appear to be the same
  value, or related (eg, the 6 emac points.)
leaves these issues:
- RX pre-packet headers need to be byte-swapped or not?
- PAGE_SIZE bytes are allocated for both TX and RX DMA ring descriptors,
  but they should be 1024 (== sizeof(struct bce_dma_slot) * N[TR]XDESC).
- the mcast filter.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Sun Oct 5 11:47:15 2003 UTC (8 years, 7 months ago) by tron
Branch: netbsd-1-6
Changes since 1.3.2.1: +1439 -0 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored)

Pull up revision 1.1 (requested by mrg in ticket #1486):
add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.
XXX: missing mcast filter support.
thanks cliff!

Revision 1.3.2.1, Mon Sep 29 01:53:02 2003 UTC (8 years, 7 months ago) by tron
Branch: netbsd-1-6
Changes since 1.3: +0 -1522 lines
FILE REMOVED

file if_bce.c was added on branch netbsd-1-6 on 2003-10-05 11:47:15 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Mon Sep 29 01:53:02 2003 UTC (8 years, 7 months ago) by mrg
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Branch point for: netbsd-1-6
Changes since 1.2: +50 -68 lines
Diff to previous 1.2 (colored)

- convert to new aprint*() autoconfig print mechanism
- clean up some magic numbers
- make 1.6 friendly

Revision 1.2 / (download) - annotate - [select for diffs], Sun Sep 28 01:03:07 2003 UTC (8 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.1: +320 -219 lines
Diff to previous 1.1 (colored)

from Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>:
- if_bcereg.h should only have register definitions, so declarations
  of softc structure etc. should be in if_bce.c.
- The types of DMA descriptors should be u_int32_t, not unsigned long.
- netinet headers are not required here.
- Values passed via bce_tx_ring should also be byte-swapped.
- byte-swapping is not needed for bus_space access.

from me:
- KNF
- mark all magic numbers with /* MAGIC */ so they can be identified at
  some point.  there are 33 in total though many appear to be the same
  value, or related (eg, the 6 emac points.)

leaves these issues:
- RX pre-packet headers need to be byte-swapped or not?
- PAGE_SIZE bytes are allocated for both TX and RX DMA ring descriptors,
  but they should be 1024 (== sizeof(struct bce_dma_slot) * N[TR]XDESC).
- the mcast filter.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Sep 27 13:13:28 2003 UTC (8 years, 8 months ago) by mrg
Branch: MAIN

add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!

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>