Up to [local] / src / sys / scsi
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.26 / (download) - annotate - [select for diffs], Fri Jan 24 05:14:52 2020 UTC (4 years, 4 months ago) by jsg
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,
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,
HEAD
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)
cleanup unused headers generated by config ok tedu@ krw@ deraadt@
Revision 1.25 / (download) - annotate - [select for diffs], Wed Apr 27 11:36:20 2011 UTC (13 years, 1 month ago) by dlg
Branch: MAIN
CVS Tags: 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,
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,
OPENBSD_5_8_BASE,
OPENBSD_5_8,
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.24: +5 -1 lines
Diff to previous 1.24 (colored)
hds(4) is a path driver that knows how to talk to some hitachi modular storage arrays. at the moment it makes a naive decision about which controller in an array to talk to. it does work, but a smarter version is being worked on. tested by and ok deraadt@
Revision 1.24 / (download) - annotate - [select for diffs], Fri Apr 22 23:22:56 2011 UTC (13 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.23: +1 -2 lines
Diff to previous 1.23 (colored)
delete a bogus blank line
Revision 1.23 / (download) - annotate - [select for diffs], Tue Apr 5 14:25:42 2011 UTC (13 years, 2 months ago) by dlg
Branch: MAIN
Changes since 1.22: +14 -1 lines
Diff to previous 1.22 (colored)
move forward with scsi multipathing. the big change is how paths between mpath capable devices and the kernel are managed. originally the midlayer would steal the links to the devices and hide them behind mpath. all the changes an adapter made to a link (eg activate or detach), the midlayer had to test if it was an mpath link and then call special mpath code to handle it. the original code also assumed that all paths behaved the same, but the reality is that different devices have different command sets and behaviours. figuring out which behaviour to pick and prioritising them is basically the same job autoconf does with match and attach. rather than special casing mpath in the midlayer and reimplimenting autoconf, this turns paths into actual device drivers with match and attach routines. after they figure out if the path is active, they then give it to mpath(4) to use as a backend. i have written drivers for symmetric access devices (sym(4)) where all paths to the same logical unit are as good as each other, lsi/engenio arrays (rdac(4), and emc arrays (emc(4)). the rdac and emc drivers only detect active paths at attach time, the do not cope if the controller changes state unless you unplug the path and plug it in again to retest the active state. they also do not have support for directing array failover. operating and hoplugging has been tested with mpii(4), fc and sas mpi(4), and iscsi via vscsi (claudio did this too). ok krw@ deraadt@
Revision 1.22 / (download) - annotate - [select for diffs], Sat Jul 3 03:59:17 2010 UTC (13 years, 11 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE,
OPENBSD_4_9,
OPENBSD_4_8_BASE,
OPENBSD_4_8
Changes since 1.21: +1 -7 lines
Diff to previous 1.21 (colored)
No more ss(4) or usscanner(4). Unused, unloved and unmaintained. General huzzahs. "go for it" deraadt@
Revision 1.21 / (download) - annotate - [select for diffs], Fri Jul 2 20:21:13 2010 UTC (13 years, 11 months ago) by miod
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)
ss(4) does not need the tape attribute; only tape devices do (and only on vax, really).
Revision 1.20 / (download) - annotate - [select for diffs], Fri Aug 5 00:08:58 2005 UTC (18 years, 10 months ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE,
OPENBSD_4_7,
OPENBSD_4_6_BASE,
OPENBSD_4_6,
OPENBSD_4_5_BASE,
OPENBSD_4_5,
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
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)
make the naming of the safte files consisten with the rest of the scsi drivers ok krw@ deraadt@ marco@
Revision 1.19 / (download) - annotate - [select for diffs], Mon Aug 1 23:14:31 2005 UTC (18 years, 10 months ago) by dlg
Branch: MAIN
Changes since 1.18: +4 -1 lines
Diff to previous 1.18 (colored)
a new scsi enclosure services driver. this and safte replace the old ses driver. rather than relying on its own set of tools, ses reports the enclosure status via the hw.sensors sysctl tree. so far only temperature is reported ok marco@ deraadt@ krw@
Revision 1.18 / (download) - annotate - [select for diffs], Sun Jul 31 06:22:56 2005 UTC (18 years, 10 months ago) by dlg
Branch: MAIN
Changes since 1.17: +1 -5 lines
Diff to previous 1.17 (colored)
remove the ses driver. it has never been enabled in GENERIC on any arch in openbsds lifetime so noone is going to miss it. if you did enable it, it either didnt work or the data was hard to read and usually wrong. ok deraadt@ marco@
Revision 1.17 / (download) - annotate - [select for diffs], Mon Jul 25 23:32:33 2005 UTC (18 years, 10 months ago) by dlg
Branch: MAIN
Changes since 1.16: +6 -1 lines
Diff to previous 1.16 (colored)
add safte, a small driver for monitoring scsi accessed fault-tolerant enclosures via the hw.sensors sysctl tree. ok marco@ krw@ please do tdeval@ looks ok grange@
Revision 1.16 / (download) - annotate - [select for diffs], Sat Jul 2 03:49:47 2005 UTC (18 years, 11 months ago) by krw
Branch: MAIN
Changes since 1.15: +1 -3 lines
Diff to previous 1.15 (colored)
Don't use READ FORMAT CAPACITIES to determine the size of ATAPI sd devices. Use READ CAPACITY like NetBSD, FreeBSD, Linux and OpenSolaris do. Well, NetBSD keeps READ FORMAT CAPACITIES as a backup. Fixes problems with devices (such as my IBM USB Memory Key) which return block counts that are off by one for READ FORMAT CAPACITIES. This eliminates the significant difference between sd_atapi.c and sd_scsi.c so merge sd_scsi.c into sd.c and just be careful to mark ATAPI removable devices as both SDEV_NOSYNCCACHE and unable to return MODE SENSE page 4 info. All geometry faking is now in one place. Where it can be 'improved'. sd_scsi.c, sd_atapi.c and atapi_disk.h will be removed as a result.
Revision 1.15 / (download) - annotate - [select for diffs], Fri May 27 16:07:51 2005 UTC (19 years ago) by krw
Branch: MAIN
Changes since 1.14: +1 -3 lines
Diff to previous 1.14 (colored)
Convert cd code to new mode sense framework. Merge cd_scsi and cd_atapi into cd since code is now almost identical, and only affects volume adjusting ioctl's. Minor side effect of allowing cd_load_unload() attempts to scsi cd's as NetBSD does.
Revision 1.14 / (download) - annotate - [select for diffs], Sat May 14 00:20:43 2005 UTC (19 years ago) by krw
Branch: MAIN
Changes since 1.13: +1 -2 lines
Diff to previous 1.13 (colored)
Add scsi_mode_[sense|select]_big() and use it instead of atapi_mode_[sense|select](). This will allow the removal of atapi_base.c and atapi_all.h files, and sets the stage for better usb mode sense handling amoung other things. Remove cd_scsibus_[get|set]_mode() and sd_scsibus_mode_sense() shims in favour of scsi_mode_[sense|select](). Add zero'ing of reserved length field in scsi_mode_select(). Change some uchar * type parameters to scsi_mode_header *. No functional changes. Mostly from NetBSD. ok dlg@.
Revision 1.13 / (download) - annotate - [select for diffs], Tue Mar 8 20:00:25 2005 UTC (19 years, 2 months ago) by tdeval
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE,
OPENBSD_3_7
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored)
Cosmetics... Mainly remove space between locators parens, replace spaces with tabs where appropriate and consistently align dependencies.
Revision 1.12 / (download) - annotate - [select for diffs], Wed Sep 15 23:49:11 2004 UTC (19 years, 8 months ago) by mickey
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)
target/lun attributes are optional
Revision 1.8.4.3 / (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.8.4.2: +0 -4 lines
Diff to previous 1.8.4.2 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)
Merge of current from two weeks agointo the SMP branch
Revision 1.11 / (download) - annotate - [select for diffs], Fri Jan 16 21:11:21 2004 UTC (20 years, 4 months ago) by miod
Branch: MAIN
CVS Tags: SMP_SYNC_B,
SMP_SYNC_A,
OPENBSD_3_6_BASE,
OPENBSD_3_6,
OPENBSD_3_5_BASE,
OPENBSD_3_5
Changes since 1.10: +1 -5 lines
Diff to previous 1.10 (colored)
Remove this farce.
Revision 1.8.4.2 / (download) - annotate - [select for diffs], Wed Dec 5 01:02:40 2001 UTC (22 years, 6 months ago) by niklas
Branch: SMP
Changes since 1.8.4.1: +2 -2 lines
Diff to previous 1.8.4.1 (colored) to branchpoint 1.8 (colored)
Merge in -current
Revision 1.10 / (download) - annotate - [select for diffs], Fri Nov 23 00:35:50 2001 UTC (22 years, 6 months ago) by miod
Branch: MAIN
CVS Tags: UBC_SYNC_B,
UBC_SYNC_A,
UBC_BASE,
UBC,
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
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)
Typo in comment.
Revision 1.8.4.1 / (download) - annotate - [select for diffs], Mon Feb 21 22:29:14 2000 UTC (24 years, 3 months ago) by niklas
Branch: SMP
Changes since 1.8: +5 -1 lines
Diff to previous 1.8 (colored)
sync with -current
Revision 1.9 / (download) - annotate - [select for diffs], Mon Feb 21 08:24:00 2000 UTC (24 years, 3 months ago) by mjacob
Branch: MAIN
CVS Tags: 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
Changes since 1.8: +5 -1 lines
Diff to previous 1.8 (colored)
add SES/SAF-TE SCSI device
Revision 1.8 / (download) - annotate - [select for diffs], Sun Jul 25 10:53:11 1999 UTC (24 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: kame_19991208,
SMP_BASE,
OPENBSD_2_6_BASE,
OPENBSD_2_6
Branch point for: SMP
Changes since 1.7: +3 -1 lines
Diff to previous 1.7 (colored)
fake sd_atapi.c and sd_scsi.c until costa fixes it for real
Revision 1.7 / (download) - annotate - [select for diffs], Tue Jul 20 17:02:04 1999 UTC (24 years, 10 months ago) by csapuntz
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)
Don't pull in cd_scsi/cd_atapi stuff unless cd device is used
Revision 1.6 / (download) - annotate - [select for diffs], Tue Jul 20 06:21:59 1999 UTC (24 years, 10 months ago) by csapuntz
Branch: MAIN
Changes since 1.5: +4 -1 lines
Diff to previous 1.5 (colored)
Make acd redundant. Mostly based on NetBSD-current
Revision 1.5 / (download) - annotate - [select for diffs], Thu Oct 31 01:09:21 1996 UTC (27 years, 7 months ago) by niklas
Branch: MAIN
CVS Tags: 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,
OPENBSD_2_1_BASE,
OPENBSD_2_1
Changes since 1.4: +1 -0 lines
Diff to previous 1.4 (colored)
$OpenBSD RCSIDs + comment fix in sd.c
Revision 1.4 / (download) - annotate - [select for diffs], Wed May 22 12:07:54 1996 UTC (28 years ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE,
OPENBSD_2_0
Changes since 1.3: +1 -2 lines
Diff to previous 1.3 (colored)
scsi attribute elsewhere
Revision 1.3 / (download) - annotate - [select for diffs], Sun Apr 21 22:30:46 1996 UTC (28 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.2: +23 -10 lines
Diff to previous 1.2 (colored)
partial sync with netbsd 960418, more to come
Revision 1.2 / (download) - annotate - [select for diffs], Tue Feb 20 02:28:50 1996 UTC (28 years, 3 months ago) by briggs
Branch: MAIN
Changes since 1.1: +5 -1 lines
Diff to previous 1.1 (colored)
Sync. with NetBSD: - scsi prototypes. - Add SCSI scanner support by Kenneth Stailey and Joachim Koenig-Baltes, hacked a but. Needs more work. ss.c: - Truncate to the window size in ssminphys(), not ssread(). - Missed some prototyping foo. - Minor tweak; make sure window size is 0 on close. - Change variable name to avoid GCC warning. - Handle EOF a little differently.
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:53:24 1995 UTC (28 years, 7 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, 7 months ago) by deraadt
Branch: MAIN
Initial revision