The NetBSD Project

CVS log for src/sys/dev/mca/ed_mca.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.68: download - view: text, markup, annotated - select for diffs
Sun Sep 25 17:21:18 2022 UTC (2 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +2 -3 lines
Remove unnecessary include of <sys/malloc.h>.

Revision 1.66.18.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:13 2019 UTC (5 years, 8 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66: +6 -6 lines
Sync with HEAD

Revision 1.66.16.1: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:55:50 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66: +6 -6 lines
Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.67: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:29:32 2018 UTC (6 years, 5 months ago) by riastradh
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +6 -6 lines
Rename min/max -> uimin/uimax for better honesty.

These functions are defined on unsigned int.  The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.

HOWEVER!  Some subsystems have

	#define min(a, b)	((a) < (b) ? (a) : (b))
	#define max(a, b)	((a) > (b) ? (a) : (b))

even though our standard name for that is MIN/MAX.  Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.

To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.

I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:

cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))

It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.

Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate.  But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all.  (Who knows, maybe in some cases integer
truncation is actually intended!)

Revision 1.52.2.3: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:05 2017 UTC (7 years, 2 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.52.2.2: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52.2.2: +25 -62 lines
update from HEAD

Revision 1.59.2.3: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:55:42 2016 UTC (8 years, 4 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.59.2.2: preferred, colored; branchpoint 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59.2.2: +17 -18 lines
Sync with HEAD

Revision 1.66: download - view: text, markup, annotated - select for diffs
Thu Jul 14 04:00:45 2016 UTC (8 years, 7 months ago) by msaitoh
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncqfixes-base, jdolecek-ncqfixes, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, pgoyette-compat
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +15 -16 lines
- Use aprint*() instead of printf() in xxx_attach().
- Add missing aprint_naive("\n");
- KNF

Revision 1.65: download - view: text, markup, annotated - select for diffs
Mon Jul 11 11:31:51 2016 UTC (8 years, 7 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +4 -4 lines
KNF. No functional change.

Revision 1.59.2.2: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:40:08 2015 UTC (9 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.59.2.1: preferred, colored; branchpoint 1.59: preferred, colored
Changes since revision 1.59.2.1: +7 -4 lines
Sync with HEAD

Revision 1.64: download - view: text, markup, annotated - select for diffs
Sun Apr 26 15:15:20 2015 UTC (9 years, 9 months ago) by mlelstv
Branches: MAIN
CVS tags: nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +6 -3 lines
Use C99-style initializers for struct dkdriver.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Mon Apr 13 16:33:24 2015 UTC (9 years, 10 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +3 -3 lines
Convert sys/dev to use <sys/rndsource.h>.

Revision 1.59.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:10 2015 UTC (9 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +7 -55 lines
Sync with HEAD

Revision 1.62: download - view: text, markup, annotated - select for diffs
Fri Jan 2 19:42:07 2015 UTC (10 years, 1 month ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20150406
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +3 -3 lines
We have three sets of DTYPE_ constants in the kernel:
	altq		Drop 		Type
	disklabel	Disk 		Type
	file		Descriptor	Type
(not to mention constants that contain the string DTYPE).
Let's make them two, by changing the disklabel one to be DisK TYPE since the
other disklabel constants seem to do that. Not many userland programs use
these constants (and the ones that they do are mostly in ifdefs). They will
be fixed shortly.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Wed Dec 31 19:52:05 2014 UTC (10 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +3 -13 lines
make more drivers use disk_ioctl, and add a dev parameter to it so that
we can merge the "easy" disklabel ioctls to it. Ultimately all this will
go do dk_ioctl once all the drivers have been converted.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Wed Dec 31 17:06:48 2014 UTC (10 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +6 -44 lines
Centralize wedge ioctls in disk_ioctl.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Sun Nov 9 10:10:08 2014 UTC (10 years, 3 months ago) by mlelstv
Branches: MAIN
CVS tags: nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +11 -2 lines
support DIOCMWEDGES ioctl

Revision 1.52.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:39 2014 UTC (10 years, 6 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.52.2.1: preferred, colored
Changes since revision 1.52.2.1: +26 -10 lines
Rebase to HEAD as of a few days ago.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Sun Aug 10 16:44:35 2014 UTC (10 years, 6 months ago) by tls
Branches: MAIN
CVS tags: tls-maxphys-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -3 lines
Merge tls-earlyentropy branch into HEAD.

Revision 1.55.2.2: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:54:52 2014 UTC (10 years, 6 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.55.2.1: preferred, colored; branchpoint 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55.2.1: +4 -2 lines
Rebase.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Fri Jul 25 08:10:37 2014 UTC (10 years, 6 months ago) by dholland
Branches: MAIN
CVS tags: tls-earlyentropy-base
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +3 -2 lines
Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Fri Jul 25 08:02:19 2014 UTC (10 years, 6 months ago) by dholland
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +3 -2 lines
Add d_discard to all struct bdevsw instances I could find.

I've set them all to nodiscard. Some of them (wd, dk, vnd, ld,
raidframe, maybe cgd) should be implemented for real.

Revision 1.48.2.3: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:23 2014 UTC (10 years, 8 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.48.2.2: preferred, colored; branchpoint 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.2.2: +23 -9 lines
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.53.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:38 2014 UTC (10 years, 9 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +23 -9 lines
sync with head

Revision 1.55.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 7 03:37:33 2014 UTC (10 years, 10 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +3 -3 lines
Be a little more clear and consistent about harvesting entropy from devices:

1) deprecate RND_FLAG_NO_ESTIMATE

2) define RND_FLAG_COLLECT_TIME, RND_FLAG_COLLECT_VALUE

3) define RND_FLAG_ESTIMATE_TIME, RND_FLAG_ESTIMATE_VALUE

4) define RND_FLAG_DEFAULT: RND_FLAG_COLLECT_TIME|
   RND_FLAG_COLLECT_VALUE|RND_FLAG_ESTIMATE_TIME

5) Make entropy harvesting from environmental sensors a little more generic
   and remove it from individual sensor drivers.

6) Remove individual open-coded delta-estimators for values from a few
   places in the tree (uvm, environmental drivers).

7) 0 -> RND_FLAG_DEFAULT, actually gather entropy from various drivers
   that had stubbed out code, other minor cleanups.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Thu Mar 20 06:48:54 2014 UTC (10 years, 11 months ago) by skrll
Branches: MAIN
CVS tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Branch point for: tls-earlyentropy
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +5 -5 lines
Mechanically replace simplelock with kmutex_t.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Sun Mar 16 05:20:28 2014 UTC (10 years, 11 months ago) by dholland
Branches: MAIN
CVS tags: riastradh-drm2-base3
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +20 -6 lines
Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.

I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.

Revision 1.52.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:02:11 2012 UTC (12 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +15 -15 lines
Resync to 2012-11-19 00:00:00 UTC

Revision 1.48.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:21:19 2012 UTC (12 years, 3 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.48.2.1: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.2.1: +17 -17 lines
sync with head

Revision 1.53: download - view: text, markup, annotated - select for diffs
Sat Oct 27 17:18:26 2012 UTC (12 years, 3 months ago) by chs
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +15 -15 lines
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Tue Jul 31 15:50:35 2012 UTC (12 years, 6 months ago) by bouyer
Branches: MAIN
Branch point for: tls-maxphys
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +4 -4 lines
Apply back changes that were reverted on Jul 24 and Jul 26 (general ata/wdc
cleanup and SATA PMP support), now that I'm back to fix the fallouts.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Tue Jul 24 14:04:30 2012 UTC (12 years, 6 months ago) by jakllsch
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -2 lines
Revert dsl@'s changes of Sun, 15 Jul 2012 10:55:35 +0000 and
Sun, 15 Jul 2012 10:56:50 +0000, excepting the kernel version bump.
First step in reverting regressions to ata(4) subsystem during the addition of
port multiplier support.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Sun Jul 15 10:55:30 2012 UTC (12 years, 7 months ago) by dsl
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +4 -4 lines
Some namespace protection (and add greppablity).
Prefix the DRIVE_ and DRIVET_ constants from atavar.h with ATA_.
Don't use an enum for drive_type - you don't know how big it will be.
Move driver_type to avoid implicit structure padding (esp on arm).
This change is purely lexical and mechanical.

Update to 6.99.9 - this wasn't done when the SATA PMP changes
were made - I'm sure they warranted a bump.

Revision 1.48.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:41 2012 UTC (12 years, 10 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -8 lines
sync with head

Revision 1.48.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:34:31 2012 UTC (13 years ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +2 -8 lines
merge to -current.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Thu Feb 2 19:43:04 2012 UTC (13 years ago) by tls
Branches: MAIN
CVS tags: yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -8 lines
Entropy-pool implementation move and cleanup.

1) Move core entropy-pool code and source/sink/sample management code
   to sys/kern from sys/dev.

2) Remove use of NRND as test for presence of entropy-pool code throughout
   source tree.

3) Remove use of RND_ENABLED in device drivers as microoptimization to
   avoid expensive operations on disabled entropy sources; make the
   rnd_add calls do this directly so all callers benefit.

4) Fix bug in recent rnd_add_data()/rnd_add_uint32() changes that might
   have lead to slight entropy overestimation for some sources.

5) Add new source types for environmental sensors, power sensors, VM
   system events, and skew between clocks, with a sample implementation
   for each.

ok releng to go in before the branch due to the difficulty of later
pullup (widespread #ifdef removal and moved files).  Tested with release
builds on amd64 and evbarm and live testing on amd64.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Sun Aug 7 13:39:24 2011 UTC (13 years, 6 months ago) by rmind
Branches: 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
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -3 lines
Replace some wakeup_one(9) uses with mutex(9) or plain wakeup(9).

Revision 1.40.4.3: download - view: text, markup, annotated - select for diffs
Sat May 16 10:41:27 2009 UTC (15 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.40.4.2: preferred, colored; branchpoint 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40.4.2: +6 -6 lines
sync with head

Revision 1.43.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:20:05 2009 UTC (15 years, 9 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +13 -32 lines
Sync with HEAD.

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

Revision 1.47: download - view: text, markup, annotated - select for diffs
Tue May 12 14:31:00 2009 UTC (15 years, 9 months ago) by cegger
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, matt-premerge-20091211, matt-mips64-premerge-20101231, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +6 -6 lines
struct device * -> device_t, no functional changes intended.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Tue May 12 13:15:24 2009 UTC (15 years, 9 months ago) by cegger
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +4 -4 lines
struct cfdata * -> cfdata_t, no functional changes intended.

Revision 1.40.4.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:51 2009 UTC (15 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.40.4.1: preferred, colored; branchpoint 1.40: preferred, colored
Changes since revision 1.40.4.1: +21 -37 lines
sync with head.

Revision 1.42.6.2: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:35:53 2009 UTC (15 years, 9 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.42.6.1: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.6.1: +10 -29 lines
Sync with HEAD.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Sat Mar 14 21:04:20 2009 UTC (15 years, 11 months ago) by dsl
Branches: MAIN
CVS tags: yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +3 -5 lines
ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sat Mar 14 15:36:18 2009 UTC (15 years, 11 months ago) by dsl
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +9 -26 lines
Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)

Revision 1.42.6.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:18:14 2009 UTC (16 years, 1 month ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -3 lines
Sync with HEAD.

Revision 1.39.16.3: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:57 2009 UTC (16 years, 1 month ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.39.16.2: preferred, colored; branchpoint 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39.16.2: +1 -1 lines
Sync with HEAD.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue Jan 13 13:35:53 2009 UTC (16 years, 1 month ago) by yamt
Branches: MAIN
CVS tags: nick-hppapmap-base2, mjf-devfs2-base
Branch point for: jym-xensuspend
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -3 lines
g/c BUFQ_FOO() macros and use bufq_foo() directly.

Revision 1.39.16.2: download - view: text, markup, annotated - select for diffs
Sun Jun 29 09:33:08 2008 UTC (16 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.39.16.1: preferred, colored; branchpoint 1.39: preferred, colored
Changes since revision 1.39.16.1: +10 -7 lines
Sync with HEAD.

Revision 1.41.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:31:09 2008 UTC (16 years, 7 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41: +12 -9 lines
Sync w/ -current. 34 merge conflicts to follow.

Revision 1.40.2.2: download - view: text, markup, annotated - select for diffs
Tue Jun 17 09:14:40 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.40.2.1: preferred, colored; branchpoint 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40.2.1: +12 -9 lines
sync with head.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sun Jun 8 12:43:52 2008 UTC (16 years, 8 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-pf42-base4, 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, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, 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: nick-hppapmap
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +12 -9 lines
Replace device_lookup() with device_lookup_private() on getting softc
for future device_t/softc spilt.

Revision 1.39.16.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:33 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +23 -25 lines
Sync with HEAD.

Revision 1.40.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:34:09 2008 UTC (16 years, 9 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +14 -18 lines
sync with head.

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

Revision 1.41: download - view: text, markup, annotated - select for diffs
Sun May 4 13:11:14 2008 UTC (16 years, 9 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +14 -18 lines
Move to standard TNF 2 clause license

Revision 1.40: download - view: text, markup, annotated - select for diffs
Tue Apr 8 20:41:00 2008 UTC (16 years, 10 months ago) by cegger
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base
Branch point for: yamt-pf42, yamt-nfs-mp
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +11 -9 lines
use aprint_*_dev and device_xname

Revision 1.37.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:28:18 2007 UTC (17 years, 3 months ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +5 -6 lines
sync with HEAD

Revision 1.29.4.4: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:32:13 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.29.4.3: preferred, colored; branchpoint 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29.4.3: +5 -6 lines
sync with head.

Revision 1.37.4.1: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:45:41 2007 UTC (17 years, 3 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +5 -6 lines
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.38.2.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:38:36 2007 UTC (17 years, 3 months ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +4 -4 lines
Sync with HEAD.

Revision 1.35.2.5: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:08:30 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.35.2.4: preferred, colored; branchpoint 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.2.4: +4 -4 lines
Sync with head.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Fri Oct 19 12:00:34 2007 UTC (17 years, 4 months ago) by ad
Branches: 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
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +4 -4 lines
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.37.8.1: download - view: text, markup, annotated - select for diffs
Sun Oct 14 11:48:10 2007 UTC (17 years, 4 months ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +3 -4 lines
sync with head.

Revision 1.35.2.4: download - view: text, markup, annotated - select for diffs
Tue Oct 9 15:22:11 2007 UTC (17 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.35.2.3: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.2.3: +3 -5 lines
Sync with head.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Mon Oct 8 16:41:12 2007 UTC (17 years, 4 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, vmlocking-base
Branch point for: bouyer-xenamd64
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -4 lines
Merge disk init changes from the vmlocking branch. These seperate init /
destroy of 'struct disk' from attach / detach.

Revision 1.29.4.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:35:52 2007 UTC (17 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.29.4.2: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.4.2: +14 -23 lines
sync with head.

Revision 1.35.2.3: download - view: text, markup, annotated - select for diffs
Mon Aug 20 18:16:13 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.35.2.2: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.2.2: +10 -16 lines
- Alter disk attach/detach to fix a panic when closing a vnd device.
- Sync with HEAD.

Revision 1.35.2.2: download - view: text, markup, annotated - select for diffs
Sun Aug 19 19:24:29 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.35.2.1: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.2.1: +6 -6 lines
- Back out the biodone() changes.
- Eliminate B_ERROR (from HEAD).

Revision 1.35.10.1: download - view: text, markup, annotated - select for diffs
Wed Aug 15 13:48:24 2007 UTC (17 years, 6 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +11 -20 lines
Sync with HEAD.

Revision 1.37.10.2: download - view: text, markup, annotated - select for diffs
Sun Jul 29 12:50:22 2007 UTC (17 years, 6 months ago) by ad
Branches: matt-mips64
Diff to: previous 1.37.10.1: preferred, colored; branchpoint 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37.10.1: +754 -0 lines
It's not a good idea for device drivers to modify b_flags, as they don't
need to understand the locking around that field. Instead of setting
B_ERROR, set b_error instead. b_error is 'owned' by whoever completes
the I/O request.

Revision 1.37.10.1
Sun Jul 29 12:50:21 2007 UTC (17 years, 6 months ago) by ad
Branches: matt-mips64
FILE REMOVED
Changes since revision 1.37: +0 -754 lines
file ed_mca.c was added on branch matt-mips64 on 2007-07-29 12:50:22 +0000

Revision 1.37: download - view: text, markup, annotated - select for diffs
Sun Jul 29 12:50:21 2007 UTC (17 years, 6 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base2, yamt-x86pmap-base, nick-csl-alignment-base5, matt-mips64-base, hpcarm-cleanup
Branch point for: yamt-x86pmap, matt-mips64, matt-armv6, jmcneill-pm
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +4 -6 lines
It's not a good idea for device drivers to modify b_flags, as they don't
need to understand the locking around that field. Instead of setting
B_ERROR, set b_error instead. b_error is 'owned' by whoever completes
the I/O request.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sat Jul 21 19:51:48 2007 UTC (17 years, 7 months ago) by ad
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +9 -16 lines
Replace some uses of lockmgr().

Revision 1.35.2.1: download - view: text, markup, annotated - select for diffs
Sun May 13 17:36:26 2007 UTC (17 years, 9 months ago) by ad
Branches: vmlocking
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +8 -10 lines
- Pass the error number and residual count to biodone(), and let it handle
  setting error indicators. Prepare to eliminate B_ERROR.
- Add a flag argument to brelse() to be set into the buf's flags, instead
  of doing it directly. Typically used to set B_INVAL.
- Add a "struct cpu_info *" argument to kthread_create(), to be used to
  create bound threads. Change "bool mpsafe" to "int flags".
- Allow exit of LWPs in the IDL state when (l != curlwp).
- More locking fixes & conversion to the new API.

Revision 1.34.4.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:55:07 2007 UTC (17 years, 11 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +5 -5 lines
Sync with HEAD.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:02:14 2007 UTC (17 years, 11 months ago) by christos
Branches: MAIN
CVS tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, nick-csl-alignment-base, mjf-ufs-trans-base, mjf-ufs-trans
Branch point for: vmlocking, nick-csl-alignment
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +5 -5 lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.29.4.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:48:35 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.29.4.1: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.4.1: +8 -22 lines
sync with head.

Revision 1.32.10.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:17:36 2006 UTC (18 years, 2 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.32.10.1: preferred, colored; branchpoint 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.10.1: +7 -7 lines
sync with head.

Revision 1.32.8.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:34:26 2006 UTC (18 years, 3 months ago) by ad
Branches: newlock2
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +8 -22 lines
Sync with head.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:33:05 2006 UTC (18 years, 3 months ago) by christos
Branches: 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, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +7 -7 lines
__unused removal on arguments; approved by core.

Revision 1.32.10.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:06:12 2006 UTC (18 years, 4 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +8 -22 lines
sync with head

Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:31:24 2006 UTC (18 years, 4 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +8 -22 lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.31.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:51:56 2006 UTC (18 years, 5 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +4 -4 lines
sync with head

Revision 1.29.4.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:04:46 2006 UTC (18 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +14 -14 lines
sync with head.

Revision 1.31.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:39:09 2006 UTC (18 years, 10 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +4 -4 lines
Sync with head.

Revision 1.31.10.1: download - view: text, markup, annotated - select for diffs
Wed Apr 19 03:25:18 2006 UTC (18 years, 10 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +4 -4 lines
sync with head.

Revision 1.31.8.1: download - view: text, markup, annotated - select for diffs
Sat Apr 1 12:07:11 2006 UTC (18 years, 10 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +4 -4 lines
sync with head.

Revision 1.31.12.1: download - view: text, markup, annotated - select for diffs
Fri Mar 31 09:45:21 2006 UTC (18 years, 10 months ago) by tron
Branches: peter-altq
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +4 -4 lines
Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Mar 29 06:58:14 2006 UTC (18 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +4 -4 lines
Use device_private().

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:22:18 2005 UTC (19 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +10 -10 lines
merge ktrace-lwp.

Revision 1.22.2.10: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:05:42 2005 UTC (19 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.22.2.9: preferred, colored; branchpoint 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22.2.9: +4 -4 lines
Sync with HEAD. Here we go again...

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Oct 15 17:29:25 2005 UTC (19 years, 4 months ago) by yamt
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +4 -4 lines
- change the way to specify a bufq strategy.  (by string rather than by number)
- rather than embedding bufq_state in driver softc,
  have a pointer to the former.
- move bufq related functions from kern/subr_disk.c to kern/subr_bufq.c.
- rename method to strategy for consistency.
- move some definitions which don't need to be exposed to the rest of kernel
  from sys/bufq.h to sys/bufq_impl.h.
  (is it better to move it to kern/ or somewhere?)
- fix some obvious breakage in dev/qbus/ts.c.  (not tested)

Revision 1.27.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:56 2005 UTC (19 years, 9 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27: +9 -9 lines
sync with -current

Revision 1.27.6.2: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:34:42 2005 UTC (19 years, 11 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.27.6.1: preferred, colored; branchpoint 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27.6.1: +4 -4 lines
sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.22.2.9: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:43:50 2005 UTC (19 years, 11 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.22.2.8: preferred, colored; branchpoint 1.22: preferred, colored
Changes since revision 1.22.2.8: +4 -4 lines
Sync with HEAD.

Hi Perry!

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Feb 27 00:27:21 2005 UTC (19 years, 11 months ago) by perry
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, 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, kent-audio2-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +4 -4 lines
nuke trailing whitespace

Revision 1.27.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 12 18:17:46 2005 UTC (20 years ago) by yamt
Branches: yamt-km
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +7 -7 lines
sync with head.

Revision 1.22.2.8: download - view: text, markup, annotated - select for diffs
Fri Feb 4 11:46:29 2005 UTC (20 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.22.2.7: preferred, colored; branchpoint 1.22: preferred, colored
Changes since revision 1.22.2.7: +7 -7 lines
Sync with HEAD.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Feb 4 02:10:43 2005 UTC (20 years ago) by perry
Branches: MAIN
CVS tags: yamt-km-base2
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +7 -7 lines
de-__P

Revision 1.22.2.7: download - view: text, markup, annotated - select for diffs
Tue Nov 2 07:51:55 2004 UTC (20 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.22.2.6: preferred, colored; branchpoint 1.22: preferred, colored
Changes since revision 1.22.2.6: +3 -2 lines
Sync with HEAD.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Thu Oct 28 07:07:40 2004 UTC (20 years, 3 months ago) by yamt
Branches: MAIN
CVS tags: yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -2 lines
move buffer queue related stuffs from buf.h to their own header, bufq.h.

Revision 1.22.2.6: download - view: text, markup, annotated - select for diffs
Tue Oct 19 15:56:57 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.22.2.5: preferred, colored; branchpoint 1.22: preferred, colored
Changes since revision 1.22.2.5: +67 -59 lines
Sync with HEAD

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Sep 25 16:13:42 2004 UTC (20 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +7 -4 lines
Can't actually auto-discover wedges here yet, because ed drives are
not attached with interrupts enabled, meaning we can't do the required
I/O.  Add a comment to this effect.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sat Sep 25 04:47:02 2004 UTC (20 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +64 -59 lines
Add support for wedges to the MCA ESDI disk driver.

Revision 1.22.2.5: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:30:17 2004 UTC (20 years, 5 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.22.2.4: preferred, colored; branchpoint 1.22: preferred, colored
Changes since revision 1.22.2.4: +9 -9 lines
Fix the sync with head I botched.

Revision 1.22.2.4: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:48:19 2004 UTC (20 years, 5 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.22.2.3: preferred, colored; branchpoint 1.22: preferred, colored
Changes since revision 1.22.2.3: +9 -9 lines
Sync with HEAD.

Revision 1.22.2.3: download - view: text, markup, annotated - select for diffs
Fri Sep 3 12:45:27 2004 UTC (20 years, 5 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.22.2.2: preferred, colored; branchpoint 1.22: preferred, colored
Changes since revision 1.22.2.2: +2 -10 lines
Sync with HEAD

Revision 1.24: download - view: text, markup, annotated - select for diffs
Wed Sep 1 20:57:58 2004 UTC (20 years, 5 months ago) by drochner
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -10 lines
use a submatch function for drive attachment, and pass locators
just for sanity

Revision 1.22.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 25 06:58:05 2004 UTC (20 years, 5 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.22.2.1: preferred, colored; branchpoint 1.22: preferred, colored
Changes since revision 1.22.2.1: +17 -17 lines
Sync with HEAD.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Aug 13 04:10:49 2004 UTC (20 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +17 -17 lines
WDCDEBUG -> ATADEBUG.

Revision 1.22.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 15:26:09 2003 UTC (21 years, 7 months ago) by darrenr
Branches: ktrace-lwp
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +9 -9 lines
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.22: download - view: text, markup, annotated - select for diffs
Sun Jun 29 22:30:22 2003 UTC (21 years, 7 months ago) by fvdl
Branches: MAIN
CVS tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Branch point for: ktrace-lwp
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +7 -7 lines
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Jun 28 14:21:37 2003 UTC (21 years, 7 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +9 -9 lines
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.20: download - view: text, markup, annotated - select for diffs
Sat May 10 23:12:45 2003 UTC (21 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -3 lines
Change bounds_check_with_label() to take a pointer to the disk structure,
rather than the label itself.  This paves the way for some future changes.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri May 2 08:45:27 2003 UTC (21 years, 9 months ago) by dsl
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3 lines
Change return type of readdisklabel() to const char *
I hope I've found all the correct places!

Revision 1.7.2.10: download - view: text, markup, annotated - select for diffs
Mon Nov 11 22:10:26 2002 UTC (22 years, 3 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.7.2.9: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.2.9: +3 -3 lines
Catch up to -current

Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Oct 23 09:13:26 2002 UTC (22 years, 4 months ago) by jdolecek
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3 lines
merge kqueue branch into -current

kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals

kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)

based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe

Revision 1.7.2.9: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:42:45 2002 UTC (22 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.7.2.8: preferred, colored
Changes since revision 1.7.2.8: +4 -5 lines
Catch up to -current.

Revision 1.7.4.5: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:40:01 2002 UTC (22 years, 4 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.7.4.4: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.4.4: +23 -9 lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Oct 2 16:34:06 2002 UTC (22 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: kqueue-beforemerge, kqueue-base
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
Add trailing ; to CFATTACH_DECL.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Sep 30 21:36:45 2002 UTC (22 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +4 -5 lines
Use CFATTACH_DECL().

Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Sep 27 20:39:10 2002 UTC (22 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -3 lines
Declare all cfattach structures const.

Revision 1.7.2.8: download - view: text, markup, annotated - select for diffs
Tue Sep 17 21:20:06 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.7.2.7: preferred, colored
Changes since revision 1.7.2.7: +21 -6 lines
Catch up to -current.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Sep 6 13:18:43 2002 UTC (22 years, 5 months ago) by gehenna
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +21 -6 lines
Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.

Revision 1.7.4.4: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:44:55 2002 UTC (22 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.7.4.3: preferred, colored
Changes since revision 1.7.4.3: +4 -4 lines
sync kqueue branch with HEAD

Revision 1.11.2.2: download - view: text, markup, annotated - select for diffs
Thu Aug 29 05:22:36 2002 UTC (22 years, 5 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.11.2.1: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.2.1: +4 -4 lines
catch up with -current.

Revision 1.7.2.7: download - view: text, markup, annotated - select for diffs
Thu Aug 1 02:44:58 2002 UTC (22 years, 6 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.7.2.6: preferred, colored
Changes since revision 1.7.2.6: +4 -4 lines
Catch up to -current.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Jul 21 15:32:18 2002 UTC (22 years, 7 months ago) by hannken
Branches: MAIN
CVS tags: gehenna-devsw-base
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3 lines
Rename bufq_init() to bufq_alloc().
Add bufq_free() to remove a buffer queue.
Avoid MALLOC while holding a spinlock.

From Chuck Silvers.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Jul 20 16:30:18 2002 UTC (22 years, 7 months ago) by hannken
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -4 lines
Convert to new device buffer queue interface.

Revision 1.7.4.3: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:47:12 2002 UTC (22 years, 8 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.7.4.2: preferred, colored
Changes since revision 1.7.4.2: +2 -5 lines
catch up with -current on kqueue branch

Revision 1.11.2.1: download - view: text, markup, annotated - select for diffs
Thu May 16 12:08:18 2002 UTC (22 years, 9 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +21 -6 lines
Add the block/character device switches.

Revision 1.7.2.6: download - view: text, markup, annotated - select for diffs
Wed Apr 17 00:05:57 2002 UTC (22 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.7.2.5: preferred, colored
Changes since revision 1.7.2.5: +2 -5 lines
Catch up to -current.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Mar 29 20:10:46 2002 UTC (22 years, 10 months ago) by jdolecek
Branches: MAIN
CVS tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6
Branch point for: gehenna-devsw
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -5 lines
no need to splbio() while manipulating sc_q - it's accessed from
process context only (edcworker())

Revision 1.7.4.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:55:58 2002 UTC (23 years, 1 month ago) by thorpej
Branches: kqueue
Diff to: previous 1.7.4.1: preferred, colored
Changes since revision 1.7.4.1: +101 -462 lines
Sync kqueue branch with -current.

Revision 1.7.2.5: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:30:40 2002 UTC (23 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.7.2.4: preferred, colored
Changes since revision 1.7.2.4: +99 -463 lines
Catch up to -current.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Nov 23 22:53:10 2001 UTC (23 years, 2 months ago) by jdolecek
Branches: MAIN
CVS tags: newlock-base, newlock, ifpoll-base, eeh-devprop-base, eeh-devprop
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +99 -463 lines
Convert over to use the new MCA DMA facilities, which encapsulate
the MCA DMA controller access. This also means we gain >16MB RAM support.

While here, overhaul the driver to saner state, especially:
* simplify and clean the attach code a lot, and support the 'drive'
  locator
* pass proper dev_t to readdisklabel() - formerly, the passed value was
  completely broken (used incorrect major and wrong minor), but worked
  by accident
* worker thread is now spawned per controller, rather than per-drive;
  i/o cannot be done concurrently by different drivers, only one
  i/o can be pending at any time
* simplify the command queue code, just sleep appropriately when
  !poll case, g/c 'async' code formerly needed, move the bio code
  from ed_mca.c to edc_mca.c:edc_bio()
* put all string arrays used by edc_dump_status_block() within #ifdef EDC_DEBUG,
  and use numbers instead if it's not defined; this cuts object size by 5KB
* other misc cleanups

Revision 1.7.2.4: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:15:00 2001 UTC (23 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.7.2.3: preferred, colored
Changes since revision 1.7.2.3: +4 -1 lines
Catch up to -current.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Nov 13 07:46:25 2001 UTC (23 years, 3 months ago) by lukem
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -1 lines
add RCSID

Revision 1.8.2.3: download - view: text, markup, annotated - select for diffs
Mon Oct 1 12:45:49 2001 UTC (23 years, 4 months ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.8.2.2: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.2.2: +2 -2 lines
Catch up with -current.

Revision 1.8.2.2: download - view: text, markup, annotated - select for diffs
Wed Sep 26 15:28:14 2001 UTC (23 years, 4 months ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.8.2.1: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.2.1: +31 -15 lines
* add a VCLONED vnode flag that indicates a vnode representing a cloned
  device.
* rename REVOKEALL to REVOKEALIAS, and add a REVOKECLONE flag, to pass
  to VOP_REVOKE
* the revoke system call will revoke all aliases, as before, but not the
  clones
* vdevgone is called when detaching a device, so make it use REVOKECLONE
  to get rid of all clones as well
* clean up all uses of VOP_OPEN wrt. locking.
* add a few VOPS to spec_vnops that need to do something when it's a
  clone vnode (access and getattr)
* add a copy of the vnode vattr structure of the original 'master' vnode
  to the specinfo of a cloned vnode. could possibly redirect getattr to
  the 'master' vnode, but this has issues with revoke
* add a vdev_reassignvp function that disassociates a vnode from its
  original device, and reassociates it with the specified dev_t. to be
  used by cloning devices only, in case a new minor is allocated.
* change all direct references in drivers to v_devcookie and v_rdev
  to vdev_privdata(vp) and vdev_rdev(vp). for diagnostic purposes
  when debugging race conditions that still exist wrt. locking and
  revoking vnodes.
* make the locking state of a vnode consistent when passed to
  d_open and d_close (unlocked). locked would be better, but has
  some deadlock issues

Revision 1.7.2.3: download - view: text, markup, annotated - select for diffs
Fri Sep 21 22:35:47 2001 UTC (23 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.7.2.2: preferred, colored
Changes since revision 1.7.2.2: +15 -15 lines
Catch up to -current.

Revision 1.7.4.1: download - view: text, markup, annotated - select for diffs
Thu Sep 13 01:15:43 2001 UTC (23 years, 5 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +15 -15 lines
Update the kqueue branch to HEAD.

Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 7 04:45:27 2001 UTC (23 years, 5 months ago) by thorpej
Branches: thorpej-devvp
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +56 -35 lines
Commit my "devvp" changes to the thorpej-devvp branch.  This
replaces the use of dev_t in most places with a struct vnode *.

This will form the basic infrastructure for real cloning device
support (besides being architecurally cleaner -- it'll be good
to get away from using numbers to represent objects).

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Sep 3 18:13:13 2001 UTC (23 years, 5 months ago) by sommerfeld
Branches: MAIN
CVS tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +15 -15 lines
Don't spinlockinit a simple_lock; simple_lock_init it instead.

Revision 1.7.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 21 20:03:59 2001 UTC (23 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.7.2.1: preferred, colored
Changes since revision 1.7.2.1: +1126 -0 lines
Catch up to -current.

Revision 1.7.2.1
Mon May 14 07:35:33 2001 UTC (23 years, 9 months ago) by nathanw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.7: +0 -1126 lines
file ed_mca.c was added on branch nathanw_sa on 2001-06-21 20:03:59 +0000

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon May 14 07:35:33 2001 UTC (23 years, 9 months ago) by jdolecek
Branches: MAIN
Branch point for: nathanw_sa, kqueue
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
remove //-commented debugging stuff

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri May 4 12:58:34 2001 UTC (23 years, 9 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +99 -103 lines
Implement polled command mode, and use it for writing system dump
and for initial autoconf probes; the latter eliminates need for
deferred configuration (and makes dmesg a bit nicer).

g/c EDF_IODONE flag - protect against interrupt by calling tsleep()
at splbio in worker thread

g/c unneeded stuff, improve some autoconf messages

Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Mon Apr 23 09:42:22 2001 UTC (23 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.2.2.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.2: +58 -113 lines
Sync with HEAD.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Apr 23 06:10:08 2001 UTC (23 years, 10 months ago) by jdolecek
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
Compact autoconf info by printing the IRQ number together
with 'at mca0 slot foo' info.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Apr 22 11:52:18 2001 UTC (23 years, 10 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +5 -1 lines
Introduce machdep mca_disk_[un]busy(), which turn on/off disk LED.
Call as appropriate from the ESDI disk driver

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Apr 22 11:32:49 2001 UTC (23 years, 10 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +42 -101 lines
Fix serious bug in bounce buf handling - the EDF_BOUNCEBUF flag needs
to be cleared always in edmcadone(), otherwise if there is a write
via bounce buffer followed by read directly to buf, the read operation
would return trashed data (the buf data would get overwritten
by contents of bounce buffer in edmcadone()).
Reset b_resid as necessary when the i/o is done, too.

g/c some unneeded stuff, use lockmgr()-style locking in ed_[un]lock(),
better avoid some deadlocks

These changes make the driver quite a bit more stable. It's actually
reliable enough to be possible to newfs the drive and use it for
read/write filesystem now.

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Sat Apr 21 17:48:52 2001 UTC (23 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.2.2.1: preferred, colored
Changes since revision 1.2.2.1: +1185 -0 lines
Sync with HEAD

Revision 1.2.2.1
Thu Apr 19 17:17:29 2001 UTC (23 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
FILE REMOVED
Changes since revision 1.2: +0 -1185 lines
file ed_mca.c was added on branch thorpej_scsipi on 2001-04-21 17:48:52 +0000

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Apr 19 17:17:29 2001 UTC (23 years, 10 months ago) by jdolecek
Branches: MAIN
Branch point for: thorpej_scsipi
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +13 -13 lines
Use "edc" instead of "dasd". As pointed out by Soren, dasd doesn't
mean anything special in IBM-talk. And edc better matches prior art, too.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Apr 19 07:30:24 2001 UTC (23 years, 10 months ago) by jdolecek
Branches: MAIN
Add a driver for IBM ESDI disk controllers. Tested with IBM Integ. ESDI Fixed
Disk & Controller only at the moment.

This driver still needs some touchup (error recovery is not quite
good, MCA DMA controller goo should be moved to driver independant
location), but is working enough to be usable for others. And I
want this under CVS control :)

Thanks to Scott Telford <st@epcc.ed.ac.uk> for providing me docs for
these devices (IBM DASD Storage Interface Specification for MCA rev. 2.2).

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>