freebsd-skq/sys/cam/scsi
Matt Jacob e01862e9b0 Use the residual from a spacing operation to try and figure out where
we *really* are.

It should be noted that there is a degenerate case where soft tape
location will be lost (not causing a frozen state- but causing
the loss of reporting fileno/blockno)- that's where you backspace
over a filemark- you stop backspacing as soon as you cross the
filemark, but you have no idea what the record number now is because
you have no idea how many records you are into the file you just
backed into. Such is life.

While I'm at it, also pick up residuals from writing filemarks.

PR:		24222
2001-01-16 00:53:45 +00:00
..
scsi_all.c Remove unused #includes 2000-10-30 08:08:00 +00:00
scsi_all.h This is an overhaul of the mode page handling in camcontrol as well as 2000-08-08 06:24:17 +00:00
scsi_cd.c Turn off the load_eject bit in cdstartunit(). It causes an `Invalid 2000-12-04 20:16:06 +00:00
scsi_cd.h Add support for the DVD ioctl interface. 2000-05-12 03:36:02 +00:00
scsi_ch.c Remove unused #includes 2000-10-30 08:08:00 +00:00
scsi_ch.h Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
scsi_da.c Get rid of those pesky "driver mistake" messages... destroy the create_d dev_t 2001-01-16 00:30:37 +00:00
scsi_da.h Implement a new camcontrol function, 'camcontrol format'. 2000-05-21 23:57:52 +00:00
scsi_dvcfg.h Add PC-Card/ISA SCSI host adpater drivers from NetBSD/pc98 2000-10-23 12:55:51 +00:00
scsi_low_pisa.c Remove unused #includes. 2000-10-30 12:21:19 +00:00
scsi_low_pisa.h Changed not to use struct isa_device in the argument of scsi_low_activate(). 2000-10-29 06:47:16 +00:00
scsi_low.c Move `#include <sys/devicestat.h>' into #ifdef/#endif to keep 2000-12-13 13:35:46 +00:00
scsi_low.h Check __i386__, not i386. 2001-01-13 13:21:43 +00:00
scsi_message.h 0x03F -> 0x3F for consistancy with the rest of the file. 2000-10-31 18:00:23 +00:00
scsi_pass.c Remove unused #includes 2000-10-30 08:08:00 +00:00
scsi_pass.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
scsi_pt.c Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
scsi_pt.h Spell declarations correctly. 2001-01-12 02:49:40 +00:00
scsi_sa.c Use the residual from a spacing operation to try and figure out where 2001-01-16 00:53:45 +00:00
scsi_sa.h Spell declarations correctly. 2001-01-12 02:49:40 +00:00
scsi_ses.c Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
scsi_ses.h Move the kernel specific stuff into scsi_ses.c. Redo the ioctls 2000-01-15 22:40:04 +00:00
scsi_targ_bh.c Convert all users of fldoff() to offsetof(). fldoff() is bad 2000-10-27 11:45:49 +00:00
scsi_target.c select() DKI is defined in <sys/selinfo.h> now. 2001-01-09 04:31:48 +00:00
scsi_targetio.h Add a TARGIODEBUG ioctl to allow for CAM_DEBUG_PERIPH tracing on 2000-07-14 19:42:47 +00:00