The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.95.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:58 2012 UTC (5 weeks, 4 days ago) by yamt
Branch: yamt-pagecache
Changes since 1.95: +10 -9 lines
Diff to previous 1.95 (colored) next main 1.96 (colored)

sync with head

Revision 1.95.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:34:53 2012 UTC (3 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.95: +10 -9 lines
Diff to previous 1.95 (colored) next main 1.96 (colored)

merge to -current.

Revision 1.96 / (download) - annotate - [select for diffs], Fri Jan 27 19:48:39 2012 UTC (3 months, 4 weeks ago) by para
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, netbsd-6, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, HEAD
Changes since 1.95: +10 -9 lines
Diff to previous 1.95 (colored)

extending vmem(9) to be able to allocated resources for it's own needs.
simplifying uvm_map handling (no special kernel entries anymore no relocking)
make malloc(9) a thin wrapper around kmem(9)
(with private interface for interrupt safety reasons)

releng@ acknowledged

Revision 1.95 / (download) - annotate - [select for diffs], Thu Jun 30 20:09:40 2011 UTC (10 months, 3 weeks ago) by wiz
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.94: +3 -3 lines
Diff to previous 1.94 (colored)

dependant -> dependent

Revision 1.93.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:08:28 2011 UTC (11 months, 2 weeks ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.93: +3 -3 lines
Diff to previous 1.93 (colored) next main 1.94 (colored)

Sync with HEAD.

Revision 1.90.4.2 / (download) - annotate - [select for diffs], Tue May 31 03:04:51 2011 UTC (11 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.90.4.1: +1 -1 lines
Diff to previous 1.90.4.1 (colored) to branchpoint 1.90 (colored) next main 1.91 (colored)

sync with head

Revision 1.94 / (download) - annotate - [select for diffs], Tue May 24 18:28:01 2011 UTC (12 months ago) by joerg
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Changes since 1.93: +3 -3 lines
Diff to previous 1.93 (colored)

Explicitly get rid of constness.

Revision 1.90.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:53:58 2011 UTC (14 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.90: +16 -19 lines
Diff to previous 1.90 (colored)

sync with head

Revision 1.93 / (download) - annotate - [select for diffs], Sun Nov 14 05:31:59 2010 UTC (18 months, 1 week ago) by uebayasi
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.92: +13 -14 lines
Diff to previous 1.92 (colored)

Avoid pointless use of a sysctl definition, CTL_NAMES.  Clean up whitespace.

Revision 1.92 / (download) - annotate - [select for diffs], Sat Nov 13 13:52:08 2010 UTC (18 months, 1 week ago) by uebayasi
Branch: MAIN
Changes since 1.91: +2 -4 lines
Diff to previous 1.91 (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.90.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:46:35 2010 UTC (21 months, 1 week ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.90: +3 -3 lines
Diff to previous 1.90 (colored) next main 1.91 (colored)

Sync with HEAD.

Revision 1.85.4.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:04 2010 UTC (21 months, 2 weeks ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.85.4.3: +3 -3 lines
Diff to previous 1.85.4.3 (colored) to branchpoint 1.85 (colored) next main 1.86 (colored)

sync with head.

Revision 1.91 / (download) - annotate - [select for diffs], Tue Jul 27 14:34:34 2010 UTC (21 months, 4 weeks ago) by jakllsch
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2
Changes since 1.90: +3 -3 lines
Diff to previous 1.90 (colored)

printf() size_t with 'z' format modifier in debug code.

Revision 1.85.4.3 / (download) - annotate - [select for diffs], Sat May 16 10:41:40 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.85.4.2: +8 -9 lines
Diff to previous 1.85.4.2 (colored) to branchpoint 1.85 (colored)

sync with head

Revision 1.87.12.1 / (download) - annotate - [select for diffs], Wed May 13 17:20:29 2009 UTC (3 years ago) by jym
Branch: jym-xensuspend
Changes since 1.87: +8 -9 lines
Diff to previous 1.87 (colored) next main 1.88 (colored)

Sync with HEAD.

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

Revision 1.90 / (download) - annotate - [select for diffs], Tue May 12 08:23:01 2009 UTC (3 years ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.89: +4 -4 lines
Diff to previous 1.89 (colored)

use device_private().
"looks good" ad@
XXX for the device_t/softc split, please check the driver that no cases have been missed.

Revision 1.89 / (download) - annotate - [select for diffs], Wed May 6 10:34:33 2009 UTC (3 years ago) by cegger
Branch: MAIN
Changes since 1.88: +6 -7 lines
Diff to previous 1.88 (colored)

struct device * -> device_t, no functional changes intended.

Revision 1.88 / (download) - annotate - [select for diffs], Wed May 6 09:25:17 2009 UTC (3 years ago) by cegger
Branch: MAIN
Changes since 1.87: +4 -4 lines
Diff to previous 1.87 (colored)

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

Revision 1.85.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:13:02 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.85.4.1: +5 -5 lines
Diff to previous 1.85.4.1 (colored) to branchpoint 1.85 (colored)

sync with head.

Revision 1.84.16.3 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:09 2008 UTC (3 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.84.16.2: +3 -3 lines
Diff to previous 1.84.16.2 (colored) to branchpoint 1.84 (colored) next main 1.85 (colored)

Sync with HEAD.

Revision 1.86.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:12 2008 UTC (3 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.86: +5 -5 lines
Diff to previous 1.86 (colored) next main 1.87 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.85.2.2 / (download) - annotate - [select for diffs], Tue Jun 17 09:14:41 2008 UTC (3 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.85.2.1: +5 -5 lines
Diff to previous 1.85.2.1 (colored) to branchpoint 1.85 (colored) next main 1.86 (colored)

sync with head.

Revision 1.87 / (download) - annotate - [select for diffs], Sun Jun 8 12:43:52 2008 UTC (3 years, 11 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-nfs-mp-base3, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, 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, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: jym-xensuspend
Changes since 1.86: +5 -5 lines
Diff to previous 1.86 (colored)

Replace device_lookup() with device_lookup_private() on getting softc
for future device_t/softc spilt.

Revision 1.84.16.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:44 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.84.16.1: +68 -98 lines
Diff to previous 1.84.16.1 (colored) to branchpoint 1.84 (colored)

Sync with HEAD.

Revision 1.85.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:34:22 2008 UTC (4 years ago) by yamt
Branch: yamt-pf42
Changes since 1.85: +2 -9 lines
Diff to previous 1.85 (colored)

sync with head.

Revision 1.85.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:24:45 2008 UTC (4 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.85: +2 -9 lines
Diff to previous 1.85 (colored)

sync with head.

Revision 1.86 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:55 2008 UTC (4 years ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.85: +2 -9 lines
Diff to previous 1.85 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.85 / (download) - annotate - [select for diffs], Thu Apr 10 19:13:38 2008 UTC (4 years, 1 month ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.84: +68 -91 lines
Diff to previous 1.84 (colored)

use aprint_*_dev and device_xname

Revision 1.84.16.1 / (download) - annotate - [select for diffs], Sat Apr 5 23:33:22 2008 UTC (4 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.84: +16 -7 lines
Diff to previous 1.84 (colored)

- add "file-system DEVFS" and "pseudo-device devfsctl" to conf/std seeing
  as these are always needed.

- convert many, many drivers over to the New Devfs World Order. For a
  list of device drivers yet to be converted see,
  http://www.netbsd.org/~mjf/devfs-todo.html.

- add a new device_unregister_all(device_t) function to remove all device
  names associated with a device_t, which saves us having to construct
  device names when the driver is detached.

- add a DEV_AUDIO type for devices.

Revision 1.83.16.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:29:33 2007 UTC (4 years, 6 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.83: +3 -3 lines
Diff to previous 1.83 (colored) next main 1.84 (colored)

sync with HEAD

Revision 1.68.2.4 / (download) - annotate - [select for diffs], Sat Oct 27 11:33:33 2007 UTC (4 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.68.2.3: +3 -3 lines
Diff to previous 1.68.2.3 (colored) next main 1.69 (colored)

sync with head.

Revision 1.83.14.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:46:56 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.83: +3 -3 lines
Diff to previous 1.83 (colored) next main 1.84 (colored)

Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.83.20.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:39:20 2007 UTC (4 years, 7 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.83: +3 -3 lines
Diff to previous 1.83 (colored) next main 1.84 (colored)

Sync with HEAD.

Revision 1.83.2.1 / (download) - annotate - [select for diffs], Tue Oct 23 20:09:19 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.83: +3 -3 lines
Diff to previous 1.83 (colored) next main 1.84 (colored)

Sync with head.

Revision 1.84 / (download) - annotate - [select for diffs], Fri Oct 19 12:00:56 2007 UTC (4 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, ad-socklock-base1
Branch point for: mjf-devfs2
Changes since 1.83: +3 -3 lines
Diff to previous 1.83 (colored)

machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.68.2.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:37:23 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.68.2.2: +7 -6 lines
Diff to previous 1.68.2.2 (colored)

sync with head.

Revision 1.82.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:55:28 2007 UTC (5 years, 2 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.82: +7 -6 lines
Diff to previous 1.82 (colored) next main 1.83 (colored)

Sync with HEAD.

Revision 1.83 / (download) - annotate - [select for diffs], Sun Mar 4 06:02:26 2007 UTC (5 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-idlelwp-base8, vmlocking-base, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: vmlocking, matt-armv6, jmcneill-pm, bouyer-xenamd64
Changes since 1.82: +7 -6 lines
Diff to previous 1.82 (colored)

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

Revision 1.78.2.2 / (download) - annotate - [select for diffs], Fri Jan 12 00:57:43 2007 UTC (5 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.78.2.1: +4 -3 lines
Diff to previous 1.78.2.1 (colored) to branchpoint 1.78 (colored) next main 1.79 (colored)

Sync with head.

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

sync with head.

Revision 1.78.4.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:17:47 2006 UTC (5 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.78.4.1: +16 -13 lines
Diff to previous 1.78.4.1 (colored) to branchpoint 1.78 (colored) next main 1.79 (colored)

sync with head.

Revision 1.81.2.1 / (download) - annotate - [select for diffs], Mon Dec 4 18:34:15 2006 UTC (5 years, 5 months ago) by tron
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.81: +4 -3 lines
Diff to previous 1.81 (colored) next main 1.82 (colored)

Pull up following revision(s) (requested by elad in ticket #247):
	sys/dev/ic/dpt.c: revision 1.55
	sys/dev/pci/amr.c: revision 1.43
	sys/secmodel/bsd44/secmodel_bsd44_securelevel.c: revision 1.19
	sys/dev/pci/mly.c: revision 1.33
	share/man/man9/kauth.9: revision 1.37
	sys/dev/ic/mlx.c: revision 1.49
	sys/dev/ic/icp_ioctl.c: revision 1.14
	sys/dev/i2o/iop.c: revision 1.62
	sys/dev/pci/twe.c: revision 1.82
	sys/sys/kauth.h: revision 1.25
	sys/dev/i2o/dpti.c: revision 1.31
	sys/kern/kern_auth.c: revision 1.33
	sys/dev/tc/stic.c: revision 1.37
Change kauth(9) KPI for kauth_authorize_device_passthru() to add another
argument, u_long, serving as a bit-mask of generic requests for the
passthru request.
Discussed on tech-security@ and tech-kern@. Okay tls@.

Revision 1.82 / (download) - annotate - [select for diffs], Sat Dec 2 03:10:43 2006 UTC (5 years, 5 months ago) by elad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, post-newlock2-merge, newlock2-nbase, newlock2-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.81: +4 -3 lines
Diff to previous 1.81 (colored)

Change kauth(9) KPI for kauth_authorize_device_passthru() to add another
argument, u_long, serving as a bit-mask of generic requests for the
passthru request.

Discussed on tech-security@ and tech-kern@. Okay tls@.

Revision 1.78.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:33 2006 UTC (5 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.78: +12 -7 lines
Diff to previous 1.78 (colored)

Sync with head.

Revision 1.81 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:10 2006 UTC (5 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-4-base
Branch point for: netbsd-4
Changes since 1.80: +10 -10 lines
Diff to previous 1.80 (colored)

__unused removal on arguments; approved by core.

Revision 1.80 / (download) - annotate - [select for diffs], Wed Nov 8 00:17:09 2006 UTC (5 years, 6 months ago) by elad
Branch: MAIN
Changes since 1.79: +7 -5 lines
Diff to previous 1.79 (colored)

Replace securelevel checks with kauth(9) calls.

Revision 1.78.4.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:06:19 2006 UTC (5 years, 7 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.78: +12 -9 lines
Diff to previous 1.78 (colored)

sync with head

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

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

Revision 1.73.2.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:52:19 2006 UTC (5 years, 8 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.73: +17 -14 lines
Diff to previous 1.73 (colored) next main 1.74 (colored)

sync with head

Revision 1.74.2.2 / (download) - annotate - [select for diffs], Sun Sep 3 15:24:23 2006 UTC (5 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.74.2.1: +9 -8 lines
Diff to previous 1.74.2.1 (colored) to branchpoint 1.74 (colored) next main 1.75 (colored)

sync with head.

Revision 1.78 / (download) - annotate - [select for diffs], Sun Sep 3 07:05:16 2006 UTC (5 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.77: +4 -5 lines
Diff to previous 1.77 (colored)

- add missing initializer
- add missing function decl

Revision 1.77 / (download) - annotate - [select for diffs], Sun Aug 27 17:05:39 2006 UTC (5 years, 8 months ago) by xtraeme
Branch: MAIN
Changes since 1.76: +4 -2 lines
Diff to previous 1.76 (colored)

Initialize a variable to 0 to appease gcc4 with -O3.

Revision 1.76 / (download) - annotate - [select for diffs], Wed Aug 23 15:44:30 2006 UTC (5 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.75: +5 -5 lines
Diff to previous 1.75 (colored)

Acting as Elad's keyboard:

Place the securelevel checks in their logical locations.
This will be clearer in the future when code changes to use kauth(9) calls.

input and okay ad@

Revision 1.68.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:05:07 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.68: +19 -36 lines
Diff to previous 1.68 (colored)

sync with head.

Revision 1.74.6.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:28 2006 UTC (6 years ago) by tron
Branch: peter-altq
Changes since 1.74: +9 -8 lines
Diff to previous 1.74 (colored) next main 1.75 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.74.2.1 / (download) - annotate - [select for diffs], Wed May 24 10:58:01 2006 UTC (6 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.74: +9 -8 lines
Diff to previous 1.74 (colored)

sync with head.

Revision 1.73.4.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:16 2006 UTC (6 years, 1 month ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.73: +10 -8 lines
Diff to previous 1.73 (colored) next main 1.74 (colored)

Sync with head.

Revision 1.74.4.1 / (download) - annotate - [select for diffs], Wed Apr 19 03:25:38 2006 UTC (6 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.74: +9 -8 lines
Diff to previous 1.74 (colored) next main 1.75 (colored)

sync with head.

Revision 1.75 / (download) - annotate - [select for diffs], Tue Apr 11 14:17:09 2006 UTC (6 years, 1 month ago) by rpaulo
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.74: +9 -8 lines
Diff to previous 1.74 (colored)

Coverity ID 2859: Don't leak ccb, move the allocation a few lines
lower next to where it'll be used for the first time.

Revision 1.72.2.2 / (download) - annotate - [select for diffs], Wed Mar 1 09:28:21 2006 UTC (6 years, 2 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.72.2.1: +3 -2 lines
Diff to previous 1.72.2.1 (colored) next main 1.73 (colored)

sync with head.

Revision 1.64.4.1 / (download) - annotate - [select for diffs], Sun Feb 26 21:33:31 2006 UTC (6 years, 2 months ago) by riz
Branch: netbsd-3-0
CVS Tags: netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE
Changes since 1.64: +3 -2 lines
Diff to previous 1.64 (colored) next main 1.65 (colored)

Pull up following revision(s) (requested by simonb in ticket #1182):
	sys/dev/pci/twe.c: revision 1.74
Fix memory leak in the TWEIO_GET_PARAM ioctl.
Tested by gendalia@.
--

Revision 1.64.2.1 / (download) - annotate - [select for diffs], Sun Feb 26 21:33:27 2006 UTC (6 years, 2 months ago) by riz
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1
Changes since 1.64: +3 -2 lines
Diff to previous 1.64 (colored) next main 1.65 (colored)

Pull up following revision(s) (requested by simonb in ticket #1182):
	sys/dev/pci/twe.c: revision 1.74
Fix memory leak in the TWEIO_GET_PARAM ioctl.
Tested by gendalia@.
--

Revision 1.74 / (download) - annotate - [select for diffs], Thu Feb 23 03:59:59 2006 UTC (6 years, 3 months ago) by simonb
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, peter-altq, elad-kernelauth
Changes since 1.73: +3 -2 lines
Diff to previous 1.73 (colored)

Fix memory leak in the TWEIO_GET_PARAM ioctl.
Tested by gendalia@.

Revision 1.72.2.1 / (download) - annotate - [select for diffs], Wed Feb 1 14:52:09 2006 UTC (6 years, 3 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.72: +3 -3 lines
Diff to previous 1.72 (colored)

sync with head.

Revision 1.73 / (download) - annotate - [select for diffs], Sun Jan 29 21:42:41 2006 UTC (6 years, 3 months ago) by dsl
Branch: MAIN
Branch point for: simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.72: +3 -3 lines
Diff to previous 1.72 (colored)

Make almost everything #include <sys/bswap.h> instead of <machine/bswap.h>
The bswap.h and endian.h files are all rather incestuous, but I want to
get the constant folding stuff into one place - sys/bswap.h

Revision 1.72 / (download) - annotate - [select for diffs], Sat Dec 24 20:27:42 2005 UTC (6 years, 5 months ago) by perry
Branch: MAIN
Branch point for: yamt-uio_vmspace
Changes since 1.71: +3 -3 lines
Diff to previous 1.71 (colored)

Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

Revision 1.71 / (download) - annotate - [select for diffs], Sun Dec 11 12:22:51 2005 UTC (6 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.70: +5 -5 lines
Diff to previous 1.70 (colored)

merge ktrace-lwp.

Revision 1.37.2.9 / (download) - annotate - [select for diffs], Thu Nov 10 14:06:03 2005 UTC (6 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.37.2.8: +17 -40 lines
Diff to previous 1.37.2.8 (colored) next main 1.38 (colored)

Sync with HEAD. Here we go again...

Revision 1.70 / (download) - annotate - [select for diffs], Fri Aug 26 11:20:33 2005 UTC (6 years, 9 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.69: +3 -20 lines
Diff to previous 1.69 (colored)

kill some more simple submatch() functions, use config_stdsubmatch()

Revision 1.69 / (download) - annotate - [select for diffs], Thu Aug 25 18:35:39 2005 UTC (6 years, 9 months ago) by drochner
Branch: MAIN
Changes since 1.68: +7 -9 lines
Diff to previous 1.68 (colored)

replace the "locdesc_t" structure carrying the number of locators
explicitely by a plain integer array
the length in now known to all relevant parties, so this avoids
duplication of information, and we can allocate that thing in
drivers without hacks

Revision 1.68 / (download) - annotate - [select for diffs], Tue Jun 28 00:28:42 2005 UTC (6 years, 10 months ago) by thorpej
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.67: +10 -14 lines
Diff to previous 1.67 (colored)

Use ANSI function decls and static.

Revision 1.67 / (download) - annotate - [select for diffs], Mon Jun 20 02:49:18 2005 UTC (6 years, 11 months ago) by atatat
Branch: MAIN
Changes since 1.66: +3 -3 lines
Diff to previous 1.66 (colored)

Change the rest of the sysctl subsystem to use const consistently.
The __UNCONST macro is now used only where necessary and the RW macros
are gone.  Most of the changes here are consumers of the
sysctl_createv(9) interface that now takes a pair of const pointers
which used not to be.

Revision 1.66 / (download) - annotate - [select for diffs], Mon May 30 04:35:23 2005 UTC (6 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.65: +4 -4 lines
Diff to previous 1.65 (colored)

- const poisoning
- avoid variable shadowing.

Revision 1.60.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:12 2005 UTC (7 years ago) by kent
Branch: kent-audio2
Changes since 1.60: +97 -18 lines
Diff to previous 1.60 (colored) next main 1.61 (colored)

sync with -current

Revision 1.37.2.8 / (download) - annotate - [select for diffs], Fri Apr 1 14:30:11 2005 UTC (7 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.37.2.7: +43 -6 lines
Diff to previous 1.37.2.7 (colored)

Sync with HEAD.

Revision 1.65 / (download) - annotate - [select for diffs], Fri Apr 1 11:59:37 2005 UTC (7 years, 1 month ago) by yamt
Branch: MAIN
CVS Tags: kent-audio2-base
Changes since 1.64: +7 -6 lines
Diff to previous 1.64 (colored)

merge yamt-km branch.
- don't use managed mappings/backing objects for wired memory allocations.
  save some resources like pv_entry.  also fix (most of) PR/27030.
- simplify kernel memory management API.
- simplify pmap bootstrap of some ports.
- some related cleanups.

Revision 1.60.6.2 / (download) - annotate - [select for diffs], Sat Mar 19 08:35:12 2005 UTC (7 years, 2 months ago) by yamt
Branch: yamt-km
Changes since 1.60.6.1: +92 -14 lines
Diff to previous 1.60.6.1 (colored) to branchpoint 1.60 (colored) next main 1.61 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.64 / (download) - annotate - [select for diffs], Wed Mar 16 17:11:17 2005 UTC (7 years, 2 months ago) by erh
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1
Branch point for: netbsd-3-0, netbsd-3
Changes since 1.63: +38 -2 lines
Diff to previous 1.63 (colored)

Fix PR#24302.  Clear PCI abort and parity errors to give the card a chance at
working.  Patch provided by Jean-Luc Wasmer, based on the FreeBSD driver.

Revision 1.37.2.7 / (download) - annotate - [select for diffs], Fri Mar 4 16:45:26 2005 UTC (7 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.37.2.6: +51 -14 lines
Diff to previous 1.37.2.6 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.63 / (download) - annotate - [select for diffs], Sun Feb 27 00:27:34 2005 UTC (7 years, 2 months ago) by perry
Branch: MAIN
Changes since 1.62: +14 -14 lines
Diff to previous 1.62 (colored)

nuke trailing whitespace

Revision 1.62 / (download) - annotate - [select for diffs], Sun Feb 20 19:01:47 2005 UTC (7 years, 3 months ago) by heas
Branch: MAIN
Changes since 1.61: +39 -2 lines
Diff to previous 1.61 (colored)

Add sysctl node hw.tweN.driver_version whose value is FreeBSD's driver version
number for now.  This is used by 3ware's FreeBSD version of their CLI to find
controllers and check the driver version.

Revision 1.37.2.6 / (download) - annotate - [select for diffs], Tue Feb 15 21:33:13 2005 UTC (7 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.37.2.5: +7 -2 lines
Diff to previous 1.37.2.5 (colored)

Sync with HEAD.

Revision 1.61 / (download) - annotate - [select for diffs], Tue Feb 15 05:56:34 2005 UTC (7 years, 3 months ago) by lukem
Branch: MAIN
CVS Tags: matt-timespec
Changes since 1.60: +7 -2 lines
Diff to previous 1.60 (colored)

Add some more stripe sizes observed in the field.
Add "JBOD" to twe_table_unittype[].

Revision 1.60.6.1 / (download) - annotate - [select for diffs], Tue Jan 25 13:03:14 2005 UTC (7 years, 4 months ago) by yamt
Branch: yamt-km
Changes since 1.60: +7 -6 lines
Diff to previous 1.60 (colored)

convert to new apis.

Revision 1.37.2.5 / (download) - annotate - [select for diffs], Fri Sep 24 10:53:28 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.37.2.4: +3 -3 lines
Diff to previous 1.37.2.4 (colored)

Sync with HEAD.

Revision 1.60 / (download) - annotate - [select for diffs], Thu Sep 23 01:16:34 2004 UTC (7 years, 8 months ago) by heas
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.59: +3 -3 lines
Diff to previous 1.59 (colored)

Take the modulus of the AEN queue tail number rather than the mask of.  Now
the tail pointer advances properly.

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

Fix the sync with head I botched.

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

Sync with HEAD.

Revision 1.59 / (download) - annotate - [select for diffs], Mon Sep 13 12:55:48 2004 UTC (7 years, 8 months ago) by drochner
Branch: MAIN
Changes since 1.58: +18 -11 lines
Diff to previous 1.58 (colored)

a round of autoconf cleanup:
-convert submatch() style functions (passed to config_search() or
 config_found_sm()) to the locator passing variants
-pass interface attributes in some cases
-make submatch() functions look uniformly as far as possible
-avoid macros which just hide cfdata members, and reduce dependencies
 on "locators.h"

Revision 1.37.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:49:12 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.37.2.1: +859 -213 lines
Diff to previous 1.37.2.1 (colored)

Sync with HEAD

Revision 1.54.2.2 / (download) - annotate - [select for diffs], Sat Jun 5 04:59:21 2004 UTC (7 years, 11 months ago) by jmc
Branch: netbsd-2-0
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-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
Changes since 1.54.2.1: +8 -5 lines
Diff to previous 1.54.2.1 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored)

Pullup rev 1.58 (requested by thorpej in ticket #441)

twe_ccb_map(): Remove the DEBUG panic case of "unknown" S/G list
offset.

Revision 1.58 / (download) - annotate - [select for diffs], Fri Jun 4 20:11:17 2004 UTC (7 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.57: +8 -5 lines
Diff to previous 1.57 (colored)

twe_ccb_map(): Remove the DEBUG panic case of "unknown" S/G list offset.
In all likelihood, this is a command passed from userspace management
tools where no S/G list is needed because no data is being passed.

Revision 1.57 / (download) - annotate - [select for diffs], Thu Jun 3 18:07:30 2004 UTC (7 years, 11 months ago) by heas
Branch: MAIN
Changes since 1.56: +4 -4 lines
Diff to previous 1.56 (colored)

Double the time we wait for the attention bit following a soft reset (and make
the timeout message just a bit clearer), as the latest firmware appears to be
a bit slower.
OK from Jason Thorpe.

Revision 1.54.2.1 / (download) - annotate - [select for diffs], Sun May 30 07:10:42 2004 UTC (7 years, 11 months ago) by tron
Branch: netbsd-2-0
Changes since 1.54: +5 -5 lines
Diff to previous 1.54 (colored)

Pull up revision 1.56 (requested by thorpej in ticket #410):
Rename twe_tweio_command_handler() to twe_ccb_wait_handler() and
expose it.

Revision 1.56 / (download) - annotate - [select for diffs], Thu May 27 23:47:23 2004 UTC (8 years ago) by thorpej
Branch: MAIN
Changes since 1.55: +5 -5 lines
Diff to previous 1.55 (colored)

Rename twe_tweio_command_handler() to twe_ccb_wait_handler() and expose it.

Revision 1.55 / (download) - annotate - [select for diffs], Thu Apr 15 02:03:03 2004 UTC (8 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.54: +91 -50 lines
Diff to previous 1.54 (colored)

Assign a syslog priority to the AEN codes and use that priority when
logging the error message.  Potentially allows critical messages to be
noticed much more quickly.

Revision 1.54 / (download) - annotate - [select for diffs], Thu Dec 4 05:46:47 2003 UTC (8 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.53: +23 -11 lines
Diff to previous 1.53 (colored)

When performing command pass-through for management tools, don't poll
for CCB completion.  Instead, sleep, and use a CCB callback to wake the
sleeper.

Revision 1.53 / (download) - annotate - [select for diffs], Mon Nov 10 15:35:39 2003 UTC (8 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.52: +3 -3 lines
Diff to previous 1.52 (colored)

Correct the size passed to a malloc() call when performing command
passthrough for userland management tools.

Revision 1.52 / (download) - annotate - [select for diffs], Thu Oct 30 01:58:17 2003 UTC (8 years, 6 months ago) by simonb
Branch: MAIN
Changes since 1.51: +2 -4 lines
Diff to previous 1.51 (colored)

Remove some assigned-to but otherwise unused variables.

Revision 1.51 / (download) - annotate - [select for diffs], Thu Sep 25 22:26:40 2003 UTC (8 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.50: +38 -25 lines
Diff to previous 1.50 (colored)

Fix up the TWEIO_COMMAND code to actually work.  The 3ware management API
library can now communicate with the card.

Revision 1.50 / (download) - annotate - [select for diffs], Thu Sep 25 01:35:25 2003 UTC (8 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.49: +21 -10 lines
Diff to previous 1.49 (colored)

- Fix a bug I introduced in a previous commit (oops).
- Add the twe_drivecommand ioctl structure.

Revision 1.49 / (download) - annotate - [select for diffs], Tue Sep 23 23:50:05 2003 UTC (8 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.48: +66 -30 lines
Diff to previous 1.48 (colored)

- Make CCB allocation slightly more efficient by changing how the
  CCB is returned to the caller.
- Make code paths that can use twe_ccb_alloc_wait() use it, and assert
  that a CCB is always returned from that function.
- Assert that a CCB is always returned when allocating the reserved CCB
  for an AEN fetch.

Revision 1.48 / (download) - annotate - [select for diffs], Tue Sep 23 23:10:53 2003 UTC (8 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.47: +9 -2 lines
Diff to previous 1.47 (colored)

Add a comment clarifying why we clear TWEF_AEN in twe_reset() now.

Revision 1.47 / (download) - annotate - [select for diffs], Tue Sep 23 23:08:54 2003 UTC (8 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.46: +120 -21 lines
Diff to previous 1.46 (colored)

Separate the AEN fetching path into its own special path that uses the
reserved CCB.  This means that all remaining callers of twe_param_get*()
are called from a valid thread context, and thus have no need to use a
reserved CCB.  This will allow for further cleanup in a future commit.

Revision 1.46 / (download) - annotate - [select for diffs], Mon Sep 22 18:31:11 2003 UTC (8 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.45: +172 -68 lines
Diff to previous 1.45 (colored)

Add support for dynamically attaching and detaching RAID array units.

Revision 1.45 / (download) - annotate - [select for diffs], Mon Sep 22 01:13:02 2003 UTC (8 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.44: +159 -88 lines
Diff to previous 1.44 (colored)

Improve AEN handling:
- Make AENs use the generic code table stuff.
- Add a few more AEN codes (from FreeBSD).
- Correct the context of a few AEN codes (some were listed as
  "unit context" when they're really "port context").
- Add a queue of AENs that management tools in userspace can poll
  (from FreeBSD).

Revision 1.44 / (download) - annotate - [select for diffs], Sun Sep 21 19:46:44 2003 UTC (8 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.43: +36 -3 lines
Diff to previous 1.43 (colored)

Fetch info about the drives during attach, and inject that info
into the msgbuf using aprint_verbose().

Revision 1.43 / (download) - annotate - [select for diffs], Sun Sep 21 19:27:27 2003 UTC (8 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.42: +6 -11 lines
Diff to previous 1.42 (colored)

Expose the "param get" functions.

Revision 1.42 / (download) - annotate - [select for diffs], Sun Sep 21 19:20:18 2003 UTC (8 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.41: +49 -10 lines
Diff to previous 1.41 (colored)

- Record more information about the array unit, including array
  type and stripe depth.
- Report array type and stripe depth when attaching the logical drive.

Revision 1.41 / (download) - annotate - [select for diffs], Sun Sep 21 19:01:05 2003 UTC (8 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.40: +79 -31 lines
Diff to previous 1.40 (colored)

Add some helper routines to fetch 1, 2, and 4 byte parameter values.

Modeled after code in FreeBSD.

Revision 1.40 / (download) - annotate - [select for diffs], Sun Sep 21 18:35:31 2003 UTC (8 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.39: +80 -2 lines
Diff to previous 1.39 (colored)

Add some additional code -> description tables, and add a generic
routine to translate code -> description.  AENs will be converted
to this mechanism in a future commit.

Partially from FreeBSD.

Revision 1.39 / (download) - annotate - [select for diffs], Sun Aug 3 18:45:46 2003 UTC (8 years, 9 months ago) by jdolecek
Branch: MAIN
Changes since 1.38: +3 -4 lines
Diff to previous 1.38 (colored)

tweioctl(): store the result of twe_param_get() directly to the right
variable rather than using (void *) temporary
should fix strict aliasing warning of gcc 3.3

Revision 1.38 / (download) - annotate - [select for diffs], Fri Jul 25 11:49:19 2003 UTC (8 years, 10 months ago) by jdolecek
Branch: MAIN
Changes since 1.37: +89 -30 lines
Diff to previous 1.37 (colored)

print some additional information about the controller on boot (from FreeBSD)

use aprint_* as appropriate
change some debug #ifdef DIAGNOSTIC messages into #ifdef DEBUG
make aenfmt[] more const
change twe_param_get() signature to take (struct twe_param **) last arg, and
  remove now unnecessary casts

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:26:12 2003 UTC (8 years, 10 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.37: +5 -5 lines
Diff to previous 1.37 (colored)

Apply the aborted ktrace-lwp changes to a specific branch.  This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it.  This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.

Revision 1.37 / (download) - annotate - [select for diffs], Sun Jun 29 22:30:28 2003 UTC (8 years, 10 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.36 / (download) - annotate - [select for diffs], Sat Jun 28 14:21:38 2003 UTC (8 years, 11 months ago) by darrenr
Branch: MAIN
Changes since 1.35: +5 -5 lines
Diff to previous 1.35 (colored)

Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V

Revision 1.12.2.14 / (download) - annotate - [select for diffs], Fri Jan 3 17:08:03 2003 UTC (9 years, 4 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.12.2.13: +4 -4 lines
Diff to previous 1.12.2.13 (colored) next main 1.13 (colored)

Sync with HEAD.

Revision 1.35 / (download) - annotate - [select for diffs], Wed Jan 1 00:10:23 2003 UTC (9 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Changes since 1.34: +4 -4 lines
Diff to previous 1.34 (colored)

Use aprint_normal() in cfprint routines.

Revision 1.12.2.13 / (download) - annotate - [select for diffs], Thu Dec 19 00:48:15 2002 UTC (9 years, 5 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.12.2.12: +249 -15 lines
Diff to previous 1.12.2.12 (colored)

Sync with HEAD.

Revision 1.34 / (download) - annotate - [select for diffs], Mon Dec 16 18:27:20 2002 UTC (9 years, 5 months ago) by fvdl
Branch: MAIN
CVS Tags: gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw
Changes since 1.33: +2 -4 lines
Diff to previous 1.33 (colored)

Remove comparison of u_int8_t value to (512 - a few bytes), since it's
always false. As found by gcc-current.

Revision 1.33 / (download) - annotate - [select for diffs], Fri Dec 13 23:31:32 2002 UTC (9 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.32: +251 -15 lines
Diff to previous 1.32 (colored)

Add /dev/twex support. To be used with FreeBSD's 3dmd.
Initial port from Masaru OKI <oki@netbsd.org>, with KNF, memory leak fixes,
denial of service problems, and null pointer fixes from me.

Revision 1.12.2.12 / (download) - annotate - [select for diffs], Wed Dec 11 06:38:27 2002 UTC (9 years, 5 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.12.2.11: +3 -3 lines
Diff to previous 1.12.2.11 (colored)

Sync with HEAD.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Nov 25 07:47:53 2002 UTC (9 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.31: +5 -5 lines
Diff to previous 1.31 (colored)

Avoid strict-alias warnings.

Revision 1.12.2.11 / (download) - annotate - [select for diffs], Fri Oct 18 02:43:22 2002 UTC (9 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.12.2.10: +3 -4 lines
Diff to previous 1.12.2.10 (colored)

Catch up to -current.

Revision 1.15.2.5 / (download) - annotate - [select for diffs], Thu Oct 10 18:41:16 2002 UTC (9 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.15.2.4: +5 -6 lines
Diff to previous 1.15.2.4 (colored) next main 1.16 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.31 / (download) - annotate - [select for diffs], Wed Oct 2 16:51:58 2002 UTC (9 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

Add trailing ; to CFATTACH_DECL.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Sep 30 20:38:06 2002 UTC (9 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.29: +4 -5 lines
Diff to previous 1.29 (colored)

Use CFATTACH_DECL().

Revision 1.29 / (download) - annotate - [select for diffs], Fri Sep 27 20:40:45 2002 UTC (9 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

Declare all cfattach structures const.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Sep 27 03:18:17 2002 UTC (9 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

Introduce a new routine, config_match(), which invokes the
cfattach->ca_match function in behalf of the caller.  Use it
rather than invoking cfattach->ca_match directly.

Revision 1.15.2.4 / (download) - annotate - [select for diffs], Fri Sep 6 08:45:38 2002 UTC (9 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.15.2.3: +39 -13 lines
Diff to previous 1.15.2.3 (colored)

sync kqueue branch with HEAD

Revision 1.21.8.4 / (download) - annotate - [select for diffs], Thu Aug 29 05:22:44 2002 UTC (9 years, 8 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.21.8.3: +3 -3 lines
Diff to previous 1.21.8.3 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

catch up with -current.

Revision 1.12.2.10 / (download) - annotate - [select for diffs], Tue Aug 13 02:19:47 2002 UTC (9 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.12.2.9: +1 -1 lines
Diff to previous 1.12.2.9 (colored)

Catch up to -current.

Revision 1.27 / (download) - annotate - [select for diffs], Tue Aug 6 20:47:44 2002 UTC (9 years, 9 months ago) by kim
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

Missing comma in aenfmt array initialization.

Revision 1.12.2.9 / (download) - annotate - [select for diffs], Thu Aug 1 02:45:29 2002 UTC (9 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.12.2.8: +39 -13 lines
Diff to previous 1.12.2.8 (colored)

Catch up to -current.

Revision 1.21.8.3 / (download) - annotate - [select for diffs], Mon Jul 15 10:35:45 2002 UTC (9 years, 10 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.21.8.2: +39 -13 lines
Diff to previous 1.21.8.2 (colored) to branchpoint 1.21 (colored)

catch up with -current.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Jul 10 15:37:30 2002 UTC (9 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.25: +39 -13 lines
Diff to previous 1.25 (colored)

Add missing messages from FreeBSD's driver. Re-organize a bit how the
message is formatted and printed.

Revision 1.15.2.3 / (download) - annotate - [select for diffs], Sun Jun 23 17:48:05 2002 UTC (9 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.15.2.2: +47 -28 lines
Diff to previous 1.15.2.2 (colored)

catch up with -current on kqueue branch

Revision 1.21.8.2 / (download) - annotate - [select for diffs], Thu Jun 20 16:33:49 2002 UTC (9 years, 11 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.21.8.1: +3 -3 lines
Diff to previous 1.21.8.1 (colored) to branchpoint 1.21 (colored)

catch up with -current.

Revision 1.12.2.8 / (download) - annotate - [select for diffs], Thu Jun 20 03:45:55 2002 UTC (9 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.12.2.7: +47 -28 lines
Diff to previous 1.12.2.7 (colored)

Catch up to -current.

Revision 1.25 / (download) - annotate - [select for diffs], Sat Jun 1 23:51:00 2002 UTC (9 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

SIMPLEQ rototill:
- implement SIMPLEQ_REMOVE(head, elm, type, field).  whilst it's O(n),
  this mirrors the functionality of SLIST_REMOVE() (the other
  singly-linked list type) and FreeBSD's STAILQ_REMOVE()
- remove the unnecessary elm arg from SIMPLEQ_REMOVE_HEAD().
  this mirrors the functionality of SLIST_REMOVE_HEAD() (the other
  singly-linked list type) and FreeBSD's STAILQ_REMOVE_HEAD()
- remove notes about SIMPLEQ not supporting arbitrary element removal
- use SIMPLEQ_FOREACH() instead of home-grown for loops
- use SIMPLEQ_EMPTY() appropriately
- use SIMPLEQ_*() instead of accessing sqh_first,sqh_last,sqe_next directly
- reorder manual page; be consistent about how the types are listed
- other minor cleanups

Revision 1.21.8.1 / (download) - annotate - [select for diffs], Thu May 30 14:46:34 2002 UTC (9 years, 11 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.21: +46 -27 lines
Diff to previous 1.21 (colored)

Catch up with -current.

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Sun May 26 16:05:36 2002 UTC (10 years ago) by perry
Branch: netbsd-1-6
CVS Tags: 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
Changes since 1.22: +7 -4 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

partially resolve 1.6 pullup ticket #29 from grant
pulls up revisions 1.23, 1.24
Original commit messages:

> Deal with the NBPG problem in a better way.

> NBPG is not constant on the sparc, so don't use CPP tricks.

Note that grant erroneously requested a pullup of only 1.24, which
would not apply cleanly. Normally I would have rejected the entire
request, but this is needed to make the sparc & sparc64 ports compile.

Revision 1.24 / (download) - annotate - [select for diffs], Fri May 24 18:10:07 2002 UTC (10 years ago) by christos
Branch: MAIN
Changes since 1.23: +4 -8 lines
Diff to previous 1.23 (colored)

NBPG is not constant on the sparc, so don't use CPP tricks.

Revision 1.23 / (download) - annotate - [select for diffs], Fri May 24 15:58:06 2002 UTC (10 years ago) by christos
Branch: MAIN
Changes since 1.22: +11 -4 lines
Diff to previous 1.22 (colored)

Deal with the NBPG problem in a better way.

Revision 1.22 / (download) - annotate - [select for diffs], Sat May 18 20:59:20 2002 UTC (10 years ago) by ad
Branch: MAIN
CVS Tags: netbsd-1-6-base
Branch point for: netbsd-1-6
Changes since 1.21: +41 -25 lines
Diff to previous 1.21 (colored)

- Use write barriers.
- NBPG -> PAGE_SIZE.

Revision 1.15.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:57:07 2002 UTC (10 years, 4 months ago) by thorpej
Branch: kqueue
Changes since 1.15.2.1: +6 -3 lines
Diff to previous 1.15.2.1 (colored)

Sync kqueue branch with -current.

Revision 1.12.2.7 / (download) - annotate - [select for diffs], Wed Jan 9 02:51:48 2002 UTC (10 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.12.2.6: +2 -5 lines
Diff to previous 1.12.2.6 (colored)

Fix merge botch.

Revision 1.20.4.3 / (download) - annotate - [select for diffs], Sat Nov 24 21:54:18 2001 UTC (10 years, 6 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003
Changes since 1.20.4.2: +24 -35 lines
Diff to previous 1.20.4.2 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

Pull up revision 1.20 (via patch, requested by lukem):
  Improve stability of this driver by un-applying some earlier
  changes.

Revision 1.12.2.6 / (download) - annotate - [select for diffs], Wed Nov 14 19:15:31 2001 UTC (10 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.12.2.5: +4 -1 lines
Diff to previous 1.12.2.5 (colored)

Catch up to -current.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Nov 13 07:48:49 2001 UTC (10 years, 6 months ago) by lukem
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base, ifpoll, eeh-devprop-base, eeh-devprop
Branch point for: gehenna-devsw
Changes since 1.20: +4 -1 lines
Diff to previous 1.20 (colored)

add RCSID

Revision 1.20.4.2 / (download) - annotate - [select for diffs], Thu Oct 25 18:03:02 2001 UTC (10 years, 7 months ago) by he
Branch: netbsd-1-5
Changes since 1.20.4.1: +1019 -0 lines
Diff to previous 1.20.4.1 (colored) to branchpoint 1.20 (colored)

Pull up revisions 1.1-1.19 (new, via patch, requested by ad):
  Add Mylex DACC960, CAC-EISA, and I2O block/SCSI drivers.

Revision 1.12.2.5 / (download) - annotate - [select for diffs], Mon Oct 22 20:41:29 2001 UTC (10 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.12.2.4: +21 -31 lines
Diff to previous 1.12.2.4 (colored)

Catch up to -current.

Revision 1.16.2.2 / (download) - annotate - [select for diffs], Thu Oct 11 00:02:13 2001 UTC (10 years, 7 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.16.2.1: +21 -34 lines
Diff to previous 1.16.2.1 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

Catch up with -current. Fix some bogons in the sparc64 kbd/ms
attach code. cd18xx conversion provided by mrg.

Revision 1.20.4.1, Wed Oct 10 09:33:36 2001 UTC (10 years, 7 months ago) by he
Branch: netbsd-1-5
Changes since 1.20: +0 -1008 lines
FILE REMOVED

file twe.c was added on branch netbsd-1-5 on 2001-10-25 18:03:02 +0000

Revision 1.20 / (download) - annotate - [select for diffs], Wed Oct 10 09:33:36 2001 UTC (10 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3
Branch point for: netbsd-1-5
Changes since 1.19: +20 -33 lines
Diff to previous 1.19 (colored)

Back out previous - it causes panics.

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:46:03 2001 UTC (10 years, 7 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.16: +35 -22 lines
Diff to previous 1.16 (colored)

Catch up with -current.

Revision 1.12.2.4 / (download) - annotate - [select for diffs], Fri Sep 21 22:36:03 2001 UTC (10 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.12.2.3: +35 -22 lines
Diff to previous 1.12.2.3 (colored)

Catch up to -current.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Sep 20 22:09:44 2001 UTC (10 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: thorpej-devvp-base2
Changes since 1.18: +34 -21 lines
Diff to previous 1.18 (colored)

Use bus_dma to get temporary I/O buffers.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Sep 16 16:34:38 2001 UTC (10 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Spell 'occurred' with two 'r's.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Sep 15 20:36:35 2001 UTC (10 years, 8 months ago) by chs
Branch: MAIN
CVS Tags: post-chs-ubcperf
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

a whole bunch of changes to improve performance and robustness under load:

 - remove special treatment of pager_map mappings in pmaps.  this is
   required now, since I've removed the globals that expose the address range.
   pager_map now uses pmap_kenter_pa() instead of pmap_enter(), so there's
   no longer any need to special-case it.
 - eliminate struct uvm_vnode by moving its fields into struct vnode.
 - rewrite the pageout path.  the pager is now responsible for handling the
   high-level requests instead of only getting control after a bunch of work
   has already been done on its behalf.  this will allow us to UBCify LFS,
   which needs tighter control over its pages than other filesystems do.
   writing a page to disk no longer requires making it read-only, which
   allows us to write wired pages without causing all kinds of havoc.
 - use a new PG_PAGEOUT flag to indicate that a page should be freed
   on behalf of the pagedaemon when it's unlocked.  this flag is very similar
   to PG_RELEASED, but unlike PG_RELEASED, PG_PAGEOUT can be cleared if the
   pageout fails due to eg. an indirect-block buffer being locked.
   this allows us to remove the "version" field from struct vm_page,
   and together with shrinking "loan_count" from 32 bits to 16,
   struct vm_page is now 4 bytes smaller.
 - no longer use PG_RELEASED for swap-backed pages.  if the page is busy
   because it's being paged out, we can't release the swap slot to be
   reallocated until that write is complete, but unlike with vnodes we
   don't keep a count of in-progress writes so there's no good way to
   know when the write is done.  instead, when we need to free a busy
   swap-backed page, just sleep until we can get it busy ourselves.
 - implement a fast-path for extending writes which allows us to avoid
   zeroing new pages.  this substantially reduces cpu usage.
 - encapsulate the data used by the genfs code in a struct genfs_node,
   which must be the first element of the filesystem-specific vnode data
   for filesystems which use genfs_{get,put}pages().
 - eliminate many of the UVM pagerops, since they aren't needed anymore
   now that the pager "put" operation is a higher-level operation.
 - enhance the genfs code to allow NFS to use the genfs_{get,put}pages
   instead of a modified copy.
 - clean up struct vnode by removing all the fields that used to be used by
   the vfs_cluster.c code (which we don't use anymore with UBC).
 - remove kmem_object and mb_object since they were useless.
   instead of allocating pages to these objects, we now just allocate
   pages with no object.  such pages are mapped in the kernel until they
   are freed, so we can use the mapping to find the page to free it.
   this allows us to remove splvm() protection in several places.

The sum of all these changes improves write throughput on my
decstation 5000/200 to within 1% of the rate of NetBSD 1.5
and reduces the elapsed time for "make release" of a NetBSD 1.5
source tree on my 128MB pc to 10% less than a 1.5 kernel took.

Revision 1.12.2.3 / (download) - annotate - [select for diffs], Fri Aug 24 00:10:24 2001 UTC (10 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.12.2.2: +4 -2 lines
Diff to previous 1.12.2.2 (colored)

Catch up with -current.

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Fri Aug 3 04:13:22 2001 UTC (10 years, 9 months ago) by lukem
Branch: kqueue
Changes since 1.15: +4 -2 lines
Diff to previous 1.15 (colored)

update to -current

Revision 1.16 / (download) - annotate - [select for diffs], Thu Jul 19 16:36:16 2001 UTC (10 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-devvp-base, pre-chs-ubcperf
Branch point for: thorpej-devvp
Changes since 1.15: +4 -2 lines
Diff to previous 1.15 (colored)

Use BUS_DMA_READ and BUS_DMA_WRITE in some obvious places.

Revision 1.12.2.2 / (download) - annotate - [select for diffs], Thu Jun 21 20:05:12 2001 UTC (10 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.12.2.1: +3 -3 lines
Diff to previous 1.12.2.1 (colored)

Catch up to -current.

Revision 1.15 / (download) - annotate - [select for diffs], Thu May 31 11:31:43 2001 UTC (10 years, 11 months ago) by ad
Branch: MAIN
Branch point for: kqueue
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

Reduce the delay when polling so that dumps go faster.

Revision 1.4.2.8 / (download) - annotate - [select for diffs], Sat Apr 21 17:49:29 2001 UTC (11 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.4.2.7: +2 -1 lines
Diff to previous 1.4.2.7 (colored) next main 1.5 (colored)

Sync with HEAD

Revision 1.12.2.1 / (download) - annotate - [select for diffs], Mon Apr 9 01:57:14 2001 UTC (11 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored)

Catch up with -current.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Mar 30 16:48:57 2001 UTC (11 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Changes since 1.13: +2 -1 lines
Diff to previous 1.13 (colored)

AEN 0x000c appears to mean `init started'. From lukem.

Revision 1.4.2.7 / (download) - annotate - [select for diffs], Mon Mar 12 13:31:16 2001 UTC (11 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.4.2.6: +17 -10 lines
Diff to previous 1.4.2.6 (colored)

Sync with HEAD.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Mar 7 23:07:17 2001 UTC (11 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Add BUS_DMA_STREAMING to data transfer maps.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Mar 4 17:50:51 2001 UTC (11 years, 2 months ago) by ad
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.11: +13 -7 lines
Diff to previous 1.11 (colored)

Don't choke when we get lots of AENs all at once.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Feb 25 17:46:42 2001 UTC (11 years, 3 months ago) by ad
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Wait 10x longer for status bits.

Revision 1.4.2.6 / (download) - annotate - [select for diffs], Sun Feb 11 19:16:07 2001 UTC (11 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.4.2.5: +110 -100 lines
Diff to previous 1.4.2.5 (colored)

Sync with HEAD.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Feb 11 15:37:13 2001 UTC (11 years, 3 months ago) by ad
Branch: MAIN
Changes since 1.9: +3 -2 lines
Diff to previous 1.9 (colored)

Match an upcoming product.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Jan 23 20:47:02 2001 UTC (11 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.8: +4 -2 lines
Diff to previous 1.8 (colored)

Oops, be sure to clear the ATTN interrupt on error.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jan 22 17:40:15 2001 UTC (11 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.7: +1 -3 lines
Diff to previous 1.7 (colored)

opt_twe.h isn't needed any more.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Jan 22 17:32:11 2001 UTC (11 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.6: +108 -98 lines
Diff to previous 1.6 (colored)

- Complain if interrupt-driven retrieval of AENs fails somehow.
- Clamp the number of outstanding commands to 129.
- Other tweaks.

Revision 1.4.2.5 / (download) - annotate - [select for diffs], Thu Jan 18 09:23:31 2001 UTC (11 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.4.2.4: +3 -3 lines
Diff to previous 1.4.2.4 (colored)

Sync with head (for UBC+NFS fixes, mostly).

Revision 1.6 / (download) - annotate - [select for diffs], Sun Jan 14 21:28:16 2001 UTC (11 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

splimp() -> splvm()

Revision 1.4.2.4 / (download) - annotate - [select for diffs], Fri Jan 5 17:36:18 2001 UTC (11 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.4.2.3: +2 -3 lines
Diff to previous 1.4.2.3 (colored)

Sync with HEAD

Revision 1.5 / (download) - annotate - [select for diffs], Thu Dec 28 22:59:15 2000 UTC (11 years, 4 months ago) by sommerfeld
Branch: MAIN
Changes since 1.4: +2 -3 lines
Diff to previous 1.4 (colored)

Change pci_intr_map to get interrupt source information from a "struct
pci_attach_args *" instead of from four separate parameters which in
all cases were extracted from the same "struct pci_attach_args".

This both simplifies the driver api, and allows for alternate PCI
interrupt mapping schemes, such as one using the tables described in
the Intel Multiprocessor Spec which describe interrupt wirings for
devices behind pci-pci bridges based on the device's location rather
the bridge's location.

Tested on alpha and i386; welcome to 1.5Q

Revision 1.4.2.3 / (download) - annotate - [select for diffs], Wed Nov 22 16:04:23 2000 UTC (11 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.4.2.2: +106 -70 lines
Diff to previous 1.4.2.2 (colored)

Sync with HEAD.

Revision 1.4.2.2 / (download) - annotate - [select for diffs], Mon Nov 20 11:42:38 2000 UTC (11 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.4.2.1: +953 -0 lines
Diff to previous 1.4.2.1 (colored)

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.4.2.1, Tue Nov 14 18:42:58 2000 UTC (11 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.4: +0 -989 lines
FILE REMOVED

file twe.c was added on branch thorpej_scsipi on 2000-11-20 11:42:38 +0000

Revision 1.4 / (download) - annotate - [select for diffs], Tue Nov 14 18:42:58 2000 UTC (11 years, 6 months ago) by thorpej
Branch: MAIN
Branch point for: thorpej_scsipi
Changes since 1.3: +4 -3 lines
Diff to previous 1.3 (colored)

NBPG -> PAGE_SIZE

Revision 1.3 / (download) - annotate - [select for diffs], Wed Nov 8 19:23:50 2000 UTC (11 years, 6 months ago) by ad
Branch: MAIN
Changes since 1.2: +103 -68 lines
Diff to previous 1.2 (colored)

- Pull in some updates from FreeBSD - mainly clarifications. Thanks to
  Mike Smith <msmith@freebsd.org> for pointing these out.
- Ensure that we get AENs: reserve one CCB/command block for parameter
  retrieval, and chain AEN retrievals that are the result of an interrupt.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Oct 20 15:14:25 2000 UTC (11 years, 7 months ago) by ad
Branch: MAIN
Changes since 1.1: +15 -39 lines
Diff to previous 1.1 (colored)

- tsleep()/wakeup_one() will hurt when under load, so use a queue instead.
- Don't copy to or from the aligned buffer unless there's a need to.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Oct 19 14:11:30 2000 UTC (11 years, 7 months ago) by ad
Branch: MAIN

Driver for the 3ware Escalade family of RAID controllers.

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>