OpenBSD CVS

CVS log for src/sys/scsi/scsi_debug.h


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.23 / (download) - annotate - [select for diffs], Mon Feb 28 14:48:11 2022 UTC (2 years, 3 months ago) by krw
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, OPENBSD_7_1_BASE, OPENBSD_7_1, HEAD
Changes since 1.22: +3 -1 lines
Diff to previous 1.22 (colored)

Shuffle some SCSIDEBUG code to simplify code, tersify the
emitted verbiage, and show INQUIRY header & vendor info early so
humans can more easily determine what scsi_probe_link() will
do.

No functional change outside SCSIDEBUG.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Jul 27 19:19:50 2020 UTC (3 years, 10 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored)

Refactor scsi_show_flags() to allow 32-bit flags. Display unnamed flags as one
hex value after named flags. Make flag name arrays NULL terminated rathar than
fixed size.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Sep 30 11:27:37 2019 UTC (4 years, 8 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

SC_DEBUGN is not spelled SCSI_DEBUGN.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Sep 29 23:08:57 2019 UTC (4 years, 8 months ago) by krw
Branch: MAIN
Changes since 1.19: +7 -1 lines
Diff to previous 1.19 (colored)

Restore SC_DEBUGN() as it was used outside sys/scsi. Some things are
not compiled on amd64!

Revision 1.19 / (download) - annotate - [select for diffs], Sun Sep 29 17:57:36 2019 UTC (4 years, 8 months ago) by krw
Branch: MAIN
Changes since 1.18: +6 -2 lines
Diff to previous 1.18 (colored)

Introduce SC_DEBUG_SENSE() and simplify code by eliminating a bunch
of three line SCSIDEBUG chunks.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Sep 29 17:23:24 2019 UTC (4 years, 8 months ago) by krw
Branch: MAIN
Changes since 1.17: +1 -7 lines
Diff to previous 1.17 (colored)

Continue SCSIDEBUG cleanup by nuking pointles SC_DEBUGN() #define.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Sep 29 15:47:29 2019 UTC (4 years, 8 months ago) by krw
Branch: MAIN
Changes since 1.16: +9 -9 lines
Diff to previous 1.16 (colored)

Tweak some whitespace to make autoindenter happy. Use consistent naming idiom for
the debug functions.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Sep 27 23:07:42 2019 UTC (4 years, 8 months ago) by krw
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Use consistent idiom/naming convention for the the #include
guards. Spelunkers using grep are easily confused.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Sep 27 17:22:31 2019 UTC (4 years, 8 months ago) by krw
Branch: MAIN
Changes since 1.14: +5 -5 lines
Diff to previous 1.14 (colored)

Add/tweak #endif comments to make spelunking via grep more rewarding.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Sep 27 16:03:45 2019 UTC (4 years, 8 months ago) by krw
Branch: MAIN
Changes since 1.13: +14 -4 lines
Diff to previous 1.13 (colored)

Shuffle and consolidate SCSIDEBUG declarations into fewer sections in
more intuitive locations.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Nov 11 02:35:16 2017 UTC (6 years, 7 months ago) by mlarkin
Branch: MAIN
CVS Tags: 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: +7 -5 lines
Diff to previous 1.12 (colored)

Fix a broken compilation when using SCSIDEBUG options(4).

Diff from Carlos Cardenas, thanks!

ok krw@

Revision 1.12 / (download) - annotate - [select for diffs], Sat Mar 12 15:16:04 2016 UTC (8 years, 3 months ago) by krw
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
Changes since 1.11: +6 -6 lines
Diff to previous 1.11 (colored)

Standardize on calling local scsi_link variables 'link' instead of
'sc_link'. 'sc_link' is a field in the various device *_softc
structures, where the sc_ prefix was for 'softc'. Reduces potential
mental confusion. Newer code from down under was already using
'link'.

No functional change.

Prompted by bluhm@'s adventures in scsi. ok dlg@ jmatthew@

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jun 7 19:13:27 2015 UTC (9 years ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored)

More damned eye searing whitespace.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jun 21 22:36:42 2011 UTC (12 years, 11 months ago) by matthew
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, 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.9: +3 -2 lines
Diff to previous 1.9 (colored)

scsi_link's scsibus field is redundant with bus->sc_dev.dv_unit, so
remove two of the remaining three uses of it.  (softraid(4) still uses
it at the moment, so the field and its assignment in scsibusattach()
stay for now...)

ok krw@; feedback and "tenteiramen rejid"(!?) miod@

Revision 1.9 / (download) - annotate - [select for diffs], Mon Nov 10 18:04:41 2008 UTC (15 years, 7 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.8: +3 -1 lines
Diff to previous 1.8 (colored)

clean namespace a fair bit; wrap kernel-use-only structures and gunk in
#ifdef _KERNEL

Revision 1.7.12.1 / (download) - annotate - [select for diffs], Thu Feb 19 11:01:30 2004 UTC (20 years, 3 months ago) by niklas
Branch: SMP
Changes since 1.7: +6 -2 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Merge of current from two weeks agointo the SMP branch

Revision 1.8 / (download) - annotate - [select for diffs], Sun Jan 25 00:09:20 2004 UTC (20 years, 4 months ago) by krw
Branch: MAIN
CVS Tags: SMP_SYNC_B, SMP_SYNC_A, 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
Changes since 1.7: +6 -2 lines
Diff to previous 1.7 (colored)

Allow restriction of SCSIDEBUG output to particular scsi buses in
addition to device targets and luns.

ok deraadt@.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Sep 5 05:56:49 1997 UTC (26 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: kame_19991208, UBC_SYNC_B, UBC_SYNC_A, UBC_BASE, UBC, SMP_BASE, 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, OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2
Branch point for: SMP
Changes since 1.6: +1 -8 lines
Diff to previous 1.6 (colored)

Add SCSITERSE option which omits the (large) ASC/ASCQ table.
Old scsi error printing code is now gone.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Aug 22 04:43:26 1997 UTC (26 years, 9 months ago) by millert
Branch: MAIN
Changes since 1.5: +8 -1 lines
Diff to previous 1.5 (colored)

Add more detailed SCSI error printing by Matthew Jacob.  Enabled by
default.  Use "option SCSIVERBOSE=0" to turn off (only added 8Kb to my kernel).
From the NetBSD commit message:
    Add in more detailed SCSI error printing, based off of final SCSI-2 spec.
    This will also print out things like progress indicator errors, and will
    also dump out additional sense bytes that haven't been decoded.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Apr 14 04:09:08 1997 UTC (27 years, 2 months ago) by downsj
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Merge in various pieces of current NetBSD scsi code, including but not limited
to:

* New changer driver.
* Better optical support.
* Different `done' semantics.
* New quirks for SCSI QIC tape driver, SCSI floppy drives.
* Better support for SCSI-I devices.

Everybody needs to test this.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Nov 28 13:20:36 1996 UTC (27 years, 6 months ago) by niklas
Branch: MAIN
Changes since 1.3: +14 -6 lines
Diff to previous 1.3 (colored)

Make SCSI debugging more dynamic, more targets and luns can be
debugged simultaneously and which ones, as well as the verbosity, can be
determined at runtime.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Oct 31 01:09:22 1996 UTC (27 years, 7 months ago) by niklas
Branch: MAIN
Changes since 1.2: +1 -0 lines
Diff to previous 1.2 (colored)

$OpenBSD RCSIDs + comment fix in sd.c

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jun 10 00:43:58 1996 UTC (28 years ago) by downsj
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.1: +4 -4 lines
Diff to previous 1.1 (colored)

Several changes:
	* Implemented NetBSD PR#2529, adding ZIP 100.
	* Added MTIOCTOP support to acd, cd, and sd.
	* Implemented eject on close for acd, cd, and sd.

`mt -f /dev/rcd0d offline' now ejects a mounted {acd|cd|sd} when it is
unmounted.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:53:24 1995 UTC (28 years, 8 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:53:24 1995 UTC (28 years, 8 months ago) by deraadt
Branch: MAIN

Initial revision

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.