The NetBSD Project

CVS log for src/sys/dev/bio.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.16.8.1: download - view: text, markup, annotated - select for diffs
Sun Jan 3 16:34:57 2021 UTC (5 years, 10 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +5 -5 lines
Sync w/ HEAD.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Dec 19 01:12:21 2020 UTC (5 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, 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, 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, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +5 -5 lines
malloc(9) -> kmem(9)

Revision 1.13.18.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:18 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.13.18.1: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.18.1: +3 -5 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Nov 10 21:16:34 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.15: preferred, colored
Changes since revision 1.15: +3 -5 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.13.18.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:04 2019 UTC (7 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +9 -41 lines
Sync with HEAD

Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Mar 1 11:06:56 2019 UTC (7 years, 8 months ago) by pgoyette
Branches: MAIN
CVS tags: phil-wifi-20190609, 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, isaki-audio2-base, isaki-audio2
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -3 lines
Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as briefly
discussed on irc.

NFCI intended.

Ride the earlier kernel bump - it;s getting crowded.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Jan 27 02:08:41 2019 UTC (7 years, 9 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +9 -41 lines
Merge the [pgoyette-compat] branch

Revision 1.13.16.9: download - view: text, markup, annotated - select for diffs
Tue Jan 22 07:42:40 2019 UTC (7 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.13.16.8: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.16.8: +5 -11 lines
Convert the MODULE_{,VOID_}HOOK_CALL macros to do everything in-line
rather than defining an intermediate hook##call function.  Almost
all of the hooks are called only once, and although we lose the
ability of doing things like

	if (MODULE_HOOK_CALL(...) == 0) ...

we simplify things quite a bit.  With this change, we no longer need
to have both declaration and definition macros, and the definition
no longer needs to have both prototype argument list and a "real"
argument list.

FWIW, the above if now needs to written as

	int ret;

	MODULE_HOOK_CALL(..., ret);
	if (ret == 0) ...

with appropriate use of braces {}.

Revision 1.13.16.8: download - view: text, markup, annotated - select for diffs
Fri Jan 18 00:01:01 2019 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.13.16.7: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.16.7: +4 -4 lines
Don't restrict hooks to having only int or void types.  Pass the hook's
type to the various macros, as needed.

Allows us to reduce diffs to original in at least one or two places (we
no longer have to provide an additional parameter to the hook routine
for returning a non-int return value).

Revision 1.13.16.7: download - view: text, markup, annotated - select for diffs
Mon Jan 14 13:34:27 2019 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.13.16.6: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.16.6: +4 -4 lines
Create a variant of the HOOK macros that handles hook routines of
type void, and use them where appropriate.

Revision 1.13.16.6: download - view: text, markup, annotated - select for diffs
Sun Jan 13 10:49:50 2019 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.13.16.5: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.16.5: +5 -5 lines
Remove the HOOK2 versions of the MODULE_HOOK macros.  There were
only a few uses, and using them led to some lack of clarity in the
code.  Instead, we now use two separate hooks, with names that
make it clear(er) what we're doing.

This also positions us to start unraveling some of the rtsock_50
mess, which will need (at least) five hooks.

Revision 1.13.16.5: download - view: text, markup, annotated - select for diffs
Sat Sep 29 21:36:14 2018 UTC (8 years, 1 month ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.13.16.4: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.16.4: +3 -4 lines
In MODULE_HOOK_CALL_DECL we don't need to provide the actual argument
list for calling the hook function, nor do we need to provide the
default value (for when the hook has not been set).

Revision 1.13.16.4: download - view: text, markup, annotated - select for diffs
Tue Sep 18 23:03:54 2018 UTC (8 years, 1 month ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.13.16.3: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.16.3: +4 -4 lines
The COMPAT_HOOK macros were renamed to MODULE_HOOK, adjust all callers

Revision 1.13.16.3: download - view: text, markup, annotated - select for diffs
Tue Sep 18 01:15:57 2018 UTC (8 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.13.16.2: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.16.2: +5 -2 lines
Split the COMPAT_CALL_HOOK to separate the declaration from the
implementation.  Some hooks are called from multiple source files,
and the old method resulted in duplicate implementations.

Implement MP-safe hooks for the usb_subr_30 code.  Pass the helper
functions as arguments to the compat code so it does not have to
determine if the kernel contains usb code.

Revision 1.13.16.2: download - view: text, markup, annotated - select for diffs
Mon Sep 17 11:04:30 2018 UTC (8 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.13.16.1: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.16.1: +8 -3 lines
Adapt (most of) the indirect function pointers to the new MP-safe
mechanism.  Still remaining are the compat_netbsd32 stuff, and
some usb subroutines.

Revision 1.13.16.1: download - view: text, markup, annotated - select for diffs
Wed Mar 28 04:18:24 2018 UTC (8 years, 7 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +8 -41 lines
Initial pass at a compat_30 module.

Still needs some work for dev/vnd and various dev/usb/*

Revision 1.9.22.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:58 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.9.22.1: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.22.1: +64 -2 lines
update from HEAD

Revision 1.11.4.2: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:05:56 2015 UTC (11 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.11.4.1: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.4.1: +5 -5 lines
Sync with HEAD

Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Aug 20 14:40:17 2015 UTC (11 years, 2 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-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, 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, nick-nhusb-base-20150921, 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.12: preferred, colored
Changes since revision 1.12: +4 -4 lines
include "ioconf.h" to get the 'void <driver>attach(int count);' prototype.

Revision 1.11.4.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:08 2015 UTC (11 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +64 -2 lines
Sync with HEAD

Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Mar 12 15:33:10 2015 UTC (11 years, 8 months ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20150606, nick-nhusb-base-20150406
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +64 -2 lines
Dedup the conversion of bioc_disk and bioc_vol to envsys_data_t

Revision 1.9.22.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:35 2014 UTC (12 years, 2 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +14 -4 lines
Rebase to HEAD as of a few days ago.

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

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Jul 25 08:10:35 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.10: preferred, colored
Changes since revision 1.10: +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.9.12.1: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:19 2014 UTC (12 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +13 -4 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.9.26.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:35 2014 UTC (12 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +13 -4 lines
sync with head

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Mar 16 05:20:26 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.9: preferred, colored
Changes since revision 1.9: +13 -4 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.8.4.1: download - view: text, markup, annotated - select for diffs
Sat May 16 10:41:18 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +6 -6 lines
sync with head

Revision 1.8.18.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:19:05 2009 UTC (17 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +6 -6 lines
Sync with HEAD.

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

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu May 7 12:15:33 2009 UTC (17 years, 6 months ago) by cegger
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, 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, 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-premerge-20091211, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, khorben-n900, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, 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, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +6 -6 lines
struct device * -> device_t, no functional changes intended.

Revision 1.1.4.2.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 4 08:46:44 2008 UTC (18 years, 2 months ago) by skrll
Branches: wrstuden-fixsa
Diff to: previous 1.1.4.2: preferred, colored; next MAIN 1.1.4.3: preferred, colored
Changes since revision 1.1.4.2: +82 -43 lines
Sync with netbsd-4.

Revision 1.1.4.3: download - view: text, markup, annotated - select for diffs
Fri Aug 29 21:24:19 2008 UTC (18 years, 2 months ago) by bouyer
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base
Diff to: previous 1.1.4.2: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.4.2: +82 -43 lines
Apply patch, requested by christos in tickets #1175:
	sys/dev/bio.c				patch
	sys/dev/biovar.h			patch
	sys/dev/pci/arcmsr.c			patch
	sys/dev/pci/arcmsrvar.h			patch
	sbin/bioctl/Makefile			patch
	sbin/bioctl/bioctl.8			patch
	sbin/bioctl/bioctl.c			patch
	sbin/bioctl/dehumanize_number.c		patch
	sbin/bioctl/strtonum.c			patch
	sbin/bioctl/strtonum.h			patch

Port bioctl(8) and arcmsr(4) from current:
bioctl(8): Rewritten to handle new features like creating/removing
	hot-spare, pass-through disks and RAID volumes, start/stop
	consistency checks in volumes and others.
arcmsr(4): Added support to create/remove hot-spare, pass-through
	disks and RAID volumes, start/stop consistency checks
	in volumes as well as showing information about physical
	disks (even if they are marked as hot-spare, pass-through
	or unused).

Revision 1.6.6.3: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:11 2008 UTC (18 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.6.6.2: preferred, colored; branchpoint 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6.6.2: +3 -3 lines
Sync with HEAD.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Apr 9 05:47:19 2008 UTC (18 years, 7 months ago) by cegger
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, 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, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp, jym-xensuspend
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3 lines
use aprint_*_dev and device_xname

Revision 1.6.6.2: download - view: text, markup, annotated - select for diffs
Sat Apr 5 23:33:20 2008 UTC (18 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.6.6.1: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.6.1: +7 -2 lines
- add "file-system DEVFS" and "pseudo-device devfsctl" to conf/std seeing
  as these are always needed.

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

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

- add a DEV_AUDIO type for devices.

Revision 1.6.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:36 2008 UTC (18 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3 lines
Sync with HEAD.

Revision 1.6.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:15:11 2008 UTC (18 years, 7 months ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +3 -3 lines
sync with head.

Revision 1.1.16.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:35 2008 UTC (18 years, 7 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.1.16.2: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.16.2: +3 -3 lines
sync with HEAD

Revision 1.1.18.6: download - view: text, markup, annotated - select for diffs
Mon Mar 17 09:14:37 2008 UTC (18 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.1.18.5: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.18.5: +3 -3 lines
sync with head.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Mar 3 09:48:28 2008 UTC (18 years, 8 months ago) by xtraeme
Branches: MAIN
CVS tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3 lines
Set D_OTHER | D_MPSAFE to d_flag for the cdevsw methods.

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:05:31 2008 UTC (18 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.1: +70 -26 lines
Sync with HEAD.

Revision 1.1.18.5: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:42:22 2008 UTC (18 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.1.18.4: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.18.4: +70 -26 lines
sync with head

Revision 1.1.16.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:52:10 2008 UTC (18 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.1.16.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.16.1: +85 -25 lines
sync with HEAD

Revision 1.4.4.1: download - view: text, markup, annotated - select for diffs
Tue Jan 8 22:10:53 2008 UTC (18 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +70 -26 lines
Sync with HEAD

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Jan 3 02:30:08 2008 UTC (18 years, 10 months ago) by christos
Branches: MAIN
CVS tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-base, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Branch point for: mjf-devfs2, keiichi-mipv6
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +40 -45 lines
- remove casts
- sprinkle static
- move decls inside ifdef

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Jan 2 23:45:03 2008 UTC (18 years, 10 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +54 -5 lines
Improve the bio(4) API for incoming changes to arcmsr(4) (and perhaps
other drivers in the future):

- Added BIOC_SVCHECKING to the BIOCVOL ioctl, to know if a volume is
  running a consistency check.
- Added three more volume levels for the BIOCVOL ioctl.
- Added BIOC_SDPASSTHRU to the BIOCDISK ioctl, to know if a disk is
  in pass-through mode.
- Added BIOCDISK_NOVOL; it's used with the same reason than BIOCDISK,
  but it's used only to get information about the physical disks connected
  in a controller (regardless if they are in a volume set or not).
- Added BIOC_SSDELHOTSPARE, BIOC_SSPASTHRU, BIOC_SSDELPASSTHRU,
  BIOC_SSCHECKSTART_VOL and BIOC_SSCHECKSTOPVOL; to remove a hot-spare,
  add and remove a pass-through disk and to start/stop a consistency
  check in a volume.
- Added the BIOC_VOLOPS ioctl; to create/remove a volume set.
- Removed the BIOCCREATERAID ioctl, it was too limited for my needs.
- Added compatibility ioctls for BIOCDISK and BIOCVOL, enabled via COMPAT_30.

Revision 1.1.14.3: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:37:40 2007 UTC (18 years, 11 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.1.14.2: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.14.2: +3 -3 lines
Sync with HEAD.

Revision 1.2.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:19:17 2007 UTC (18 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +19 -3 lines
Sync with HEAD.

Revision 1.3.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 17:57:15 2007 UTC (18 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +3 -3 lines
Sync with head.

Revision 1.1.18.4: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:29:15 2007 UTC (18 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.1.18.3: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.18.3: +19 -3 lines
sync with head

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Dec 5 07:06:50 2007 UTC (18 years, 11 months ago) by ad
Branches: MAIN
CVS tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3 lines
Match the docs: MUTEX_DRIVER/SPIN are now only for porting code written
for Solaris.

Revision 1.1.14.2: download - view: text, markup, annotated - select for diffs
Wed Nov 21 21:54:01 2007 UTC (18 years, 11 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.1.14.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.14.1: +19 -3 lines
Sync with HEAD.

Revision 1.1.24.2: download - view: text, markup, annotated - select for diffs
Wed Nov 21 21:19:27 2007 UTC (18 years, 11 months ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.1.24.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.24.1: +17 -1 lines
Sync with HEAD

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Nov 19 16:01:09 2007 UTC (19 years ago) by xtraeme
Branches: MAIN
CVS tags: vmlocking2-base1, vmlocking-nbase, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: vmlocking2
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +19 -3 lines
Make sure the mutex is initialized before using it, use the patch
provided by Martin Husemann on:
http://mail-index.netbsd.org/tech-kern/2007/11/16/0006.html

This fixes the uninitialized lock when calling bio_register() on mfi(4)
and other drivers, caught by LOCKDEBUG.

Ok'ed by Andrew Doran <ad@netbsd.org>

Revision 1.1.18.3: download - view: text, markup, annotated - select for diffs
Thu Nov 15 11:44:00 2007 UTC (19 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.1.18.2: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.18.2: +26 -26 lines
sync with head.

Revision 1.1.24.1: download - view: text, markup, annotated - select for diffs
Tue Nov 13 16:00:49 2007 UTC (19 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +26 -26 lines
Sync with HEAD

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

Revision 1.1.14.1: download - view: text, markup, annotated - select for diffs
Sun Nov 4 21:03:21 2007 UTC (19 years ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +26 -26 lines
Sync with HEAD.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Nov 2 08:38:37 2007 UTC (19 years ago) by xtraeme
Branches: MAIN
CVS tags: jmcneill-base
Branch point for: mjf-devfs
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +26 -26 lines
KNF, MALLOC -> malloc, u_intXX_t -> uintXX_t.

Revision 1.1.22.3: download - view: text, markup, annotated - select for diffs
Mon Oct 15 20:37:08 2007 UTC (19 years, 1 month ago) by riz
Branches: netbsd-3
Diff to: previous 1.1.22.2: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.22.2: +2 -380 lines
Clean up after a mistake I made pulling up ticket #1838.  We
really only need one copy of each new file.  :-)

Revision 1.1.22.2: download - view: text, markup, annotated - select for diffs
Mon Oct 15 05:09:53 2007 UTC (19 years, 1 month ago) by riz
Branches: netbsd-3
Diff to: previous 1.1.22.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.22.1: +567 -0 lines
Pull up following revisions via patch (requested by bouyer in ticket #1838):
	distrib/sets/lists/man/mi: revision 1.997
	sbin/bioctl/strtonum.c: revision 1.1
	sys/dev/Makefile: revision 1.25
	sys/arch/amd64/conf/GENERIC: revision 1.139
	sbin/bioctl/strtonum.h: revision 1.1
	sys/dev/bio.c: revision 1.1
	sbin/bioctl/bioctl.c: revision 1.1
	share/man/man4/bio.4: revision 1.1
	sbin/bioctl/bioctl.8: revision 1.1
	sys/sys/envsys.h: revision 1.11
	sbin/bioctl/bioctl.8: revision 1.3
	sbin/bioctl/bioctl.8: revision 1.4
	sys/arch/i386/conf/XEN2_DOM0: revision 1.25
	distrib/sets/lists/base/mi: revision 1.704
	sys/conf/majors: revision 1.34
	share/man/man4/Makefile: revision 1.426
	etc/MAKEDEV.tmpl: revision 1.86
	sys/arch/i386/conf/GENERIC: revision 1.825
	distrib/sets/lists/comp/mi: revision 1.1022
	sys/conf/files: revision 1.839
	usr.sbin/envstat/envstat.c: revision 1.24
	sbin/Makefile: revision 1.105
	sys/dev/ic/mfi.c: revision 1.4
	sys/dev/biovar.h: revision 1.1
	sys/dev/ic/mfivar.h: revision 1.4
	sbin/bioctl/Makefile: revision 1.1
Fix typo.
Add bio(4) and associated bioctl(8) from OpenBSD, a driver control block
device controllers, and more specifically raid controllers.
Add a new sensor type, ENVSYS_DRIVE, to report drive status. From OpenBSD.
Add bio and sysmon support to mfi(4). This allow userland to query
status for drives and logical volumes attached to a mfi(4) controller. While
there fix some debug printfs in mfi so they compile.
Add bio(4) to amd64 and i386 GENERIC.
Add bio(4) and associated bioctl(8) from OpenBSD, a driver control block
device controllers, and more specifically raid controllers.
Add a new sensor type, ENVSYS_DRIVE, to report drive status. From OpenBSD.
Add bio and sysmon support to mfi(4). This allow userland to query
status for drives and logical volumes attached to a mfi(4) controller. While
there fix some debug printfs in mfi so they compile.
Add bio(4) to amd64 and i386 GENERIC.
Fix Dd argument (use full month names).
Use more markup.
Comment out references to safte(4) and softraid(4), which don't exist in
NetBSD.
Remove trailing whitespace.
Use macros instead of characters for HTML output (replace ">", "<"
with \*[Gt], \*[Lt]).
Sort sections.
Create /dev/bio

Revision 1.1.18.2: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:33:09 2007 UTC (19 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.1.18.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.18.1: +234 -0 lines
sync with head.

Revision 1.1.8.2: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:04:57 2007 UTC (19 years, 4 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.1.8.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.8.1: +234 -0 lines
Sync with head.

Revision 1.1.6.2: download - view: text, markup, annotated - select for diffs
Sat Jun 9 21:37:10 2007 UTC (19 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.1.6.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.6.1: +234 -0 lines
Sync with head.

Revision 1.1.4.2: download - view: text, markup, annotated - select for diffs
Tue May 8 10:45:04 2007 UTC (19 years, 6 months ago) by pavel
Branches: netbsd-4
CVS tags: wrstuden-fixsa-base-1, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm
Branch point for: wrstuden-fixsa
Diff to: previous 1.1.4.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.4.1: +234 -0 lines
Pull up following revision(s) (requested by bouyer in ticket #603):
	distrib/sets/lists/base/mi: revision 1.704
	distrib/sets/lists/comp/mi: revision 1.1022
	distrib/sets/lists/man/mi: revision 1.997
	doc/CHANGES: revision 1.839
	sbin/Makefile: patch
	sbin/bioctl/Makefile: revision 1.1
	sbin/bioctl/bioctl.8: revision 1.1
	sbin/bioctl/bioctl.c: revision 1.1
	sbin/bioctl/strtonum.c: revision 1.1
	sbin/bioctl/strtonum.h: revision 1.1
	share/man/man4/Makefile: revision 1.426
	share/man/man4/bio.4: revision 1.1
	sys/arch/amd64/conf/GENERIC: revision 1.139
	sys/arch/i386/conf/GENERIC: revision 1.825
	sys/arch/i386/conf/XEN2_DOM0: revision 1.25
	sys/conf/files: revision 1.839
	sys/conf/majors: patch
	sys/dev/Makefile: revision 1.25
	sys/dev/bio.c: patch
	sys/dev/biovar.h: patch
	sys/dev/ic/mfi.c: revision 1.4-1.5
	sys/dev/ic/mfivar.h: revision 1.4
	sys/sys/envsys.h: revision 1.11
	usr.sbin/envstat/envstat.c: revision 1.24
Add bio(4) and associated bioctl(8) from OpenBSD, a driver control block
device controllers, and more specifically raid controllers.
Add a new sensor type, ENVSYS_DRIVE, to report drive status. From OpenBSD.
Add bio and sysmon support to mfi(4). This allow userland to query
status for drives and logical volumes attached to a mfi(4) controller. While
there fix some debug printfs in mfi so they compile.
Add bio(4) to amd64 and i386 GENERIC.

note bio(4), envsys(4) DRIVE, and mfi(4) support for both.

tred->sensor is a u_int.

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Mon May 7 10:55:23 2007 UTC (19 years, 6 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.1: +234 -0 lines
sync with head.

Revision 1.1.22.1
Tue May 1 17:20:11 2007 UTC (19 years, 6 months ago) by riz
Branches: netbsd-3
FILE REMOVED
Changes since revision 1.1: +0 -234 lines
file bio.c was added on branch netbsd-3 on 2007-10-15 05:09:52 +0000

Revision 1.1.18.1
Tue May 1 17:20:11 2007 UTC (19 years, 6 months ago) by yamt
Branches: yamt-lazymbuf
FILE REMOVED
Changes since revision 1.1: +0 -234 lines
file bio.c was added on branch yamt-lazymbuf on 2007-09-03 14:33:09 +0000

Revision 1.1.8.1
Tue May 1 17:20:11 2007 UTC (19 years, 6 months ago) by mjf
Branches: mjf-ufs-trans
FILE REMOVED
Changes since revision 1.1: +0 -234 lines
file bio.c was added on branch mjf-ufs-trans on 2007-07-11 20:04:57 +0000

Revision 1.1.6.1
Tue May 1 17:20:11 2007 UTC (19 years, 6 months ago) by ad
Branches: vmlocking
FILE REMOVED
Changes since revision 1.1: +0 -234 lines
file bio.c was added on branch vmlocking on 2007-06-09 21:37:10 +0000

Revision 1.1.4.1.2.1
Tue May 1 17:20:11 2007 UTC (19 years, 6 months ago) by skrll
FILE REMOVED
Changes since revision 1.1.4.1: +0 -0 lines
file bio.c was added on branch netbsd-4 on 2008-09-04 08:46:44 +0000

Revision 1.1.4.1
Tue May 1 17:20:11 2007 UTC (19 years, 6 months ago) by pavel
Branches: netbsd-4
FILE REMOVED
Changes since revision 1.1: +0 -234 lines
file bio.c was added on branch netbsd-4 on 2007-05-08 10:45:04 +0000

Revision 1.1.2.1
Tue May 1 17:20:11 2007 UTC (19 years, 6 months ago) by yamt
Branches: yamt-idlelwp
FILE REMOVED
Changes since revision 1.1: +0 -234 lines
file bio.c was added on branch yamt-idlelwp on 2007-05-07 10:55:23 +0000

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue May 1 17:20:11 2007 UTC (19 years, 6 months ago) by bouyer
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-idlelwp-base8, vmlocking-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: yamt-lazymbuf, yamt-idlelwp, vmlocking, netbsd-4, netbsd-3, mjf-ufs-trans, matt-armv6, jmcneill-pm, bouyer-xenamd64
Add bio(4) and associated bioctl(8) from OpenBSD, a driver control block
device controllers, and more specifically raid controllers.
Add a new sensor type, ENVSYS_DRIVE, to report drive status. From OpenBSD.
Add bio and sysmon support to mfi(4). This allow userland to query
status for drives and logical volumes attached to a mfi(4) controller. While
there fix some debug printfs in mfi so they compile.
Add bio(4) to amd64 and i386 GENERIC.

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>