OpenBSD CVS

CVS log for src/sys/scsi/Attic/ss.c


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.80, Thu Jul 8 00:42:39 2010 UTC (13 years, 11 months ago) by krw
Branch: MAIN
CVS Tags: HEAD
Changes since 1.79: +1 -1 lines
FILE REMOVED

Move ss and friends to the attic.

Enthusiastic huzzahs from many.

"A great day" dlg@

Revision 1.79 / (download) - annotate - [select for diffs], Thu Jul 1 05:11:18 2010 UTC (13 years, 11 months ago) by krw
Branch: MAIN
Changes since 1.78: +4 -9 lines
Diff to previous 1.78 (colored)

Die struct scsi_device! Die! Instead, save a pointer to the routine
to interpret sense errors. This is initialized to the basic
interpretation routine, and specific scsi drivers (sd/st/cd) can
replace this with their own. While here kill EJUSTRETURN dance and
make more specialized interpretation routines directly call the
basic routine if desired.

Fixes by matthew@ to my first diff. Most original work by dlg@.

ok matthew@ marco@ dlg@

Revision 1.78 / (download) - annotate - [select for diffs], Thu Jul 1 03:01:37 2010 UTC (13 years, 11 months ago) by matthew
Branch: MAIN
Changes since 1.77: +2 -1 lines
Diff to previous 1.77 (colored)

Restore setting xs->bp; fixes ncr(4) on VAX.

ok miod@, krw@

Revision 1.77 / (download) - annotate - [select for diffs], Wed Jun 30 00:02:00 2010 UTC (13 years, 11 months ago) by dlg
Branch: MAIN
Changes since 1.76: +33 -49 lines
Diff to previous 1.76 (colored)

switch ss over to using xshandlers for queuing io. this brings it into line
with sd/cd/st.

largely a mechanical change, untested due to a complete lack of hardware
anywhere.

ok krw@ matthew@

Revision 1.76 / (download) - annotate - [select for diffs], Sat Jun 26 23:24:45 2010 UTC (13 years, 11 months ago) by guenther
Branch: MAIN
Changes since 1.75: +1 -2 lines
Diff to previous 1.75 (colored)

Don't #include <sys/user.h> into files that don't need the stuff
it defines.  In some cases, this means pulling in uvm.h or pcb.h
instead, but most of the inclusions were just noise.  Tested on
alpha, amd64, armish, hppa, i386, macpcc, sgi, sparc64, and vax,
mostly by krw and naddy.
ok krw@

Revision 1.75 / (download) - annotate - [select for diffs], Sat Jun 26 21:27:55 2010 UTC (13 years, 11 months ago) by krw
Branch: MAIN
Changes since 1.74: +14 -3 lines
Diff to previous 1.74 (colored)

Not that anyone uses it, but bring ss(4) device referencing into
line with sd/cd/st.

Revision 1.74 / (download) - annotate - [select for diffs], Tue Jun 15 04:11:34 2010 UTC (13 years, 11 months ago) by dlg
Branch: MAIN
Changes since 1.73: +2 -3 lines
Diff to previous 1.73 (colored)

dont pass the dev_t from the scsi device drivers into the midlayer for
ioctl requests, and dont pass the proc pointers around for any ioctl
requests in scsi land at all. neither were used, so trim the fat.

ok krw@ marco@

Revision 1.73 / (download) - annotate - [select for diffs], Fri Jun 11 12:02:44 2010 UTC (14 years ago) by krw
Branch: MAIN
Changes since 1.72: +9 -3 lines
Diff to previous 1.72 (colored)

Restore an unusual XS_SENSE semantic that inadvertantly got lost
in the great re-write. If the scsi device *_interpret_sense()
function returns 0 that means there was no error.

Fixes restore(8) problems seen on certain tape drives.

Found and fix tested by Percey Piper. Suggestions from Matthew
Dempsky. Thanks!

ok dlg@

Revision 1.72 / (download) - annotate - [select for diffs], Tue Jun 1 15:27:16 2010 UTC (14 years ago) by thib
Branch: MAIN
Changes since 1.71: +6 -12 lines
Diff to previous 1.71 (colored)

move cd, st & ss over to bufq's again.

Tested by myself and krw.
ok krw@

Revision 1.71 / (download) - annotate - [select for diffs], Mon Apr 12 09:51:48 2010 UTC (14 years, 2 months ago) by dlg
Branch: MAIN
Changes since 1.70: +4 -3 lines
Diff to previous 1.70 (colored)

i snuck fine grained locking into the midlayer as part of all the
other stuff ive been doing in here. everything that needs protection
inside the midlayer and the scsi device drivers (sd, cd, etc) uses
mutexes now.

this pushes splbio out of the midlayer. splbio is only taken before
biodone is called now.

ok beck@ marco@ krw@ deraadt@. theyre all terrified, but they all
say if we're going to do then now is the right stage of the dev
cycle.

Revision 1.70 / (download) - annotate - [select for diffs], Fri Jan 15 05:50:31 2010 UTC (14 years, 4 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.69: +7 -49 lines
Diff to previous 1.69 (colored)

Abstract and merge the manual buf queue manipulating functions into
one place for easier debugging and maintenance. No intended functional
changes.

ok dlg@

Revision 1.69 / (download) - annotate - [select for diffs], Fri Jan 15 05:31:38 2010 UTC (14 years, 4 months ago) by krw
Branch: MAIN
Changes since 1.68: +10 -3 lines
Diff to previous 1.68 (colored)

Restore XS_BUSY delay behaviour for buf i/o. Same as for sync path.

ok dlg@

Revision 1.68 / (download) - annotate - [select for diffs], Tue Jan 12 23:33:57 2010 UTC (14 years, 5 months ago) by dlg
Branch: MAIN
Changes since 1.67: +2 -2 lines
Diff to previous 1.67 (colored)

bring sd.c r1.180 over to the other drivers now using the antisemaphore,
ie, dont clear the WAITING flag when restarting the xxstart loops.

Revision 1.67 / (download) - annotate - [select for diffs], Mon Jan 11 08:56:17 2010 UTC (14 years, 5 months ago) by krw
Branch: MAIN
Changes since 1.66: +25 -9 lines
Diff to previous 1.66 (colored)

Bring mutex protections to ststart, cdstart and ssstart, as already
done in sd. Make names consistant across all three.

ok dlg@ tested (cd) & ok beck@

Revision 1.66 / (download) - annotate - [select for diffs], Sat Jan 9 21:12:06 2010 UTC (14 years, 5 months ago) by dlg
Branch: MAIN
Changes since 1.65: +1 -13 lines
Diff to previous 1.65 (colored)

dont try to prevent multiple concurrent runs of a devices start routine
by setting flags around the loop. there is a race which can prevent
necessary work being completed by any of the currently running instances
of xxstart.

the caveat with the removal of this code is because multiple xxstarts can
be running at the same time they can cause io reordering, but that is less
of a problem than no io.

found by and fix tested by claudio@
debugged with krw@ claudio@ beck@ deraadt@

Revision 1.65 / (download) - annotate - [select for diffs], Sat Jan 2 23:28:51 2010 UTC (14 years, 5 months ago) by dlg
Branch: MAIN
Changes since 1.64: +135 -51 lines
Diff to previous 1.64 (colored)

move the buf handling from using scsi_scsi_cmd over to scsi_xs_exec. i
think this is the last chunk of code using a buf pointer in the scsi_xfer
now.

this has not been tested due to a lack of hardware anywhere. if there are
problems please report them as soon as possible.

ok krw@ miod@

Revision 1.64 / (download) - annotate - [select for diffs], Fri Jan 1 06:30:27 2010 UTC (14 years, 5 months ago) by dlg
Branch: MAIN
Changes since 1.63: +5 -2 lines
Diff to previous 1.63 (colored)

split the flags used in a scsi_link structure to represent its state at
runtime out into a separate state variable. only operate on the state bits
with atomic ops. introduce the DYING state so things that sleep can figure
out if they should keep going or not.

Revision 1.63 / (download) - annotate - [select for diffs], Mon Feb 16 21:19:07 2009 UTC (15 years, 3 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.62: +2 -2 lines
Diff to previous 1.62 (colored)

Extend the scsi_adapter minphys() callback to take a struct scsi_link *
as additional argument. This will allow intermediate layers between
scsi devices such as sd and scsi host adapters to take appropriate
action if necessary.

Revision 1.62 / (download) - annotate - [select for diffs], Sun Jun 22 16:32:05 2008 UTC (15 years, 11 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.61: +7 -6 lines
Diff to previous 1.61 (colored)

Replace MUSTEK_RETRIES, SCANJET_RETRIES and ST_RETRIES with SCSI_RETRIES,
all defined to 4. Replace some magic number 4's with SCSI_RETRIES. Fix a
few lines that were now too long.

Revision 1.61 / (download) - annotate - [select for diffs], Thu May 22 21:53:12 2008 UTC (16 years ago) by jasper
Branch: MAIN
Changes since 1.60: +1 -4 lines
Diff to previous 1.60 (colored)

zap useless comment block with no content.

ok krw@

Revision 1.60 / (download) - annotate - [select for diffs], Tue Nov 27 16:22:14 2007 UTC (16 years, 6 months ago) by martynas
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored)

typos;  ok jmc@
sys/dev/pci/pciide.c from naddy@

Revision 1.59 / (download) - annotate - [select for diffs], Sun Sep 16 01:30:24 2007 UTC (16 years, 8 months ago) by krw
Branch: MAIN
Changes since 1.58: +1 -2 lines
Diff to previous 1.58 (colored)

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

Revision 1.58 / (download) - annotate - [select for diffs], Thu Dec 21 02:05:46 2006 UTC (17 years, 5 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored)

Fix some comment typos. 'immediatly' -> 'immediately', 'tranfer' ->
'transfer', 'tranfered' -> 'transferred'.

Revision 1.57 / (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.56: +3 -3 lines
Diff to previous 1.56 (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.56 / (download) - annotate - [select for diffs], Sat Oct 7 23:40:07 2006 UTC (17 years, 8 months ago) by beck
Branch: MAIN
Changes since 1.55: +2 -2 lines
Diff to previous 1.55 (colored)

make cd-roms retry forever while the device indicates that it is
"becoming ready" - this is done in the exact same way that it
was done for tape in st.c. This commit adds a cd specific interpret_sense
routine to cd.c that will catch the becoming ready case and handle it.
This also removes the need to use crazy timeouts to catch this case.

ok krw@

Revision 1.55 / (download) - annotate - [select for diffs], Thu May 18 21:27:25 2006 UTC (18 years ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.54: +2 -2 lines
Diff to previous 1.54 (colored)

paramter -> parameter

Revision 1.54 / (download) - annotate - [select for diffs], Thu May 11 00:45:59 2006 UTC (18 years, 1 month ago) by krw
Branch: MAIN
Changes since 1.53: +4 -4 lines
Diff to previous 1.53 (colored)

Zap trailing whitespace.

Revision 1.53 / (download) - annotate - [select for diffs], Sat Dec 17 20:29:16 2005 UTC (18 years, 5 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored)

Kill unreachable code. Found by lint.

ok kettenis@ deraadt@ pedro@ miod@

Revision 1.52 / (download) - annotate - [select for diffs], Sat Dec 10 01:36:01 2005 UTC (18 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.51: +8 -8 lines
Diff to previous 1.51 (colored)

in ansi c, bitfields must be done against int, unsigned int, or _Bool.
so we must start to use u_int; ok cloder

Revision 1.51 / (download) - annotate - [select for diffs], Wed Apr 6 02:51:13 2005 UTC (19 years, 2 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.50: +3 -3 lines
Diff to previous 1.50 (colored)

De-register scsi.

Revision 1.50 / (download) - annotate - [select for diffs], Tue Nov 30 19:28:37 2004 UTC (19 years, 6 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored)

No longer require write permission for read-only SCSI commands
submitted via ioctl. Eliminate scsi_do_safeioctl(), thus permitting
ch, ss and st devices to submit SCSI commands. Return EPERM rather
than EBADF when permissions are inadequate.

Allows more programs to run with fewer permissions. Problem diagnosed
by Nikolay Sturm in mplayer port.

Tested by Nikolay, ok deraadt@.

Revision 1.40.4.6 / (download) - annotate - [select for diffs], Sat Jun 5 23:13:08 2004 UTC (20 years ago) by niklas
Branch: SMP
Changes since 1.40.4.5: +5 -5 lines
Diff to previous 1.40.4.5 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

Merge with the trunk

Revision 1.49 / (download) - annotate - [select for diffs], Sun May 9 04:01:59 2004 UTC (20 years, 1 month ago) by krw
Branch: MAIN
CVS Tags: SMP_SYNC_B, SMP_SYNC_A, OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.48: +5 -5 lines
Diff to previous 1.48 (colored)

Add missing <cr>'s to various SC_DEBUG() calls, along with a few other
SC_DEBUG() spacing tweaks.

ok deraadt@

Revision 1.40.4.5 / (download) - annotate - [select for diffs], Sat Jun 7 11:07:44 2003 UTC (21 years ago) by ho
Branch: SMP
Changes since 1.40.4.4: +7 -7 lines
Diff to previous 1.40.4.4 (colored) to branchpoint 1.40 (colored)

Sync SMP branch to -current

Revision 1.43.4.2 / (download) - annotate - [select for diffs], Mon May 19 22:28:21 2003 UTC (21 years ago) by tedu
Branch: UBC
Changes since 1.43.4.1: +2 -2 lines
Diff to previous 1.43.4.1 (colored) to branchpoint 1.43 (colored) next main 1.44 (colored)

sync

Revision 1.48 / (download) - annotate - [select for diffs], Sun May 18 16:06:35 2003 UTC (21 years ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.47: +7 -7 lines
Diff to previous 1.47 (colored)

constify the quirck tables and fix the scsi_inqmatch() proto accordingly; krw@ ok

Revision 1.40.4.4 / (download) - annotate - [select for diffs], Fri Mar 28 00:08:47 2003 UTC (21 years, 2 months ago) by niklas
Branch: SMP
Changes since 1.40.4.3: +3 -1 lines
Diff to previous 1.40.4.3 (colored) to branchpoint 1.40 (colored)

Sync the SMP branch with 3.3

Revision 1.47 / (download) - annotate - [select for diffs], Mon Dec 30 21:50:29 2002 UTC (21 years, 5 months ago) by grange
Branch: MAIN
CVS Tags: UBC_SYNC_A, OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored)

Add new parameter to scsi_test_unit_ready(): retries number.
Use increased retries number and don't ignore SCSI_IGNORE_NOT_READY
when call scsi_test_unit_ready() for cd-rom, this makes system wait
if drive is loading media.
Tested by millert@ and fgsch@; some input and ok from krw@.
Problem reported by The lord of the CD-writers
Igor Grabin <violent@death.kiev.ua>.

Revision 1.43.4.1 / (download) - annotate - [select for diffs], Tue Jun 11 03:32:14 2002 UTC (22 years ago) by art
Branch: UBC
Changes since 1.43: +24 -22 lines
Diff to previous 1.43 (colored)

Sync UBC branch to -current

Revision 1.46 / (download) - annotate - [select for diffs], Sun Jun 9 00:05:57 2002 UTC (22 years ago) by art
Branch: MAIN
CVS Tags: UBC_SYNC_B, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.45: +3 -1 lines
Diff to previous 1.45 (colored)

More (the last round?) of splasserts and splbio around biodone.

Revision 1.40.4.3 / (download) - annotate - [select for diffs], Thu Mar 28 14:52:01 2002 UTC (22 years, 2 months ago) by niklas
Branch: SMP
Changes since 1.40.4.2: +22 -22 lines
Diff to previous 1.40.4.2 (colored) to branchpoint 1.40 (colored)

Merge in -current from roughly a week ago

Revision 1.45 / (download) - annotate - [select for diffs], Thu Mar 14 03:16:12 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored)

Final __P removal plus some cosmetic fixups

Revision 1.44 / (download) - annotate - [select for diffs], Thu Mar 14 01:27:13 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.43: +21 -21 lines
Diff to previous 1.43 (colored)

First round of __P removal in sys

Revision 1.40.4.2 / (download) - annotate - [select for diffs], Wed Jul 4 11:00:09 2001 UTC (22 years, 11 months ago) by niklas
Branch: SMP
Changes since 1.40.4.1: +7 -7 lines
Diff to previous 1.40.4.1 (colored) to branchpoint 1.40 (colored)

Merge in -current from two days ago in the SMP branch.
As usual with merges, they do not indicate progress, so do not hold
your breath for working SMP, and do not mail me and ask about the
state of it.  It has not changed.  There is work ongoing, but very, very
slowly.  The commit is done in parts as to not lock up the tree in too
big chunks at a time.

Revision 1.43 / (download) - annotate - [select for diffs], Fri Jun 22 14:35:43 2001 UTC (22 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: UBC_BASE, OPENBSD_3_0_BASE, OPENBSD_3_0
Branch point for: UBC
Changes since 1.42: +7 -7 lines
Diff to previous 1.42 (colored)

KNF

Revision 1.40.4.1 / (download) - annotate - [select for diffs], Mon May 14 22:45:00 2001 UTC (23 years, 1 month ago) by niklas
Branch: SMP
Changes since 1.40: +15 -3 lines
Diff to previous 1.40 (colored)

merge in approximately 2.9 into SMP branch

Revision 1.42 / (download) - annotate - [select for diffs], Sun Mar 25 04:23:45 2001 UTC (23 years, 2 months ago) by fgsch
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.41: +15 -1 lines
Diff to previous 1.41 (colored)

Support for several HP scanners; from jmartin@ugrad.cs.ualberta.ca, krw@ ok.

Revision 1.41 / (download) - annotate - [select for diffs], Fri Jun 16 21:47:19 2000 UTC (24 years ago) by provos
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.40: +1 -3 lines
Diff to previous 1.40 (colored)

take MIN/MAX from param.h, okay theo@

Revision 1.40 / (download) - annotate - [select for diffs], Tue May 11 23:57:44 1999 UTC (25 years, 1 month ago) by kstailey
Branch: MAIN
CVS Tags: kame_19991208, SMP_BASE, OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6
Branch point for: SMP
Changes since 1.39: +2 -5 lines
Diff to previous 1.39 (colored)

clean up

Revision 1.39 / (download) - annotate - [select for diffs], Tue May 11 23:52:47 1999 UTC (25 years, 1 month ago) by kstailey
Branch: MAIN
Changes since 1.38: +4 -2 lines
Diff to previous 1.38 (colored)

set window descriptor length to actual amount of data

Revision 1.38 / (download) - annotate - [select for diffs], Tue May 11 23:41:37 1999 UTC (25 years, 1 month ago) by kstailey
Branch: MAIN
Changes since 1.37: +6 -2 lines
Diff to previous 1.37 (colored)

initialize generic quirks

Revision 1.37 / (download) - annotate - [select for diffs], Tue May 11 23:25:43 1999 UTC (25 years, 1 month ago) by kstailey
Branch: MAIN
Changes since 1.36: +9 -3 lines
Diff to previous 1.36 (colored)

generic trigger

Revision 1.36 / (download) - annotate - [select for diffs], Wed Sep 16 15:53:24 1998 UTC (25 years, 9 months ago) by kstailey
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.35: +3 -1 lines
Diff to previous 1.35 (colored)

add support for HP ScanJet IIp

Revision 1.35 / (download) - annotate - [select for diffs], Sun Feb 22 00:49:13 1998 UTC (26 years, 3 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored)

Please GCC 2.8 -Wall

Revision 1.34 / (download) - annotate - [select for diffs], Sat Aug 2 21:35:32 1997 UTC (26 years, 10 months ago) by kstailey
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.33: +3 -1 lines
Diff to previous 1.33 (colored)

add ScanJet 5p, untested

Revision 1.33 / (download) - annotate - [select for diffs], Tue Apr 15 10:51:36 1997 UTC (27 years, 2 months ago) by tholo
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.32: +10 -1 lines
Diff to previous 1.32 (colored)

Add quirk, type for AT3 scanner (ViewStation 32)

Revision 1.32 / (download) - annotate - [select for diffs], Sat Apr 5 23:34:20 1997 UTC (27 years, 2 months ago) by kstailey
Branch: MAIN
Changes since 1.31: +12 -3 lines
Diff to previous 1.31 (colored)

add quirk table entry for the Ultima A6000C

Revision 1.31 / (download) - annotate - [select for diffs], Sat Apr 5 22:59:13 1997 UTC (27 years, 2 months ago) by kstailey
Branch: MAIN
Changes since 1.30: +41 -1 lines
Diff to previous 1.30 (colored)

fix NULL ptr deref in ss_set_window()

Revision 1.30 / (download) - annotate - [select for diffs], Thu Mar 13 12:22:37 1997 UTC (27 years, 3 months ago) by kstailey
Branch: MAIN
Changes since 1.29: +2 -1 lines
Diff to previous 1.29 (colored)

Copy the scanner_type from the quirkdata to the sio for userland to see.

Revision 1.29 / (download) - annotate - [select for diffs], Thu Mar 13 12:19:59 1997 UTC (27 years, 3 months ago) by kstailey
Branch: MAIN
Changes since 1.28: +26 -12 lines
Diff to previous 1.28 (colored)

Add scanner_type and compute_sizes() to quirks.
Adjust attach() messages for scanners with quirk table entries.

Revision 1.28 / (download) - annotate - [select for diffs], Tue Mar 11 12:06:48 1997 UTC (27 years, 3 months ago) by kstailey
Branch: MAIN
Changes since 1.27: +3 -1 lines
Diff to previous 1.27 (colored)

adjust comments

Revision 1.27 / (download) - annotate - [select for diffs], Tue Mar 11 04:00:15 1997 UTC (27 years, 3 months ago) by kstailey
Branch: MAIN
Changes since 1.26: +3 -2 lines
Diff to previous 1.26 (colored)

Added GENERIC_SCSI2 scanner type.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Mar 11 03:40:49 1997 UTC (27 years, 3 months ago) by kstailey
Branch: MAIN
Changes since 1.25: +15 -1 lines
Diff to previous 1.25 (colored)

move init. code to m.i. section

Revision 1.25 / (download) - annotate - [select for diffs], Tue Mar 11 03:19:16 1997 UTC (27 years, 3 months ago) by kstailey
Branch: MAIN
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 (colored)

added whitespace.

Revision 1.24 / (download) - annotate - [select for diffs], Tue Mar 11 00:45:19 1997 UTC (27 years, 3 months ago) by kstailey
Branch: MAIN
Changes since 1.23: +4 -2 lines
Diff to previous 1.23 (colored)

Add comment about generic trigger missing.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Mar 10 03:20:30 1997 UTC (27 years, 3 months ago) by kstailey
Branch: MAIN
Changes since 1.22: +5 -4 lines
Diff to previous 1.22 (colored)

Do not increase buffer bp->b_bcount in get_buffer_status().

Revision 1.22 / (download) - annotate - [select for diffs], Mon Mar 10 02:34:42 1997 UTC (27 years, 3 months ago) by kstailey
Branch: MAIN
Changes since 1.21: +6 -2 lines
Diff to previous 1.21 (colored)

SCSI 2 scanners use READ_BIG not READ

Revision 1.21 / (download) - annotate - [select for diffs], Mon Mar 10 02:29:39 1997 UTC (27 years, 3 months ago) by kstailey
Branch: MAIN
Changes since 1.20: +72 -37 lines
Diff to previous 1.20 (colored)

do GET_BUFFER_STATUS in special minphys

Revision 1.20 / (download) - annotate - [select for diffs], Mon Mar 10 00:56:59 1997 UTC (27 years, 3 months ago) by kstailey
Branch: MAIN
Changes since 1.19: +17 -2 lines
Diff to previous 1.19 (colored)

Start of generic scanner read().

Revision 1.19 / (download) - annotate - [select for diffs], Sun Mar 9 17:45:01 1997 UTC (27 years, 3 months ago) by kstailey
Branch: MAIN
Changes since 1.18: +8 -14 lines
Diff to previous 1.18 (colored)

deleted SS_Q_VENDOR_SETWINDOW bit.  Just check for non-NULL vendor_unique_sw
member.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Mar 8 22:52:58 1997 UTC (27 years, 3 months ago) by kstailey
Branch: MAIN
Changes since 1.17: +119 -42 lines
Diff to previous 1.17 (colored)

Smaller names for quirks.

Many changes based on examination of the AIX 3 version of PINT.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Mar 8 20:51:36 1997 UTC (27 years, 3 months ago) by kstailey
Branch: MAIN
Changes since 1.16: +3 -2 lines
Diff to previous 1.16 (colored)

support for RIF bit as a quirk (currently unused)

Revision 1.16 / (download) - annotate - [select for diffs], Sat Mar 8 20:43:09 1997 UTC (27 years, 3 months ago) by kstailey
Branch: MAIN
Changes since 1.15: +79 -10 lines
Diff to previous 1.15 (colored)

Fujitsu SET_WINDOW support

Revision 1.15 / (download) - annotate - [select for diffs], Sat Mar 8 18:59:41 1997 UTC (27 years, 3 months ago) by kstailey
Branch: MAIN
Changes since 1.14: +164 -58 lines
Diff to previous 1.14 (colored)

way more generic SET_WINDOW...

Revision 1.14 / (download) - annotate - [select for diffs], Sat Mar 8 05:39:00 1997 UTC (27 years, 3 months ago) by kstailey
Branch: MAIN
Changes since 1.13: +128 -57 lines
Diff to previous 1.13 (colored)

generic set_window via quirk table

Revision 1.13 / (download) - annotate - [select for diffs], Sat Mar 8 02:15:05 1997 UTC (27 years, 3 months ago) by kstailey
Branch: MAIN
Changes since 1.12: +3 -1 lines
Diff to previous 1.12 (colored)

fix warning.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Mar 7 12:57:55 1997 UTC (27 years, 3 months ago) by kstailey
Branch: MAIN
Changes since 1.11: +30 -2 lines
Diff to previous 1.11 (colored)

more generic SET WINDOW stuff

Revision 1.11 / (download) - annotate - [select for diffs], Fri Mar 7 03:05:15 1997 UTC (27 years, 3 months ago) by kstailey
Branch: MAIN
Changes since 1.10: +5 -3 lines
Diff to previous 1.10 (colored)

more stuff

Revision 1.10 / (download) - annotate - [select for diffs], Thu Mar 6 12:44:41 1997 UTC (27 years, 3 months ago) by kstailey
Branch: MAIN
Changes since 1.9: +33 -5 lines
Diff to previous 1.9 (colored)

remove stub get_params functions

Revision 1.9 / (download) - annotate - [select for diffs], Thu Feb 27 06:20:23 1997 UTC (27 years, 3 months ago) by tholo
Branch: MAIN
Changes since 1.8: +4 -2 lines
Diff to previous 1.8 (colored)

When we don't output any extra scanner info, output the newline at the end
of the configuration line that we do output

Revision 1.8 / (download) - annotate - [select for diffs], Sun Aug 11 23:26:05 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.7: +3 -2 lines
Diff to previous 1.7 (colored)

limit ioctl priviledges

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jul 30 11:04:08 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.6: +3 -1 lines
Diff to previous 1.6 (colored)

patch for HP scanjet 4p; netbsd pr#2663; kstailey@dol-esa.gov

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jul 11 16:38:35 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

some MUSTEKs fill with 0xff instead of 0x20; netbsd pr#2617; is@beverly.rhein.de

Revision 1.5 / (download) - annotate - [select for diffs], Fri May 10 12:31:39 1996 UTC (28 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

SC_DEBUG cleanup

Revision 1.4 / (download) - annotate - [select for diffs], Tue May 7 09:34:31 1996 UTC (28 years, 1 month ago) by niklas
Branch: MAIN
Changes since 1.3: +1 -478 lines
Diff to previous 1.3 (colored)

Remove erroneously doubled text (patch can do that when a new file
comes into existence simultaneously from two directions).

Revision 1.3 / (download) - annotate - [select for diffs], Sun Apr 21 22:31:12 1996 UTC (28 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.2: +22 -18 lines
Diff to previous 1.2 (colored)

partial sync with netbsd 960418, more to come

Revision 1.2 / (download) - annotate - [select for diffs], Fri Apr 19 16:10:19 1996 UTC (28 years, 1 month ago) by niklas
Branch: MAIN
Changes since 1.1: +480 -0 lines
Diff to previous 1.1 (colored)

NetBSD 960317 merge

Revision 1.1 / (download) - annotate - [select for diffs], Tue Feb 20 02:28:53 1996 UTC (28 years, 3 months ago) by briggs
Branch: MAIN

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.

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.