OpenBSD CVS

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


[BACK] Up to [local] / src / sys / dev

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.14 / (download) - annotate - [select for diffs], Wed Apr 6 18:59:27 2022 UTC (2 years, 2 months ago) by naddy
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, HEAD
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

constify struct cfattach

Revision 1.13 / (download) - annotate - [select for diffs], Sat Dec 30 23:08:29 2017 UTC (6 years, 5 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Don't pull in <sys/file.h> just to get fcntl.h

ok deraadt@ krw@

Revision 1.12 / (download) - annotate - [select for diffs], Fri Sep 11 20:43:23 2015 UTC (8 years, 9 months ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

back out refcnt for dv_ref, there's too many hand crafted devices all
over the tree.

much encouragement from l2k15

Revision 1.11 / (download) - annotate - [select for diffs], Fri Sep 11 20:25:32 2015 UTC (8 years, 9 months ago) by dlg
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

rd pretends to be a device allocated by subr_autoconf. it needs to
refcnt_init like a real device too.

found by deraadt@

Revision 1.10 / (download) - annotate - [select for diffs], Tue Aug 25 21:04:02 2015 UTC (8 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

trivial size argument for free()

Revision 1.9 / (download) - annotate - [select for diffs], Thu Dec 18 21:06:24 2014 UTC (9 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

obvious non-overlap bcopy -> memcpy

Revision 1.8 / (download) - annotate - [select for diffs], Sun Jul 13 23:10:23 2014 UTC (9 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

Some reallocarray() use; review Jean-Philippe Ouellet, patrick keshishian
ok tedu

Revision 1.7 / (download) - annotate - [select for diffs], Sat Jul 12 18:48:51 2014 UTC (9 years, 11 months ago) by tedu
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Jun 11 16:42:13 2013 UTC (11 years ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

final removal of daddr64_t.  daddr_t has been 64 bit for a long enough
test period; i think 3 years ago the last bugs fell out.
ok otto beck others

Revision 1.5 / (download) - annotate - [select for diffs], Wed Jul 6 04:49:36 2011 UTC (12 years, 11 months ago) by matthew
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.4: +6 -14 lines
Diff to previous 1.4 (colored)

Eliminate redundant buf validation checks in xxstrategy() methods now
that they're implemented consistently in bounds_check_with_label().

Also, per krw's request, change bounds_check_with_label() to return 0
if the checks succeed, and change the drivers to test == -1 instead of
<= 0.  (Man page update to follow; intentionally omitting
arch/vax/mba/hp.c from this commit because it doesn't even build
currently and miod@ promises to kill it soon.)

ok krw@

Revision 1.4 / (download) - annotate - [select for diffs], Thu Jun 30 16:28:05 2011 UTC (12 years, 11 months ago) by matthew
Branch: MAIN
Changes since 1.3: +4 -37 lines
Diff to previous 1.3 (colored)

Refactor some common open/close/detach disk driver code into
subr_disk.c.  For now just the MI disk drivers.

ok deraadt@, krw@; jsing@ liked the approach too

Revision 1.3 / (download) - annotate - [select for diffs], Thu Jun 23 17:06:07 2011 UTC (12 years, 11 months ago) by matthew
Branch: MAIN
Changes since 1.2: +375 -42 lines
Diff to previous 1.2 (colored)

Complete rewrite for rd(4) to eliminate unnecessary functionality and
better follow current disk driver conventions.

Prompted by oga@.

"go ahead" deraadt@

Revision 1.2 / (download) - annotate - [select for diffs], Fri Aug 22 03:12:37 2008 UTC (15 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.1: +3 -7 lines
Diff to previous 1.1 (colored)

ANSI and other cleanups; ok krw

Revision 1.1 / (download) - annotate - [select for diffs], Fri May 11 07:04:47 2001 UTC (23 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: UBC_SYNC_B, UBC_SYNC_A, UBC_BASE, UBC, SMP_SYNC_B, SMP_SYNC_A, SMP, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4, OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0

oh, i forgot to put this in ;-)

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