OpenBSD CVS

CVS log for src/sys/scsi/safte.c


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.67 / (download) - annotate - [select for diffs], Sun Oct 24 16:57:30 2021 UTC (2 years, 7 months ago) by mpi
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.66: +2 -2 lines
Diff to previous 1.66 (colored)

Constify struct cfattach.

ok visa@ a long time ago, ok krw@

Revision 1.66 / (download) - annotate - [select for diffs], Tue Sep 22 19:32:53 2020 UTC (3 years, 8 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.65: +4 -4 lines
Diff to previous 1.65 (colored)

Since dlg@'s 2009 scsi midlayer refactoring the 'struct scsi_generic *cmd'
member of 'struct scsi_xfer' has always been pointed at the 'struct scsi_generic
cmdstore' member of the same instance. So nuke 'cmdstore' and remove the '*'
from cmd. Take the address of cmd as required by the various casts.

No intentional functional change.

luna88k test by aoyama@, sparc64 test by jmatthew@

Identification of 2009's last *cmd use and ok jmatthew@

Revision 1.65 / (download) - annotate - [select for diffs], Sat Sep 12 17:03:51 2020 UTC (3 years, 8 months ago) by krw
Branch: MAIN
Changes since 1.64: +2 -2 lines
Diff to previous 1.64 (colored)

Use SID_SCSI2_RESPONSE instead of '2' when checking INQUIRY data format.

Revision 1.64 / (download) - annotate - [select for diffs], Sat Sep 12 16:51:04 2020 UTC (3 years, 8 months ago) by krw
Branch: MAIN
Changes since 1.63: +1 -4 lines
Diff to previous 1.63 (colored)

No need to check inq for NULL when it always points at the inqdata inside a
scsi_link.

Revision 1.63 / (download) - annotate - [select for diffs], Sat Sep 12 15:54:51 2020 UTC (3 years, 8 months ago) by krw
Branch: MAIN
Changes since 1.62: +4 -37 lines
Diff to previous 1.62 (colored)

No need to ask for extra INQUIRY data, all available data is already cached in
scsi_link's inqdata.

Revision 1.62 / (download) - annotate - [select for diffs], Tue Jun 30 18:43:37 2020 UTC (3 years, 11 months ago) by krw
Branch: MAIN
Changes since 1.61: +2 -2 lines
Diff to previous 1.61 (colored)

Nuke unneeded 'sa_inqbuf' member of struct scsi_attach_args. It always
points to the inquiry data contained in the struct scsi_link pointed
to by the other member, sa_sc_link.

Revision 1.61 / (download) - annotate - [select for diffs], Sat Dec 7 14:13:49 2019 UTC (4 years, 5 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.60: +60 -60 lines
Diff to previous 1.60 (colored)

Various cleanup tweaks. 'return' is not a function. KNF. Whitespace,
Comment fixes.

Revision 1.60 / (download) - annotate - [select for diffs], Sat Nov 23 01:16:05 2019 UTC (4 years, 6 months ago) by krw
Branch: MAIN
Changes since 1.59: +11 -11 lines
Diff to previous 1.59 (colored)

Consistently use SET() to set bits.

Revision 1.59 / (download) - annotate - [select for diffs], Fri Nov 22 15:34:29 2019 UTC (4 years, 6 months ago) by krw
Branch: MAIN
Changes since 1.58: +2 -2 lines
Diff to previous 1.58 (colored)

Be consistent and always use CLR() to clear flags.

Revision 1.58 / (download) - annotate - [select for diffs], Fri Sep 27 17:22:31 2019 UTC (4 years, 8 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.57: +9 -9 lines
Diff to previous 1.57 (colored)

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

Revision 1.57 / (download) - annotate - [select for diffs], Thu Sep 19 17:48:21 2019 UTC (4 years, 8 months ago) by krw
Branch: MAIN
Changes since 1.56: +2 -2 lines
Diff to previous 1.56 (colored)

Introduce and use convenience SID_REPOONSE_FORMAT() define.

Revision 1.56 / (download) - annotate - [select for diffs], Sun Sep 1 15:03:32 2019 UTC (4 years, 9 months ago) by krw
Branch: MAIN
Changes since 1.55: +3 -3 lines
Diff to previous 1.55 (colored)

Adopt the SCSI versioning #define's from FreeBSD. Eliminate the
now unneeded version_to_spc() mapping array, a duplicate #define
and a couple of magic numbers. Toss in some comments for future
generations of spelunkers.

Makes it possible to check for specific SPC versions when new
features or eliminated features require such a check.

No intentional functional change.

Revision 1.55 / (download) - annotate - [select for diffs], Wed Aug 28 20:02:42 2019 UTC (4 years, 9 months ago) by krw
Branch: MAIN
Changes since 1.54: +2 -2 lines
Diff to previous 1.54 (colored)

Recast "SCSISPC() != 2" into "!SCSI2() || SCSI3()", i.e. "!= 2" into
"< 2 || > 2". Step towards allowing SCSISPC() to be updated to return
actual SPC values.

Revision 1.54 / (download) - annotate - [select for diffs], Sat Aug 24 02:13:55 2019 UTC (4 years, 9 months ago) by krw
Branch: MAIN
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored)

KNF tweak.

Revision 1.53 / (download) - annotate - [select for diffs], Sun Aug 23 01:55:39 2015 UTC (8 years, 9 months ago) by tedu
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, 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.52: +5 -3 lines
Diff to previous 1.52 (colored)

add some sizes to free. looked over by deraadt

Revision 1.52 / (download) - annotate - [select for diffs], Sun Jun 7 19:13:27 2015 UTC (8 years, 11 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.51: +7 -7 lines
Diff to previous 1.51 (colored)

More damned eye searing whitespace.

Revision 1.51 / (download) - annotate - [select for diffs], Sun Sep 14 14:17:26 2014 UTC (9 years, 8 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.50: +1 -2 lines
Diff to previous 1.50 (colored)

remove uneeded proc.h includes
ok mpi@ kspillner@

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

use mallocarray where arguments are multiplied; ok tedu

Revision 1.49 / (download) - annotate - [select for diffs], Sat Jul 12 18:50:25 2014 UTC (9 years, 10 months ago) by tedu
Branch: MAIN
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (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.48 / (download) - annotate - [select for diffs], Wed Jun 15 01:10:05 2011 UTC (12 years, 11 months ago) by dlg
Branch: MAIN
CVS Tags: 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.47: +3 -8 lines
Diff to previous 1.47 (colored)

factor the common bits out of code that builds scsi inquiry commands into
scsi_init_inquiry(). cut the compiled INQUIRY code over to it.

ok and tweaks from krw@
ok matthew@

Revision 1.47 / (download) - annotate - [select for diffs], Thu Mar 17 21:30:24 2011 UTC (13 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.46: +77 -58 lines
Diff to previous 1.46 (colored)

use dma_alloc/dma_free instead of malloc to allocate buffers which need
to be in the right address space.
help from matthew and krw

Revision 1.46 / (download) - annotate - [select for diffs], Mon Sep 27 19:49:43 2010 UTC (13 years, 8 months ago) by thib
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

A few M_ZEROs without any M_WAITOK/M_NOWAITs.

Revision 1.45 / (download) - annotate - [select for diffs], Mon Aug 30 02:47:56 2010 UTC (13 years, 9 months ago) by matthew
Branch: MAIN
Changes since 1.44: +5 -5 lines
Diff to previous 1.44 (colored)

Avoid possible aliasing-related compiler issues by always writing to
cmd->opcode through the type casted command pointer rather than
through xs->cmd->opcode.

Requested by deraadt@; ok krw@.

Revision 1.44 / (download) - annotate - [select for diffs], Thu Jul 22 15:59:47 2010 UTC (13 years, 10 months ago) by matthew
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.43: +2 -1 lines
Diff to previous 1.43 (colored)

Fix a few more scsi_scsi_cmd() removal regressions, caught by
-Wuninitialized.

Silly typo in my first diff noticed by oga@ and krw@; ok krw@

Revision 1.43 / (download) - annotate - [select for diffs], Thu Jul 22 05:21:02 2010 UTC (13 years, 10 months ago) by matthew
Branch: MAIN
Changes since 1.42: +5 -3 lines
Diff to previous 1.42 (colored)

style(9) fix and release rwlock(9) if scsi_xs_get() returns NULL,
which should never happen anyway.  Fixes scsi_scsi_cmd() removal
regression.

ok dlg@

Revision 1.42 / (download) - annotate - [select for diffs], Thu Jul 22 04:59:31 2010 UTC (13 years, 10 months ago) by matthew
Branch: MAIN
Changes since 1.41: +8 -7 lines
Diff to previous 1.41 (colored)

In safte_match(), return 0 on SCSI errors, not an errno value.  Fixes
regression from scsi_scsi_cmd() removal.

ok dlg@

Revision 1.41 / (download) - annotate - [select for diffs], Thu Jul 22 00:31:06 2010 UTC (13 years, 10 months ago) by krw
Branch: MAIN
Changes since 1.40: +101 -75 lines
Diff to previous 1.40 (colored)

Eliminate scsi_scsi_cmd() now that ss(4) is gone and with it the
last bastardized sync and buf call through scsi_scsi_cmd(). Flatten
code to call scsi_xs_sync() directly for all commands.

Airplane typos shaken out by various.

ok dlg@ matthew@ deraadt@

Revision 1.40 / (download) - annotate - [select for diffs], Tue Jan 20 21:46:42 2009 UTC (15 years, 4 months ago) by kettenis
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
Changes since 1.39: +4 -4 lines
Diff to previous 1.39 (colored)

Prevent unaligned access.

ok miod@, dlg@

Revision 1.39 / (download) - annotate - [select for diffs], Sun Sep 16 01:30:24 2007 UTC (16 years, 8 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

MALLOC/FREE -> malloc/free, M_ZERO, extraneous casts,
extraneous #include <malloc.h>

Revision 1.38 / (download) - annotate - [select for diffs], Fri Sep 7 16:15:49 2007 UTC (16 years, 8 months ago) by krw
Branch: MAIN
Changes since 1.37: +3 -6 lines
Diff to previous 1.37 (colored)

The obvious bzero/memset -> M_ZERO changes.

Revision 1.37 / (download) - annotate - [select for diffs], Sun Jun 24 05:34:35 2007 UTC (16 years, 11 months ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.36: +17 -12 lines
Diff to previous 1.36 (colored)

rework sensor tasks to use the kernels generic workq rather than a special
kernel thread of its own. the api has changed (which will be fixed in the
manpage shortly) so all the users of sensor tasks that i can find have
been fixed too.

noone tested, so its going in to force people to run with it.
"put it in" deraadt@

Revision 1.36 / (download) - annotate - [select for diffs], Fri Jun 1 22:58:50 2007 UTC (17 years ago) by cnst
Branch: MAIN
Changes since 1.35: +1 -3 lines
Diff to previous 1.35 (colored)

backout r1.33: temperature sensor description was removed on purpose,
because it started to be part of the sysctl variable name

ok deanna@, dlg@

Revision 1.35 / (download) - annotate - [select for diffs], Tue Apr 3 04:15:50 2007 UTC (17 years, 2 months ago) by dlg
Branch: MAIN
Changes since 1.34: +10 -9 lines
Diff to previous 1.34 (colored)

modernise scsi_inquiry. the length field has grown and now theres pages to
query.

ok krw@

Revision 1.34 / (download) - annotate - [select for diffs], Thu Mar 22 16:55:31 2007 UTC (17 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

split userland & kernel struct sensor/sensordev so that the addition
of new fields in the future is less disruptive.  This is done similar
to how struct proc is handled for ps(1).  ok jmc (man page changes)
tested fkr simon, and more suggestions from millert

Revision 1.33 / (download) - annotate - [select for diffs], Wed Feb 21 22:37:38 2007 UTC (17 years, 3 months ago) by deanna
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.32: +3 -1 lines
Diff to previous 1.32 (colored)

Add missing sensor description for temperature.

ok dlg

Revision 1.32 / (download) - annotate - [select for diffs], Sat Dec 23 17:46:39 2006 UTC (17 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.31: +11 -9 lines
Diff to previous 1.31 (colored)

adapt to new two-level sensor api; Constantine A. Murenin

Revision 1.31 / (download) - annotate - [select for diffs], Tue Nov 28 16:56:50 2006 UTC (17 years, 6 months ago) by dlg
Branch: MAIN
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

rename scsibus_attach_args to scsi_attach_args. this can help avoid
confusing when trying to attach scsibus to a hba, since it is really meant
for attaching scsi devices to scsibus.

ok deraadt@ marco@

Revision 1.30 / (download) - annotate - [select for diffs], Sun Oct 1 10:42:18 2006 UTC (17 years, 8 months ago) by grange
Branch: MAIN
Changes since 1.29: +3 -6 lines
Diff to previous 1.29 (colored)

Free sensors on detach.

ok dlg@

Revision 1.29 / (download) - annotate - [select for diffs], Sat Jul 29 02:40:45 2006 UTC (17 years, 10 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.28: +4 -4 lines
Diff to previous 1.28 (colored)

The version field of scsi_inquiry_data is not a simple numeric value
that specifies the version of SCSI being supported. Even the ANSI part
that we use is complex. 4 means 2, 5 means 3 and 6 means 4. Translate
and use the value correctly. Fixes SCSI5 and SCSI6 in dmesg. And
properly protects SCSI2 devices from getting SCSI3 commands.

"seems like an elegant solution to me" millert@ ok dlg@ marco@

Revision 1.28 / (download) - annotate - [select for diffs], Sun May 21 03:10:49 2006 UTC (18 years ago) by dlg
Branch: MAIN
Changes since 1.27: +11 -12 lines
Diff to previous 1.27 (colored)

replace lockmgr with rwlock.

Revision 1.27 / (download) - annotate - [select for diffs], Tue May 9 05:51:54 2006 UTC (18 years ago) by deraadt
Branch: MAIN
Changes since 1.26: +4 -4 lines
Diff to previous 1.26 (colored)

make sensor names look more normal; ok dlg

Revision 1.26 / (download) - annotate - [select for diffs], Thu Jan 19 17:08:40 2006 UTC (18 years, 4 months ago) by grange
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

Replace SENSOR_ADD() macro with a pair of functions
sensor_add()/sensor_del() so that sensors can be attached
and detached dynamicaly.

ok kettenis@ deraadt@ dlg@

Revision 1.25 / (download) - annotate - [select for diffs], Wed Jan 11 08:21:21 2006 UTC (18 years, 4 months ago) by dlg
Branch: MAIN
Changes since 1.24: +1 -2 lines
Diff to previous 1.24 (colored)

dont print anything if we're unable to read the status page

requested by deraadt@

Revision 1.24 / (download) - annotate - [select for diffs], Fri Dec 2 04:23:17 2005 UTC (18 years, 6 months ago) by krw
Branch: MAIN
Changes since 1.23: +2 -1 lines
Diff to previous 1.23 (colored)

Missing 'break;'. Spotted by lint.

ok dlg@

Revision 1.23 / (download) - annotate - [select for diffs], Sat Nov 19 02:18:01 2005 UTC (18 years, 6 months ago) by pedro
Branch: MAIN
Changes since 1.22: +9 -9 lines
Diff to previous 1.22 (colored)

Remove unnecessary lockmgr() archaism that was costing too much in terms
of panics and bugfixes. Access curproc directly, do not expect a process
pointer as an argument. Should fix many "process context required" bugs.
Incentive and okay millert@, okay marc@. Various testing, thanks.

Revision 1.22 / (download) - annotate - [select for diffs], Sun Nov 13 02:26:48 2005 UTC (18 years, 6 months ago) by dlg
Branch: MAIN
Changes since 1.21: +16 -0 lines
Diff to previous 1.21 (colored)

lock updates to the buffer with the enclosure status in it so that one
process cant read from it while another one is fetching it from the scsi
device.

looks ok krw@

Revision 1.21 / (download) - annotate - [select for diffs], Sat Nov 12 15:12:10 2005 UTC (18 years, 6 months ago) by dlg
Branch: MAIN
Changes since 1.20: +13 -5 lines
Diff to previous 1.20 (colored)

there are two things that safte does: update sensors and blink lights. if
attach figures out that we cant do either of them, then free up all the
resources.

Revision 1.20 / (download) - annotate - [select for diffs], Fri Nov 11 01:19:47 2005 UTC (18 years, 6 months ago) by fgsch
Branch: MAIN
Changes since 1.19: +2 -1 lines
Diff to previous 1.19 (colored)

include sys/device.h. builds on sparc. dlg@ ok.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Nov 10 22:27:03 2005 UTC (18 years, 6 months ago) by dlg
Branch: MAIN
Changes since 1.18: +1 -9 lines
Diff to previous 1.18 (colored)

remove half the includes since they seem to be unnecessary.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Nov 10 13:24:51 2005 UTC (18 years, 6 months ago) by dlg
Branch: MAIN
Changes since 1.17: +3 -1 lines
Diff to previous 1.17 (colored)

i am a stupid head. unbreak kernels that done have the bio(4) device.

reported and fixed by Michael Knudsen.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Nov 10 08:36:37 2005 UTC (18 years, 6 months ago) by dlg
Branch: MAIN
Changes since 1.16: +36 -85 lines
Diff to previous 1.16 (colored)

cut safte over to using the generic sensors kthread.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Aug 24 03:39:52 2005 UTC (18 years, 9 months ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.15: +6 -3 lines
Diff to previous 1.15 (colored)

dont reject safte devices that have more inquiry information than the
space we want to store it in. thanks to mtu for providing access to
hardware for this.

ok deraadt@

Revision 1.15 / (download) - annotate - [select for diffs], Tue Aug 23 05:29:42 2005 UTC (18 years, 9 months ago) by marco
Branch: MAIN
Changes since 1.14: +14 -4 lines
Diff to previous 1.14 (colored)

Test for cold and apply relevant flags for all scsi commands.

ok dlg@ krw@ deraadt@

Revision 1.14 / (download) - annotate - [select for diffs], Mon Aug 22 19:24:45 2005 UTC (18 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.13: +4 -1 lines
Diff to previous 1.13 (colored)

check for scsi_autoconf state, spotted by marco; ok krw

Revision 1.13 / (download) - annotate - [select for diffs], Sun Aug 21 23:28:59 2005 UTC (18 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.12: +12 -3 lines
Diff to previous 1.12 (colored)

handle the unblink request; ok dlg marco krw

Revision 1.12 / (download) - annotate - [select for diffs], Thu Aug 18 09:51:05 2005 UTC (18 years, 9 months ago) by dlg
Branch: MAIN
Changes since 1.11: +107 -3 lines
Diff to previous 1.11 (colored)

das blinkenlighten! uses /dev/bio to allow an ioctl to turn identify on
for a particular target

Revision 1.11 / (download) - annotate - [select for diffs], Wed Aug 17 00:07:08 2005 UTC (18 years, 9 months ago) by dlg
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

dont increment the offset both in and out of the loop while reading the
config

ok deraadt@ marco@

Revision 1.10 / (download) - annotate - [select for diffs], Mon Aug 15 21:48:03 2005 UTC (18 years, 9 months ago) by dlg
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

free the right buffer on error

ok deraadt@

Revision 1.9 / (download) - annotate - [select for diffs], Sat Aug 13 01:38:19 2005 UTC (18 years, 9 months ago) by dlg
Branch: MAIN
Changes since 1.8: +7 -2 lines
Diff to previous 1.8 (colored)

let safte match on dell enclosures too. ses takes precedence though

ok marco@ deraadt@

Revision 1.8 / (download) - annotate - [select for diffs], Fri Aug 12 08:50:08 2005 UTC (18 years, 9 months ago) by dlg
Branch: MAIN
Changes since 1.7: +226 -124 lines
Diff to previous 1.7 (colored)

rewrite the reading of the status page, which in turn adds support for
monitoring the fans, powersupplies, doorlock, and  alarm as well the temps.

ok deraadt@ marco@

Revision 1.7 / (download) - annotate - [select for diffs], Wed Aug 10 10:55:33 2005 UTC (18 years, 9 months ago) by dlg
Branch: MAIN
Changes since 1.6: +9 -7 lines
Diff to previous 1.6 (colored)

use the appropriate flags to scsi_scsi_cmd during autoconf so we dont spin
forever on mp kernels

problem reported by matthieu baptiste

Revision 1.6 / (download) - annotate - [select for diffs], Mon Aug 8 18:43:09 2005 UTC (18 years, 9 months ago) by marco
Branch: MAIN
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)

Fill in device structure, bad dlg@

Revision 1.5 / (download) - annotate - [select for diffs], Fri Aug 5 01:06:15 2005 UTC (18 years, 10 months ago) by dlg
Branch: MAIN
Changes since 1.4: +1 -21 lines
Diff to previous 1.4 (colored)

dont do an inquiry in attach just to print the safte revision number. it
is window dressing.

zap it deraadt@

Revision 1.4 / (download) - annotate - [select for diffs], Fri Aug 5 01:03:13 2005 UTC (18 years, 10 months ago) by dlg
Branch: MAIN
Changes since 1.3: +73 -37 lines
Diff to previous 1.3 (colored)

switch safte from using a scsi cmd at softclock to doing the commands
in a kernel thread. very similair to the same change in ses.c.

ok marco@ beck@ deraadt@

Revision 1.3 / (download) - annotate - [select for diffs], Fri Aug 5 00:31:04 2005 UTC (18 years, 10 months ago) by dlg
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

READ BUFFER is a generic opcode, so dont define our own

Revision 1.2 / (download) - annotate - [select for diffs], Fri Aug 5 00:17:02 2005 UTC (18 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +3 -6 lines
Diff to previous 1.1 (colored)

shorten dmesg output

Revision 1.1 / (download) - annotate - [select for diffs], Fri Aug 5 00:08:58 2005 UTC (18 years, 10 months ago) by dlg
Branch: MAIN

make the naming of the safte files consisten with the rest of the scsi
drivers

ok krw@ deraadt@ marco@

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.