The NetBSD Project

CVS log for src/sys/arch/atari/dev/hdfd.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.92: download - view: text, markup, annotated - select for diffs
Fri Jan 6 10:28:28 2023 UTC (3 years, 10 months ago) by tsutsui
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20261102, perseant-exfatfs-base-20250801, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-11-base, netbsd-11-1-RELEASE, netbsd-11-0-RELEASE, netbsd-11-0-RC7, netbsd-11-0-RC6, netbsd-11-0-RC5, netbsd-11-0-RC4, netbsd-11-0-RC3, netbsd-11-0-RC2, netbsd-11-0-RC1, netbsd-11, HEAD
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +16 -16 lines
TAB/spaces/indents cleanup.

Revision 1.91: download - view: text, markup, annotated - select for diffs
Sun Jun 26 18:46:14 2022 UTC (4 years, 4 months ago) by tsutsui
Branches: MAIN
CVS tags: netbsd-10-base, netbsd-10-2-RELEASE, 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
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +7 -7 lines
Use aprint_*(9) for device attach messages.

Revision 1.90: download - view: text, markup, annotated - select for diffs
Sun Jun 26 06:25:09 2022 UTC (4 years, 4 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +14 -14 lines
Make local devsw functions static.

No visible regression on TT030.

Revision 1.89: download - view: text, markup, annotated - select for diffs
Sat Aug 7 16:18:46 2021 UTC (5 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +3 -3 lines
Merge thorpej-cfargs2.

Revision 1.88.8.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 23:43:44 2021 UTC (5 years, 3 months ago) by thorpej
Branches: thorpej-cfargs2
Diff to: previous 1.88: preferred, colored; next MAIN 1.89: preferred, colored
Changes since revision 1.88: +3 -3 lines
Adapt to CFARGS().

Revision 1.88: download - view: text, markup, annotated - select for diffs
Sat Apr 24 23:36:29 2021 UTC (5 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-cfargs2
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +3 -3 lines
Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
  actually needed.
- Don't be explicit about what interface attribute is attaching if
  the device only has one.  (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
  situations, making is visibly easier to see when indirect config is
  in play, and allowing for future change in semantics.  (As of now,
  this is just a wrapper around config_match(), but that is an
  implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance.  This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).

Revision 1.86.8.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:20 2021 UTC (5 years, 7 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86: +5 -6 lines
Sync with HEAD.

Revision 1.87.2.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 21:08:57 2021 UTC (5 years, 7 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.87: preferred, colored; next MAIN 1.88: preferred, colored
Changes since revision 1.87: +3 -3 lines
Give config_found() the same variadic arguments treatment as
config_search().  This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls.  Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.

Revision 1.87: download - view: text, markup, annotated - select for diffs
Sun Jan 3 17:42:10 2021 UTC (5 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-futex-base, thorpej-cfargs-base
Branch point for: thorpej-cfargs
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +5 -6 lines
malloc(9) -> kmem(9)

Revision 1.82.18.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:03:39 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.82.18.1: preferred, colored; branchpoint 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82.18.1: +13 -16 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.86: download - view: text, markup, annotated - select for diffs
Sun Nov 10 21:16:25 2019 UTC (7 years ago) by chs
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-futex
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +3 -6 lines
in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.

Revision 1.85: download - view: text, markup, annotated - select for diffs
Sat Jun 29 16:41:18 2019 UTC (7 years, 4 months ago) by tsutsui
Branches: MAIN
CVS tags: netbsd-9-base, netbsd-9-5-RELEASE, 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
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +12 -12 lines
Make local functions static.

Revision 1.82.18.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:05:58 2019 UTC (7 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +6 -6 lines
Sync with HEAD

Revision 1.84: download - view: text, markup, annotated - select for diffs
Fri Feb 8 08:47:35 2019 UTC (7 years, 9 months ago) by mrg
Branches: MAIN
CVS tags: phil-wifi-20190609, isaki-audio2-base, isaki-audio2
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +4 -4 lines
make *fd*.c's fd_dev_to_type() always a static inline.  some
have it as a const, and have code to copy the defaults to
modify them before using them, but that probably requires a
real test to feel confident in changing.

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

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

Revision 1.83: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:29:24 2018 UTC (8 years, 2 months ago) by riastradh
Branches: MAIN
CVS tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +4 -4 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.75.12.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:35:57 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.75.12.1: preferred, colored; branchpoint 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75.12.1: +13 -12 lines
update from HEAD

Revision 1.78.4.3: download - view: text, markup, annotated - select for diffs
Sun Dec 27 12:09:32 2015 UTC (10 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.78.4.2: preferred, colored; branchpoint 1.78: preferred, colored; next MAIN 1.79: preferred, colored
Changes since revision 1.78.4.2: +3 -3 lines
Sync with HEAD (as of 26th Dec)

Revision 1.82: download - view: text, markup, annotated - select for diffs
Tue Dec 8 20:36:14 2015 UTC (10 years, 11 months ago) by christos
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, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, 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-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, pgoyette-compat
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +3 -3 lines
Replace DIOCGPART -> DIOCGPARTINFO which returns the data needed instead of
pointers.

Revision 1.78.4.2: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:39:57 2015 UTC (11 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.78.4.1: preferred, colored; branchpoint 1.78: preferred, colored
Changes since revision 1.78.4.1: +7 -5 lines
Sync with HEAD

Revision 1.81: download - view: text, markup, annotated - select for diffs
Sun Apr 26 15:15:19 2015 UTC (11 years, 6 months ago) by mlelstv
Branches: MAIN
CVS tags: nick-nhusb-base-20150921, nick-nhusb-base-20150606
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +5 -3 lines
Use C99-style initializers for struct dkdriver.

Revision 1.78.4.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:17:54 2015 UTC (11 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +12 -13 lines
Sync with HEAD

Revision 1.80: download - view: text, markup, annotated - select for diffs
Fri Jan 2 19:42:05 2015 UTC (11 years, 10 months ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20150406
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +5 -5 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.79: download - view: text, markup, annotated - select for diffs
Wed Dec 31 19:52:04 2014 UTC (11 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +9 -10 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.75.12.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:02:48 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +22 -5 lines
Rebase to HEAD as of a few days ago.

Revision 1.76.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:53:52 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76: +4 -2 lines
Rebase.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Fri Jul 25 08:10:32 2014 UTC (12 years, 3 months ago) by dholland
Branches: MAIN
CVS tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-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
Branch point for: nick-nhusb
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +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.77: download - view: text, markup, annotated - select for diffs
Fri Jul 25 08:02:18 2014 UTC (12 years, 3 months ago) by dholland
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +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.75.2.1: download - view: text, markup, annotated - select for diffs
Thu May 22 11:39:34 2014 UTC (12 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75: +20 -5 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.75.16.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:44:59 2014 UTC (12 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75: +20 -5 lines
sync with head

Revision 1.76: download - view: text, markup, annotated - select for diffs
Sun Mar 16 05:20:23 2014 UTC (12 years, 8 months ago) by dholland
Branches: MAIN
CVS tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +20 -5 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.75: download - view: text, markup, annotated - select for diffs
Fri Jul 1 20:34:05 2011 UTC (15 years, 4 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +3 -3 lines
#include <sys/bus.h> instead of <machine/bus.h>.

Revision 1.73.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:19:02 2011 UTC (15 years, 4 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73: +52 -48 lines
Catchup with rmind-uvmplock merge.

Revision 1.71.4.2: download - view: text, markup, annotated - select for diffs
Sun Jun 12 00:23:54 2011 UTC (15 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.71.4.1: preferred, colored; branchpoint 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71.4.1: +52 -48 lines
sync with head

Revision 1.74: download - view: text, markup, annotated - select for diffs
Fri Jun 10 09:27:51 2011 UTC (15 years, 5 months ago) by tsutsui
Branches: MAIN
CVS tags: rmind-uvmplock-nbase, rmind-uvmplock-base
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +52 -48 lines
Split device_t/softc. Compile test only.

Revision 1.61.10.3: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:51:44 2010 UTC (16 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.61.10.2: preferred, colored; branchpoint 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61.10.2: +19 -19 lines
sync with head.

Revision 1.71.4.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:16:39 2010 UTC (16 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +19 -19 lines
sync with head

Revision 1.71.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:39:11 2010 UTC (16 years, 6 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71: +19 -19 lines
Sync with HEAD.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Tue Apr 13 11:31:11 2010 UTC (16 years, 7 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: cherry-xenmp
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +18 -17 lines
Misc KNF.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Tue Apr 13 09:51:07 2010 UTC (16 years, 7 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +3 -4 lines
Include "ioconf.h" to declare struct cfdriver foo_cd.

Revision 1.61.10.2: download - view: text, markup, annotated - select for diffs
Sat Jul 18 14:52:52 2009 UTC (17 years, 4 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.61.10.1: preferred, colored; branchpoint 1.61: preferred, colored
Changes since revision 1.61.10.1: +3 -3 lines
sync with head.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Wed Jul 8 12:23:09 2009 UTC (17 years, 4 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, uebayasi-xip-base, matt-premerge-20091211, jymxensuspend-base
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +3 -3 lines
Merge local <atari/atari/intr.h> into common <machine/intr.h>.

Revision 1.65.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:16:22 2009 UTC (17 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65: +56 -97 lines
Sync with HEAD.

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

Revision 1.61.10.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:10:47 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +93 -167 lines
sync with head.

Revision 1.62.4.2: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:33:47 2009 UTC (17 years, 6 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.62.4.1: preferred, colored; branchpoint 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62.4.1: +56 -97 lines
Sync with HEAD.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Wed Mar 18 16:00:10 2009 UTC (17 years, 8 months ago) by cegger
Branches: MAIN
CVS tags: yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +7 -7 lines
bzero -> memset

Revision 1.69: download - view: text, markup, annotated - select for diffs
Tue Mar 17 10:16:55 2009 UTC (17 years, 8 months ago) by he
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +4 -4 lines
Re-balance parenthesis in a couple of places.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Sat Mar 14 21:04:06 2009 UTC (17 years, 8 months ago) by dsl
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +4 -8 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.67: download - view: text, markup, annotated - select for diffs
Sat Mar 14 15:36:03 2009 UTC (17 years, 8 months ago) by dsl
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +23 -60 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.66: download - view: text, markup, annotated - select for diffs
Sat Mar 14 14:45:56 2009 UTC (17 years, 8 months ago) by dsl
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +29 -29 lines
Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.

Revision 1.62.4.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:16:00 2009 UTC (17 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +27 -37 lines
Sync with HEAD.

Revision 1.61.6.2: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:27:55 2009 UTC (17 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.61.6.1: preferred, colored; branchpoint 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61.6.1: +25 -35 lines
Sync with HEAD.

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

Revision 1.64: download - view: text, markup, annotated - select for diffs
Thu Dec 18 10:58:17 2008 UTC (17 years, 11 months ago) by he
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +4 -5 lines
Correct two typos and remove a now-unused variable to make this
build again.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Tue Dec 16 22:35:22 2008 UTC (17 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +21 -30 lines
replace bitmask_snprintf(9) with snprintb(3)

Revision 1.61.6.1: download - view: text, markup, annotated - select for diffs
Sun Jun 29 09:32:55 2008 UTC (18 years, 4 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +14 -37 lines
Sync with HEAD.

Revision 1.61.12.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:30:12 2008 UTC (18 years, 4 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61: +14 -37 lines
Sync w/ -current. 34 merge conflicts to follow.

Revision 1.61.14.1: download - view: text, markup, annotated - select for diffs
Wed Jun 18 16:32:39 2008 UTC (18 years, 5 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61: +14 -37 lines
Sync with head.

Revision 1.61.8.1: download - view: text, markup, annotated - select for diffs
Tue Jun 17 09:13:55 2008 UTC (18 years, 5 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61: +14 -37 lines
sync with head.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Fri Jun 13 08:50:12 2008 UTC (18 years, 5 months ago) by cegger
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, 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.61: preferred, colored
Changes since revision 1.61: +14 -37 lines
use device_lookup_private to get softc

Revision 1.59.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:04:24 2008 UTC (18 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +11 -10 lines
Sync with HEAD.

Revision 1.45.2.5: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:35:54 2008 UTC (18 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.45.2.4: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.2.4: +11 -10 lines
sync with head

Revision 1.57.6.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:45:31 2008 UTC (18 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.57.6.1: preferred, colored; branchpoint 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.6.1: +11 -10 lines
sync with HEAD

Revision 1.59.8.2: download - view: text, markup, annotated - select for diffs
Tue Jan 8 22:09:35 2008 UTC (18 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.59.8.1: preferred, colored; branchpoint 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59.8.1: +2 -2 lines
Sync with HEAD

Revision 1.61: download - view: text, markup, annotated - select for diffs
Thu Jan 3 16:06:24 2008 UTC (18 years, 10 months ago) by he
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, wrstuden-revivesa, simonb-wapbl, mjf-devfs2
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +4 -4 lines
Fix a cv_timedwait() usage after the vmlocking2 merge, and remove
a now-no-longer-used local variable.

Revision 1.59.8.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:47:28 2008 UTC (18 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +10 -9 lines
Sync with HEAD

Revision 1.60: download - view: text, markup, annotated - select for diffs
Wed Jan 2 11:48:23 2008 UTC (18 years, 10 months ago) by ad
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +10 -9 lines
Merge vmlocking2 to head.

Revision 1.59.4.2: download - view: text, markup, annotated - select for diffs
Mon Dec 31 12:59:54 2007 UTC (18 years, 10 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.59.4.1: preferred, colored; branchpoint 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59.4.1: +3 -3 lines
Catch up with buffer cache changes.

Revision 1.59.4.1: download - view: text, markup, annotated - select for diffs
Mon Dec 31 10:43:11 2007 UTC (18 years, 10 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +9 -8 lines
Make compile with new buffer cache locking scheme.

XXX This should be largely MI, please do not make another clone of disksubr.c.

Revision 1.57.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:15:23 2007 UTC (19 years ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -4 lines
sync with HEAD

Revision 1.45.2.4: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:25:27 2007 UTC (19 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.45.2.3: preferred, colored
Changes since revision 1.45.2.3: +3 -4 lines
sync with head.

Revision 1.57.4.1: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:42:16 2007 UTC (19 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +3 -4 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.59: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:53:47 2007 UTC (19 years, 1 month ago) by garbled
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, jmcneill-base, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: vmlocking2, mjf-devfs, bouyer-xeni386
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +2 -2 lines
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.

Revision 1.55.10.2: download - view: text, markup, annotated - select for diffs
Tue Oct 16 18:23:37 2007 UTC (19 years, 1 month ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.55.10.1: preferred, colored; branchpoint 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55.10.1: +3 -4 lines
Sync with HEAD

Revision 1.57.8.1: download - view: text, markup, annotated - select for diffs
Sun Oct 14 11:47:34 2007 UTC (19 years, 1 month ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +3 -4 lines
sync with head.

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

Revision 1.55.10.1: download - view: text, markup, annotated - select for diffs
Wed Oct 3 19:22:54 2007 UTC (19 years, 1 month ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +9 -13 lines
Sync with HEAD

Revision 1.45.2.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:23:38 2007 UTC (19 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.45.2.2: preferred, colored
Changes since revision 1.45.2.2: +18 -22 lines
sync with head.

Revision 1.55.2.3: download - view: text, markup, annotated - select for diffs
Mon Aug 20 18:16:05 2007 UTC (19 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.55.2.2: preferred, colored; branchpoint 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55.2.2: +3 -4 lines
- Alter disk attach/detach to fix a panic when closing a vnd device.
- Sync with HEAD.

Revision 1.55.2.2: download - view: text, markup, annotated - select for diffs
Sun Aug 19 19:24:07 2007 UTC (19 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.55.2.1: preferred, colored; branchpoint 1.55: preferred, colored
Changes since revision 1.55.2.1: +5 -9 lines
- Back out the biodone() changes.
- Eliminate B_ERROR (from HEAD).

Revision 1.56.4.1: download - view: text, markup, annotated - select for diffs
Wed Aug 15 13:47:10 2007 UTC (19 years, 3 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +5 -9 lines
Sync with HEAD.

Revision 1.56.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 7 18:05:04 2007 UTC (19 years, 3 months ago) by matt
Branches: matt-mips64
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +5 -9 lines
Sync with HEAD.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Sun Jul 29 12:15:36 2007 UTC (19 years, 3 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-armv6, jmcneill-pm
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +5 -9 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.55.2.1: download - view: text, markup, annotated - select for diffs
Sun Jul 15 13:15:42 2007 UTC (19 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +6 -6 lines
Sync with head.

Revision 1.55.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 19:58:22 2007 UTC (19 years, 4 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55: +6 -6 lines
Sync with head.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Mon Jul 9 20:52:07 2007 UTC (19 years, 4 months ago) by ad
Branches: MAIN
CVS tags: nick-csl-alignment-base, mjf-ufs-trans-base
Branch point for: nick-csl-alignment, matt-mips64
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +6 -6 lines
Merge some of the less invasive changes from the vmlocking branch:

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

Revision 1.52.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:47:20 2007 UTC (19 years, 8 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +11 -11 lines
Sync with HEAD.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Tue Mar 6 14:45:31 2007 UTC (19 years, 8 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, ppcoea-renovation, mjf-ufs-trans
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +6 -6 lines
Treat bus_space_handle_t as opaque, and use bus_space_vaddr(9) to
get device address.

XXX: This driver should be rewritten to use bus_space(9) more properly.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Tue Mar 6 14:10:07 2007 UTC (19 years, 8 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +3 -3 lines
Add (char *) cast to appease -Wpointer-arith.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Sun Mar 4 05:59:40 2007 UTC (19 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +8 -8 lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.45.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:06:08 2007 UTC (19 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.45.2.1: preferred, colored
Changes since revision 1.45.2.1: +4 -5 lines
sync with head.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Thu Feb 15 18:33:26 2007 UTC (19 years, 9 months ago) by reinoud
Branches: MAIN
CVS tags: ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +4 -4 lines
Rename the B_XXX flag to B_DEVPRIVATE flag since it was never used for
debugging and its main use is in device drivers. Its used there to signal
that the flagged buffer has a special meaning or should be handled
differently.

OK'd by Bill Sudenmund on tech-kern.

Revision 1.50.8.1: download - view: text, markup, annotated - select for diffs
Thu Feb 1 08:47:59 2007 UTC (19 years, 9 months ago) by ad
Branches: newlock2
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +2 -3 lines
Sync with head.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Wed Jan 24 13:08:13 2007 UTC (19 years, 9 months ago) by hubertf
Branches: MAIN
CVS tags: post-newlock2-merge, newlock2-nbase, newlock2-base
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -3 lines
Remove duplicate #includes, patch contributed in private mail
by Slava Semushin <slava.semushin@gmail.com>.

To verify that no nasty side effects of duplicate includes (or their
removal) have an effect here, I've compiled an i386/ALL kernel with
and without the patch, and the only difference in the resulting .o
files was in shifted line numbers in some assert() calls.
The comparison of the .o files was based on the output of "objdump -D".

Thanks to martin@ for the input on testing.

Revision 1.48.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:38:21 2006 UTC (20 years, 2 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +9 -9 lines
sync with head

Revision 1.45.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:49:56 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +26 -26 lines
sync with head.

Revision 1.49.6.1: download - view: text, markup, annotated - select for diffs
Wed May 24 15:47:52 2006 UTC (20 years, 5 months ago) by tron
Branches: peter-altq
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +3 -3 lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.49.2.1: download - view: text, markup, annotated - select for diffs
Wed May 24 10:56:39 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +3 -3 lines
sync with head.

Revision 1.48.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:37:20 2006 UTC (20 years, 6 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +9 -9 lines
Sync with head.

Revision 1.49.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 19 02:32:15 2006 UTC (20 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +3 -3 lines
sync with head - hopefully this will work

Revision 1.50: download - view: text, markup, annotated - select for diffs
Fri Apr 14 13:09:05 2006 UTC (20 years, 7 months ago) by blymn
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, rpaulo-netinet-merge-pcb-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, 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: newlock2
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +3 -3 lines
Make i/o statistics collection more generic, include tape drives and
nfs mounts in the set of devices that statistics will be reported on.

Revision 1.48.2.1: download - view: text, markup, annotated - select for diffs
Wed Mar 1 09:27:45 2006 UTC (20 years, 8 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +8 -8 lines
sync with head.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Thu Feb 23 05:37:46 2006 UTC (20 years, 8 months ago) by thorpej
Branches: 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
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +8 -8 lines
Use device_parent().

Revision 1.48: download - view: text, markup, annotated - select for diffs
Sat Dec 24 20:06:58 2005 UTC (20 years, 10 months ago) by perry
Branches: MAIN
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +4 -4 lines
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:16:54 2005 UTC (20 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +9 -9 lines
merge ktrace-lwp.

Revision 1.39.2.6: download - view: text, markup, annotated - select for diffs
Thu Nov 10 13:55:32 2005 UTC (21 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.39.2.5: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39.2.5: +15 -14 lines
Sync with HEAD. Here we go again...

Revision 1.46: download - view: text, markup, annotated - select for diffs
Sat Oct 15 17:29:10 2005 UTC (21 years, 1 month 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.45: preferred, colored
Changes since revision 1.45: +10 -10 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.45: download - view: text, markup, annotated - select for diffs
Sat Jun 4 14:42:36 2005 UTC (21 years, 5 months ago) by he
Branches: MAIN
Branch point for: yamt-lazymbuf
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +7 -6 lines
Adapt to compiling with -Wshadow and -Wcast-qual, by adding const
qualification in places and renaming a few local variables.
Also adds a couple uses of __UNVOLATILE() to allow passing volatile
variables to functions wanting e.g. caddr_t.

Revision 1.39.2.5: download - view: text, markup, annotated - select for diffs
Mon Jan 17 08:25:43 2005 UTC (21 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.39.2.4: preferred, colored
Changes since revision 1.39.2.4: +9 -9 lines
Adapt to branch.

Revision 1.39.2.4: download - view: text, markup, annotated - select for diffs
Tue Nov 2 07:50:22 2004 UTC (22 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.39.2.3: preferred, colored
Changes since revision 1.39.2.3: +3 -2 lines
Sync with HEAD.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Thu Oct 28 07:07:36 2004 UTC (22 years ago) by yamt
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, 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, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +3 -2 lines
move buffer queue related stuffs from buf.h to their own header, bufq.h.

Revision 1.39.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:13:58 2004 UTC (22 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.39.2.2: preferred, colored
Changes since revision 1.39.2.2: +2 -2 lines
Fix the sync with head I botched.

Revision 1.39.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:32:56 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.39.2.1: preferred, colored
Changes since revision 1.39.2.1: +0 -0 lines
Sync with HEAD.

Revision 1.39.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:33:11 2004 UTC (22 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +39 -4 lines
Sync with HEAD

Revision 1.43: download - view: text, markup, annotated - select for diffs
Thu Mar 25 10:17:19 2004 UTC (22 years, 7 months ago) by leo
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
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -3 lines
Licence cleanup (suggested by wiz).

Revision 1.42: download - view: text, markup, annotated - select for diffs
Mon Sep 29 01:20:41 2003 UTC (23 years, 1 month ago) by cl
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -3 lines
Cast through (void *) to appease gcc3.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Thu Aug 7 16:26:59 2003 UTC (23 years, 3 months ago) by agc
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +36 -4 lines
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Tue Jul 15 01:19:50 2003 UTC (23 years, 4 months ago) by lukem
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +4 -1 lines
__KERNEL_RCSID()

Revision 1.39: download - view: text, markup, annotated - select for diffs
Wed Jun 18 08:58:37 2003 UTC (23 years, 5 months ago) by drochner
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +1 -2 lines
don't #include <sys/dkstat.h> where it is (appearently) unused

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sat May 3 18:10:46 2003 UTC (23 years, 6 months ago) by wiz
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +5 -5 lines
DMA, not dma nor Dma.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Sun Feb 2 15:08:37 2003 UTC (23 years, 9 months ago) by thomas
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +4 -4 lines
Fix printf format for typ daddr_t.

Revision 1.28.8.7: download - view: text, markup, annotated - select for diffs
Fri Jan 3 16:41:13 2003 UTC (23 years, 10 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.28.8.6: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.8.6: +2 -2 lines
Sync with HEAD.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Jan 1 00:48:33 2003 UTC (23 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -2 lines
Use aprint_normal() for cfprint routines.

Revision 1.28.8.6: download - view: text, markup, annotated - select for diffs
Mon Nov 11 21:57:17 2002 UTC (24 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.28.8.5: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.8.5: +6 -4 lines
Catch up to -current

Revision 1.35: download - view: text, markup, annotated - select for diffs
Fri Nov 1 11:31:52 2002 UTC (24 years ago) by mrg
Branches: MAIN
CVS tags: gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +5 -3 lines
implement separate read/write disk statistics:
	- disk_unbusy() gets a new parameter to tell the IO direction.
	- struct disk_sysctl gets 4 new members for read/write bytes/transfers.
	when processing hw.diskstats, add the read&write bytes/transfers for
	the old combined stats to attempt to keep backwards compatibility.

unfortunately, due to multiple bugs, this will cause new kernels and old
vmstat/iostat/systat programs to fail.  however, the next time this is
change it will not fail again.

this is just the kernel portion.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Oct 23 09:10:51 2002 UTC (24 years ago) by jdolecek
Branches: MAIN
CVS tags: kqueue-aftermerge
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -2 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.28.8.5: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:35:53 2002 UTC (24 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.28.8.4: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.8.4: +5 -7 lines
Catch up to -current.

Revision 1.28.2.3: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:32:01 2002 UTC (24 years, 1 month ago) by jdolecek
Branches: kqueue
Diff to: previous 1.28.2.2: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.2.2: +15 -31 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.33: download - view: text, markup, annotated - select for diffs
Wed Oct 2 05:04:25 2002 UTC (24 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: kqueue-beforemerge, kqueue-base
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +5 -7 lines
Use CFATTACH_DECL().

Revision 1.32: download - view: text, markup, annotated - select for diffs
Fri Sep 27 20:30:55 2002 UTC (24 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -3 lines
Declare all cfattach structures const.

Revision 1.28.8.4: download - view: text, markup, annotated - select for diffs
Tue Sep 17 21:13:44 2002 UTC (24 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.28.8.3: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.8.3: +11 -25 lines
Catch up to -current.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Fri Sep 6 13:18:43 2002 UTC (24 years, 2 months ago) by gehenna
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +11 -25 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.28.2.2: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:33:25 2002 UTC (24 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.28.2.1: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.2.1: +9 -9 lines
sync kqueue branch with HEAD

Revision 1.29.8.2: download - view: text, markup, annotated - select for diffs
Fri Aug 30 00:19:23 2002 UTC (24 years, 2 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.29.8.1: preferred, colored; branchpoint 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29.8.1: +9 -9 lines
catch up with -current.

Revision 1.28.8.3: download - view: text, markup, annotated - select for diffs
Tue Aug 13 02:18:01 2002 UTC (24 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.28.8.2: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.8.2: +9 -9 lines
Catch up to -current.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Aug 10 21:49:15 2002 UTC (24 years, 3 months ago) by hannken
Branches: MAIN
CVS tags: gehenna-devsw-base
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +9 -9 lines
Convert to new device buffer queue interface.

Approved by: Leo Weppelman <leo@netbsd.org>

Revision 1.29.8.1: download - view: text, markup, annotated - select for diffs
Fri May 17 15:41:02 2002 UTC (24 years, 6 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +11 -25 lines
Add device switch.

Revision 1.28.2.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:40:00 2002 UTC (24 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2 lines
Sync kqueue branch with -current.

Revision 1.28.8.2: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:23:37 2002 UTC (24 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.28.8.1: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.8.1: +1643 -0 lines
Catch up to -current.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Nov 21 17:33:27 2001 UTC (25 years ago) by wiz
Branches: MAIN
CVS tags: newlock-base, newlock, 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, ifpoll-base, eeh-devprop-base, eeh-devprop
Branch point for: gehenna-devsw
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2 lines
Explicitly write explicitly without a second e.

Revision 1.28.4.1: download - view: text, markup, annotated - select for diffs
Wed Oct 10 11:56:00 2001 UTC (25 years, 1 month ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +34 -26 lines
Convert all remaining devices.

Revision 1.28.8.1
Sun Jul 8 18:06:43 2001 UTC (25 years, 4 months ago) by nathanw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.28: +0 -1643 lines
file hdfd.c was added on branch nathanw_sa on 2002-01-08 00:23:37 +0000

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Jul 8 18:06:43 2001 UTC (25 years, 4 months ago) by wiz
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, nathanw_sa, kqueue
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -3 lines
Correct various misspellings of 'transfer' and inflected forms.

Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 20:05:25 2000 UTC (26 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +103 -69 lines
Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

Revision 1.24.4.1: download - view: text, markup, annotated - select for diffs
Wed Sep 6 09:33:07 2000 UTC (26 years, 2 months ago) by leo
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +13 -2 lines
Apply patch (requested by leo, approved by thorpej).

  Fix formatting floppies on the Hades. This fix contains a bugfix
  from nathanw introduced in revision 1.26 and all of the label caching
  code from revision 1.27. The latter is needed to avoid a seek to track
  zero after each track has been formatted.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Tue Aug 29 20:00:16 2000 UTC (26 years, 2 months ago) by leo
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +9 -2 lines
Now that formatting works (Thanks Nathan!), it shows that spec_read() is
issueing a 'DIOCGPART' at every read. Avoid re-reading the label at
every format-verify (or read/write on the block-device) by fetching the label
at open-time and caching it until we close.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu Aug 24 20:04:29 2000 UTC (26 years, 2 months ago) by nathanw
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +27 -19 lines
In fdioctl(), allocate fd_formb dynamically when needed, rather than on
the stack, and remove the no-longer-necessary PHOLD()/PRELE() calls
in fdformat().

(This eliminates 1/3 of the instances of PHOLD()/PRELE() in the kernel code.)

XXX We still have too many mostly-redundant floppy drivers.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Jun 29 08:28:25 2000 UTC (26 years, 4 months ago) by mrg
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +1 -2 lines
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>

Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue May 16 05:45:46 2000 UTC (26 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-5-base, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +1 -4 lines
Nuke dk_establish() from orbit except from those ports which still use
it to determine the boot device: mvme68k, pc532, macppc, ofppc.  Those
platforms should be changed to use device_register().  In the mean time,
those ports defined __BROKEN_DK_ESTABLISH.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Tue May 9 10:29:01 2000 UTC (26 years, 6 months ago) by leo
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -1 lines
Add some {u}vm includes for the sake of PHOLD().

Revision 1.22: download - view: text, markup, annotated - select for diffs
Fri Apr 7 16:58:55 2000 UTC (26 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +10 -8 lines
Use separate callouts for motor-on and motor-off.  Fixes a condition
where the floppy driver would wedge because a motor-on timeout would
be cancelled by another I/O operation cancelling a motor-off timeout.

From enami tsugutomo <enami@sm.sony.co.jp>.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Mar 29 14:19:22 2000 UTC (26 years, 7 months ago) by leo
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +7 -6 lines
Nuke a bunch of cf_unit abuses.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Mar 23 06:36:04 2000 UTC (26 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +29 -16 lines
New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
  resource allocation.
- Insertion and removal of callouts is constant time, important as
  this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Feb 7 20:16:50 2000 UTC (26 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: chs-ubc2-newbase
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -1 lines
Fix a bug in disksort_*() which caused non-optimal ordering when multiple
active partitions were on a single spindle.  Add a b_rawblkno member to
struct buf which contains the non-partition-relative block number to sort
by.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Jan 21 23:29:01 2000 UTC (26 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +22 -22 lines
Update for sys/buf.h/disksort_*() changes.

Revision 1.15.6.2: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:31:49 1999 UTC (26 years, 10 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.15.6.1: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.6.1: +9 -6 lines
Pull up to last week's -current.

Revision 1.15.6.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 23:15:56 1999 UTC (26 years, 11 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +4 -3 lines
Initial commit of recent changes to make DEV_BSIZE go away.

Runs on i386, needs work on other arch's. Main kernel routines should be
fine, but a number of the stand programs need help.

cd, fd, ccd, wd, and sd have been updated. sd has been tested with non-512
byte block devices. vnd, raidframe, and lfs need work.

Non 2**n block support is automatic for LKM's and conditional for kernels
on "options NON_PO2_BLOCKS".

Revision 1.13.4.2: download - view: text, markup, annotated - select for diffs
Thu Dec 16 22:22:05 1999 UTC (26 years, 11 months ago) by he
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003, netbsd-1-4-PATCH002
Diff to: previous 1.13.4.1: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.4.1: +2 -2 lines
Pull up revision 1.15 (requested by leo):
  Change the way that bits are cleared in the InterruptPending
  register of the 68901, avoiding a read-modify-write cycle.
  Solves a "hanging keyboard" problem.

Revision 1.13.4.1: download - view: text, markup, annotated - select for diffs
Sat Dec 4 19:53:12 1999 UTC (26 years, 11 months ago) by he
Branches: netbsd-1-4
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +92 -27 lines
Pull up revision 1.14 (requested by leo):
  If the floppy has no label, fake one.

Revision 1.15.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 15 00:37:29 1999 UTC (27 years ago) by fvdl
Branches: fvdl-softdep
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +9 -6 lines
Sync with -current

Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Oct 22 08:50:59 1999 UTC (27 years, 1 month ago) by leo
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, fvdl-softdep-base, comdex-fall-1999-base, comdex-fall-1999
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -3 lines
Limit the io-region mapped by this driver to the part actually used.
Otherwise, it conflicts with the wd-driver.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Oct 21 15:03:28 1999 UTC (27 years, 1 month ago) by leo
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +6 -4 lines
implement DIOCSDINFO.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Aug 6 08:27:31 1999 UTC (27 years, 3 months ago) by leo
Branches: MAIN
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
Change the way that bit's are cleared in the InterruptPending register of
the 68901. Do this now by _assigning_ ~<bit_to_clear> instead of the
previously used 'andb ~<bit_to_clear>'. The latter caused a rwm-cycle that
caused a race condition to happen when an interrupt arrived between the
Read and Modify-Write.
Anyway, this solved my hanging keyboard problem.

Revision 1.13.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 21 00:48:36 1999 UTC (27 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +92 -27 lines
Sync w/ -current.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue May 4 14:29:44 1999 UTC (27 years, 6 months ago) by leo
Branches: MAIN
CVS tags: chs-ubc2-base
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +92 -27 lines
If the floppy has no label, fake one.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Nov 20 12:58:13 1998 UTC (28 years ago) by leo
Branches: MAIN
CVS tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH001, kenh-if-detach-base, kenh-if-detach, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame
Branch point for: netbsd-1-4, chs-ubc2
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +14 -0 lines
If the disklabel on the floppy says that there are more tracks and sectors
than the hardware is capable off, believe the hardware...

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Oct 6 09:24:05 1998 UTC (28 years, 1 month ago) by leo
Branches: MAIN
CVS tags: chs-ubc-base, chs-ubc
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
Some DEBUG fixups

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Jul 4 22:18:21 1998 UTC (28 years, 4 months ago) by jonathan
Branches: MAIN
CVS tags: eeh-paddr_t-base, eeh-paddr_t
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -1 lines
defopt DDB.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Apr 10 08:20:03 1998 UTC (28 years, 7 months ago) by leo
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +11 -4 lines
Major overhaul of the atari bus_space implementation.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Jan 12 18:04:05 1998 UTC (28 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -8 lines
Update for changes to config.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Jul 17 01:54:53 1997 UTC (29 years, 4 months ago) by jtk
Branches: MAIN
CVS tags: thorpej-signal-base, thorpej-signal, netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, marc-pcmcia-bp, marc-pcmcia-base, marc-pcmcia
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +6 -3 lines
use locator defines in "locators.h" to index cf_loc[]

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Apr 25 19:18:04 1997 UTC (29 years, 6 months ago) by leo
Branches: MAIN
CVS tags: bouyer-scsipi
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +7 -1 lines
Allow formatting of 360Kb floppies.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Jan 1 21:12:56 1997 UTC (29 years, 10 months ago) by leo
Branches: MAIN
CVS tags: thorpej-setroot, mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +10 -11 lines
The Hades floppy driver now uses intr_establish(). Also the interrupt
accounting is fixed (ie. counted as the right interrupt).

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Dec 20 12:49:37 1996 UTC (29 years, 11 months ago) by leo
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +13 -13 lines
Get rid of BROKEN_INDIRECT_CONFIG

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Dec 18 12:35:34 1996 UTC (29 years, 11 months ago) by leo
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -4 lines
Tweak the clockframe structure a bit so we are able to save a few cycles
at interrupt time. (From Gordon Ross).

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Dec 14 13:47:12 1996 UTC (29 years, 11 months ago) by leo
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +287 -41 lines
Merge the formatting code from the i386-port.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Nov 13 06:48:24 1996 UTC (30 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +21 -12 lines
Use bitmask_snprintf().

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Nov 9 22:27:25 1996 UTC (30 years ago) by leo
Branches: MAIN
Hades floppy driver.

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>