Tue Nov 25 01:57:55 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* Release of ftape-3.04d (bug fix)
	
	* Doc/texi/ftape.texi, Doc/dvi/fix-makeinfo.sh, RELEASE-NOTES, include/linux/ftape.h:
	Bump version to 3.04d

Mon Nov 24 14:17:09 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* include/linux/ftape.h, ftape/zftape/zftape-vtbl.c,
 	  contrib/ftformat/ftfmt-tapelib.c,
 	  contrib/ftformat/ftfmt-options.c:
	Merged 3.04 bug fixes

	* ftape/zftape/zftape-vtbl.c, ftape/zftape/zftape-ctl.c:
	Merged 3.04 bug fixes

	* contrib/ftformat/ftformat.c, contrib/ftformat/ftfmt-tapelib.c,
 	  contrib/ftformat/ftfmt-tapelib.h,
 	  contrib/ftformat/ftfmt-options.c:
	Merged msync bug fixes

	* include/linux/ftape.h:
	exchange #elsif by #elif. Why didn't cpp complain?

	* ftape/zftape/zftape-vtbl.c:
	Need to call zft_reset_position() when overwriting old volumes at BOT

Sun Nov 23 21:07:28 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* contrib/ftformat/ftfmt-tapelib.c:
	The use of msync() was completely broken. As the man-page correctly
	states the start of the to-be-synced area must be a multiple of
	page-size. Looking at the Linux msync implementation reveals that
	always entire pages are synced. The previous setup would fail until
	accidentally the start pointer given to msync() a multiple of
	PAGE_SIZE. And then the following PAGE_SIZE bytes would have been
	synced with the parport drive which would lead to wrong results when
	more than one buffer was needed for a tape track (i.e. TR-3 catridges)

	* contrib/ftformat/ftfmt-options.c:
	Error messages were misleading when giving wrong arguments the -M switch

Sun Nov 16 15:15:56 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* Release of ftape-3.04c (bug fix)
	
	* ftape/compressor/zftape-compress.c:
	Include the ftape version in the load banner

	* include/linux/ftape.h, Doc/texi/ftape.texi,
 	  Doc/dvi/fix-makeinfo.sh, RELEASE-NOTES:
	Update version to 3.04c

	* ftape/lowlevel/fdc-io.c:
	fdc_probe(): undo previous change :-( from Fri Nov 14 15:11:39 1997

Fri Nov 14 18:09:47 1997  Claus-Justus Heine  <Heine@physik.rwth-aachen.de (Claus-Justus Heine)>

	* Release of ftape-3.04b (bug fix)
	
	* ftape/zftape/zftape-ctl.c: Fix a typo.

	* ftape/lowlevel/ftape-write.c:
	Be careful to loop_until_writes_done() when switching from "writing"
	to "deleting" and vice versa.

	* ftape/lowlevel/ftape-format.c, contrib/ftformat/ftfmt-tapelib.c:
	wait_segment() may fail sometimes at the end of a tape track. Until I
	know why I treat it as a bad segment.

Fri Nov 14 15:11:39 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de>

	* contrib/scripts/texi2www: No, it doesn't work with perl-4

	* ftape/zftape/zftape-ctl.c:
	Only the superuser may send raw qic-117 commands to the drive, the
	MTIOCFTFMT ioctl need not test the write protect bit except when
	starting to format a tape track.

	* ftape/lowlevel/fdc-io.c:
	fdc_probe(): the DUMPREGS has a result length of 10, not 1.

	* contrib/ftformat/ftformat.c, contrib/ftformat/ftfmt-tapelib.h,
 	  contrib/ftformat/ftfmt-tapelib.c:
	Handle those cases properly where the tape drive wrongly detects a
	cartridge type it can't write to: open in O_RDONLY mode first, switch
	to O_RDWR mode after sending the "set rate of format" command to the
	tape drive.

	* patches/2.x.x/floppy.c.dif:
	The previous floppy.c patch was broken, causing the floppy driver to
	release i/o regions it never had allocated.

	* include/linux/ftape.h, Doc/texi/ftape.texi,
 	  Doc/dvi/fix-makeinfo.sh, RELEASE-NOTES:
	Update to version 3.04b

Wed Nov 12 22:33:59 1997  Claus-Justus Heine  <Heine@physik.rwth-aachen.de (Claus-Justus Heine)>

	* Release of ftape-3.04a (bug fix)
	
	* RELEASE-NOTES: update for release of 3.04a

	* BUGS:
	Add "Harry G. McGavran Jr." <hgm@lanl.gov> reported that my texi2www
	doesn't work for perl-4 and perl-5.004

Tue Nov 11 15:06:46 1997  Claus-Justus Heine  <Heine@physik.rwth-aachen.de (Claus-Justus Heine)>

	* Doc/texi/ftape.texi, Doc/dvi/fix-makeinfo.sh, Doc/dvi/Makefile:
	Bump version to 3.04a

	* ftape/lowlevel/ftape-ctl.c:
	Try to compensate a bug in the HP Colorado T3000's firmware: it
	doesn't set the write protect bit for QIC80/QIC40 cartridges.

	* ftape/lowlevel/ftape-io.c: Check for impossible drive status 0xff in
	ftape_report_raw_drive_status(). This can occur when there are
	hardware problems (drive selection?) with some on-board FDC
	controllers.

	* ftape/lowlevel/ftape-ctl.c:
	Fix an "infinite loop can't be killed by signal" bug in
	ftape_get_drive_status()

Fri Nov  7 15:02:13 1997  Claus-Justus Heine  <Heine@physik.rwth-aachen.de (Claus-Justus Heine)>

	* Release of ftape-3.04
	
	* Doc/texi/Installation.texi: Correct some line breaks.

	* TODO, RELEASE-NOTES, README, BUGS: Spell checks

	* MCONFIG: Final update for release of 3.04

	* Doc/texi/ftape.texi: Spell checkered

	* ftape/zftape/zftape-vtbl.c:
	2.x compatibility: don't treat the space AFTER EOD as another volume
	when detecting a cartridge written by 2.x ftape.

Thu Nov  6 00:52:23 1997  Claus-Justus Heine  <Heine@physik.rwth-aachen.de (Claus-Justus Heine)>

	* include/linux/ftape.h:
	Update the time stamp for final release of ftape-3.04. Removed
	hex. representation of numbers from preprocessor directives as some
	versions of the GNU compiler seem to have problems (?)

	* ftape/zftape/zftape-write.c:
	Removed some silly "const"s from parameters that weren't pointers.

	* ftape/zftape/zftape-init.c:
	"Re-unified" the two versions of zft_mmap() for 2.0.* and 2.1.*
	kernels into a single function. Two separate functions were a silly
	idea; already has lead to unneccessary bugs.

	* ftape/lowlevel/ftape-init.c:
	Remove the "infinite" loop when allocation of the dma buffers
	failed. Loop was killable by a signal. Bail out if first attempt
	fails! (back to old behavior)

	* Doc/texi/ftape.texi, Doc/texi/Documentation.texi, Doc/texi/Bugs.texi:
	Add new http location of the ftape faq.

	* Doc/texi/Testing.texi:
	Add the retensioning hint to the concept index.

	* Doc/dvi/fix-makeinfo.sh: Add the new location of the ftapefaq.

	* TODO: Add formatting with Colorado Jumbo 350 drives.

	* RELEASE-NOTES:
	Small update (time stamps and such) for the final 3.04 release.

	* BUGS:
	Add note about formatting with Colorado Jumbo 350 which seems to be
	broken.

Fri Oct 31 00:51:56 1997  Claus-Justus Heine  <Heine@physik.rwth-aachen.de (Claus-Justus Heine)>

	* contrib/vtblc/vtblc.c:
	Daylight saving fix by Andreas Muck <postmaster@koala.rhein-neckar.de>

Wed Oct 29 15:55:15 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* Release of ftape-3.04-beta-7
	
	* include/linux/ftape.h, RELEASE-NOTES:
	Update timestamp for release of 3.04-beta-7

	* Doc/texi/ftape.texi, Doc/texi/Testing.texi,
 	  Doc/texi/QuickInstall.texi, Doc/texi/Loading.texi,
 	  Doc/texi/Installation.texi, Doc/texi/Implementation.texi,
 	  Doc/texi/Documentation.texi:
	Update, should be synchronized with the remainder of the package now.

	* contrib/gnumt/mt.c:
	"main()" should have return type "int", not "void"

	* Doc/.cvsignore: initial revision

Tue Oct 28 14:31:06 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* include/linux/mtio.h: Updated to latest kernel release.

	* ftape/zftape/zftape-vtbl.h:
	Change the DUMP_VOLINFO macro to dump at most the first 20 chars of
	the volume label which isn't neccesarily 0-terminated.

	* ftape/Configure.help.ftape:
	Update the section about CONFIG_FT_PROC_FS to reflect changing from
	/proc/ftape/ directory to /proc/ftape file.

	* contrib/scripts/listtape.sh, contrib/scripts/listtape.pl,
 	  contrib/scripts/Makefile:
	Auto-probe for perl, perl4, perl5, bash or sh when installing
	listtape.[sh,pl]

	* TODO: Updated.

	* MCONFIG:
	Helper program can be installed relative to an installation prefix
	(i.e. /usr or /usr/local)

	* RELEASE-NOTES: Include new slow-seek fallback

Tue Oct 28 00:13:02 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* ftape/zftape/zftape-init.c:
	"struct file_operations" has changed between 2.1.59 and 2.1.60. Add
	preprocessor conditionals to reflect these changes.

	* ftape/lowlevel/ftape-rw.c:
	Added slow-seek fallback facility to ft_start_tape() if tape can't be
	positioned at desired location after 3 unsuccessful retries.

	* ftape/.cvsignore: Initial revision, ignore KDE's .directory entries

	* contrib/tests/README, contrib/tests/overshoot.sh:
	Added fast seek overshoot testing

	* contrib/scripts/README: Updated to reflect changes

	* contrib/scripts/listtape.sh:
	Use the TAPE environment variable, /dev/tape if $TAPE is not set.

	* contrib/scripts/Attic/listtape, contrib/scripts/listtape.pl:
	Renamed listtape to listtape.pl

Mon Oct 27 23:59:58 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* contrib/scripts/MAKEDEV.ftape:
	Fixed a typo that prevented installation of the nzqft devices

	* contrib/scripts/Makefile: initial revision

	* contrib/gnumt/Makefile:
	Install ftmt under $(BINDIR), yet another global variable set in
	MCONFIG.

	* contrib/Makefile:
	Add the scripts subdir (listtape is now installed in BINDIR)

	* TODO, README, MCONFIG, INSTALL, Ftape-FAQ, BUGS:
	Spellcheck and minore updates

	* .cvsignore: initial revision

Fri Oct 24 20:16:20 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* Release of ftape-3.04-beta-6

	* ftape/zftape/zftape-init.c:
	Initialize the vm_ops field with a 0-filled dummy struct to compensate
	the sys_msync() kernel bug.

	* contrib/ftformat/ftfmt-tapelib.c:
	Need to pass "-1" as the parameter value to qic_simple_command() to
	indicate that no parameter is needed. Fixed.

	* ftape/lowlevel/ftape-proc.c:
	Forgot a semicolon at the end of a struct :-(

Fri Oct 24 14:05:02 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* MCONFIG:
	Fix some pathnames and comment out CONFIG_FT_PROCFS for release of
	3.04-beta-6

	* contrib/gnumt/Makefile, contrib/ftformat/Makefile, MCONFIG:
	Added "MANDIR" variable.

	* contrib/ftformat/ftformat.man: Initial revision

	* contrib/ftformat/ftfmt-options.c: Fixed some typos.

	* ftape/zftape/zftape-vtbl.c:
	Fixed yet another bug when extracting volumes from extra-lenght
	(i.e. 2.2GB) cartridges. Should work now, but I'm unable to test it.

Thu Oct 23 22:56:19 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* ftape/zftape/zftape-vtbl.c:
	Fixed a typo that broke ftape-2.x read compatibility.

Tue Oct 21 14:39:31 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* patches/1.2.13/wrapper.h, patches/1.2.13/linux-1.2.13.dif.2,
 	  ftape/lowlevel/ftape-read.c, ftape/lowlevel/ftape-proc.c,
 	  Doc/texi/Installation.texi, TODO, Rules.make, MCONFIG, INSTALL:
	Merged patches supplied by
	"Harry G. McGavran Jr. " <mcgavran@rt66.com> to support 1.2.13 again.
	Needed to modify Rules.make to work properly with MODVERSIONS &
	1.2.13. Don't compile ftape-proc.c with 1.2.13. Instruct the user to
	RTFM when using 1.2.13 kernels (in INSTALL). Modify installation
	manual to reflect 1.2.13 changes.

	* contrib/vtblc/vtblc.c: Bug fixes/changes proposed by
	Andreas Muck <postmaster@koala.rhein-neckar.de>
	Use localtime instead of GMT. Call tzset() and initialize tm_isdst in
	decode_date(). Use "%T %D" instead of locale's %C.

	* contrib/vtblc/vtblc.c:
	Removed the "const" from the "date" argument to "set_date()" 'cause
	libc-5 doesn't define the date argument to strptime() as "const".

	* contrib/vtblc/getsubopt.c, contrib/ftformat/getsubopt.c:
	Changed the function definition to be a proto-type.

	* include/linux/zftape.h, include/linux/ftape.h,
 	  ftape/zftape/zftape-init.c, ftape/lowlevel/ftape-init.c:
	Changed the load banner of zftape to display the ftape version string
	of the ftape version it belongs to. Discard separate relese number of
	zftape as proposed by Francois Laagel <laagel@hrnet.fr>.

	* contrib/scripts/listtape:
	Use the TAPE environment variable in first place, "/dev/tape" if $TAPE
	is unset. By Nick Holloway <Nick.Holloway@alfie.demon.co.uk>.

Sat Oct 18 16:09:36 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* contrib/ftformat/ftformat.c, contrib/ftformat/ftfmt-tapelib.c:
	Switch to unbuffered IO for stdout/stderr. Some drives don't allow the
	physical revers/forward commands in format mode. They respond with an
	"Command illegal or unimplemented in format mode" error. Skip the
	erasure of the old format in this case.

	* Doc/html/.cvsignore: Add the "BUGS" file

	* BUGS: Inital revision

Fri Oct 17 23:01:53 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* ftape/lowlevel/fdc-isr.c:
	Added fix for  pre 82077 fdc when verifying a cartridge after
	formatting, supplied by Olaf Titz <olaf@bigred.inka.de>

	* ftape/lowlevel/ftape-read.c:
	Add test to compensate for faulty formatted cartrigdes reported by Dima
	Brodsky in ftape_decode_header_segments()

	* contrib/ftformat/ftfmt-tapelib.c, contrib/ftformat/ftfmt-options.c:
	Added fixes and changes proposed by Jochen Hoenicke
	<Jochen.Hoenicke@Informatik.Uni-Oldenburg.DE> (typos, teaching me how
	to manipulate bitfields :-), and small msync change to support his
	tracker patch)

	* ftape/zftape/zftape-vtbl.c:
	list_empty() macro (inline function?) is meaningless with zftape, use
	zft_vtbl_empty macro instead.

	* ftape/lowlevel/ftape_syms.c: ftape procfs entries aren't exported

Thu Oct 16 23:37:32 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* ftape/lowlevel/ftape-write.c:
	Undo change in determining when we should start the tape. Fix Starting
	of the tape with WRITE_SINGLE

	* ftape/lowlevel/ftape-proc.c:
	No longer create an ftape directory, but only a file that contains all
	the data.

	* ftape/lowlevel/ftape-buffer.c:
	Don't be too noisy if allocation of dma buffers fail.

	* contrib/vtblc/vtblc.c:
	Allow open of the ftape devices in read-only mode if invoked to simply
	dump the volume table contents.

	* contrib/scripts/MAKEDEV.ftape: Ask user if devices already exist

	* contrib/gnumt/mt.c:
	The signature returned by a floppy tape drive is at most 16 bits,
 	not 24

	* contrib/ftformat/ftfmt-tapelib.c:
	Compensate for automatic type conversion problems with gcc

	* Doc/texi/ftape.texi, Doc/texi/Testing.texi,
 	  Doc/texi/QuickInstall.texi, Doc/texi/Introduction.texi,
 	  Doc/texi/Loading.texi, Doc/texi/Installation.texi,
 	  Doc/texi/Implementation.texi, Doc/texi/Documentation.texi,
 	  Doc/texi/Bugs.texi:
	Miscellanous updates, document the changed proc interface

	* Doc/html/Makefile:
	Add the "BUGS" file to the external file references

	* Doc/dvi/fix-makeinfo.sh: Updated for new macros/changed time stamps

	* RELEASE-NOTES: Tell Emacs that this is a -*-Text-*- file

	* README: Add a hint to read the "BUGS" file

	* MCONFIG: Add option for amd-K6, add a hint to the "BUGS" file

Fri Oct 10 12:14:11 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* Release of ftape-3.04-beta-5

	* include/linux/zftape.h, include/linux/ftape.h, RELEASE-NOTES,
 	  README, MCONFIG, INSTALL:
	Update timestamps for release of ftape-3.04-beta-5

	* contrib/ftformat/ftfmt-tapelib.c:
	Search also for clusters of bad blocks when tuning the bad sector map

	* Doc/texi/Installation.texi: Added link to the isapnptools home page.

	* ftape/lowlevel/ftape-setup.c: Fixed a typo.

	* ftape/lowlevel/fdc-io.c:
	Communication with the isr() still seems to be broken when the isr
	stops the tape; added a trace statement to get notified in this case.

	* contrib/ftformat/ftfmt-tapelib.c:
	Lowered allowed bad sectors per segment threshold from 16 to 8;
	implement bit pattern tuning for bsm: 101 -> 111

	* MCONFIG:
	ARCH_OPT commented out by default; only needed on Alpha, if at all

Thu Oct  9 15:47:11 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* ftape/lowlevel/fdc-isr.c: Fixed a typo.

Thu Oct  9 15:43:09 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* include/linux/ftape-vendors.h:
	Finally add new vendor id 0382 for Eagle TR-3

	* ftape/lowlevel/ftape-setup.c:
	Add mini-max check to kernel bootup options. Correct typos.

	* ftape/lowlevel/fdc-isr.c:
	always mark sectors bad on no_data_errors when verifying

	* ftape/lowlevel/fdc-isr.c: always mark sectors bad on no_data_errors

	* contrib/ftformat/ftfmt-options.c:
	Improved online documentation with examples.

	* TODO:
	Add a reminder to include the isapnptools to the requirements section.

	* MCONFIG:
	Add "do-it-yourself" configuration for those people whithout a kernel
	source tree. Add processor specific CFLAGS.

Tue Oct  7 09:32:28 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* include/linux/mtio.h:
	Remove ":32" bitfield from ft_bsm in "struct ftfmtverify"

	* include/linux/ftape-vendors.h:
	Add 0x004c0 vendor id for "AIWA TD-S1600"

	* ftape/lowlevel/ftape-setup.c:
	Add __initdata and __initcode stuff for recent kernel versions.

	* ftape/lowlevel/fdc-isr.c:
	Don't retry on "no data errors" when verifying a cartridge, only if
	the previous sector was also an error.

	* ftape/lowlevel/Makefile: Add "ftape-setup.o" if CONFIG_FTAPE=y

Mon Oct  6 04:34:43 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* contrib/ftformat/ftformat.c, contrib/ftformat/ftfmt-tapelib.c:
	Argh, the get_parms() ioctl doesn't set QIC_TAPE_WIDE. Compensate for
	it by using the tape_status of the MTIOCGET ioctl.

	* ftape/lowlevel/ftape-read.c: Forgot to remove a trace statement

Sun Oct  5 22:25:11 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* include/linux/zftape.h, include/linux/ftape.h, RELEASE-NOTES:
	Release of version 3.04-beta-3

	* ftape/lowlevel/ftape-rw.c, ftape/lowlevel/fdc-isr.c:
	Forgot to reset some trace-levels after testing.

	* ftape/Configure.help.ftape, ftape/Config.in: Fixed typos.

Sun Oct  5 19:19:33 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* include/linux/zftape.h, include/linux/qic117.h,
 	  include/linux/mtio.h, include/linux/ftape.h,
 	  include/linux/ftape-vendors.h,
 	  include/linux/ftape-header-segment.h,
 	  ftape/zftape/zftape_syms.c, ftape/zftape/zftape_syms.h,
 	  ftape/zftape/zftape-write.c, ftape/zftape/zftape-write.h,
 	  ftape/zftape/zftape-vtbl.h, ftape/zftape/zftape-vtbl.c,
 	  ftape/zftape/zftape-rw.h, ftape/zftape/zftape-rw.c,
 	  ftape/zftape/zftape-read.h, ftape/zftape/zftape-read.c,
 	  ftape/zftape/zftape-init.h, ftape/zftape/zftape-init.c,
 	  ftape/zftape/zftape-eof.h, ftape/zftape/zftape-ctl.h,
 	  ftape/zftape/zftape-eof.c, ftape/zftape/zftape-ctl.c,
 	  ftape/zftape/zftape-buffers.c, ftape/zftape/zftape-buffers.h,
 	  ftape/zftape/Makefile, ftape/lowlevel/ftape_syms.h,
 	  ftape/lowlevel/ftape_syms.c, ftape/lowlevel/ftape-write.h,
 	  ftape/lowlevel/ftape-tracing.h, ftape/lowlevel/ftape-write.c,
 	  ftape/lowlevel/ftape-tracing.c, ftape/lowlevel/ftape-setup.c,
 	  ftape/lowlevel/ftape-rw.h, ftape/lowlevel/ftape-rw.c,
 	  ftape/lowlevel/ftape-read.h, ftape/lowlevel/ftape-read.c,
 	  ftape/lowlevel/ftape-proc.h, ftape/lowlevel/ftape-proc.c,
 	  ftape/lowlevel/ftape-io.h, ftape/lowlevel/ftape-io.c,
 	  ftape/lowlevel/ftape-init.h, ftape/lowlevel/ftape-init.c,
 	  ftape/lowlevel/ftape-format.h, ftape/lowlevel/ftape-format.c,
 	  ftape/lowlevel/ftape-ecc.h, ftape/lowlevel/ftape-ecc.c,
 	  ftape/lowlevel/ftape-ctl.c, ftape/lowlevel/ftape-ctl.h,
 	  ftape/lowlevel/ftape-buffer.h, ftape/lowlevel/ftape-calibr.c,
 	  ftape/lowlevel/fdc-isr.h, ftape/lowlevel/ftape-bsm.h,
 	  ftape/lowlevel/ftape-buffer.c, ftape/lowlevel/fdc-io.h,
 	  ftape/lowlevel/fdc-isr.c, ftape/lowlevel/fdc-io.c,
 	  ftape/lowlevel/fc-10.c, ftape/lowlevel/Makefile,
 	  ftape/Configure.help.ftape, ftape/Makefile, ftape/ftape.txt,
 	  ftape/Config.in, contrib/vtblc/vtblc.h, contrib/vtblc/vtblc.c,
 	  contrib/vtblc/Makefile, contrib/tests/README,
 	  contrib/swapout/Makefile, contrib/scripts/listtape.sh,
 	  contrib/scripts/listtape, contrib/scripts/MAKEDEV.ftape,
 	  contrib/scripts/README, contrib/ftformat/ftformat.h,
 	  contrib/ftformat/ftfmt-tapelib.h, contrib/ftformat/ftformat.c,
 	  contrib/ftformat/ftfmt-options.c,
 	  contrib/ftformat/ftfmt-options.h, contrib/ftformat/Makefile,
 	  contrib/ftformat/ftfmt-bsm.h, Makefile, Rules.make, TODO,
 	  MCONFIG, INSTALL:
	Copyright notice, some other small changes necessary to do the kernel
	integration.

	* contrib/ftformat/ftfmt-tapelib.c:
	Ignore error when sending SET_RATE_OR_FORMAT, as well as error when
	sending SET_N_FORMAT_SEGMENTS.

	* ftape/lowlevel/ftape-bsm.c, contrib/ftformat/ftfmt-bsm.c:
	Fixed a sever bug. Must multiply the third argument of memmove bye 3
	to get the actual byte count in put_bad_sector_entry() :-(

	* README:
	Thought a README would be a good idea. This is the first file I search
	for when trying to install new packages on my own system.

	* ftape/zftape/compressor/Attic/zftape-compress.h,
 	  ftape/zftape/compressor/Attic/zftape-compress.c,
 	  ftape/zftape/compressor/Attic/lzrw3.h,
 	  ftape/zftape/compressor/Attic/lzrw3.c,
 	  ftape/zftape/compressor/Attic/Makefile,
 	  ftape/zftape/compressor/Attic/.cvsignore,
 	  ftape/compressor/zftape-compress.h,
 	  ftape/compressor/zftape-compress.c, ftape/compressor/lzrw3.h,
 	  ftape/compressor/lzrw3.c, ftape/compressor/Makefile,
 	  ftape/compressor/.cvsignore:
	Renamed

Fri Oct  3 23:49:03 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* ftape/lowlevel/ftape-proc.c:
	Forgot to remove a space from the start of " tape qualitiy statistics"

	* ftape/lowlevel/ftape-setup.c, ftape/lowlevel/fdc-io.c:
	Make the max. FDC data rate and the initial FDC threshold configurable
	during kernel configuration.

	* ftape/Configure.help.ftape, ftape/ftape.txt, ftape/Config.in:
	Additions to sync with current ftape release.

	* ftape/lowlevel/ftape-rw.c:
	Increase the start offset if ftape_start_tape() fails repeatedly

	* ftape/lowlevel/ftape-proc.c:
	Must include <asm/segment.h> for 2.1.28 and earlier.
	Fix broken /proc/ftape/controller output

	* ftape/lowlevel/ftape-init.c:
	Must not reference ftape_tracing when compiled with "-DNO_TRACE_AT_ALL"

	* ftape/lowlevel/fdc-io.c: "in_interrupt()" wasn't there until 2.1.30

	* ftape/zftape/zftape-vtbl.c:
	zft_find_volume() was broken when used with full cartridges, should
	not return the constant "eot_vtbl" when at EOT, but the dynamically
	allocated "eom_vtbl".

	* contrib/ftformat/ftformat.c, contrib/ftformat/ftfmt-tapelib.c,
 	  contrib/ftformat/ftfmt-options.c:
	Add "TR-3" and "TR-1" symbols to the qic-standard option (synonymous
	to "QIC-80/WIDE", and "QIC-3020/WIDE".

	Fix "--verify-only" option (did erase the cartridge when used with
	"--force", bad :-)

Tue Sep 30 13:14:02 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* ftape/lowlevel/ftape-rw.c:
	history.overrun_errors has type "unsigned", overrun_count_offset was
	of type "signed int" which caused problems with negative result of the
	subtraction of both values.

	* ftape/lowlevel/ftape-proc.c:
	Remvoe obsolete "#ifdef 0"s, tune the history output a little bit.

	* ftape/lowlevel/fdc-io.c:
	Move "restore_flags()" past "update_dsr()" in fdc_reset().

	* MCONFIG: Exchanged "ifdef $(SMP)" by "ifdef SMP" :-(

Fri Sep 26 22:12:38 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* Doc/texi/Documentation.texi, Doc/texi/QuickInstall.texi,
 	  Doc/texi/Bugs.texi, Doc/html/Makefile, Doc/html/.cvsignore:
	Rename FAQ to Ftape-FAQ

Fri Sep 26 18:52:18 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* Release of second beta version, ftape-3.04-beta-2
	
	* include/linux/zftape.h, include/linux/ftape.h, RELEASE-NOTES:
	Update the time stamp for the release of ftape-3.04-beta-2

	* ftape/lowlevel/ftape-io.c, ftape/lowlevel/ftape-read.c,
 	  ftape/lowlevel/ftape-ecc.c, ftape/lowlevel/ftape-bsm.c:
	Add small bug fixes by Jochen Hoenicke.

	* ftape/lowlevel/ftape-proc.c:
	Always print the error history, even if empty.

	* Ftape-FAQ, Attic/FAQ: Renamed FAQ to Ftape-FAQ

	* ftape/lowlevel/fdc-isr.c:
	We REALLY need to retry on no_data_errors. Otherwise the fdc gets
	totally confused and won't find any tape sector for the remainder of
	the tape track.

	* ftape/zftape/zftape-init.c:
	In 2.1.56 the mmap() file operation no longer takes the inode as
	argument. Instead, access the inode via filep->f_dentry->d_inode.

	* contrib/ftformat/ftformat.c, contrib/ftformat/ftfmt-options.c:
	Don't autoprobe with "--verify-only", use the FTFMT_SET_PARMS
	operation even with "--verify-only" to clear the bad sector map of the
	kernel driver.

	* Rules.make: Let object files depend on $(LINUX_LOCATION)/.config

Sat Sep 20 02:27:31 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* INSTALL: Updated to reflect the changed directory layout.

	* ftape/zftape/zftape_syms.c: Same change as for ftape_syms.c

	* ftape/lowlevel/ftape-init.c:
	ftape_tracing is exported as kernel symbol. This is ugly when using
	verioned symbols cause ftape_tracing is a module parameter as
	well. Introduce new variable ft_tracing as placeholder

	* ftape/lowlevel/ftape_syms.c:
	Finally managed to cope with versioned symbols when using
	2.0.*. FT_KSYM(sym) had to be defined as X(##sym) instead of X(sym).

	* ftape/lowlevel/ftape-proc.c: Forgot to remove a trace statement

	* RELEASE-NOTES, Doc/texi/Testing.texi, Doc/texi/Loading.texi,
 	  Doc/texi/Installation.texi:
	Updated for the changed directory layout and proc interface.

	* ftape/zftape/compressor/.cvsignore: *** empty log message ***

	* ftape/lowlevel/ftape-proc.c:
	Added the __init_func() macro to ftape_proc_init(). Surround
	ftape_proc_destroy() by an "#ifdef MODULE"

	* ftape/lowlevel/ftape-init.c:
	Needed to rename the ftape_tracing parameter to ft_tracing. Otherwise
	the checksum from the kernel symbol ftape_tracing would be part of the
	name of thats parameter

	* ftape/zftape/Makefile, ftape/Makefile, Rules.make, Makefile, MCONFIG:
	Hacked until it work for both, 2.0.30 and 2.1.55

	* ftape/Config.in: Kernel configuration file

	* contrib/scripts/animtape: fixed a silly bug in this silly script

Fri Sep 19 17:21:04 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* Rules.make:
	Fixed dependency generation, add NODEP to uninstall target, don't
	touch include/linux/modversions.h

	* Makefile:
	Suppress dependency generation for "make uninstall" and remove the
	ftape docdir when uninstalling

	* include/linux/modules/.cvsignore, include/linux/.cvsignore:
	Ignore temporary modversions files

	* include/linux/Attic/modversions.h: Unneeded in the repository

	* ftape/zftape/compressor/lzrw3.h,
 	  ftape/zftape/compressor/zftape-compress.c,
 	  ftape/zftape/compressor/zftape-compress.h,
 	  ftape/zftape/compressor/lzrw3.c,
 	  ftape/zftape/compressor/Makefile:
	Needed to created a different subdirectory for a second multi object
	file module when including it in the kernel source tree.

	* ftape/zftape/Makefile, ftape/zftape/zftape-init.c,
 	  ftape/lowlevel/ftape-setup.c, ftape/lowlevel/fdc-io.h,
 	  ftape/lowlevel/ftape-init.c, ftape/lowlevel/fdc-io.c,
 	  ftape/lowlevel/Makefile, ftape/Makefile, contrib/vtblc/Makefile,
 	  contrib/swapout/Makefile, contrib/ftformat/Makefile,
 	  contrib/Makefile, Doc/info/Makefile, Doc/html/Makefile,
 	  Rules.make, RELEASE-NOTES, Makefile, MCONFIG:
	Several changes to prepare for kernel inclusion of the package

	* include/linux/Attic/modversions.h: Empty dummy file.

	* ftape/zftape/Attic/zftape-compress.h,
 	  ftape/zftape/Attic/lzrw3.h,
 	  ftape/zftape/Attic/zftape-compress.c,
 	  ftape/zftape/Attic/lzrw3.c:
	Moved to compressor subdirectory

	* ftape/zftape/zftape_syms.h, ftape/zftape/zftape-write.h,
 	  ftape/zftape/zftape_syms.c, ftape/zftape/zftape-vtbl.h,
 	  ftape/zftape/zftape-write.c, ftape/zftape/zftape-rw.h,
 	  ftape/zftape/zftape-vtbl.c, ftape/zftape/zftape-read.c,
 	  ftape/zftape/zftape-read.h, ftape/zftape/zftape-rw.c,
 	  ftape/zftape/zftape-eof.h, ftape/zftape/zftape-init.c,
 	  ftape/zftape/zftape-init.h, ftape/zftape/zftape-ctl.c,
 	  ftape/zftape/zftape-ctl.h, ftape/zftape/zftape-eof.c,
 	  ftape/zftape/Attic/zftape-compress.h,
 	  ftape/zftape/Attic/zftape-compress.c,
 	  ftape/zftape/Attic/lzrw3.h, ftape/zftape/zftape-buffers.c,
 	  ftape/zftape/zftape-buffers.h, ftape/zftape/Attic/lzrw3.c,
 	  ftape/zftape/Makefile, ftape/zftape/.cvsignore,
 	  ftape/lowlevel/ftape-write.c, ftape/lowlevel/ftape-write.h,
 	  ftape/lowlevel/ftape_syms.c, ftape/lowlevel/ftape_syms.h,
 	  ftape/lowlevel/ftape-tracing.c, ftape/lowlevel/ftape-tracing.h,
 	  ftape/lowlevel/ftape-rw.c, ftape/lowlevel/ftape-rw.h,
 	  ftape/lowlevel/ftape-setup.c, ftape/lowlevel/ftape-proc.h,
 	  ftape/lowlevel/ftape-read.c, ftape/lowlevel/ftape-read.h,
 	  ftape/lowlevel/ftape-io.h, ftape/lowlevel/ftape-proc.c,
 	  ftape/lowlevel/ftape-init.c, ftape/lowlevel/ftape-init.h,
 	  ftape/lowlevel/ftape-io.c, ftape/lowlevel/ftape-ecc.h,
 	  ftape/lowlevel/ftape-format.c, ftape/lowlevel/ftape-format.h,
 	  ftape/lowlevel/ftape-ecc.c, ftape/lowlevel/ftape-calibr.h,
 	  ftape/lowlevel/ftape-ctl.c, ftape/lowlevel/ftape-ctl.h,
 	  ftape/lowlevel/ftape-buffer.c, ftape/lowlevel/ftape-buffer.h,
 	  ftape/lowlevel/ftape-calibr.c, ftape/lowlevel/fdc-isr.h,
 	  ftape/lowlevel/ftape-bsm.c, ftape/lowlevel/ftape-bsm.h,
 	  ftape/lowlevel/fdc-isr.c, ftape/lowlevel/fc-10.h,
 	  ftape/lowlevel/fdc-io.c, ftape/lowlevel/fdc-io.h,
 	  ftape/lowlevel/.cvsignore, ftape/lowlevel/Makefile,
 	  ftape/lowlevel/fc-10.c, ftape/Makefile:
	Renamed driver/ftape to ftape/lowlevel and driver/zftape to
	ftape/zftape to prepare for kernel inclusion.

Thu Sep 18 20:25:49 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* Doc/info/Makefile, Doc/html/Makefile, Doc/dvi/Makefile:
	Improved TeXinfo source dependency. make clean now only deletes the
	symlinks to the TeXinfo source. Subsequent "make all" will not remake
	the documentation if the TeXinfo source has not been modified. "make
	realclean" will remove the formatted documentation.

	* Doc/Makefile: Removed obsolete install.doc target

Thu Sep 18 19:22:04 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* Doc/info/Makefile, Doc/html/Makefile, Doc/dvi/Makefile:
	Don't attempt to install the documentation if DOCDIR or INFODIR isn't
	defined

	* MCONFIG: Added default paths to install the documentation in.

	* RELEASE-NOTES: Update to latest changes

	* Doc/info/Makefile, Doc/html/Makefile:
	Install the documentation under /usr/doc/ftape by default.

	* Doc/html/.cvsignore: Add qic117.h file.

	* Doc/Makefile: Removed reference to sgml sub-directory

	* driver/ftape/ftape-init.c, driver/ftape/ftape-setup.c,
 	  driver/ftape/fdc-io.h, driver/ftape/ftape-ctl.c,
 	  driver/ftape/fdc-io.c:
	Add a new parameter "ft_fdc_rate_limit" to limit the maximal data rate
	of the fdc if it is to be expected that the rate will be reduced by
	the driver anyway

	* driver/ftape/ftape-write.c:
	Fixed a trace message in write_segment(). Report the segment id of the
	segment being retried, not the arg to write_segment().

	* driver/ftape/fdc-isr.c: Forgot to reset a trace level after testing.

	* driver/zftape/zftape-ctl.c:
	Always write a file mark when closing the device in QIC mode, even
	after catching a signal.

	* driver/zftape/zftape-rw.c:
	Fixed a but in calc_tape_pos(). Segment id was off by one when
	counting backwards.

	* contrib/scripts/animtape: Make it scalable.

	* contrib/scripts/listtape.sh:
	Bourne shell equivalent of listtape. Some people don't understand perl
	scripts.

	* contrib/scripts/listtape: Fixed a typo

	* contrib/vtblc/vtblc.c:
	Enclose the tape label with double quotes when using --print

	* contrib/ftformat/ftfmt-options.c: Fixed a typo.

	* contrib/vtblc/vtblc.h, contrib/ftformat/ftformat.h,
 	  contrib/vtblc/getsubopt.c, contrib/vtblc/Makefile,
 	  contrib/ftformat/getsubopt.c, contrib/ftformat/Makefile:
	libc-5 doesn't have getsubopt()

	* Doc/texi/ftape.texi, Doc/texi/Loading.texi,
 	  Doc/texi/QuickInstall.texi, Doc/texi/Testing.texi,
 	  Doc/texi/Introduction.texi, Doc/texi/Installation.texi,
 	  Doc/texi/Implementation.texi, Doc/texi/Documentation.texi,
 	  Doc/texi/Bugs.texi:
	Should be uptodate now. Still missing is real documentation for
	ftformat and vtblc.

	* Doc/sgml/Attic/linuxdoc-sgml.sty, Doc/sgml/Attic/qwertz.sty,
 	  Doc/sgml/Attic/ftape.tex, Doc/sgml/Attic/isolatin.sty,
 	  Doc/sgml/Attic/ftape.sgml, Doc/sgml/Attic/copying.sgml,
 	  Doc/sgml/Attic/Makefile:
	Totally unneeded and useless for now

	* Doc/html/Footer:
	Image and anker have to be in the same line, otherwise netscape will
	draw a "continuation bar"

	* Doc/dvi/fix-makeinfo.sh:
	Added macros for the FAQ maintainer and HOWTO maintainer

	* Doc/dvi/Makefile:
	Install the dvi documentation under /usr/doc/ftape/dvi by default

	* Doc/Makefile: Modified the uninstall target.

Wed Sep 17 12:37:19 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* contrib/vtblc/vtblc.c:
	QIC starts counting days of the month starting at zero, but
	"struct tm" counts from 1 to 31.

	* driver/ftape/ftape-read.c, driver/ftape/ftape-format.c,
 	  driver/ftape/fdc-isr.c:
	buffer_overrun/_underrun buffer states were unused, removed them.

	* driver/ftape/ftape-write.c:
	ftape_write_segment(): restart the runner even with an empty
	segment. Otherwise we might hang. We have N buffers. If the tape is
	stopped or paused, and the N-th buffer was an empty segment, then the
	tape never was started and the driver gave the typical "wait for empty
	segment failed" message.

	* driver/ftape/ftape-rw.c:
	Reset overrun_count_offset if no error occurred for a long time

	* driver/ftape/ftape-io.c:
	ft_data_rate was halfed twice in ftape_half_data_rate() -- bug was
	introduced by previous changes.

	* driver/ftape/ftape-rw.h, driver/ftape/fdc-io.h:
	Moved definition of "buffer_struct" to fdc-io.h 'cause it is needed
	by fdc_setup_read_write() and fdc_setup_formatting()

	* driver/ftape/fdc-io.c: Clean up of fdc_setup_fdc_and_dma()

	* contrib/scripts/listtape: Quote the $ chars (perl script)

	* contrib/ftformat/ftfmt-tapelib.c:
	get_format_parms(): variable fmt wasn't used

	* FAQ, MCONFIG: Added note about Ditto 2GB

Thu Sep 11 08:33:24 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* Release of ftape-3.04-beta-1

	* include/linux/ftape.h, include/linux/zftape.h, RELEASE-NOTES,
 	  TODO, MCONFIG:
	Updated for the beta release of ftape-3.04

	* driver/ftape/fdc-isr.h, driver/ftape/fdc-isr.c,
 	  driver/ftape/fdc-io.c:
	Handle the cases where the fdc a pauses the tape. The fdc seeks in the
	background without signalling busy. We must wait for the interrupt
	that signals the completion of the seek if ft_hide_interrupt is
	set. We do this in fdc_command() because almost all fdc traffic takes
	this execution path.

	* driver/ftape/ftape-io.c: Deleted a superfluous empty line

	* driver/ftape/ftape-rw.c: Fixed a typo

	* contrib/vtblc/vtblc.c, contrib/vtblc/vtblc.h,
 	  contrib/vtblc/Makefile, contrib/vtblc/.cvsignore:
	Initial revision

	* contrib/Makefile: Add vtblc subdir

	* include/linux/ftape.h, include/linux/zftape.h, RELEASE-NOTES, TODO:
	update

	* driver/ftape/fdc-io.c:
	The driver <-> isr communication is broken. Try to cope with this with
	another cli()/sti() pair in fdc_result()

	* driver/ftape/fdc-isr.c:
	Sometimes there is a zero dma residue when getting an overrun error in
	the last sector?? Compensate. Don't retry on the first overrun error.
	Separate the verification handling from the ordinary read stuff 'cause
	it looked too ugly.

	* driver/zftape/zftape-vtbl.c:
	Use actual blocksize when in raw mode, use vtbl->count for volume label

	* contrib/ftformat/ftfmt-tapelib.c:
	Need to add 1900 to year of "struct tm" before passing it to
	FT_TIME_STAMP() macro

	* contrib/ftformat/ftfmt-options.c:
	Suboption arrays need a trailing "NULL" string.

	* contrib/scripts/listtape, contrib/scripts/texi2www,
 	  contrib/scripts/README, contrib/scripts/animtape,
 	  contrib/scripts/MAKEDEV.ftape:
	animtape is new (create an animation sequence of tape
	cartridges). Copyright updates, option parsing.

Tue Sep  9 15:12:43 1997  Claus-Justus Heine  <Heine@physik.rwth-aachen.de (Claus-Justus Heine)>

	* driver/zftape/zftape-write.c: Fixed a multi-trace statement

	* driver/zftape/zftape-rw.c: Fixed a bug in zft_calc_tape_pos()

	* driver/zftape/zftape-ctl.c:
	zft_open(): add a call to zft_init_driver() when the driver was opened
	in raw mode and then re-opened in normal mode. The contents of the
	header segments might have changed after being used in raw mode.

	* driver/ftape/ftape-rw.c, driver/ftape/ftape-io.h,
 	  driver/ftape/ftape-io.c, driver/ftape/fdc-io.h,
 	  driver/ftape/ftape-init.c, driver/ftape/fdc-io.c:

	The correct method to cope with overrun errors is to increase the FIFO
	threshold. Only reduce the data-rate when the threshold cannot be
	increased any further!

	* contrib/ftformat/ftformat.c, contrib/ftformat/ftfmt-tapelib.h,
 	  contrib/ftformat/ftfmt-tapelib.c:
	When used with --verify-only query the kernel for the correct setting
	to write to the header segment.

	* MCONFIG: Added an SMP option.

Sun Sep  7 01:38:48 1997  Claus-Justus Heine  <Heine@physik.rwth-aachen.de (Claus-Justus Heine)>

	* FAQ:
	Merged the start of a FAQ independently created by Tim Jones, and a
	comment on it made by Michael Hamilton.

	* TODO: Little updates

Wed Sep  3 17:38:26 1997  Claus-Justus Heine  <Heine@physik.rwth-aachen.de (Claus-Justus Heine)>

	* Doc/html/Makefile:
	Update to reflect changed location of texi2www and MAKEDEV.ftape

	* MCONFIG:
	Exchanged parse $(LINUX_LOCATION)/include/linux/version.h for the
	kernel version instead of using $(uname -r)

Wed Sep  3 16:23:05 1997  Claus-Justus Heine  <Heine@physik.rwth-aachen.de (Claus-Justus Heine)>

	* contrib/scripts/README: Added entries for MAKEDEV.ftape and texi2www

	* Makefile: Updated to reflect renaming of MAKEDEV.ftape

	* contrib/scripts/texi2www, contrib/scripts/MAKEDEV.ftape,
	  Attic/MAKEDEV.ftape:
	Renamed

	* contrib/texi2www/Attic/texi2www:
	Moved to the contrib/scripts/ directory

	* contrib/ftformat/ftformat.c, contrib/ftformat/ftfmt-options.h,
 	  contrib/ftformat/ftfmt-tapelib.c,
 	  contrib/ftformat/ftfmt-options.c:
	Some cosmetic changes.

	* contrib/ftformat/Makefile: Add -O to COMPILE

	* driver/zftape/zftape-rw.c, driver/zftape/zftape-rw.h,
 	  driver/zftape/zftape-vtbl.c, driver/zftape/zftape-ctl.c:
	zft_calc_tape_pos() only needs the segment id now.

	* driver/zftape/zftape-vtbl.h:
	remove next_vtbl component from the internal zft_volinfo struct

	* driver/zftape/zftape_syms.c: Remove unnecessary symbols

	* driver/zftape/zftape-buffers.c:
	Use it like kmalloc(size, priority), not vice versa :-(

	* driver/ftape/ftape-proc.c: Specify a field width for some printk()s

	* driver/ftape/ftape-ctl.c:
	Don't print a message to the kernel log when the cartridge is write
	protected.

	* driver/ftape/fc-10.c:
	Use the macros defined in fdc-io.h. FIXME: it shouldn't be necessary
	to enable the fdc at the end of probe_fc10() as this is done by
	fdc_reset().

	* contrib/tests/README, contrib/tests/bsftest.sh,
 	  contrib/tests/weof.c, contrib/scripts/README,
 	  contrib/scripts/listtape:
	Initial revision

	* contrib/gnumt/mt.c:
	Removed already commented out formatting stuff, MTIOCFTCMD
	ioctl. Don't print an error when MTIOCVOLINFO/GETSIZE fails as zftape
	is the only driver supporting these ioctls.

	* include/linux/list.h: This is missing in 2.0.30

	* Doc/html/Makefile:
	Finally got the dependencies right, and got rid of some broken symlink
	constructions.

	* Doc/html/.cvsignore: *** empty log message ***

	* Doc/html/up-arrow.gif, Doc/html/missing-arrow.gif,
 	  Doc/html/next-arrow.gif, Doc/html/prev-arrow.gif:

	Moved here from ../icons/*arrow*

	* Doc/icons/Attic/prev-arrow.gif, Doc/icons/Attic/up-arrow.gif,
 	  Doc/icons/Attic/missing-arrow.gif,
 	  Doc/icons/Attic/next-arrow.gif:
	Moved to the html subdir

Tue Sep  2 16:50:19 1997  Claus-Justus Heine  <Heine@physik.rwth-aachen.de (Claus-Justus Heine)>

	* driver/ftape/ftape-ctl.c, driver/ftape/fdc-io.c:
	Shit happens: fixed a bug already present in ALL!! previous ftape
	versions: fdc_ready_wait() did check the FDC_READY bit, but forgot
	about the FDC_BUSY bit. Therefore new commands could be issued during
	the result phase! Happened in ftape_dumb_stop() on a slow machine.

	Also: need to reset the ft_interrupt_seen flag in fdc_reset() before
	calling fdc_interrupt_wait() and surround the reset code with a
	cli()/sti() pair. FIXME if the latter isn't really necessary.

	* driver/zftape/zftape-rw.c: Fixed another multi-line trace message

	* driver/ftape/ftape_syms.c: Removed all unnecessary symbols

Tue Sep  2 13:08:07 1997  Claus-Justus Heine  <Heine@physik.rwth-aachen.de (Claus-Justus Heine)>

	* driver/ftape/ftape_syms.c: Removed all unnecessary symbols

	* include/linux/zftape.h, include/linux/ftape.h, RELEASE-NOTES:
	Filled in the current date.

	* ChangeLog:
	Changed to allow formatting of yet unformatted cartridges (in contrast
	to re-formatting of already formatted cartridges): if the qic standard
	is unknown, don't attempt to set the data rate. Instead, export
	ftape_calibrate_data_rate() as ksym and call it from FTFMTSETPARMS
	with the appropriate (i.e. desired) qic standard.

Tue Sep  2 11:30:59 1997  Claus-Justus Heine  <Heine@physik.rwth-aachen.de (Claus-Justus Heine)>

	* driver/zftape/zftape-ctl.c, driver/ftape/ftape_syms.c,
 	  driver/ftape/ftape-read.h, driver/ftape/ftape-read.c,
 	  driver/ftape/ftape-io.h, driver/ftape/ftape-io.c,
 	  driver/ftape/ftape-ctl.h, driver/ftape/ftape-ctl.c:

	Changed to allow formatting of yet unformatted cartridges (in contrast
	to re-formatting of already formatted cartridges): if the qic standard
	is unknown, don't attempt to set the data rate. Instead, export
	ftape_calibrate_data_rate() as ksym and call it from FTFMTSETPARMS
	with the appropriate (i.e. desired) qic standard.

Mon Sep  1 23:18:32 1997  Claus-Justus Heine  <Heine@physik.rwth-aachen.de (Claus-Justus Heine)>

	* include/linux/ftape.h, include/linux/zftape.h:
	Add date RCS tag to FTAPE_VERSION and ZFTAPE_VERSION for beta
	releases.

	* contrib/ftformat/ftfmt-tapelib.c:
	Print the newline before printing the error message in
	verify_cartridge().

	* driver/ftape/ftape-ctl.c:
	Add a missing newline for wakeup mismatch error message.

	* driver/ftape/ftape-format.c:
	verify_segment() shouldn't return an error when a segment has not a
	single good sector. This is why we verify, isn't it?

	* driver/ftape/ftape-rw.c: Removed a space at end of line ... silly.

Mon Sep  1 18:22:49 1997  Claus-Justus Heine  <Heine@physik.rwth-aachen.de (Claus-Justus Heine)>

	* driver/zftape/zftape-ctl.c:
	mtiocwrftseg(): only wait for writes to complete when called with
	MT_FT_WR_SINGLE

	* contrib/ftformat/ftfmt-tapelib.c:
	Use MT_FT_WRITE_SINGLE when writing the last header segment to
	actually flush the buffers to tape.

	Always update the statistics in the header segment, even when the
	header segment haven't been read.

	* contrib/ftformat/ftfmt-bsm.c:
	Fixed a silly bug: forgot a "return;" in put_bsm_entry()

Mon Sep  1 14:04:19 1997  Claus-Justus Heine  <Heine@physik.rwth-aachen.de (Claus-Justus Heine)>

	* contrib/ftformat/ftformat.c, contrib/ftformat/ftfmt-tapelib.c:
	Moved the last low level qic command to ftfmt-tapelib.c

Mon Sep  1 12:06:49 1997  Claus-Justus Heine  <Heine@physik.rwth-aachen.de (Claus-Justus Heine)>

	* contrib/ftformat/ftfmt-options.c: Removed another annoying printf

	* Doc/texi/Testing.texi, Doc/texi/ftape.texi,
 	  Doc/texi/Loading.texi, Doc/texi/QuickInstall.texi,
 	  Doc/texi/Installation.texi, Doc/texi/Implementation.texi,
 	  Doc/texi/Bugs.texi:
	Started removing references to sftape and ftape-format. Update of
	MTWEOF documentation to reflect the changes of the VFS interface of
	zftape. Some additional index entries. Added a reference to the FAQ to
	the "Reporting Bugs" directory.

	* Doc/html/Makefile: Link the FAQ to the html dir.

	* Doc/dvi/Makefile: Let ftape.dvi depend on ../texi/ftape.texi

	* Doc/dvi/fix-makeinfo.sh: Add macro @ft2

	* RELEASE-NOTES: Fixed a typo.

	* FAQ: Make it look a little nicer (had a look at glibc's FAQ)

Sun Aug 31 22:01:28 1997  Claus-Justus Heine  <Heine@physik.rwth-aachen.de (Claus-Justus Heine)>

	* tests/bsftest.sh, tests/weof.c, tests/.cvsignore:
	Initial revision. Very preliminary.

	* TODO, RELEASE-NOTES: Update for release of 3.04

	* MCONFIG:
	Let all *.o files depend on the toplevel MCONFIG file. This is
	necessary as MCONFIG set variables that result in different inclusions
	of header files etc.

	* Doc/dvi/Makefile: Remove *.texi.new files before creating them.

	* Doc/dvi/.cvsignore: Add ALL tmp files to .cvsignore

	* contrib/Makefile:
	Call the subdir clean: and realclean: target with NODEP=true to
	prevent endless regeneration of .*.d dependency files.

	* contrib/ftformat/ftfmt-tapelib.h, contrib/ftformat/ftformat.c,
 	  contrib/ftformat/ftfmt-tapelib.c:
	Commented out unnecessary printf() calls and added a final message
	after formatting has been finished successfully.

	* contrib/gnumt/Makefile: Added dummy realclean: target

	* contrib/swapout/.cvsignore, contrib/swapout/Makefile:
	Changed to support per-file dependencies.

	* driver/zftape/zftape-write.c, driver/zftape/zftape-write.h,
 	  driver/zftape/zftape-vtbl.c, driver/zftape/zftape-vtbl.h,
 	  driver/zftape/zftape-init.h, driver/zftape/zftape-read.c,
 	  driver/zftape/zftape-rw.c, driver/zftape/zftape-rw.h,
 	  driver/zftape/zftape-ctl.c, driver/zftape/zftape-eof.c,
 	  driver/zftape/zftape-eof.h, driver/zftape/zftape-buffers.c,
 	  driver/zftape/zftape-buffers.h:
	renamed ftape-hseg.h to ftape-header-segment.h and format_type to
	ft_format_type.

	Changes the volume table code to use a doubly linked list that
	dynamically grows as needed instead of the old static array.

	* driver/ftape/ftape-bsm.h, driver/ftape/ftape-ctl.h,
 	  driver/ftape/ftape-read.c:
	renamed ftape-hseg.h to ftape-header-segment.h and format_type to
	ft_format_type

	* driver/ftape/ftape-format.c:
	Experimentally surround the initial fdc setup with a cli/restore_flags
	pair.

	* driver/ftape/ftape-bsm.c: Some minor changes.

	* driver/ftape/fdc-io.c:
	Hold the cli() a bit longer when setting up the fdc for
	formatting. Have to think more about it.

	* driver/ftape/fdc-isr.c:
	Don't retry on no-data errors when verifying. This we might some
	sectors mark as bad that are actually good, but this is better than
	the other way round.

	* include/linux/Attic/ftape-hseg.h,
 	  include/linux/ftape-header-segment.h:
	Renamed ftape-hseg.h to ftape-header-segment.h

Sat Aug 30 14:30:33 1997  Claus-Justus Heine  <Heine@physik.rwth-aachen.de (Claus-Justus Heine)>

	* contrib/ftformat/ftfmt-tapelib.c, contrib/ftformat/ftformat.c,
 	  contrib/ftformat/ftfmt-bsm.c:
	Forgot to initialize the bad sector map. Renamed init_bsm() from
	init_bad_sector_map().

	* contrib/ftformat/.cvsignore, contrib/ftformat/Makefile:
	Added new source files and the new per-file dependency creation. Add
	the .*.d mask to .cvsignore

	* contrib/ftformat/ftformat.h, contrib/ftformat/ftformat.c,
 	  contrib/ftformat/ftfmt-tapelib.h,
 	  contrib/ftformat/ftfmt-options.c,
 	  contrib/ftformat/ftfmt-options.h,
 	  contrib/ftformat/ftfmt-tapelib.c, contrib/ftformat/ftfmt-bsm.c,
 	  contrib/ftformat/ftfmt-bsm.h:
	Finally a working version. Cleaned it up and broke it into several
	smaller pieces.

Wed Aug 27 20:51:27 1997  Claus-Justus Heine  <Heine@physik.rwth-aachen.de (Claus-Justus Heine)>

	* driver/ftape/fdc-isr.c:
	Several small changes that or may not change something. Reduce indent
	level in handle_fdc_busy().

	* driver/ftape/ftape-ctl.c: Need to call virt_to_phys() for mmap().

	* driver/ftape/ftape-format.c:
	setup_format_buffer() didn't initialize buff->next_segment correctly.
	ftape_veriy_segment() didn't call ftape_abort_operation() and did
	initialize bsm to NULL, not *bsm to zero.

	* driver/ftape/ftape-tracing.h, driver/ftape/ftape-tracing.c:
	No need to path the trace level to ftape_trace_call() and
	ftape_trace_exit()! Check for it in the macro, and unneeded trace
	instances will be optimized away.

	* include/linux/mtio.h: Add write/read mode defines

	* include/linux/Attic/ftape-hseg.h: Removed wrong comment

	* driver/zftape/zftape-ctl.c:
	Renamed "union ftfmt_arg" to "union fmt_arg"

	* driver/zftape/Makefile, driver/ftape/Makefile, driver/Makefile,
 	  Makefile:
	Added rule for per source file dependency file to MCONFIG, include
	these files here, and remove .dep, depend and dep targets.

	* contrib/ftformat/ftformat.c:
	It finally works again (for QIC-80, non wide, non TR-1 cartridges)

	* MCONFIG: Added rule for per source file dependency file.

	* FAQ: Q:
	Where is the FAQ?
	A:
	Here!

	* Doc/dvi/fix-makeinfo.sh:
	Use one "sed" incocation with multiple substitution expressions, not
	multiple "sed" invocations with one substitution expression.

	* Doc/dvi/Makefile: Fixed dependencies, rewrote main target

	* driver/zftape/.cvsignore, driver/ftape/.cvsignore,
 	  contrib/swapout/.cvsignore, contrib/gnumt/.cvsignore,
 	  contrib/ftformat/.cvsignore, Doc/info/.cvsignore,
 	  Doc/dvi/.cvsignore:
	New, makes life much easier.

Fri Aug 22 21:29:17 1997  Claus-Justus Heine  <Heine@physik.rwth-aachen.de (Claus-Justus Heine)>

	* contrib/ftformat/ftformat.c:
	Implemented formatting. Still todo: verifying.

	* driver/zftape/zftape-ctl.c:
	tracks_per_cartridge is only a ONE byte value.

	* contrib/ftformat/ftformat.c:
	The auto-detection code should be ready now. It remains to code the
	formatting itself.

	* driver/zftape/zftape-ctl.c:
	report_operation() doesn't return a status (in mtioc_ftcmd)

Tue Aug 19 12:36:31 1997  Claus-Justus Heine  <Heine@physik.rwth-aachen.de (Claus-Justus Heine)>

	* contrib/ftformat/ftformat.c: First real auto-detect code.

	* driver/zftape/zftape-init.h, driver/zftape/zftape-eof.h,
 	  driver/ftape/ftape-bsm.h, driver/ftape/ftape-ctl.h,
 	  driver/ftape/Makefile:
	Moved include file ftape-hseg.h to include/linux/ftape-hseg.h

Sun Aug 17 23:50:12 1997  Claus-Justus Heine  <Heine@physik.rwth-aachen.de (Claus-Justus Heine)>

	* contrib/ftformat/ftformat.c:
	Started to work on the auto-detection code

	* driver/ftape/ftape-ctl.c:
	Removed extra "\n" from last line of multi-line trace messages.

	* include/linux/ftape-vendors.h: Add tape speed of 80 ips to Ditto 2GB

	* include/linux/Attic/ftape-hseg.h, driver/ftape/Attic/ftape-hseg.h:
	Renamed

Sat Aug 16 23:39:53 1997  Claus-Justus Heine  <Heine@physik.rwth-aachen.de (Claus-Justus Heine)>

	* Makefile: Add a 'dep` target (as shortcut for depend:)

	* contrib/gnumt/mt.c:
	GOTSCHA!! Fixed a bug already there in the GNU cpio package: the
	remote tape server (/etc/rmt) support was broken: rtapelib.c returns
	the number of bytes returned by /etc/rmt after an ioctl, not zero!!
	"-1" in case of an error, BUT: everything >= 0 is perfectly in right
	and does NOT signal an error.

	* contrib/Makefile: Add depend: dummy target

	* driver/ftape/ftape-proc.c:
	Reflect changes in directory layout: Include <linux/qic117.h>, instead
	of "qic117.h"

	* driver/ftape/ftape-io.c:
	Undo change to wakeup_drive() don't try to de-select it if wakeup
	failed.

	* driver/ftape/fdc-isr.c, driver/ftape/fdc-io.c:
	ft_interrupt_seen isn't cleared any longer by fdc_command() if
	fdc_command() is called from inside the isr.

	* driver/zftape/zftape-init.c:
	change mmap stuff to work with recent dcache changes

Wed Aug  6 03:20:07 1997  Claus-Justus Heine  <Heine@physik.rwth-aachen.de (Claus-Justus Heine)>

	* contrib/ftformat/ftformat.c:
	Wrote tape_open() (and tape_close()) routine that performs basic
	checks after opening the tape device in r/w mode. Checks if we have a
	floppy tape device, if there is a cartridge inserted. Also tries to
	perform the mmap of the dma buffer.

	* include/linux/ftape-vendors.h:
	Added a nil-entry as last line to the vendor struct.

Mon Aug  4 14:35:33 1997  Claus-Justus Heine  <Heine@physik.rwth-aachen.de (Claus-Justus Heine)>

	* contrib/ftformat/Makefile, contrib/ftformat/ftformat.c:
	First code skeleton for the user level formatting program. Mmap works!

	* driver/ftape/ftape-init.c:
	Removed last reference to sftape, decrease trace level to ft_t_bug
	while trying to get the dma buffers.

	* include/linux/zftape.h, include/linux/ftape.h,
 	  driver/ftape/ftape-tracing.h:
	Move FT_SIGNAL_EXIT() to ftape-tracing.h. Make the ftape and zftape
	version strings available to user level programs.

	* driver/ftape/ftape-ctl.c:
	ftape_mmap() would map all dma buffer to the start of the user
	buffer. Fixed.

	* ChangeLog: *** empty log message ***

	* include/linux/zftape.h, include/linux/ftape.h,
 	  include/linux/mtio.h, include/linux/qic117.h,
 	  include/linux/ftape-vendors.h, driver/zftape/zftape_syms.c,
 	  driver/zftape/zftape_syms.h, driver/zftape/zftape-write.c,
 	  driver/zftape/zftape-write.h, driver/zftape/zftape-rw.h,
 	  driver/zftape/zftape-vtbl.c, driver/zftape/zftape-vtbl.h,
 	  driver/zftape/zftape-read.c, driver/zftape/zftape-read.h,
 	  driver/zftape/zftape-rw.c, driver/zftape/zftape-eof.c,
 	  driver/zftape/zftape-eof.h, driver/zftape/zftape-init.c,
 	  driver/zftape/zftape-init.h, driver/zftape/zftape-ctl.c,
 	  driver/zftape/zftape-ctl.h, driver/zftape/zftape-compress.h,
 	  driver/zftape/zftape-buffers.h, driver/zftape/zftape-compress.c,
 	  driver/zftape/lzrw3.c, driver/zftape/lzrw3.h,
 	  driver/zftape/zftape-buffers.c, driver/zftape/Makefile,
 	  driver/ftape/ftape-tracing.h, driver/ftape/ftape-write.c,
 	  driver/ftape/ftape-write.h, driver/ftape/ftape_syms.c,
 	  driver/ftape/ftape_syms.h, driver/ftape/ftape-setup.c,
 	  driver/ftape/ftape-tracing.c, driver/ftape/ftape-read.h,
 	  driver/ftape/ftape-rw.c, driver/ftape/ftape-rw.h,
 	  driver/ftape/ftape-proc.c, driver/ftape/ftape-proc.h,
 	  driver/ftape/ftape-read.c, driver/ftape/ftape-io.c,
 	  driver/ftape/ftape-io.h, driver/ftape/Attic/ftape-hseg.h,
 	  driver/ftape/ftape-format.h, driver/ftape/ftape-init.c,
 	  driver/ftape/ftape-init.h, driver/ftape/ftape-ecc.c,
 	  driver/ftape/ftape-ecc.h, driver/ftape/ftape-format.c,
 	  driver/ftape/ftape-ctl.c, driver/ftape/ftape-ctl.h,
 	  driver/ftape/ftape-buffer.h, driver/ftape/ftape-calibr.c,
 	  driver/ftape/ftape-calibr.h, driver/ftape/ftape-bsm.h,
 	  driver/ftape/ftape-buffer.c, driver/ftape/ftape-bsm.c,
 	  driver/ftape/fdc-io.h, driver/ftape/fdc-isr.c,
 	  driver/ftape/fdc-isr.h, driver/ftape/fc-10.c,
 	  driver/ftape/fc-10.h, driver/ftape/fdc-io.c,
 	  driver/ftape/Makefile, driver/Makefile,
 	  contrib/swapout/Makefile, contrib/gnumt/Makefile,
 	  contrib/gnumt/mt.c, contrib/ftformat/Makefile, contrib/Makefile,
 	  Doc/texi/Makefile, Doc/info/Makefile, Doc/html/Makefile,
 	  Doc/dvi/Makefile, Doc/Makefile, Makefile, TODO, MCONFIG:
	Moved all the *.h .c files to driver/ftape and zftape/*.c zftape/*.h
	to driver/zftape. Updated Makefiles to reflect this change

	* Attic/mtio.h, Attic/qic117.h, Attic/ftape.h, Attic/ftape_syms.c,
 	  Attic/ftape_syms.h, Attic/ftape-vendors.h, Attic/ftape-write.c,
 	  Attic/ftape-write.h, Attic/ftape-setup.c, Attic/ftape-tracing.c,
 	  Attic/ftape-tracing.h, Attic/ftape-rw.h, Attic/ftape-read.c,
 	  Attic/ftape-read.h, Attic/ftape-rw.c, Attic/ftape-proc.c,
 	  Attic/ftape-proc.h, Attic/ftape-io.h, Attic/ftape-io.c,
 	  Attic/ftape-init.h, Attic/ftape-init.c, Attic/ftape-hseg.h,
 	  Attic/ftape-ecc.h, Attic/ftape-format.c, Attic/ftape-format.h,
 	  Attic/ftape-ctl.h, Attic/ftape-ecc.c, Attic/ftape-ctl.c,
 	  Attic/ftape-calibr.c, Attic/ftape-calibr.h, Attic/ftape-bsm.c,
 	  Attic/ftape-bsm.h, Attic/ftape-buffer.c, Attic/ftape-buffer.h,
 	  Attic/fdc-isr.h, Attic/fdc-io.h, Attic/fdc-isr.c,
 	  Attic/fdc-io.c, Attic/fc-10.c, Attic/fc-10.h:
	Moved into driver/ftape resp. driver/zftape

	* TODO: Just  a reminder for myself

	* RELEASE-NOTES:
	Updated for ftape-3.03b and added a preliminary update for ftape-3.04

	* Makefile, MCONFIG:
	Removed reference to the sftape and the ftape-format module. Added
	ftape-format.c to the list of ordinary source file in `Makefile'

	* contrib/gnumt/mt.c:
	Removed formatting support, will be a separate program

	* Attic/mtio.h, Attic/ftape-format.h, Attic/ftape-init.c,
 	  Attic/ftape_syms.c, Attic/fdc-isr.c, Attic/ftape-format.c:
	ftape-format no longer exists as a separate module; the low level
	formatting stuff is now folded into the ftape.o module, the ioctl
	interface into zftape.o. Is a lot cleaner this way. Moved most of the
	complicated stuff to the user space formatting process (auto probing,
	mode switching, computation of the sector coordinates, reading/writing
	of header segments)

	* Attic/ftape-read.h, Attic/ftape-write.h, Attic/ftape-read.c,
 	  Attic/ftape-io.c:
	Cosmetic changes, changed one comment or two and crowded the place
	with some space chars.

Sun Aug  3 18:09:21 1997  Claus-Justus Heine  <Heine@physik.rwth-aachen.de (Claus-Justus Heine)>

	* Attic/mtio.h: Updated formatting ioctls

	* Attic/ftape_syms.c: Added ftape_mmap

	* Attic/ftape.h, Attic/ftape-tracing.h, Attic/ftape-write.c,
 	  Attic/ftape-setup.c, Attic/ftape-tracing.c, Attic/ftape-rw.h,
 	  Attic/ftape-rw.c, Attic/ftape-read.c, Attic/ftape-read.h,
 	  Attic/ftape-io.c, Attic/ftape-ctl.h, Attic/ftape-ecc.c,
 	  Attic/ftape-ctl.c, Attic/ftape-bsm.c, Attic/ftape-calibr.c,
 	  Attic/fdc-isr.c, Attic/fdc-io.h, Attic/fdc-io.c, Attic/fc-10.c:
	There are about 160 occurences  of "if (result < 0) return result;"
	Defined this as a macro. Defined FT_SIGNAL_EXIT(mask) to check for a
	signal and abort the current function in this case.

	* Attic/ftape-init.c, Attic/ftape-buffer.c:
	Loop until killed by signal when trying to allocate the dma buffers if
	we are a loadable module. We sleep 1/20 of a second before we try
	again. Mark dma buffers as reserved for mmap use.

Fri Aug  1 10:45:25 1997  Claus-Justus Heine  <Heine@physik.rwth-aachen.de (Claus-Justus Heine)>

	* Attic/ftape_syms.c, Attic/mtio.h, Attic/ftape-proc.c,
 	  Attic/ftape-read.c, Attic/ftape-io.h, Attic/ftape-io.c,
 	  Attic/ftape-ctl.h, Attic/ftape-ctl.c, Attic/fdc-io.c:
	New MTIOCFTSETPARMS/GETPARMS ioctl in preparation for new formatting
	code. Needed to make ftape_qic_std modifyable via this ioctl,
	therefore ftape_qic_std was included into the ftape_info structure,
	settable via the ftape_set_parms() function.

Wed Jul 30 02:05:22 1997  Claus-Justus Heine  <Heine@physik.rwth-aachen.de (Claus-Justus Heine)>

	* contrib/swapout/swapout.c: Cosmetic.

	* contrib/gnumt/mt.c:
	Added support for zftape's new MTIOCFTCMD ioctl to send raw qic-117
	commands to the drive, well this is really only intended for testing
	purposes.

	* contrib/gnumt/Makefile:
	Add the FTAPE_LOCATION to the include path to get the local include
	files correctly.

	* Attic/mtio.h:
	Added struct for sending raw qic-117 commands to the drive. Well, not
	really raw: the new ioctl handles commands + args and even commands
	that cause an answer by the tape drive (report_operation()). This has
	been done in preparation for the new, modified, better, galactic
	formatting code.

	* Attic/ftape-rw.c:
	Tried to fix infinite loops. At least ftape_wait_segment() had kind of
	a bug; it would never return -EINTR with a pending signal, but
	ftape_read_segment_fraction() expects this.

	* Attic/ftape-read.c: Some cosmetic in ftape_read_segment_fraction()

	* Attic/ftape-io.h, Attic/ftape-io.c:
	Fixed a bug in ftape_ready_wait(): when the tape is already in the
	ready state, don't return -EINTR whith a signal pending when we didn't
	sleep.

	* Attic/ftape-ctl.c:
	Only try to stop tape in ftape_disble() when the killing signal was
	sigint. A pending SIGKILL would cause too many tape operations to fail

	* Attic/fdc-io.c:
	Re-enable dma gate on std fdc when exiting and the std fdc shared
	either irq or dma with us.

Fri Jun  6 02:45:12 1997  Claus-Justus Heine  <Heine@physik.rwth-aachen.de (Claus-Justus Heine)>

	* Attic/fdc-io.c:
	We really need to catch a lonely stray interrupt in fdc_init(). Only,
	we should reset the number of the expected stray interrupts to
	zero. Once it has been reported the the number of expected stray
	interrupts was exploding.

Tue Jun  3 15:35:26 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* zftape/zftape-vtbl.c, zftape/zftape-read.c:
	Finally fixed EOD handling. ftape-3.03a was broken: let people read
	past EOD.

	* zftape/zftape-write.c:
	Replace a 0xaa55aa55 by the corresponding macro "FT_HSEG_MAGIC"

	* ftape-vendors.h, ftape-read.c, ftape-hseg.h:
	Added experimental support for Ditto 2GB. The thing was figured out by
	Jochen Hoenicke <Jochen.Hoenicke@Informatik.Uni-Oldenburg.DE>. It was
	simply an encrypted bad sector map :-).

	* fdc-io.c:
	Disable the primary fdc controller not only when we use the same
 	dma (2) channell, but also when we use the same irq (6). This
 	seems to enable using Ditto Dash with with these settings
 	(reported by mannetje@best.ms.philips.com)

	* MCONFIG:
	Install the modules under /lib/modules/$(uname -r)/misc by default,
	not /lib/modules/misc. Add compile tyle switch for experimental
	Ditto 2GB support.

Thu May 29 19:05:39 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* zftape/zftape-write.c: Exchange 0xaa55aa55 by the macro FT_HSEG_MAGIC

	* Doc/html/Makefile: Delete all symlinked files on "make realclean"

	* ftape-vendors.h, ftape-read.c, ftape-hseg.h:
	Start adding support for Ditto 2GB

	* Doc/html/Makefile:
	Remove all symlinked files when doing "make realclean"

Thu May 29 16:59:12 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* zftape/zftape-vtbl.c, zftape/zftape-init.c,
 	  zftape/zftape-read.c, zftape/zftape-ctl.c, zftape/Makefile,
 	  sftape/sftape-init.c, sftape/Makefile, ftape-format/Makefile,
 	  contrib/gnumt/mt.c, ftape-bsm.c, ftape.h, mtio.h, Makefile,
 	  MCONFIG:
	Fixes to make it at least COMPILE with a 1.2.13 kernel.

	* ftape-vendors.h: Add tape speed for Iomega 700 and add new vendor for
	"PERTEC MyTape 3200"

	* ftape-ctl.c:
	Finally remove that confusing "unknown tape length" message

Tue May 20 14:50:33 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* .: Release version 3.03a

	* contrib/texi2www/texi2www:
	Add the title of the "up" node to the page header

	* Doc/html/Makefile:
	Symlink some header files into the html dir to access them with
	hyperlinks.

	* zftape/zftape-rw.c, contrib/kdtime/Attic/pidfile.h,
 	  contrib/kdtime/Attic/pidfile.c, contrib/kdtime/Attic/Makefile,
 	  contrib/kdtime/Attic/kdtime.c, contrib/Makefile,
 	  Doc/texi/ftape.texi, Doc/texi/QuickInstall.texi,
 	  Doc/texi/Loading.texi, Doc/texi/Introduction.texi,
 	  Doc/texi/Installation.texi, Doc/texi/Implementation.texi,
 	  Doc/texi/Documentation.texi, Doc/dvi/fix-makeinfo.sh, MCONFIG:
	Removed contrib/kdtime/kdtime. Was too much of a hack

Fri May 16 16:10:43 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* ftape-format/ftape-format.c:
	I'm stupid. Finally hopefully really fixed formatting support for
	QIC-3010/3020.

Thu May 15 12:36:49 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* contrib/gnumt/mt.c: Make the output look nicer

	* fdc-io.c: typo

Wed May 14 09:55:20 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* zftape/zftape-compress.c, zftape/zftape.h,
 	  ftape-format/ftape-format.h, Doc/texi/ftape.texi,
 	  Doc/dvi/fix-makeinfo.sh, ftape.h:
	Bump version to 3.03a (ftape.o), 2.03a (zftape.o), 1.00a
	(zft-compressor.o), 1.01 (ftape-format.o)

Wed May 14 09:19:19 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* zftape/Attic/Makefile.kernel, sftape/Attic/Makefile.kernel,
 	  patches/2.x.x/Attic/Configure-Ftape.help,
 	  patches/2.x.x/Attic/Makefile.char,
 	  patches/2.x.x/Attic/Config.in.char, Attic/Makefile.kernel,
 	  Attic/Config.in:
	Not needed for the separate module, need to rewrite them anyways for
	the forthcoming kernel version of ftape

Wed May 14 09:06:37 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* RELEASE-NOTES: Add release notes for bug-fix release 3.03a.

Tue May 13 17:06:22 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* ftape-vendors.h:
	Added "Ditto 800" to ALL entries with 0x8880 vendor id

Tue May 13 15:42:05 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* zftape/zftape-init.c, zftape/zftape-compress.c,
 	  ftape-format/ftape-format.c:
	Learned something new: even if we use can_unload() we must use
	MOD_INC_USE_COUNT at least once to set the flag MODE_USED_ONCE.
	Otherwise auto-un-loading won't work properly.

	* zftape/Makefile: Fix a type (TAG -> TAGS)

	* ftape-ctl.c: Added a comment

Tue May 13 14:16:56 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* contrib/swapout/Makefile, contrib/kdtime/Makefile,
 	  contrib/gnumt/Makefile, contrib/Makefile:
	Added copyright notice

	* zftape/zftape-write.c, zftape/zftape-vtbl.h, zftape/zftape-rw.h,
 	  zftape/zftape-vtbl.c, zftape/zftape-rw.c:
	Renamed zft_get_kdtime() to zft_get_time() and set default time to the
	59th second of the 59th minute of Sylvester 2097.

	* contrib/Makefile: Small cleanups.

	* Doc/texi/Installation.texi, Doc/texi/ftape.texi,
 	  Doc/texi/Documentation.texi:
	Documented uninstall target

	* zftape/Makefile, sftape/Makefile, ftape-format/Makefile,
 	  contrib/swapout/Makefile, contrib/kdtime/Makefile,
 	  contrib/gnumt/Makefile, Doc/texi/Makefile, Doc/sgml/Makefile,
 	  Doc/info/Makefile, Doc/html/Makefile, Doc/dvi/Makefile,
 	  Doc/Makefile, Makefile:
	Small cleanups.

	* MCONFIG:
	Moved SBINDIR variable from contrib/Makefile herein. Changed
 	definition of KERNELD_TIME feature to allow omitting compilation
 	of the kdtime utility. KERNELD_TIME commented out by default.

Mon May 12 11:17:06 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* zftape/zftape-vtbl.c:
	Corrected hiding of old compression map volume. Forgot to add VTBL_EXT
	offset to EXT_ZFTAPE_CMAP index.

Mon May 12 09:44:51 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* contrib/texi2www/texi2www:
	Footnote back-reference hyper-link was broken. Fixed.

	* Doc/texi/Testing.texi:
	Add explanation and example about variable block size mode (zftape
	versus sftape)

	* Doc/texi/ftape.texi:
	Set FTDATE to "May 1997" and FTVERSION to 3.03 (forgot this for the
	main release)

	* Doc/dvi/fix-makeinfo.sh: Set date to May 1997

	* Doc/texi/Loading.texi:
	Clarify that the module locks itself in memory while the device is
 	open.

	* INSTALL: Replace reference to 'Testing' by `Testing ftape'

Mon May 12 08:08:12 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* ftape-format/ftape-format.c:
	Fixed wrong detection of QIC-40 cartridges in select_format()

Sun May 11 19:19:10 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* ftape-format/ftape-format.c:
	Refuse to format 1100ft "TR-1 Extra" cartridges with drives that don't
	support the "select format" QIC-117 command

	* zftape/zftape-ctl.c:
	Remove call to kdtime daemon to fetch current time when formatting

Sun May 11 19:02:48 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* ftape-format/ftape-format.c:
	Added support? for "TR-1 Extra" cartridges.  Set 1100ft format
 	instead of "variable length" format. What a mess!

	* Doc/html/Footer: Added some </P> end tags

Fri May  9 22:25:13 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* zftape/zftape-vtbl.c:
	Hide the cmap volume to cope with taper's intolerance against
	non-taper volumes.

	* zftape/zftape-write.c:
	zftape_flush_buffers() had trace level set to ft_t_noise instead of
	ft_t_info

	* zftape/zftape-read.c:
	Fix a bug in handing of EOD when reading: return 0 when reading the
	first time past EOD, return 0 when reading the second time past EOD,
	return -EIO the third time.

	* Doc/texi/ftape.texi, Doc/texi/Loading.texi,
 	  Doc/texi/QuickInstall.texi, Doc/texi/Testing.texi,
 	  Doc/texi/Installation.texi, Doc/texi/Implementation.texi:
	Added a note not to use a kernel with ftape support compiled into the
	kernel image

	* MCONFIG: Add just another alternative for Ditto Dash's FDC_OPT

	* INSTALL:
	Add a note not to run a kernel with ftape support compiled into the
	kernel image

Mon May  5 01:25:05 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* zftape/zftape-rw.c:
	zft_get_kdtime() was the one that caused the negative ftape_function_nest_level

	* zftape/zftape-compress.c, ftape-tracing.h, ftape-io.c,
 	  ftape-tracing.c, ftape-ctl.c, ftape-init.c, ftape-calibr.c,
 	  fdc-isr.c:
	Added some unnecessary "return" statements (without value) while
	tracing a negative function nest level. ftape_function_nest_level is
	again signed to find such `leaks'

	* fdc-io.c: Changed trace level of interrupt_wait() to ft_t_fdc_dma

Wed Apr 30 12:09:18 1997  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* zftape/zftape-ctl.c:
	Lock module in memory when MTCOMPRESSION is active. Only respect
	MTCOMPRESSION when used with the non-compression devices.

	* Doc/texi/Loading.texi:
	Document module locking when MTCOMPRESSION is active

Wed Apr 30 10:52:19 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* zftape/zftape.h, zftape/zftape-init.c, zftape/zftape-compress.c,
 	  sftape/sftape.h, sftape/sftape-init.c,
 	  ftape-format/ftape-format.h, ftape-format/ftape-format.c,
 	  ftape.h, ftape-init.c:
	Bump version to 3.03

	* Doc/dvi/Makefile:
	Finally fix the dependency of ftape.dvi from BROKENMAKEINFO

	* INSTALL, Doc/texi/QuickInstall.texi, Doc/texi/Documentation.texi:
	replace references to Doc/bin/texi2www by contrib/texi2www/texi2www

	* contrib/swapout/swapout.c, contrib/kdtime/kdtime.c,
 	  contrib/gnumt/mt.c:  
	Include RCS revision into the executable file

	* RELEASE-NOTES, README.PCI, INSTALL, ChangeLog: Spell-checkered

Wed Apr 30 07:10:42 1997  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* Doc/texi/Introduction.texi, Doc/html/Makefile:
	Add reference to RELEASE-NOTES to documentation. Make it an url
 	when using html

	* Makefile:
	Added a `distclean:' target. Removes all backup files produced by
	emacs (i.e. *~) Use with caution ...

	* RELEASE-NOTES: Added two or three blank lines ...

	* contrib/texi2www/texi2www: Moved here from Doc/bin directory

	* sftape/sftape-read.c:
	Fix wrong handling of EOT condition. afio had problems with it.

	* zftape/Makefile, sftape/Makefile:
	Delete `default:' target because this seems to have a special meaning
	for `make'?

	* ftape-format/ftape-format.c:
	Cleanups to select_tape_format(). Set parms correctly for QIC-40
 	now (this is untested)

	* ftape-format/Makefile:
	Delete `default:' target because this seems to have a special
 	meaning for `make'?

	* contrib/gnumt/mt.c: Retension the cartridge before formatting it.

	* contrib/gnumt/mt.1: Spell checked

	* Doc/texi/QuickInstall.texi, Doc/texi/ftape.texi,
 	  Doc/texi/Installation.texi, Doc/texi/Implementation.texi,
 	  Doc/texi/Documentation.texi:
	Minor changes. Added note about formatting QIC-40 cartridges

	* Doc/html/Makefile:
	Update because texi2www has been moved to the contrib directory

	* Doc/dvi/Makefile: Create dvi file with `all:' target

	* Doc/Makefile: Removed `bin/' subdir

	* ftape-ctl.c:
	Initialize ft_drive_max_rate to zero in init_driver() This will
	trigger auto probing of the maximal usable transfer rate.

Tue Apr 29 23:10:30 1997  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* ftape-io.c: Don't mention poll delay duration when tracing <= 4

	* ftape-bsm.c: Fixed debug code

	* MCONFIG: Prepared for final release

	* INSTALL: Add note not to move this package to the kernel source tree

	* RELEASE-NOTES: Added empty lines to increase readability

Fri Apr 25 22:25:23 1997  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* ftape-rw.h, ftape-rw.c:
	Undo change to ft_location structure: don't use bit-fields.

Fri Apr 25 03:50:23 1997  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* zftape/zftape.h, zftape/zftape-compress.c, zftape/zftape-init.c,
 	  sftape/sftape.h, sftape/sftape-init.c,
 	  ftape-format/ftape-format.h, ftape-format/ftape-format.c,
 	  ftape.h, ftape-init.h:
	Bumped version to *.03-beta-2

	* RELEASE-NOTES, INSTALL: Spell-checks

Fri Apr 25 03:17:37 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* Doc/texi/Testing.texi:
	Added a note why motion commands don't immediately result in tape
	motion

	* Doc/texi/Loading.texi: Fixed a page break

	* zftape/zftape.h, zftape/zftape-rw.h:
	Change the tape label to "Ftape - The Linux Floppy Tape Project!"
 	when erasing a cartridge!

	* Doc/texi/QuickInstall.texi, Doc/texi/Testing.texi,
 	  Doc/texi/ftape.texi, Doc/texi/Introduction.texi,
 	  Doc/texi/Loading.texi, Doc/texi/Installation.texi,
 	  Doc/texi/Implementation.texi, Doc/texi/Documentation.texi,
 	  Doc/texi/Bugs.texi:
	Hopefully final update of the `Testing' subsection. Tried to make
 	the printed manual look more nicely. FIXME. My English is UGLY.

	* Doc/info/Makefile:
	Removed `install.local' and `install.global' targets. `install.doc'
	now installs into the chosen info directory

	* Doc/info/dir:
	Add a local menu entry such that it is possible to include Doc/info
	into the private INFOPATH environment variable

	* Doc/html/Footer:
	Added `Up', `Prev', `Next' and `This' buttons, using the newly
	introduced substitution support of Doc/bin/texi2www

	* Doc/dvi/fix-makeinfo.sh:
	Fixed a bug introduced by adding of new macro substitutions

	* Doc/dvi/Makefile:
	BROKENMAKEINFO: target depends now on TeXinfo source, dvi target
	depends now only on BROKENMAKEINFO

	* Doc/bin/texi2www:
	Added label within menus. Activating the `up' button now jumps to the
	menu item corresponding to the current node. Added `this', `prev',
	`next' and `up' substitution to the footer code. This is used in
	ftape's footer to jump directly to the corresponding item in the main
	menu.

Tue Apr 22 12:41:29 1997  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* zftape/zftape-init.c, sftape/sftape-init.c:
	Fix module locking: Don't decrease USE_COUNT if module already busy
	when trying to open it.

Tue Apr 22 12:10:16 1997  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* zftape/zftape-vtbl.h, zftape/zftape-vtbl.c:
	Remove shadow of global variable zft_eof_map

	* zftape/zftape-init.c: Remove shadow of global variable old_sigmask

	* zftape/zftape-compress.c:
	Fixed a bug that could cause a kernel Oops: Must check for maximal
 	allowed block size to prevent writing over the bounds of the
 	zftc_buf buffer

	* sftape/sftape-read.c: Removed shadow of global variable sft_eofm

	* ftape-format/ftape-format.c:
	Remove global variables spt and tpc. Use ft_tracks_per_tape and
 	ft_segments_per_track instead after initializing them with
 	ft_decode_header_segment().

	* contrib/kdtime/kdtime.c:
	Use KDHDR macro to determine size of kerneld message
 	header. Include the kerneld.h from the Linux source tree specified
 	in MCONFIG

	* contrib/swapout/Makefile, contrib/kdtime/Makefile,
 	  contrib/gnumt/Makefile, contrib/Makefile:  
	Include top-level MCONFIG to get location of Linux source tree

	* qic117.h: Define the qic117 command set as an enum (-eration)

	* ftape-write.c, ftape-write.h: segment ids are signed.

	* ftape-rw.c, ftape-rw.h:
	Removed fast start struct (nowhere needed) segment ids are signed.

	* ftape-read.h, ftape-read.c: Used signed data type for segment ids

	* ftape-proc.c: Use size_t for strlen result

	* ftape-io.h, ftape-io.c:
	Rewrote the ftape_command() and ftape_parameter() thing. Was a bit
	unclean before.

	* ftape-ecc.h: Replaced unsigned char by __u8

	* ftape-ctl.h, ftape-ctl.c:
	used_header_segment etc. are again signed data types.

	* ftape-calibr.h, ftape-calibr.c:
	Replaced ushort by __u16. Make all timeout quantities unsigned

	* ftape-buffer.c: Use size_t for dmaalloc

	* ftape-bsm.h, ftape-bsm.c:
	All segment ids are signed quantifiers now. Makes life easier

	* fdc-isr.c:
	Removed some shadowing variable declarations (detected by -Wshadow)

	* fdc-io.h, fdc-io.c:
	removed volatile from fdc_mode_enum typedef. Use unsigned for all
	timeout values. Make ftape_current_cylinder volatile

	* fc-10.c: Exchanged ushorts by __u16

	* Makefile:
	Don't rely on the executable bit of MAKEDEV.ftape, run it explicitly
	with $(SHELL)

	* MCONFIG: make KERNELD_TIME definition available to subdir Makefiles

Fri Apr 18 15:23:48 1997  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* zftape/zftape-ctl.c, zftape/zftape-read.c,
 	  zftape/zftape-compress.c, zftape/zftape-buffers.c:
	Fixed a big in fetch_segment that was caused by comparison of an
	unsigned value against zero

	* Doc/texi/Installation.texi, Doc/dvi/Makefile, ftape-tracing.h,
 	  ftape.h, ftape-rw.h, ftape-tracing.c, ftape-io.c, ftape-init.c,
 	  ftape-bsm.c, ftape-ctl.c, fdc-isr.c, fdc-io.h, fdc-io.c:
	started cleaning up my signed <-> unsigned mess

Thu Apr 17 16:03:33 1997  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* Doc/texi/Loading.texi, zftape/zftape-ctl.c: Fixed a typo

	* zftape/zftape.h: Bump version to 2.03-beta-1

	* sftape/sftape.h: Bump version to 1.03-beta-1

	* ftape-format/ftape-format.h: Bump version to 1.00-beta-1

	* Doc/texi/ftape.texi, Doc/texi/Installation.texi:
	Added note about CONFIG_FT_PROC_FS

	* Doc/info/Makefile, Doc/html/Makefile:
	Remove *.texi when doing `make clean'

	* Doc/dvi/Makefile:
	Remove *.texi and BROKENMAKEINFO when doing `make clean'

	* Makefile: Removed silly "Hello World" from the doc target

	* ftape.h: Bump versions to 3.03-beta-1

	* MCONFIG:
	Add comment about CONFIG_FT_PROC_FS and comment out that little nice
	MODVERSIONS feature

	* mtio.h: Updated to kernel version 2.1.35

	* Doc/texi/Makefile, Doc/sgml/Makefile, Doc/info/Makefile,
 	  Doc/html/Makefile, Doc/dvi/Makefile, Doc/Makefile, Makefile:
	added a realclean target. I don't want to delete the pre-formatted
	document file with `make clean'

	* zftape/zftape-rw.c, zftape/zftape-ctl.c:
	Implemented kind of variable block size support. Needed to change
	zft_set_flags() slightly.

	* zftape/zftape-read.c: Just added a comment.

	* contrib/gnumt/mt.c:
	All ioctls have been moved to mtio.h, so there is no longer need for
	inclusion of ftape-format/ftape-format.h

	* Doc/texi/Testing.texi, Doc/texi/ftape.texi,
 	  Doc/texi/Installation.texi, Doc/texi/Loading.texi,
 	  Doc/texi/Indices.texi, Doc/texi/Implementation.texi,
 	  Doc/texi/Documentation.texi:
	Some updates. Rewrote kerneld section to make clear which commands
	lead to locking of the module stack.

	* Doc/dvi/Makefile:
	Replaced Usage.texi by Loading.texi, Testing.texi and
 	Implementation.texi

	* Doc/dvi/fix-makeinfo.sh:
	Added a couple of macros. Broken makeinfo ...

	* Makefile:
	Don't remove mtio.h by `make clean' because it is no longer a symlink
	to patches/2.x.x/mtio.h

	* ftape-hseg.h:
	Don't include <linux/types.h> Will make it easier to include to
	outside the kernel.

	* RELEASE-NOTES:
	Set date to today, add note about module locking when block size has
	been changed

	* Doc/texi/Implementation.texi:
	ioctl definition is now in mtio.h, no longer in zftape.h

	* zftape/zftape.h, sftape/sftape.h:
	Moved version macro into the __KERNEL__ section

	* patches/2.x.x/Attic/mtio.h: Moved to top of source tree

	* ftape-format/ftape-format.h: Only include <linux/ftape.h>

	* contrib/gnumt/mt.c: Changed MTIOCGETSET to MTIOCRDFTSEG

	* ftape.h: Moved ftape version macro into the __KERNEL__ section

	* mtio.h: Moved here from patches/2.x.x/mtio.h

	* zftape/zftape-compress.c:
	Forgot to revert an  `#if 0' after finishing testing.

	* zftape/zftape.h:
	So sorry, but MTIOCSETSEG was just to ugly a name. Renamed to
 	MTIOCWRFTSEG (write floppy tape segment). renamed `struct
 	mtsegment' to `struct mtftseg'. I doubt that anybody had made use
 	of these ioctls.

	* contrib/gnumt/mt.1:
	Added note about additional output of `mt status' when using zftape

	* Doc/texi/Testing.texi: This one still needs to be updated.

	* Doc/texi/QuickInstall.texi, Doc/texi/ftape.texi,
 	  Doc/texi/Introduction.texi, Doc/texi/Loading.texi,
 	  Doc/texi/Documentation.texi, Doc/texi/Installation.texi,
 	  Doc/texi/Bugs.texi:
	These should be mostly up to date now.

	* Doc/texi/Implementation.texi:
	This should be mostly up to date now. Added all new ioctls, noted
	changed behavior of ioctls

	* Doc/info/Makefile, Doc/html/Makefile:
	Split Usage.texi into Loading.texi Testing.texi and
 	Implementation.texi

	* Doc/bin/texi2www:
	Macro parsing was still broken. Maybe I should have fixed makeinfo
	instead ...
	@quotation environment wasn't properly implemented.
	Tried to fix missing insertion of paragraphs for @table environment

	* ftape.h: Fixed a typo

Wed Apr 16 18:35:46 1997  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* Doc/bin/texi2www:
	Finally fixed macro parsing. Changed the menu code to use the
 	HTML-3 <TABLE> element. Looks _much_ nicer. Fixed paragraph (<P>)
 	handling for @tables (descriptive lists)

	* Doc/texi/ftape.texi, Doc/texi/Installation.texi,
 	  Doc/texi/QuickInstall.texi, Doc/texi/Documentation.texi,
 	  Doc/texi/Indices.texi:
	Various updates

	* Doc/texi/Testing.texi, Doc/texi/Loading.texi,
 	  Doc/texi/Implementation.texi:
	Split Usage.texi into the chapters Loading, Testing and
	Implementation. Added MTIOCFTFORMAT documentation

	* Doc/texi/Attic/Usage.texi:
	Split into the chapters Loading, Testing and Implementation

	* Doc/texi/ftape.texi, Doc/texi/Attic/Usage.texi,
 	  Doc/texi/Installation.texi, Doc/texi/Copying.texi,
 	  Doc/texi/Bugs.texi:
	Added macros for ftape version etc.

Mon Apr 14 10:13:29 1997  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* zftape/zftape.h, sftape/sftape.h, ftape-format/ftape-format.h:
	Set date to today

	* Doc/dvi/Makefile: Fixed typo

	* ftape.h: Set date to today

Sat Apr 12 16:08:49 1997  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* zftape/zftape-compress.c:
	Forgot to change some zft_cmpr_ prefixes to zftc_ prefixes (buddy
 	conditional compiling)

	* ftape-format/ftape-format.c: IMPORTANT:
	Have to map 4 segments on certain tape tracks at BOT AND!!!!!!!
 	EOT as bad. Also, I swapped the 0.315in cartridge case with the
 	0.25in cartridge case :-( :-( :-(

	Corrected.

	* ftape-format/Makefile: Cosmetic (order of rules in the file)

	* Doc/texi/ftape.texi, Doc/texi/QuickInstall.texi,
	  Doc/texi/Usage.texi, Doc/texi/Installation.texi,
	  Doc/texi/Introduction.texi, Doc/texi/Bugs.texi,
	  Doc/texi/Documentation.texi:
	Spell-checkered (ispell)

Sat Apr 12 07:58:21 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* contrib/gnumt/mt.c: Start verifying at segment 0 not 8

	* Doc/texi/ftape.texi, Doc/texi/Usage.texi,
 	  Doc/texi/Introduction.texi, Doc/texi/Makefile,
	  Doc/texi/QuickInstall.texi, Doc/texi/Documentation.texi,
 	  Doc/texi/Installation.texi, Doc/texi/Bugs.texi:
	Some updates, a multitable and some formatting

	* Doc/info/Makefile: Updated for additional TeXinfo files

	* Doc/html/Makefile: Added footer support to html target

	* Doc/html/Footer:
	New. Adds a link back to the Top node from the bottom of every sub
 	node.

	* Doc/dvi/fix-makeinfo.sh: Now handle it in one BIG pipe

	* Doc/dvi/Makefile: Updated for additional TeXinfo source

	* Doc/bin/texi2www:
	This differs now in the following points from the original:

	- multitable support (Yeah!)
	- macro parsing (makeinfo is broken in this respect) :-(
	- Links to footnotes
	- Copyright notice on first page
	- <P> support fixed. Now it DOES insert a paragraph when it finds a
	  double newline
	- add @url and @email tags from TeXinfo-3.9
	- now can handle environments enclosed by @something{} commands

	* Doc/Makefile:
	Fixed @include statements for TeXinfo source, needed to introduce
 	additional files.

	* Makefile: Removed --no-print-directory from install target

	* MAKEDEV.ftape:
	Changed back again to $((1+2)) construct, removed `expr'. Don't
 	create links /dev/ftape -> /dev/rft0

	* INSTALL: Add reference to QuickInstallation chapter of documentation

Thu Apr 10 12:03:20 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* Doc/texi/ftape.texi, Doc/texi/QuickInstall.texi,
 	  Doc/texi/Usage.texi, Doc/texi/Introduction.texi,
 	  Doc/texi/Makefile, Doc/texi/Indices.texi,
 	  Doc/texi/Installation.texi, Doc/texi/Copying.texi,
 	  Doc/texi/Bugs.texi, Doc/sgml/linuxdoc-sgml.sty,
 	  Doc/sgml/qwertz.sty, Doc/sgml/ftape.tex, Doc/sgml/isolatin.sty,
 	  Doc/sgml/Makefile, Doc/sgml/ftape.sgml, Doc/info/Makefile,
 	  Doc/info/dir, Doc/html/Makefile, Doc/dvi/Makefile,
 	  Doc/dvi/fix-makeinfo.sh, Doc/bin/texi2www, Doc/Makefile,
 	  Makefile, INSTALL: 
	Restructured Documentation directory, changed to use texi2www by
 	Tim Singletary.

	* zftape/zftape-write.c, zftape/zftape-init.h,
 	  zftape/zftape-read.c, zftape/zftape-init.c,
 	  zftape/zftape-compress.h, zftape/zftape-ctl.c,
 	  zftape/zftape-compress.c:
	Traced "modules aren't locked bug". Was a silly thing introduced
 	by the use of the `can_unload' feature of post 2.1.18 modutils. My
 	can_unload() did check that the header segments etc. were
 	up to date, but didn't check if the device was opened by the
 	user. @&%/$\?!$" :-<

	* ftape-format/ftape-format.c:
	Keep module locked initially until init_module() has finished. Not
 	very important, I think.

	* MCONFIG, zftape/Makefile, sftape/Makefile,
 	  ftape-format/Makefile, Makefile:
	Changed dependencies dependence: now dependencies are refreshed if
 	one of the source or header files is modified. Shouldn't concern
 	anybody but me.

	Fixed usage of `install' command: `silly me' didn't didn't specify
	permissions and ownership.

	* contrib/kdtime/kdtime.c, contrib/kdtime/Makefile:
	Added pidfile `/var/run/kdtime.pid'. This makes it possible to run
 	kdtime for example from modprobe (with /etc/conf.modules
 	configuration)

	* contrib/gnumt/mt.1:
	Document `ftformat command'. Make the meaning of MTBSF etc. a bit
 	clearer (hopefully).

	* contrib/gnumt/mt.c:
	Changed printf slightly for status command. Now reports at least
 	that it has found a floppy tape drive if drive vendor is unknown.

	* contrib/kdtime/pidfile.c, contrib/kdtime/pidfile.h:
	Stolen from sysklogd-1.3. Used to inhibit multiple invocations of
 	kdtime

	* Doc/texi/ftape.texi, Doc/texi/Usage.texi,
 	  Doc/texi/Installation.texi, Doc/texi/Copying.texi,
 	  Doc/sgml/copying.sgml, Doc/info/dir, Doc/icons/toc.gif,
 	  Doc/icons/up-arrow.gif, Doc/icons/prev-arrow.gif,
 	  Doc/icons/prev.gif, Doc/icons/next-arrow.gif,
 	  Doc/icons/next.gif, Doc/icons/missing-arrow.gif, Doc/Makefile:
	Moved documentations to Doc directory

Sun Apr  6 17:28:06 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* fdc-isr.c, fdc-io.c:
	Finally fix the interrupt_wait() stuff. Don't forget to set
 	TASK_RUNNING after having tried to sleep (maybe we didn't sleep at
 	all!). Restore the ft_interrupt_seen variable when exiting the isr
 	routine. THIS was the cause of the "unexpected schedule exit
 	pseudo bug".

	* ftape-ctl.c:
	Added a ftape_dumb_stop() to ftape_disable() when tape is still
	running after having been killed by a signal.

Sun Apr  6 10:09:18 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* zftape/Makefile, sftape/Makefile, ftape-format/Makefile:
	Let the file .depend on the sources and headers.

	* zftape/zftape-write.c, zftape/zftape-vtbl.h,
 	  zftape/zftape-vtbl.c, zftape/zftape-rw.c, zftape/zftape-read.c,
 	  zftape/zftape-init.h, zftape/zftape-init.c, zftape/zftape-eof.c,
 	  zftape/zftape-ctl.c, zftape/zftape-compress.c,
 	  zftape/zftape-buffers.c, sftape/sftape-write.c,
 	  sftape/sftape-init.c, sftape/sftape-read.c, sftape/sftape-eof.c,
 	  sftape/sftape-ctl.c, ftape-format/ftape-format.c, ftape-write.c,
 	  ftape-tracing.h, ftape-setup.c, ftape-rw.h, ftape-rw.c,
 	  ftape-read.c, ftape-io.c, ftape-ecc.c, ftape-calibr.c,
 	  ftape-bsm.c, fc-10.c:
	Removed the last occurences of numeric trace levels. Removed
 	macros TRACEi and TRACElx in favour of the simple TRACE.

	* fdc-isr.h, fdc-isr.c, fdc-io.h, fdc-io.c:
	Finally found and fixed the "unexpected schedule" pseudo
 	bug. Removed unused variable fdc_confused. Fixed
 	ftape_expected_stray_interrupts growing ad infinity. New function
 	fdc_command_for_isr() that does NOT set ft_interrupt_seen to 0
 	(this was the reason for "unexpected schedule exit")

	* ftape-init.c: Moved dma memory allocation to ftape-buffer.c

	* INSTALL: Fixed typos.

	* ftape-ctl.h, ftape-ctl.c:
	Change the global data structure to contain the actual and the
 	maximal transfer rate for fdc and tape drive. To be displayed by
 	the proc code. Prepend multi-line traces with a KERN_INFO in each
 	line because omitting seems to have confused a sysklogd daemon in
 	at least one case

	* Makefile:
	Add the ftape-buffer.c and the ftape-proc.c file, let .depend
 	depend on the sources and header files.

	* MCONFIG:
	Move pathname definitions to the top, new option CONFIG_FT_PROC_FS
 	to determine whether the proc interface should be compiled.

	* MAKEDEV.ftape:
	Install tape devices with mode 600 (r/w only for the owner)

	* ftape_syms.c:
	Export new function ftape_set_nr_buffers() and new variable proc_ftape
	for procfs support.

	* ftape-proc.h, ftape-proc.c: Proc interface for ftape

	* ftape-buffer.h, ftape-buffer.c: Dynamic dma buffer allocation

Fri Apr  4 10:11:40 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* info/ftape.texi, info/Usage.texi, info/Installation.texi:
	First (or second) attempts to update the documentation.

	* ftape-format/ftape-format.c:
	Fixed formatting for long tapes. The buffer switching algorithm
 	was broken, introduced new global variable next_format_segment to
 	remember the starting segment for the next dma buffer.

	* INSTALL:
	Added some quick installation hints. Hopefully this file is more
	readable now.

	* fdc-io.c:
	Don't bail out if check_region() fails and BROKEN_FLOPPY_DRIVER is
	defined. The kernel floppy driver should be fixed!

	* MCONFIG:
	Moved the FDC_OPT configuration to the top of the file because this is
	the most important setting.

Wed Mar 26 22:49:19 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* patches/2.x.x/floppy.c.dif:
	Initial version of a patch that makes the floppy driver check
 	whether another module already uses the floppy controller

	* info/Attic/kernel-patches.texi, info/Attic/compilation.texi,
 	  info/Attic/devices.texi, info/ftape.texi, info/Usage.texi,
 	  info/Linux-1.2.13.texi, info/Makefile, info/Introduction.texi,
 	  info/Installation.texi:
	Started updating the documentation

	* MAKEDEV.ftape:
	Finally exchanged the bash $[ ... ] constructs against `expr'
	statements. Oh, yes, I know. This already was suggested by Guido
	Muesch *_AGES_* ago.

	* zftape/Makefile, sftape/Makefile, ftape-format/Makefile,
 	  contrib/swapout/Makefile, contrib/kdtime/Makefile,
 	  contrib/Makefile, Makefile, MCONFIG:
	Added an install: target to all Makefiles

Fri Mar 21 11:32:18 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* zftape/zftape-compress.c, ftape-format/ftape-format.c:
	Keep the module initially unlocked, not locked.

Fri Mar 21 10:01:16 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* zftape/zftape.h: Set version to 2.03

	* sftape/sftape.h: Set version to 1.03

	* ftape-format/ftape-format.c, contrib/gnumt/mt.c:
	MTIOCFTFORMAT, operation FTFMT_PROGRESS, now returns -EAGAIN when
 	runner is aborting and buff->status != error. This provides means
 	to signal the user level program that the formatting isr code
 	might have missed a segment or some sectors and the user level
 	program should retry formatting the track.

	* ftape-format/ftape-format.h: Set version to 1.00.

	* RELEASE-NOTES: Add release notes for version 3.03

	* ftape.h: Set version to 3.03

	* ftape-write.c:
	Don't call ftape_abort_operation() in write_segment() when runner is
	stopping because this also zaps the dma buffers.

	* ftape-rw.c:
	Undo change to ftape_dumb_stop(): again set ft_runner_status to idle

	* ftape-ctl.c:
	Call ftape_abort_operation() instead of ftape_dumb_stop() when tape is
	still winding when closing the tape device.

	* fdc-io.c:
	Added `udelay(10)' before resetting fdc. Does this fix the `drive may
	hang messages'?

	* fdc-isr.c: Set buff->status = error when error during formatting

Mon Mar 10 17:48:00 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* zftape/zftape-ctl.c:
	Consult the kdtime daemon for the current time when finishing
	formatting a tape

	* ftape-format/ftape-format.c:
	Changed numeric trace level to symbolic (1 <-> ft_t_err)

	* zftape/zftape-ctl.c:
	Allocate the header segment buffer before trying to format a
	cartridge. Call zft_init_driver() in any case after MTRESET.

	* ftape-ctl.c: Changed numeric trace level against symbolic

Mon Mar 10 14:03:30 1997  Claus-Justus Heine  <claus@momo.math.rwth-aachen.de (Claus-Justus Heine)>

	* contrib/gnumt/Makefile:
	Add location of kernel source tree as make variable

	* ftape-format/ftape-format.c,
	  ftape-format/ftape-format.h,
	  contrib/gnumt/mt.c:
	Change mtftformat structure: remove fields tpc and spt, pass this
	values in ftfmt_trk and ftfmt_seg (formerly ftfmt_track and
	ftfmt_segment).

	* zftape/zftape-rw.c:
	int zft_erase(): update label only if erasing old ftape (sftape)
 	  cartridge.

	* fdc-io.c: Tell me the status of jagvi if unexpected  schedule exit.

	* MCONFIG:
	Added the location of the kernel source tree as a make variable.

Sun Mar  9 23:51:37 1997  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* ftape-ctl.c, fdc-isr.c:
	Call some trace macros with the ft_trace_t enum types instead of
	numbers.

	* ftape_syms.c:
	Only export tracing stuff when CONFIG_NO_TRACE_AT_ALL is NOT
	defined.

	* ftape-tracing.h:
	Forgot to set pair of `"' when CONFIG_FT_NO_TRACE_AT_ALL was defined.

	* ftape-rw.c: Don't set the runner_state to idle in ftape_dumb_stop().

	* ftape-format/ftape-format.c, ftape-read.c:
	Forgot to re-set the state after calling ftape_abort_operation() which
	sets the driver state to `idle'

	* contrib/gnumt/Makefile, contrib/gnumt/mt.c:
	Include <linux/mtio.h> directly, add DEFTAPE to Makefile. Was
	necessary because glibc comes with its own header-files that doesn't
	include the latest  kernel hacks.

	* zftape/Makefile, sftape/Makefile, ftape-format/Makefile, Makefile:
	Let object files depend on MCONFIG

Thu Mar  6 16:12:22 1997  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* zftape/zftape_syms.c, zftape/zftape-ctl.c, zftape/zftape-ctl.h:
	Updated for new Makefile scheme.

	* contrib/gnumt/mt.c: Include ftape-format.h, not ftfmt-format.h

	* contrib/Makefile: Added kdtime subdir.

	* ftape-format/ftape-format.c: Small fixes to make it compile

	* contrib/kdtime/kdtime.c,
	  contrib/kdtime/kdtime,
	  contrib/kdtime/Makefile:
	Kerneld daemon to pass the broken down time as returned by the
	gmtime() libc function back to the kernel.

	* zftape/Attic/Makefile.module, zftape/Makefile,
	  sftape/Attic/Makefile.module, sftape/Makefile,
	  ftape-format/Attic/Makefile.module, ftape-format/Makefile,
	  Attic/Makefile.module, Makefile, MCONFIG: 
	Renamed Makefile.module instances to Makefile. The package won't
	include optional kernel inclusion anymore; this will be done
	separately.

Wed Mar  5 23:35:30 1997  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* ftape_syms.c, Attic/Makefile.module, ftape-init.c:
	use can_unload for kernel that support it. Prepare for kernel
 	inclusion by adding ifdef's for CONFIG_SFTAPE/ZFTAPE/FTAPE_FORMAT
 	etc.

	* ftape-bsm.h, ftape-bsm.c: Include ftape-hseg.h instead of ftape-fsl.h

	* ftape-hseg.h:
	Fixed a bug in the FTAPE_TIME_STAMP macro (misspelling * <-> +)

	* zftape/zftape-ctl.c:
	Change registration of formatting routine to prepare for kernel
 	inclusion.

	* zftape/zftape-init.h: Include ftape-hseg.h instead of ftape-fsl.h

	* zftape/Attic/Makefile.module, zftape/zftape-write.c,
	  zftape/zftape-vtbl.h, zftape/zftape-vtbl.c, zftape/zftape-rw.h,
	  zftape/zftape-rw.c, zftape/zftape-read.c:
	Added experimental code for using the kerneld message channels to
 	obtain broken up time stamps from user space. Needs special
 	kerneld daemon that sends us the result of gmtime().

	* zftape/zftape_syms.c:
	Changed conditional compilation macros. No longer necessary to define
	symbols twice

	* zftape/zftape-init.c, zftape/zftape-compress.c:
	Use can_unload for kernels that support it

	* sftape/sftape-eof.c, sftape/sftape-init.h,
	  sftape/Attic/Makefile.module: 
	Changed includes of ftape-fsl.h to ftape-hseg.h

	* contrib/gnumt/mt.c:
	Moved definition of QIC data encoding to ftape-hseg.h and renamed
	FTFMT_TIME_STAMP to FTAPE_TIME_STAMP

	* ftape-format/Attic/ftfmt-init.h,
	  ftape-format/Attic/ftfmt-format.h,
	  ftape-format/Attic/ftfmt-init.c,
	  ftape-format/Attic/ftfmt-format.c, ftape-format/ftape-format.c,
	  ftape-format/ftape-format.h, ftape-format/Attic/Makefile.module:
	Renamed ftfmt-... to ftape-... and removed ftfmt-init.c/h

Tue Mar  4 12:44:16 1997  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* zftape/zftape-read.c, zftape/zftape-rw.c, zftape/zftape-init.c,
	  zftape/zftape-init.h, zftape/zftape-eof.c, zftape/zftape-eof.h,
	  ftape-format/Attic/ftfmt-format.h,
	  ftape-format/Attic/ftfmt-format.c: 
	Changed to use the macros defined in ftape-hseg.h

	* ftape_syms.c:
	Changed conditional compilation (different kernel versions).

	* ftape-read.c, ftape-rw.h, ftape-ctl.h, ftape-bsm.c:
	Updated to benefit from new definitions in ftape-hseg.h

	* ftape-io.h:
	Removed declaration of ftape_interrupt_wait() as this routine belongs
	to fdc-io.c

	* Attic/ftape-fsl.h: Removed. Contents moved to new file ftape-hseg.h

	* ftape-hseg.h:
	New. Contains the offsets to different values in the header
 	segment as well as the format code defs and QIC-80 time and date
 	encoding

	* fdc-io.h, fdc-isr.c, fdc-io.c:
	Introduce new global variable jagvi_ftape (just another global
 	variable in ftape) to test my idea of getting that unexpected
 	schedule exit bug.

Thu Feb 27 15:19:22 1997  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* Attic/Makefile.module: Added ftape-format to clean target

Thu Feb 27 03:40:28 1997  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* ftape.h, ftape_syms.c, ftape-rw.c, ftape-read.c, ftape-io.c,
 	  ftape-init.c, ftape-ecc.c, ftape-ctl.c, ftape-ctl.h,
 	  ftape-calibr.c, fdc-io.h, fdc-isr.c, fdc-io.c, Makefile.module:
	removed references to macro FTAPE_SEL, is now a global
	variable. Finished eliminating VFS interface from the hardware module.

	* zftape/zftape_syms.c, zftape/zftape-write.c, zftape/zftape-rw.c,
 	  zftape/zftape-rw.h, zftape/zftape-read.h, zftape/zftape-read.c,
 	  zftape/zftape-init.c, zftape/zftape-init.h, zftape/zftape-eof.c,
 	  zftape/zftape-eof.h, zftape/zftape-ctl.c, zftape/zftape-ctl.h,
 	  zftape/zftape-compress.c, zftape/zftape-buffers.c,
 	  zftape/Makefile.module:
	Removed remaining references to "ftape-interface.h"

	* sftape/sftape.h, sftape/sftape-write.c, sftape/sftape-write.h,
 	  sftape/sftape-rw.c, sftape/sftape-rw.h, sftape/sftape-read.c,
 	  sftape/sftape-read.h, sftape/sftape-init.c,
 	  sftape/sftape-init.h, sftape/sftape-eof.c, sftape/sftape-eof.h,
 	  sftape/sftape-ctl.c, sftape/sftape-ctl.h:
	VFS interface has been removed from the hardware base module to
	zftape/sftape

	* contrib/gnumt/mt.c:
	change include of "vendors.h" to "ftape-vendors.h"

	* ftape-format/ftfmt-init.c, ftape-format/ftfmt-init.h,
 	  ftape-format/ftfmt-format.h, ftape-format/ftfmt-format.c:	
	Minor cleanup.

Wed Feb 26 17:48:18 1997  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* zftape/zftape-vtbl.c, zftape/zftape-vtbl.h, zftape/zftape-rw.c,
 	  zftape/zftape-rw.h, zftape/zftape-eof.c,
 	  zftape/zftape-buffers.c:
	Updated to name space changes

	* zftape/zftape.h: Define the zftape startup version string as a macro

	* zftape/zftape-write.h, zftape/zftape-read.h,
 	  zftape/zftape-write.c, zftape/zftape-init.h,
 	  zftape/zftape-read.c, zftape/zftape-ctl.h, zftape/zftape-init.c,
 	  zftape/zftape-ctl.c:	
	The interface to the kernel VFS layer has been moved to the
	sftape/zftape front ends

	* patches/2.x.x/mtio.h: rename vendors.h ftape-vendors.h

	* ftape-format/ftfmt-format.c:
	Renamed "byte" to "__u8", some other name space changes

	* Makefile.module: Updated to compile the renamed files.

	* qic117.h, ftape.h, ftape_syms.c, ftape-rw.h, ftape-setup.c,
 	  ftape-rw.c, ftape-io.c, ftape-io.h, ftape-bsm.h, fdc-isr.c,
 	  ftape-bsm.c, fdc-io.h, fdc-io.c, fc-10.c:	
	Removed "typedef __u8 byte" from ftape.h. Maybe silly. Was a nice
 	name but I don't think that we should shadow such a basic type.

	* ftape-write.c, ftape-read.c, ftape-ctl.c, ftape-ctl.h:
	Moved the VFS interface code to the sftape/zftape submodules

	* Attic/ftape-interface.c, Attic/ftape-interface.h:
	No ftape_register() is necessary any more.

	* Attic/tracing.h, Attic/vendors.h, Attic/kernel-interface.c,
 	  Attic/kernel-interface.h, Attic/tracing.c, ftape-tracing.h,
 	  ftape-vendors.h, ftape-init.h, ftape-tracing.c, ftape-init.c,
 	  ftape-ecc.c, ftape-ecc.h, ftape-calibr.c, ftape-calibr.h,
 	  Attic/ecc.c, Attic/ecc.h, Attic/calibr.c, Attic/calibr.h:
	Prepended some files with an "ftape-" prefix. Also,
 	kernel-interface.c/.h has been renamed to ftape-init.c/h because
 	the kernel VFS interface code now has entirely removed from the
 	low level hardware module and can now be found in the front ends
 	sftape/zftape.

	* zftape/zftape-eof.c:
	Null terminate tape label string when printing it

	* ftape-format/ftfmt-format.h, ftape-format/ftfmt-format.c:
	Fixed my silly idea how ftfmt_erase_track() should work, did erasure
	two times.

	* ftape-bsm.c: Changed initialization of a variable to make GCC happy

Tue Feb 25 23:31:00 1997  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* contrib/gnumt/mt.c:
	Removed some unnecessary line feeds (when formatting).

	* ftape-format/ftfmt-format.c:
	Call ftape_abort_operation() after reading header segment. Cures
 	fdc not ready warning (by calling ftape_ready_wait()). Fixed bad
 	segment mappings for QIC-3010/3020 tapes. Fixed silly bug, last
 	data segment always was set to be one BELOW the first data
 	segment.

	* ftape-bsm.h, ftape-bsm.c:
	Introduced new type `SectorCount' which essentially is a integer
 	of three byte width. ftape_put_bad_sector_entry() was buggy. Did
 	shift remaining eof map only one byte to the top is inserting bad
 	sector somewhere in the middle. Tried to hand optimize
 	get_sector() and put_sector() a little bit. Declared them
 	inline. Generally, favored a simple `return from function as soon
 	as possible' scheme. This spares some variable assignments.

	* fdc-isr.c:
	Trace message in retry_sector() would always report write mode. Fixed.

Mon Feb 24 23:38:05 1997  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* ftape-format/ftfmt-format.c, ftape-format/ftfmt-format.h:
	To many changes. De facto a new implementation of the formatting
 	support. Uses a quite fine grained ioctl intercase (separate
 	issuing of writing reference burst, formatting single tracks,
 	verifying single segments).

	* ftape-format/ftfmt-init.c:
	The format hook function is now defined in ftfmt-format.c

	* ftape-read.c:
	Removed code fragments that were dealing with verifying. Verifying
 	has been moved to the formatting submodule.c

	* ftape-write.c, ftape-write.h:
	Added code for supporting writing of deleted data.

	* ftape-ctl.c, ftape-ctl.h:
	Removed format ioctl. Declare ftape_get_status() to return a
 	pointer that points to constant data.

	* fdc-isr.c, fdc-io.h:
	Added the necessary conditions and code s.t. ftape can use the fdc
 	in verify mode to verify the format of a cartridge. Add mode for
 	writing deleted data.

	* Attic/ftape-interface.c, Attic/ftape-interface.h:
	Changed name and type of ftape_format_func once again

	* ftape-rw.h, ftape-rw.c:
	Added function ftape_set_state() to set the module's i/o state

	* ftape_syms.c:
	Added some symbols necessary for supporting formatting module

	* ftape-bsm.c: Cosmetics

	* fdc-io.c:
	Fold ftape_setup_formatting() into ftape_setup_fdc_and_dma()

	* Makefile.module: Add target for formatting module

	* contrib/gnumt/mt.c: Add call to formatting ioctls.

	* zftape/zftape-ctl.c: Add formatting ioctl

	* zftape/zftape-write.c, zftape/zftape-rw.c, zftape/zftape-read.c:
	Remove some useless calls to ftape_zap_read/write_buffers()

Fri Feb 21 13:26:34 1997  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* Attic/vendors.h:
	Add drive speed for PERTEC MyTape 800 and make code for Aiwa

Fri Feb 21 12:43:46 1997  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* ftape-format/ftfmt-format.c,
	  ftape_syms.c, ftape-write.c, ftape-rw.h, ftape-rw.c,
 	  ftape-read.c, ftape-io.c, ftape-ctl.c:
	Make `buffer_struct ft_buffer[]', ft_tail and ft_head local to
	ftape-rw.c. Modified ftape_next_buffer() and introduced
	ftape_get_buffer() and ftape_reset_buffer() to modify the cyclic
	buffer queue in a more controlled way. Also, this reduces the number
	of global variables we have to pass to the formatting module.

	* fdc-isr.c:
	continue_xfer() and retry_sector() don't need the pointer to the head
	buffer of the buffer queue. Their modifications
	(i.e. ftape_next_buffer()) are not used by the calling routines.

	Also, bail out in continue_xfer() if skip is set.

Thu Feb 20 12:49:38 1997  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* zftape/zftape-write.c, zftape/zftape-vtbl.h, zftape/zftape-vtbl.c:
	Only allow writes when at BOT or EOD (see zft_check_write_access() in
	file zftape-ctl.c) Remove some inline functions.

	* zftape/zftape-rw.c:
	Use zft_clear_ftape_file_marks() to erase old ftape's eof marks

	* zftape/zftape-read.c:
	Enter defined idle state with zft_def_idle_state() if the previous
	tape access was not a read access.

	* zftape/zftape-eof.h, zftape/zftape-eof.c:
	New function zft_clear_ftape_file_marks() which erases the failed
	sector log used by the old ftape to emulate file marks.

	* zftape/zftape.h: 
	Changed the MTIOCVOLINFO ioctl back from using __u64 integers to
 	report data in KB rather than bytes. Makes more sense and is more
 	portable.

	* zftape/zftape-ctl.h, zftape/zftape-ctl.c:
	New function: zft_check_write_access().
	Check whether a write is allowed with the current file access mode,
	tape position and hardware status of the tape (including soft write
	protect with MTOFFL and protection of old (pre 3.xx) ftape written
	cartridges when not at BOT.
	See comment at beginning of that function for explanation.
	Made zft_def_idle_state() a global function. Needed somewhere.

	* sftape/sftape-ctl.c:
	Issue flush_buffer() calls before executing seek commands

	* sftape/Makefile.module:
	-DMODVERSIONS is needed when compiling with 2.1.** kernels and
	versioned symbols

	* patches/2.x.x/mtio.h: MTIOCVOLINFO now reports KB rather than bytes

	* ftape-format/ftfmt-init.c,
	  ftape-format/ftfmt-format.c,
	  ftape-format/ftfmt-format.h:
	Move the fdc command to continue formatting in the isr. Was too slow
	here. We only issue the initial command for the first segment. This
	causes an interrupt when the segment is finished. The isr then sets up
	for the next segment.

	* contrib/gnumt/mt.c:
	Take care of the changed volinfo ioctls, which reports it's results in
	KB rather than bytes.

	* ftape_syms.c: Added some symbols for the formatting code.

	* fdc-isr.c:

	New functions determine_fmt_progress() and
 	continue_formatting(). We need to implement part of the formatting
 	stuff in the isr routine. Timing is rather critical. The interrupt
 	comes after finishing a segment. Then one must setup for the next
 	segment (the tape continues streaming, retries are not
 	possible). It wouldn't work with simply waking up the formatting
 	process, seems to take too long.

	Also large tapes need more than 32 kb off dma info for one tape
 	track, so we need that buffer cycling stuff. (one needs 4*32 bytes
 	of dma transfer per segments; this yields 250 segments per 32 kb
 	dma buffer).

	* fdc-io.c:
	New routine handle_perpend() called by either
 	ftape_setup_formatting() or ftape_setup_fdc_and_dma(). New pair of
 	functions: ftape_release_regions(), ftape_request_regions().
  	Fixed finally checking/requesting/releasing of io-port regions.
  	Maybe should bail out when cannot enable FIFO on fdc > i82077 ?

	* fdc-io.h: Add define for FDC_FORMAT command

	* ftape-ctl.c:
	In ftape_open(): bail out when the open_hook of the front-end (zftape
	or sftape) fails.

	* ftape-io.h:
	Declare ftape_parameter_wait(). Needed by formatting routines.

	* ftape-io.c:
	ftape_ready_wait(): make the poll delay depend on the timeout.
	 0 <= timeout <= 1 sec:  poll delay is 1/10 sec.
	 1 <  timeout < 20 sec:  poll delay is 1    sec.
	20 <= timeout < inf   :  poll delay is 5    sec.
	5 seconds delay is maybe too much. This decreases cpu usage from 20%
	down to 0.x % on my 133MHz Amd 486 when rewinding the tape.

	* ftape-rw.h:
	New function ftape_setup_formatting(). Like ftape_setup_fdc_and_dma()
	except that it sets up for formatting a segment. Eventually will
	become part ftape_setup_fdc_and_dma().

	* ftape-rw.c:
	Check for a fatal signal in ftape_dumb_stop() to avoid endless
	recursion. A fatal signal is either SIGKILL or SIGSTOP.

	* ftape-read.c, ftape-read.h:
	New read mode: FT_RD_VERIFY to support verification after
 	formatting without doing the ECC stuff. New route:
 	ftape_decode_header_segment() which does everything
 	ftape_read_header_segment() does except that it doesn't read a
 	segment, but a buffer containing the header information as an
 	argument. Needed for formatting. This is the easiest way to
 	guarantee parameter consistency: create the header segment in a
 	buffer, then feed it to ftape_decode_header_segment() which will
 	extract all information, check the parameters and initialize all
 	needed global variables.

	* ftape-interface.h:
	Pass dma buffer to format routine. Entire formatting stuff will change
	again in the near future.

	* qic117.h: Only fixed a typo (a -> at)

Mon Feb 17 09:49:29 1997  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* ftape-format/ftfmt-format.c, ftape-format/ftfmt-format.h,
 	  ftape-format/ftfmt-init.c, ftape-format/Makefile.module:
	Started with writing real code.

Sun Feb 16 01:32:19 1997  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* fdc-io.c:
	Fixed bug in fdc_result() that caused trying to read result data when
	the FDC signaled it had none.

	Allow use of QIC-3020 with 82077 FDC's. Was reported to work, at lest
	sometimes.

	* fdc-isr.c:
	i82078_1 FDC's seem to have sometimes the busy flag set when
	reset. Adjust the corresponding error message in handle_fdc_busy()

	* ftape-io.c:
	Made poll_delay in ftape_ready_wait() dependent on timeout. This
	reduces the cpu usage for mere rewinds on my poor i486 AMD 133 from
	20% to 0.3% or something.

	* ftape-read.c:
	correct_and_copy_fraction() should not return the segment size, but
	the amount of data copied

Wed Feb 12 14:51:05 1997  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* sftape/sftape-eof.c, sftape/sftape-read.c:
	Needed to remove negative trace levels, no longer supported.

	* zftape/zftape-write.c, zftape/zftape-rw.c, zftape/zftape-vtbl.c,
 	  zftape/zftape-read.c, zftape/zftape-ctl.c, zftape/zftape-init.h,
 	  zftape/zftape-compress.h, zftape/zftape-compress.c,
 	  zftape/zftape-buffers.c:
	Needed to rename "qic-vtbl.h" to "zftape-vtbl.h" etc.

	* zftape/zftape-vtbl.h, zftape/zftape-compress.h,
 	  zftape/zftape-vtbl.c, zftape/zftape-compress.c,
 	  zftape/Attic/qic-vtbl.c, zftape/Attic/qic-vtbl.h,
 	  zftape/Attic/qic-compress.c, zftape/Attic/qic-compress.h,
 	  zftape/Makefile.module, zftape/Makefile.kernel:
	Renamed qic-vtbl.c/h, qic-compress.c/h to zftape-vtbl.c/h,
 	zftape-compress.c/h

	* zftape/zftape.h, zftape/zftape-write.c, zftape/zftape-ctl.c,
 	  zftape/zftape-init.h, zftape/Attic/qic-vtbl.h,
 	  zftape/Attic/qic-vtbl.c, zftape/Attic/qic-compress.h:
	Renamed all instances of prefix `qic_' to `zft_' so it is unique
	throughout all of zftape (except of some `zftape_' prefixes)

	* zftape/zftape-buffers.c:
	Changed trace level of memory stats to ft_t_noise (== 4)

	* zftape/zftape-rw.h, zftape/zftape-rw.c:
	zft_retard_to_previous_segment() fixed. Now stays inside the same
	volume in any cause as it ought to. Renamed afterwards to
	zft_move_before_eof() and moved to file qic-vtbl.c/qic-vtbl.h.

	* zftape/zftape-read.c:
	zftape_read() now checks for eom and returns -EIO if eom is reached.

	* zftape/Attic/qic-compress.c, zftape/lzrw3.h, zftape/lzrw3.c:
	Uncompressed data is no longer indicated by bitwise or'ing with 0x8000
	but with a negative size. This is necessary to allow blocks larger
	then 32kb.

	* fdc-isr.c:
	new function handle_fdc_busy(). This make fdc_isr() a bit more
	readable (less indentation)

Tue Feb 11 12:07:03 1997  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* RELEASE-NOTES: Added some info for never release ftape-3.02a

	* Makefile.module: Added tags: target


Tue Feb 11 12:02:53 1997  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* zftape/zftape-read.c: Removed some unnecessary read_segment()s from
	zft_read_header_segment().

	* zftape/zftape-ctl.c:
	seek_block(): return -EINVAL when zft_resid != 0.
	fsfbsfm(): need to get new volume info before moving to BOT side of
	EOF mark. The old is no longer valid because we might have skipped
	some volumes.

	* zftape/zftape-write.c, zftape/qic-vtbl.c, zftape/qic-vtbl.h:
	Fix check_write_access() and maybe_write_beof() not to damage the
	volume table when the write access is not allowed. Don't change the
	volume table before we know that we can expect the write request to
	succeed.

	* zftape/qic-compress.c:
	Fixed zft_compress_seek(). Could be caught in a loop between two
	segments. Fall back to slow seek routine in this case.

	* sftape/Makefile.module:
	Don't remove backup file when `make clean' is called

	* kernel-interface.c:
	Fixed bug introduced by change in ftape_interface code. Don't assume
	that ftape_vfs_ops != NULL.

	* ftape-rw.h, ftape-rw.c:
	Need to keep track of logical EOT in loop_until_writes_done() because
	tape stops at lEOT and needs to be restarted. Introduced new function
	ftape_handle_logical_eot() for this purpose.

	Escape on signal form seek_forward() seemed to be a bit
	broken. read_id() does only return -EINTR when signals in _NEVER_BLOCK
	or given, which does not contain SIGINT.

	Reformatted skip_reverse() and seek_forward() s.t. I'm able to read
	these functions.

	* ftape-read.c, ftape-write.c:
	Added a missing signal escape to a loop in read_segment(). Needed to
	keep track of logical EOT in loop_until_writes_done() because tape
	stops at lEOT and needs to be restarted. Introduced new function
	ftape_handle_logical_eot() for this purpose.

	* fdc-isr.c:
	Tried to bring it in readable form. Maybe I'll understand this beast
	one day.

	* ftape-io.c: Renamed some suffixes ftape_ to ft_ for code readability

	* ftape-ctl.c:
	In function _ftape_close(): stop tape if interrupted by signal.

Mon Feb 10 22:02:52 1997  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* zftape/zftape-write.c,zftape/zftape-read.c, zftape/zftape-rw.c,
 	  zftape/zftape-eof.h, zftape/zftape-init.c, zftape/zftape-eof.c,
 	  zftape/zftape-ctl.c, zftape/zftape-buffers.h, zftape/qic-vtbl.h,
 	  zftape/zftape-buffers.c, zftape/qic-vtbl.c,
 	  zftape/qic-compress.c:
	Changes to reflect the changes in the trace code. Fixed a silly bug
	that was introduced by all the other changes: zftape would seg-fault
	when trying to create new volume on empty cartridge.

	* tracing.h, kernel-interface.c, tracing.c, ftape_syms.c,
 	  ftape-write.c, ftape-rw.h, ftape-setup.c, ftape-rw.c,
 	  ftape-io.c, ftape-read.c, ftape-interface.c, ftape-ctl.c,
 	  ftape-bsm.c, fdc-isr.c, fdc-io.c, fdc-io.h, fc-10.c, ecc.c,
 	  calibr.c:
	Changed the trace code again to better support NO_TRACE_AT_ALL and
	NO_TRACE options, i.e. to produce less code.

	* zftape/Makefile.module:
	Modified such that the compression stuff can be compiled as a
	separate module.

	* zftape/zftape-write.c, zftape/zftape-rw.c, zftape/zftape-rw.h,
 	  zftape/zftape-read.c, zftape/zftape-read.h, zftape/zftape-ctl.h,
 	  zftape/zftape-init.c, zftape/zftape-init.h, zftape/zftape-ctl.c,
 	  zftape/qic-vtbl.h, zftape/zftape-buffers.c, zftape/qic-vtbl.c:
	Modified such that the compression stuff can be compiled as a
	separate module. Fixed return codes (error codes). Interpret the
	access mode the device was opened with.

	* zftape/zftape.h:
	Renamed mtgetsize struct to mttapesize. Name space changes

	* zftape/zftape_syms.c, zftape/zftape_syms.h,
 	  zftape/qic-compress.c, zftape/qic-compress.h:	
	Modularize even further: the entire compression stuff is now in a
	separate module.

	* contrib/gnumt/mt.c, contrib/gnumt/version.c,
 	  contrib/gnumt/xmalloc.c, contrib/gnumt/argmatch.c,
 	  contrib/gnumt/error.c:	
	Updated to the GNU mt from the cpio-2.4.2 package. Only significant
	change: the driver now is opened in WRONLY mode when issuing an
	MTERASE or MTWEOF command.

	* contrib/gnumt/Attic/getopt.h, contrib/gnumt/Attic/getopt1.c,
 	  contrib/gnumt/Attic/getopt.c:
	These were never used

	* vendors.h: Silly formatting changes

	* ftape_syms.c, kernel-interface.c, ftape-read.c, ftape-read.h,
 	  ftape-interface.c:
	Changed the vfs_ops to originally point at NULL at not to some dummy
	variable.

	* ftape-ctl.c, ftape-ctl.h:
	Added new member fti_accmode the ftape_info struct. It holds the
	access mode the driver was opened with. This makes it possible to
	inhibit write access to the tape when opened with the O_RDONLY flag

Thu Feb  6 15:45:59 1997  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* zftape/zftape-rw.c, zftape/zftape-write.c, zftape/zftape-read.c,
 	  zftape/zftape-eof.c, zftape/zftape-buffers.c,
 	  zftape/zftape-ctl.c, zftape/qic-vtbl.h, zftape/qic-compress.c,
 	  zftape/qic-vtbl.c, sftape/sftape-rw.h, sftape/sftape-write.c,
 	  sftape/sftape-read.c, sftape/sftape-rw.c, sftape/sftape-eof.c,
 	  ftape.h, kernel-interface.c, ftape-rw.c, ftape-write.c,
 	  ftape-read.c, ftape-read.h, ftape-fsl.h, ftape-io.c,
 	  ftape-ctl.c, fdc-isr.c, ftape-bsm.c, fdc-io.c, ecc.c:
	Make some names unique by prepending an `FT_'

Thu Feb  6 14:18:37 1997  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* zftape/zftape.h, zftape/zftape-rw.h, zftape/zftape-write.c,
 	  zftape/zftape-read.c, zftape/zftape-rw.c, zftape/zftape-eof.h,
 	  zftape/zftape-init.c, zftape/zftape-ctl.h, zftape/zftape-eof.c,
 	  zftape/zftape-buffers.c, zftape/zftape-ctl.c, zftape/qic-vtbl.c,
 	  zftape/qic-vtbl.h, zftape/qic-compress.h, zftape/qic-compress.c:
	Get rid of the compression map because it is really huge for large
 	tapes. As a result it will be much easier to move the compression
 	support to a separate module. Complete rewrite of the
 	compress_seek() routine that seeks inside a compressed volume
 	without using a compression map. Hairy. Needs to be tested for
 	deadlocks.

	* sftape/sftape-write.c: Renamed WRITE_ASYNC to FT_WR_ASYNC

	* tracing.h:
	Fixed print macros for 64 bit values (right shift of signed values
	preserves the sign)

	* ftape-write.c, ftape-write.h:
	Name space cleanup: WRITE_ASYNC -> FT_WR_ASYNC etc.

	* ftape-read.h:
	New enum type, ft_read_mode_t, that contains FT_RD_SINGLE, FT_RD_AHEAD.

	* fdc-io.c, fdc-io.h:
	fdc_config_reds() need not to be global (now declared static).
  	IMPORTANT: I've changed the request_region()/_irq()/_dma()
 	stuff. ftape now FIRST checks whether ALL resources are available
 	before probing for the device. We don't initialize any hardware if
 	check_region() tells us it is in use. This must, of course,
 	correspond to a comparable change in the floppy.c driver of the
 	kernel (which also doesn't check if the resources are available)

	When this is done, ftape and floppy driver can coexist even with
	random kerneld auto-loading without causing serious grief.

	* ecc.c: Cosmetic changes.

Mon Jan 27 13:28:50 1997  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* zftape/Makefile.module:
	Added optional -DMODVERSION again for newer kernels.

	* zftape/zftape-rw.c, zftape/zftape-rw.h, zftape/zftape-read.c,
 	  zftape/zftape-ctl.h, zftape/zftape-init.c, zftape/zftape-ctl.c,
 	  zftape/zftape-buffers.h, zftape/qic-vtbl.h,
 	  zftape/zftape-buffers.c, zftape/qic-vtbl.c,
 	  zftape/qic-compress.h, zftape/qic-compress.c:
	Needed 64 bit sized integers in some places. Changed the
 	allocation code to allocate the buffers for compression as late as
 	possible. Changed to support volume sizes > 32bit (conformance to
 	QIC-113). Compression map offset was off by one block for first
 	compressed block. Compression buffers are of variable size now
 	(spares memory when using small block size). Removed those ugly
 	DEFINE/DECLARE_BUFFER macros.

	* zftape/zftape-write.c:
	Moved prepare_contiguous_write_access() inside function
	check_write_access() to make it look like zftape_read()

	* zftape/zftape.h:
	Need 64 bit fields in mtvolinfo, need to define function
	zft_div_blksz() to divide 64 bit values by multiples of 1024 bytes or
	1 to avoid call to libgcc function.

	* zftape/lzrw3.h, zftape/lzrw3.c:
	Changed type definitions a bit (ULONG always __u32 now). Changed
	variable pointer arg of lzrw3_compress to be a (void *) pointer.

	* zftape/zftape-eof.c, sftape/sftape-eof.c:
	Renamed fmt_wide to fmt_var (variable length format)

	* contrib/gnumt/mt.c: Added new suffix `G' to indicate Gigs of space

	* tracing.h: Add macro to display 64 bit values with printk

	* ftape.h: Cosmetics

	* ftape-read.c, ftape-bsm.c:
	Renamed fmt_wide to fmt_var (variable tape length)

	* ftape-rw.h: Define macros GET8 and PUT8 to put/get 64 bit values

	* Makefile.module:
	Add again optional -DMODVERSIONS because module won't compile with
	kernels > 2.1.18 configured for versioned symbols.

Thu Jan  9 17:03:50 1997  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* ftape-read.c: Prefixed segments_per_cylinder with `ftape_'

	* vendors.h: Added `Teac FT3010TR' and maximum speed for Eagle-96.

	* ftape-read.c:
	Removed #ifdef TESTING around tape parameter inconsistency error
	messages.

	* zftape/zftape-init.c, sftape/sftape-init.c, kernel-interface.c,
 	  ftape_syms.c, ftape_syms.h:
	Add support for kernels >= 2.1.18

	* zftape/zftape-eof.c, sftape/sftape-eof.c:
	Fixed bug with failed sector log handling for old (1.2.*) kernels,
	reported by Paul Allen <all9520@halcyon.com>

Tue Dec 31 17:10:27 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* RELEASE-NOTES: Update for version 3.02a

Tue Dec 31 16:57:06 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* kernel-interface.c: Bump version to 3.02a

	* zftape/zftape-init.c: Bump version to 2.02a

	* Makefile.module:
	Put quotes around the EXTRA_FLAGS variable when passing it to
 	child makes.

	* ftape-setup.c:
	Don't reference ftape_tracing when defined CONFIG_FT_NO_TRACE_AT_ALL

	* zftape/zftape-ctl.c:
	Increase trace level to 5 for warning when using obsolete ioctls

	* kernel-interface.c:
	Added call to init functions of either zftape or sftape if compiling
	the entire package into the kernel image.

Wed Dec 18 17:36:37 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* really release version 3.02 of ftape
	
	* info/Attic/ftape.info-1, info/Attic/ftape.info-2,
 	  info/Attic/ftape.info-3, info/Attic/ftape.info:
	No need to version control recreate-able files. This was silly!

	* info/Makefile: typo: http -> html

	* info/Makefile:
	Erase html and dvi version only if doing `make realclean' (not only
	`clean')

	* info/Usage.texi: Typos

	* INSTALL:
	Provide also the html and dvi version of the installation manual by
	default and change info/Makefile accordingly.

	* zftape/Makefile.kernel:
	Added ZFT_OBSOLETE define to standard zftape options.

Tue Dec 17 23:55:17 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* release version 3.02 of ftape
	
Tue Dec 17 23:55:17 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* zftape/zftape-ctl.c: Say why keeping ftape locked in memory, if so.

	* patches/2.x.x/mtio.h: Fix typos in comments

	* patches/2.x.x/Configure-Ftape.help:
	Minor modifications to CONFIG_FT_NR_BUFFERS

Mon Dec 16 12:26:37 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* RELEASE-NOTES: Updated for ftape-3.02

	* zftape/zftape-init.c, sftape/sftape-init.c, kernel-interface.c:
	Bump to next version:
	3.02 for ftape
	2.02 for zftape
	1.02 for sftape

Mon Dec 16 11:03:54 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* info/kernel-patches.texi:
	Added some hint how to change /usr/src/linux/init/main.c when the
	patch fails.

	* info/Installation.texi: Fixed a typo (ftape ftape)

	* patches/2.x.x/Configure-Ftape.help:
	Added help for CONFIG_FT_NO_TRACE (- _AT_ALL) and fixed some
	misspellings.

	* Config.in:
	Changed the `Generic' fdc to `Other' as this is it what is meant.

	* info/devices.texi, info/ftape.texi, info/kernel-patches.texi,
 	  info/Usage.texi, info/compilation.texi, info/Linux-1.2.13.texi,
 	  info/Installation.texi:
	Fixed some misspellings. Added section for insmod and kernel command
	line parameters.

Fri Dec 13 11:04:56 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* Config.in:
	Insert comment lines to indicate start and end of ftape specific
	configuration options.

	* zftape/zftape-ctl.c, zftape/qic-vtbl.c:
	Logical BOT condition was set wrongly when reading old ftape
	cartridges in compatibility mode. old ftape (now sftape) ignores the
	vtbl segment completely, and this the user accessible area of the tape
	starts directly behind the header segments.

	* patches/2.x.x/Configure-Ftape.help: Fixed a typo

	* kernel-interface.c:
	Fixed auto-loading of `ftape-frontend' via kerneld. Need to request the
	module before checking if minor bits of device number match those
	that we want to support, because the frontend decides this.

Thu Dec 12 14:54:51 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* sftape/sftape-write.h, sftape/sftape-read.h,
 	  sftape/sftape-write.c, sftape/sftape-ctl.c,
 	  sftape/sftape-read.c:
	Improved kerneld support: keep the module locked in memory if using
	non-rewinding devices and tape isn't at bot (logical).

	* zftape/zftape.h, zftape/zftape-ctl.c, zftape/Makefile.module:
	Add old ioctl call MTIOC_ZFTAPE_GETBLKSZ for compatibility with old
	programs. At least taper uses this. Include the code for it only when
	ZFT_OBSOLETE is defined.

	Also: changed zft_tape_at_bot() to return `1' if no cartridge or
	off-line. Is used to decide whether it is save to unlock the module in
	memory for use with kerneld.

	* contrib/swapout/swapout.c: Add -h and --help options.

	* contrib/gnumt/version.c:
	Indicate that this is NOT the original GNU mt program

	* ftape-setup.c, Makefile.kernel:
	Added new file ftape-setup.c which contains the function ftape_setup()
	and interprets option given by the kernel to ftape. This is only
	necessary when compiling ftape into the kernel.

	* fdc-io.h, fdc-io.c, fc-10.c:
	Changed the preprocessor symbols FDC_BASE/IRQ/DMA and PROBE_FC10 and
	MACH2 to be global variables. This allows configuration of the module
	at load time. Support for the Colorado FC-10/FC-20 accelerator card is
	now always compiled in.

	* Makefile.module:
	dep: target was somehow a bit broken (did not correctly create the
	symbolic links `linux -> .' and `mtio.h -> patches/2.x.x/mtio.h'

Wed Dec 11 01:09:07 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* INSTALL, Makefile.module:
	Added html target and tell about it in the INSTALL file.

Wed Dec 11 01:03:58 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* zftape/zftape-ctl.c:
	Fixed a bug in zft_reset_position() that didn't show up yet: set the
	byte position inside the segment to zero before using it to compute
	the raw data position of the start of the first user segment.

	New function (static) zft_tape_at_bot() that decides if the tape is
	LOGICAL at bot, that is at the start of the user accessible
	area. Didn't check this with raw tape access and missing compression
	map but should be ok.

	zft_open() zft_close(): only unlock the module in memory if the tape
	is logical at bot when using the tape with non-rewinding devices. This
	is necessary for use with kerneld. Could also use that persistent
	module storage extension, but didn't think about it yet.

	zft_close(): not only update the header segments when the tape is used
	with the rewinding devices, but also if it is logical at bot.

	* zftape/qic-compress.c:
	Fixed a bug that led to division by zero: use the read count when
	computing the read compression statistics, not the write count. How
	silly a bug.

	* vendors.h: Added vendor id for Colorado T3000.

	* tracing.h: Fixed a typo: changed Marvin Dalecki to Marcin Dalecki

	* fc-10.c:
	Include <asm/io.h> for inb() and outb() declarations. This fixes a bug
	that was reported several times.

	* Makefile.module:
	Make every object depend on the Makefile to have change to assure
 	that everything gets recompiled after changing compile time
 	options in the Makefile

Thu Dec  5 16:15:00 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* sftape/sftape-write.h, sftape/sftape.h, sftape/sftape-rw.c,
 	  sftape/sftape-rw.h, sftape/sftape-write.c, sftape/sftape-init.c,
 	  sftape/sftape-read.c, sftape/sftape-read.h, sftape/sftape-eof.c,
 	  sftape/sftape-eof.h, sftape/sftape-ctl.h, sftape/sftape-ctl.c:
	Changed all `sftape_' prefixes to `sft_' for shortness.

	* ftape-read.c, vendors.h: whraven@njackn.com:
	"I've made the following corrections to allow ftape to work with the
	ComByte DoublePlay drive and to use tapes formatted by ComByte's
	DoublePlay Windows software.  I've included code I used to determine the
	necessary header corrections with #IFDEF TESTING."

	* ftape-write.c:
	Fixed write_segment() to call start_writing() with the proper write
	mode (WRITE_SINGLE or WRITE_MULTI) when flushing mode is issued.

	* zftape/zftape-rw.h, zftape/zftape-write.h, zftape/zftape.h,
 	  zftape/zftape-eof.h, zftape/zftape-init.c, zftape/zftape-read.h,
 	  zftape/zftape-ctl.h, zftape/zftape-eof.c, zftape/zftape-ctl.c:
	Changed all "zftape" prefixes to "zft". Added some zft prefixes to some
	global variables to make their names unique (think of kernel
	inclusion)

	* zftape/zftape-write.c:
	Changed all "zftape" prefixes to "zft". Added some zft prefixes to some
	global variables to make their names unique (think of kernel
	inclusion)
	No longer automatically change the tape label. zftape no longer uses
	information stored in the tape label.

	* zftape/zftape-rw.c:
	Changed all "zftape" prefixes to "zft". Added some zft prefixes to some
	global variables to make their names unique (think of kernel
	inclusion)
	Changed zftape_update_label() to return void and declare it static. No
	longer used outside zft_erase(). Changed zft_erase() to extract old
	ftape's eof-marks when the header segment has not read in already (was
	a bug)

	* zftape/zftape-read.c:
	Changed all "zftape" prefixes to "zft". Added some zft prefixes to some
	global variables to make their names unique (think of kernel
	inclusion)
	Changed zftape_read_header_segments() to not return 0 (success) when
	extraction of compression map failed and the drive is used with the
	compression devices zqft*

	* zftape/zftape-buffers.c, zftape/zftape-buffers.h, zftape/qic-vtbl.c, zftape/qic-vtbl.h:
	Changed all "zftape" prefixes to "zft". Added some zft prefixes to some
	global variables to make their names unique (think of kernel
	inclusion)

	* zftape/qic-compress.h, zftape/qic-compress.c:
	Changed all "zftape" prefixes to "zft". Added some zft prefixes to some
	global variables to make their names unique (think of kernel
	inclusion) Moved definition of scratch_buffer from ftape-rw.c to
	qic-compress.c as it isn't used anywhere else. Reduced size of scratch
	buffer by 1K. Changed routine "extract_compression_map()" to no longer
	rely on the tape label (was really silly)

	* zftape/lzrw3.h, zftape/lzrw3.c:
	Added a "lzrw3_" prefix to the function name "compress" to make it
	unique

	* zftape/Makefile.module:
	Symlink ". -> linux" is now created with the dep target.

Wed Dec  4 15:56:44 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* Makefile.module:
	Removed that MODVERSIONS stuff. Was fed up with people complaining
	about MODVERSIONS not working. Also, the symbolic links `. -> linux'
	are now created together with the dependencies. Added a new symbolic
	link `patches/2.xx/mtio.h -> mtio.h' to be able to compile the
	modified `mt' program without having to replace the original mtio.h in
	/usr/include/linux/mtio.h.

Wed Dec  4 15:35:52 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* zftape/zftape-write.c, zftape/qic-vtbl.c, zftape/zftape-rw.c,
 	  zftape/zftape-rw.h, zftape/qic-compress.c:
	Changed zftape_verify_write_segment() to be able to write and verify
	multiple segments which is needed in order to write and verify the
	compression map for long tapes. Renamed it to ..._segments() to
	reflect this change.

Wed Nov 27 04:12:43 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* zftape/zftape-write.c, zftape/zftape-eof.c, zftape/zftape-rw.c,
 	  zftape/zftape-rw.h, zftape/zftape-buffers.c,
 	  zftape/zftape-ctl.c, zftape/qic-vtbl.h, zftape/qic-vtbl.c,
 	  zftape/qic-compress.c, sftape/sftape-write.c:
	Changed all of the update_header segments code in zftape. Write only
	one segment at a time and verify it as soon as it has been
	written. New function zftape_verify_write_segment(). This scheme takes
	more time than async reads and writes but is much more secure. Header
	segments are too important for floppy tape cartridges.

	* kernel-interface.h, ftape.h, kernel-interface.c, ftape-write.c,
 	  ftape-write.h, ftape-rw.c, ftape-rw.h, ftape-io.h, ftape-read.c,
 	  ftape-ctl.h, ftape-io.c, ftape-bsm.c, ftape-bsm.h, ftape-ctl.c,
 	  fdc-isr.c, fdc-isr.h, fdc-io.c, fdc-io.h, calibr.h, ecc.c,
 	  ecc.h, calibr.c:
	Prepended an `ftape_' to all global symbols. This may avoid name space
	clashes when including ftape into the kernel. Take for example such
	unique names like `head' or `tail' or `wait_intr' ...

Wed Nov 20 16:08:56 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* ftape.h:
	Changed 'typedef unsigned char byte' to `typedef __u8 byte'. Should
	we use that __u8 type everywhere in ftape?

	* fdc-io.c:
	Fixed a bug when the fdc was not properly unlocked, has to use
	fdc_issue_command() instead of fdc_command() to read the result from
	the fdc.

Mon Nov 18 01:41:24 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* zftape/zftape-ctl.c:
	add a call to zftape_init_driver() also when drive is not formatted
	or no tape is present. This fixes a bug when the flag `header_read' is
	not reset to zero when the tape was removed.

	* zftape/zftape-rw.c: Formatted a trace message

	* zftape/zftape-write.c:
	Fixed a bug that caused wrong behavior when aborting a write with a
	signal: we have either to eliminate the current volume completely
	(rather odd when using compression) or finish the volume at the
	position where the abort occurs (that's how we do it)

	* zftape/qic-vtbl.c: Fixed a type (truncate -> truncate)

	* ftape-io.c: Added messages for interruption by signal

	* ftape-ctl.c:
	Fixed silly bug introduced by silly introduction of silly bit-fields
	for flag `write_protected' (in function ftape_get_drive_status())

Sat Nov 16 22:57:19 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* RELEASE-NOTES: Added entry for ftape-3.01

	* vendors.h:
	Rename Exabyte EXB-1500 to Exabyte Eagle-96 by request of Exabyte.
	Add new vendor id for Iomega DITTO 2GIG

	* zftape/Makefile.kernel, zftape/Makefile.module,
 	  sftape/Makefile.kernel, sftape/Makefile.module, Makefile.kernel,
 	  Makefile.module:
	Simplified CFLAGS etc. Only link with -dc when not compiling ftape
	into the kernel.

	* zftape/zftape-rw.c, zftape/zftape-write.c, zftape/zftape-init.c,
 	  zftape/zftape-read.c, zftape/zftape-ctl.c, zftape/zftape-eof.c,
 	  zftape/qic-vtbl.h, zftape/zftape-buffers.c, zftape/qic-vtbl.c,
 	  zftape/qic-compress.c, zftape/qic-compress.h,
 	  sftape/sftape-init.c, sftape/sftape-read.c,
 	  sftape/sftape-write.c, sftape/sftape-ctl.c, sftape/sftape-eof.c,
 	  tracing.c, tracing.h, kernel-interface.c, ftape-write.c,
 	  ftape_syms.c, ftape-read.c, ftape-rw.c, ftape-interface.c,
 	  ftape-io.c, ftape-bsm.c, ftape-ctl.c, fdc-io.c, fdc-isr.c,
 	  ecc.c, Config.in, calibr.c:
	Changed trace code to use __FUNCTION__ macro as proposed by
	Marcin Dalecki <dalecki@sub994.sub.uni-goettingen.de>.

Wed Nov 13 18:05:29 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* zftape/zftape-init.c, sftape/sftape-init.c, RELEASE-NOTES,
 	  kernel-interface.c:
	Updated version number to 3.01-b1 for preliminary release.

Mon Nov 11 12:23:22 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* zftape/qic-compress.c, zftape/zftape-write.c:
	Fixed reference to undefined variable  last_write_failed in
	qic-compress.cm, made last_write_failed static in zftape-write.c.

Mon Nov  4 14:52:48 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* zftape/zftape-init.c, sftape/sftape-init.c, kernel-interface.c:
	Removed reference to undefined variable kernel_version when compiling
	the package into the kernel (instead of using it as a module)

Sat Nov  2 22:15:06 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* zftape/zftape-write.c, zftape/qic-compress.c, sftape/sftape-write.c, sftape/sftape-read.c, ftape-ctl.c:
	Include <asm/uaccess.h> for kernel versions >= 2.0.6

	* sftape/sftape-eof.c:
	Fixed bug that was already in original ftape code: MTFSF/BSF was NOT
	handled correctly when just before eof.

	* zftape/zftape-read.c:
	Fixed bug where buf_len_read was set to negative value (error code).

	* zftape/zftape-ctl.c, sftape/sftape-ctl.c:
	Declare ftape_status variable only when compiling as module.

Thu Oct 24 23:33:10 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* zftape/zftape-write.c, zftape/zftape-ctl.c,
 	  zftape/zftape-read.c, zftape/qic-compress.c, zftape/qic-vtbl.h:
	Adjusted for Linux-2.1.4 (copy_to/from_user()) Fixed read only mode
	for old-ftape written tapes.

	* zftape/qic-vtbl.c:
	Computation of volume size for non-zftape volumes was wrong. We now
	support skip to eom for old-ftape written tapes correctly
	(hopefully). Fixed bug in extraction of old-ftape file marks: did not
	set our internal file-mark count correctly.

	* zftape/Makefile.module:
	Fixed wrong dependency on non-existing Makefile

	* sftape/sftape-write.c:
	Check the runner status before starting tape when updating header
	segments.

	* sftape/sftape-ctl.c:
	Always zap read and write buffers, not only when using the rewinding
	device. Seems to be necessary to mark dma buffers as empty.

	* sftape/sftape-read.c:
	Fixed severe bug when sftape_read_header_segments() would call itself
	recursively instead of calling ftape_read_header_segment().

	* ftape-ctl.c:
	Added another instance of copy_from_user() .. change for Linux-2.1.4

	* ftape-format/ftfmt-format.c:
	Added formatting skeleton form Ian Burrell

	* info/Makefile: Added target for texi2html

	* info/devices.texi, info/ftape.texi, info/kernel-patches.texi,
 	  info/Linux-1.2.13.texi, info/Usage.texi, info/Installation.texi:
	Fixed some misspellings. Minor changes. Added detailed node listing.

	* info/ftape.info-3, info/ftape.info-2, info/ftape.info-1,
 	  info/ftape.info:
	Fixed some misspellings. Minor changes.

	* MAKEDEV.ftape:
	Fixed silly bug, major device number was wrong. Also added symlink
	from /dev/nrft0 to /dev/nftape

Mon Oct 14 14:58:15 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* zftape/zftape-init.c, sftape/sftape-init.c, kernel-interface.c:
	Bump date of startup message to today's date.

	* RELEASE-NOTES: Added notes for zftape, sftape and contrib/gnumt

	* patches/2.x.x/linux-2.0.21.dif: Updated for latest changes

	* RELEASE-NOTES: Updated for ftape-3.00

	* info/Makefile: Don't remove info file with "make clean"

	* INSTALL: Hint to the TeXinfo manual

	* info/ftape.info-2, info/ftape.info-1, info/ftape.info:
	Installation and basic usage information in TeXinfo format

	* info/Makefile: New, makefile for formatting of TeXinfo source

	* Makefile.module:
	Added info, dvi, doc targets to format TeXinfo documentation

	* Attic/Install-guide: No longer needed, doc now in TeXinfo format

	* info/kernel-patches.texi, info/Introduction.texi,
 	  info/Linux-1.2.13.texi, info/Installation.texi:
	Broke long lines manually

	* MAKEDEV.ftape: New. This script creates the needed tape devices

	* info/compilation.texi, info/devices.texi, info/ftape.texi,
 	  info/kernel-patches.texi, info/Linux-1.2.13.texi,
 	  info/Usage.texi, info/Installation.texi, info/Introduction.texi:
	New TeXinfo manual

	* Makefile.module: Removed obsolete VERIFY_HEADERS option.

Fri Oct 11 10:13:33 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* info/ftape.info, info/kernel-patches.texi,
 	  info/Introduction.texi, info/Linux-1.2.13.texi,
 	  info/Installation.texi, info/dir, info/ftape.texi,
 	  info/compilation.texi, info/devices.texi, info/Copying.texi:
	Ftape Install-guide in GNU info format

	* patches/2.x.x/Configure-Ftape.help: Fixed some typos.

Thu Oct 10 15:04:39 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* info/ftape.texi: info source for ftape Docu.

	* patches/1.2.13/io.h: Replacement file for include/asm-i386/io.h

	* patches/1.2.13/linux-1.2.13.dif: Patch file for kernel version 1.2.13

	* zftape/zftape-write.c:
	Add trace level for not when writing header segments.

	* ftape-read.c:
	Set read ahead for header segments. Experimental. May keep the tape
	streaming when reading subsequent volume table and compression map.

	* fdc-io.c: Change write pre-compensation trace level to 4

	* zftape/qic-vtbl.c:
	Add level for trace notice when writing volume table

	* zftape/qic-compress.c:
	Fixed bugs in update and verify compression map routines. Did not work
	properly for large compression map (> 1 segment)

	* contrib/gnumt/mt.c: Undo vanishing of mtsetblk :-(

	* contrib/gnumt/mt.c:
	Added code for Kilobytes and Megabytes suffixes to print out large
	byte numbers.

	* Makefile.module:
	Added the contrib target to the driver (default) target.

	* ftape-bsm.c:
	Fixed ugly bug. As we now use the bad sector map stored in the header
	segment buffer directly, we need to initialize the bsm hash ptr after
	reading the header segment.

	* tracing.h:
	Added TRACEx8 macro, used in zftape/qic-vtbl.c to printout the
	internal volume table representation.

	* zftape/zftape-read.c, zftape/zftape-write.c, zftape/qic-vtbl.c,
 	  zftape/zftape-ctl.c:
	Trace level adjustments.

	* zftape/zftape-rw.c:
	Remove unnecessary if conditional in zftape_set_flags()

	* zftape/qic-compress.c:
	Clear compression statistics after they have been printed to the
	system log.

	* zftape/zftape-init.c:
	Use a startup message similar to ftape's one. Bump version to
	`zftape 2.00 alpha'. Add Copyright notice me, Claus-Justus Heine. Only
	use sparse message when compiled into the kernel.

	* sftape/sftape-init.c:
	Use a startup message similar to ftape's one. Bump version to
	`sftape 1.00 alpha'. Add Copyright notice for Bas Laarhoven, Kai
	Harrekilde-Pederson and me, Claus-Justus Heine. Only use sparse
	message when compiled into the kernel.

	* kernel-interface.c: Bump version printout to 3.00 alpha

Wed Oct  9 22:54:39 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* zftape/qic-vtbl.c:
	Fixed bug in skip_files() that caused too large BSF's to be
 	reported incorrectly.

	* zftape/zftape.h:
	Fixed MTIOC calls that were out of sync with patch mtio.h

	* zftape/zftape-init.c:
	Add global variable kernel_version for old kernel versions.

	* ftape-format/ftfmt-format.h, ftape-format/ftfmt-init.c,
 	  ftape-format/Makefile.module, ftape-format/ftfmt-format.c:
	Skeleton for formatting module. Well, less than a skeleton.

	* contrib/Makefile: Added `all' target.

	* ftape-interface.c, ftape-interface.h:
	Changed "_format_" names to "_fmt_" names

	* ftape_syms.c, ftape-io.c, ftape-io.h:
	export ftape_report_operation() for formatting module.

	* ftape-ctl.c:
	Fixed bug introduce by Bas when hacking calc_timeouts: not only check
	for unknown tape speed, but also for unknown tape length, essential for
	retension, rewind etc. without having to read the header segments.

	Fixed ftape_close to not return an error if high level close routine
	(sftape, zftape) was not registered.

	* Makefile.module: Add contrib target

	* patches/2.x.x/linux-2.0.21.dif, patches/2.x.x/mtio.h,
 	  patches/2.x.x/Config.in.char, patches/2.x.x/Makefile.char:	
	Patches etc for kernels > 2.*.* to include ftape in the kernel
 	distribution.

	* patches/2.x.x/Configure-Ftape.help:
	drivers/char/Config.in, changed for ftape

	* patches/Attic/Configure.help:
	Patches for 2.0.21 and 2.1.1 are identical, removed 2.1.1 subdirectory
	in patches subdir, added 2.x.x subdir instead.

	* patches/Attic/Configure.help, Config.in:
	Changed to work with that broken kernel xconfig. menuconfig is really
	much more tolerant.

	* Makefile.module:
	Added contrib target to make programs contained in the contrib
	subdirectory.

	* kernel-interface.c:
	Fixed format type in TRACE call for kernel 2.0.21 <-> 2.1.*

	* Attic/swapout.c: Moved to contrib/swapout directory

	* zftape/zftape-rw.c, zftape/zftape-eof.c, zftape/zftape-eof.h,
 	  zftape/zftape-init.h, zftape/qic-compress.h,
 	  zftape/zftape-buffers.c, zftape/zftape-buffers.h,
 	  zftape/qic-compress.c:
	LOTS of that VERY nice code layout changes. Reformatting fun :-)
	EMACS, hey, do YOU like it? At least you?

	* zftape/zftape-init.c, zftape/zftape-read.h,
 	  zftape/zftape-write.c, zftape/zftape-read.c:
	Changed code because the read_header_hook has vanished. It was REALLY
	unnecessary

	* zftape/qic-vtbl.h, zftape/zftape-ctl.c, zftape/zftape.h,
 	  zftape/qic-vtbl.c:
	Changed code for new MTIOCVOLINFO ioctl that replaces MTIOCBLKSZ ioctl

	* sftape/sftape-read.h, sftape/sftape-write.c,
 	  sftape/sftape-write.h, sftape/sftape-eof.c,
 	  sftape/sftape-read.c, sftape/sftape-ctl.c:
	Changed code because ftape_read_header_hook vanished. Reformatting of
	all of the source code (nothing serious, only that old conversion of
	`ugly' looking source code against `nice' looking source code. May
	EMACS be with me ... :-)

	* sftape/sftape-init.c:
	Removed obsolete ftape_read_header_hook from the vfs_ops

	* sftape/Makefile.module:
	Removed obsolete CONFIG_FT_KERNELD. We always protect against
	kerneld. AND AGAINST UNEXPERIENCED USERS!!!!!!!!!!!!!

	* contrib/gnumt/mt.c:
	Yet another change for the new IOCTL interface: remove MTIOCBLKSZ and
	introduce MTIOCVOLINFO. The latter includes information about the
	block-size, the raw amount of tape space used, the real (compressed
	amount of data recorded to this volume) and a flag variable indicating
	whether this volume used compression or not (I mean the builtin
	compression used by zftape, nothing else)

	* ftape-interface.h, ftape-read.c:
	Removed read header hook. This really doesn't need to exist. Instead,
	write sftape_read_header_segments() and zftape_read_header_segments()
	functions. The reason why this hook is not needed is clear:
	ftape_read_header_segment() is NEVER called from inside the hardware
	module `ftape', but must be explicitly called from the higher level IO
	modules. Also, the additional segments (vtbl, cmap) that are read by
	zftape, are only read after the real header segments have successfully
	read in.

	* ftape.h, ftape-io.c, ftape-ctl.h, ftape-ctl.c:
	Added ftape_last_error and ftape_last_status variables. These are
	intended for use with MTIOCGET to fill in the error reg and drive
	status fields. Refer to ftape.h for further information (these even
	include tape cartridge configuration (which kind of cart. is inserted)
	and also tape drive configuration (which features has your tape drive)
	One needs qic117.h from the ftape distribution to decode this status
	info.

Tue Oct  8 10:50:31 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* contrib/gnumt/mt.c:
	Fixed stupid bug for new getseg command: stdout is FD 1, not 0

	* Makefile.module, zftape/Makefile.module, sftape/Makefile.module,
 	  contrib/gnumt/Makefile:
	removed that fancy modversions feature from the Makefiles for the
	separate module package.

Mon Oct  7 16:17:23 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* contrib/gnumt/Makefile:
	Set install prefix to `ft' to prevent overwriting of existing mt.
	This mt should still work with other tape drives, as it contains the
	standard ioctls as a subset.

	* contrib/gnumt/mt.1: Updated to reflect support of new ftape IOCTLs

	* contrib/gnumt/mt.c:
	Changed the mt command name `getblksz' to `getblk'

	* patches/Attic/Configure.help:
	CONFIG_FTAPE section for /usr/src/linux/Documentation/Configure.help

	* Attic/mtio.h.dif, Attic/mtio.h: Moved to patches subdirectory.

	* Attic/Makefile.char, Attic/Makefile.char.dif,
 	  Attic/Configure.help, Attic/Configure.help.dif,
 	  Attic/Config.in.char.dif, Attic/Config.in.char:
	Moved to patches subdirectory

	* zftape/zftape-write.c, zftape/zftape-ctl.c,
 	  zftape/zftape-read.c, sftape/sftape-write.c,
 	  sftape/sftape-read.c:
	In both drivers, sftape and zftape, the variable offline is set when
	no tape is present, thus it was redundant to check both, offline and
	no_tape.

	* zftape/zftape-buffers.h, zftape/zftape-buffers.c:
	Changed type of variables that hold minor device number from kdev_t to
	unsigned int. I guess kdev_t is only for the full device number.

	* sftape/sftape-ctl.c: Added kerneld protection for sftape.

	* contrib/gnumt/mt.c:
	Added new ioctl's for reading of arbitrary segments, block-size query,
	capacity query and formatting (only a dummy for now)

	* contrib/gnumt/Makefile:
	Include location of ftape source in include path

	* contrib/swapout/Makefile, contrib/swapout/swapout.c,
 	  contrib/gnumt/rtapelib.c, contrib/gnumt/version.c,
 	  contrib/gnumt/xmalloc.c, contrib/gnumt/mt.c,
 	  contrib/gnumt/rmt.h, contrib/gnumt/getopt.h,
 	  contrib/gnumt/getopt1.c, contrib/gnumt/mt.1,
 	  contrib/gnumt/error.c, contrib/gnumt/getopt.c,
 	  contrib/gnumt/Makefile, contrib/gnumt/argmatch.c,
 	  contrib/Makefile:
	Copied over from zftape-1.06. Modified gnumt and swapout live here.

	* zftape/zftape-ctl.c, zftape/zftape.h, zftape/qic-vtbl.c,
 	  zftape/qic-vtbl.h:
	Added new MTIOCSIZE ioctl to query the raw capacity and the raw eom
	position of the cartridge. Added qic_get_eom_pos() to qic-vtbl.c to
	get that raw position. Name space changes for new ioctls to better fit
	into the scheme used in the kernel. Finally fixed the cmap detection
	in qic-vtbl.c

	* zftape/Makefile.module:
	Commented out the MODVERSIONS feature, and it will remain commented
	out in the future.

	* ftape-ctl.c, ftape.h:
	Changed formatting ioctl to be a MTIOCTOP command, namely MTFORMAT
	which has the number 35.

	* Attic/mtio.h, Attic/mtio.h.dif:
	Modified mtio.h from the 2.1.1 kernel distribution.

	* zftape/zftape-eof.c, zftape/zftape-rw.c, zftape/qic-vtbl.c,
 	  sftape/sftape-eof.c, ftape-rw.c, ftape-rw.h, ftape-bsm.c,
 	  ftape-ctl.h, ftape-read.c:
	Moved ftape_format_code to ftape_info structure and #defined it to
	format_code, as it used to be in original ftape

	* zftape/Makefile.module, sftape/Makefile.module:
	First include the ftape's modules private modversions.h than the
	systems one.

	* ftape_syms.c:
	Removed ftape_format_code, is now contained in ftape_info
	structure. Added ftape_register/unregister_format_hook

	* ftape-interface.c: Added TRACE_FUN messages

	* ftape-ctl.c:
	Added kerneld support for auto loading the formatting module.

	* Makefile.module: Some fiddling with the modversions code

	* zftape/Makefile.kernel, zftape/Makefile.module:
	Remove obsolete CONFIG_FT_KERNELD option.

	* zftape/zftape-ctl.c:
	Add MOD_INC/DEC_USE_COUNT to open and close hooks. Add support
 	against kerneld unloading while header segments are not up to date.

	* kernel-interface.c:
	Bug fixed: always register the symbol table, not only when MODULE is
	defined.

	* Attic/Configure.help, Config.in:
	Remove CONFIG_FT_KERNELD. Not necessary: just prevent unloading of the
	driver alway when header segments are not up to date.

Mon Oct  7 02:44:58 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* fdc-io.c: Wrong perpendicular mode setting fixed (Bas Laarhoven)

	* kernel-interface.c: Fixed trace levels.

	* zftape/zftape-write.h: Misspelled Laarhoven. Fixed.

	* ftape-bsm.c: Fixed silly bug found by Bas Laarhoven (thanks Bas).

Mon Oct  7 01:24:18 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* Makefile.module: Call Makefile.module in subdirectories

	* zftape/qic-compress.c, zftape/qic-compress.h, zftape/lzrw3.c,
 	  zftape/lzrw3.h:	
	Minimal cleanups. Change `#include "compress.h"' to `#include
 	"lzrw3.h"'

	* Makefile.module: Added sftape and zftape as subdir (finally)

	* zftape/Makefile.module, zftape/Makefile.kernel:
	Updated to compile lzrw3.c which's location was changed

	* zftape/lzrw3.h, zftape/lzrw3.c:
	Moved from subdir compress to the actual location.

	* zftape/Makefile.module:
	Added changes made to include the whole thing into the kernels
	configuration scripts. Added compress subdir again to clean and dep
	target.

	* sftape/Makefile.module, Makefile.module:
	Added changes made to include the whole thing into the kernels
	configuration scripts.

	* Configure.help.dif:
	Diff relative to kernels 2.1.1 Documentation/Configure.help

	* Config.in, Config.in.char, Configure.help: Finally got it to work.

Sun Oct  6 22:02:55 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* Configure.help:
	Replacement for the ftape entry in
 	/usr/src/linux/Documentation/Configure.help.

	* Config.in: Fixed a typo

	* Makefile.char: New. Makefile for /usr/src/linux/drivers/char

	* zftape/Makefile.kernel, sftape/sftape-write.c,
 	  sftape/Makefile.kernel, ftape_syms.c, kernel-interface.c,
 	  ftape-write.c, ftape.h, ftape-read.c, ftape-rw.c, fdc-isr.c,
 	  ftape-ctl.c, Makefile.kernel, calibr.c, Config.in:
	Updated to fit into kernel configuration scheme.

	* Config.in, Config.in.char:
	New. Configuration scripts for the Linux kernel.

	* zftape/zftape-init.c, zftape/zftape-rw.c, zftape/zftape-ctl.c,
 	  zftape/zftape-buffers.c:
	Changed `#include "zftape.h"' to `#include <linux/zftape.h>'.

	* zftape/qic-vtbl.c, zftape/qic-vtbl.h:
	Added support for format code 6 tapes (tapes with more than 2^16
	segments) which use a slightly different volume table.

	* zftape/Makefile.kernel, zftape/Makefile.module,
 	  zftape/Attic/Makefile, sftape/Makefile.kernel,
 	  sftape/Makefile.module, sftape/Attic/Makefile:
	Added Makefiles for kernel inclusion, renamed module's Makefile to
	`Makefile.module'.

	* Makefile.kernel, Makefile.module:
	Removed option VERIFY_HEADERS, make only sense for the front-ends
	`sftape' and `zftape'. Removed old and never used `test' and `tecc'
	references.

	* zftape/qic-vtbl.c, zftape/zftape-eof.c:
	Access the components of the failed sector log entries with
	GET2/PUT2. This is necessary because zftape does NOT keep a copy of
	the failed sector log, but accesses directly the information stored in
	the header segment buffer (unaligned access). Also, this prepares for
	architectures with other bit ordering, if this should become
	necessary.

	* zftape/qic-vtbl.h: Added offset for format code 6 volume tables.

	* sftape/sftape-write.c:
	Removed zap_write_buffers() from flush_buffers() and placed it in
	update_date_header_segments() right before the update starts.

	* ftape-fsl.h:
	Added __attribute__ ((packed)) to `struct failed_sector_entry' to
	prevent compiler alignment. This wasn't a real problem, it is just
	something to maybe take care of in the future if this floppy driver
	should be ported to other architectures besides Intel and Alpha.

Sat Oct  5 22:43:18 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* zftape/zftape-buffers.c, zftape/zftape-rw.c,
 	  zftape/zftape-write.c, zftape/qic-compress.c,
 	  zftape/qic-compress.h:
	Renaming of type CompressionMapEntry to CmapEntry, and
	zftape_compression_map to zftape_cmap. Was kind of fed up with long
	names.

	* zftape/qic-vtbl.c:
	A bit of code cleanup, breaking up of large functions into subroutines.

	* zftape/zftape-write.h, zftape/zftape-rw.h,
 	  zftape/zftape-write.c, zftape/zftape-rw.c, zftape/zftape-read.c,
 	  zftape/zftape-read.h, zftape/zftape-eof.c, zftape/zftape-init.c,
 	  zftape/zftape-buffers.c, zftape/zftape-buffers.h,
 	  zftape/zftape-ctl.c, zftape/qic-vtbl.c, zftape/qic-vtbl.h,
 	  zftape/qic-compress.h, zftape/qic-compress.c,
 	  sftape/sftape-write.c, sftape/sftape-init.c,
 	  sftape/sftape-read.c, sftape/sftape-read.h, sftape/sftape-eof.c,
 	  sftape/sftape-eof.h, sftape/sftape-ctl.c, tracing.c, tracing.h,
 	  ftape-rw.h, ftape.h, kernel-interface.c, ftape-rw.c,
 	  ftape-read.c, ftape-read.h, ftape-io.c, ftape-io.h, ftape-bsm.c,
 	  ftape-ctl.c, ftape-interface.h, fdc-io.c, fdc-isr.c, calibr.h,
 	  ecc.c, calibr.c:
	Yeah! Again code layout (I seem to have too much time ... ). This time
	replaced all `( ' by a sole `(' and each ` )' by `)'.

	* zftape/zftape-write.h, zftape/zftape.h, zftape/zftape-rw.c,
 	  zftape/zftape-write.c, zftape/Attic/zftape-ioctl.h,
 	  zftape/zftape-init.h, zftape/zftape-read.c, zftape/zftape-eof.c,
 	  zftape/zftape-eof.h, zftape/zftape-init.c,
 	  zftape/zftape-buffers.h, zftape/zftape-ctl.c,
 	  zftape/zftape-buffers.c, zftape/qic-compress.c,
 	  zftape/qic-compress.h, zftape/qic-vtbl.c, sftape/sftape-write.c,
 	  sftape/sftape-write.h, sftape/sftape-rw.h, sftape/sftape-eof.c,
 	  ftape_syms.c, kernel-interface.c, ftape-read.c, ftape.h,
 	  ftape-ctl.c, ftape-interface.c, ftape-interface.h,
 	  Makefile.module, ecc.h, ftape-bsm.h, Makefile.kernel:
	Ok, once again code layout changes. Still more will follow. Added some
	macros for the drive number selection to ftape.h. Prepared ftape.h and
	zftape.h for inclusion into user level program, new ioctls are defined
	therein. Introduced new file ftape-fsl.h (fsl = failed sector log).
	`struct failed_sector_entry' no longer as a component `sector' but a
	component `date', as it ought to. Fixed compression statistics
	mistypes in zftape sub directory.

	* kernel-interface.h:
	Moved `#define FTAPE_NO_REWIND' to ftape.h. User level programs may
	want to know which bit of the minor number triggers rewinding.

	* ftape.h:
	First preliminary addition of formatting command MTIOCFMT. This is
	likely to change in the future. Just meant as a hint that those
	definition should go here. Moved typedef of SectorMap to ftape-bsm.h
	wherein it belongs. Commented out by `#ifdef __KERNEL__' section that
	need not be known to user level programs.

	* ftape-ctl.c: First preliminary addition of formatting command

	* ftape-bsm.h:
	Moved FAILED_SECTOR_LOG_SIZE to ftape-fsl.h, moved SectorMap typedef
	from ftape.h to this file; it belongs herein.

	* ftape-fsl.h:
	Added. Contains data structure for failed sector log that is used by
	both, sftape and zftape. Moreover the max. size of the failed sector
	log is defined here (used by ftape-bsm.c)

	* Attic/ftape-vfs.c, Attic/ftape-vfs.h, ftape-interface.h,
 	  ftape-interface.c:
	Renamed ftape-vfs.c to ftape-interface.c, moved definitions from
	ftape-vfs.h to ftape-interface.h. Added hook for formatting function
	(but this is likely to change in the future)

	* sftape/sftape-rw.c, sftape/sftape-init.c, sftape/sftape-read.c,
 	  sftape/sftape-read.h, sftape/sftape-eof.c, sftape/sftape-eof.h,
 	  sftape/sftape-ctl.c, sftape/sftape-ctl.h, ftape_syms.h,
 	  kernel-interface.c, ftape-write.c, ftape-write.h,
 	  Attic/ftape-vfs.c, Attic/ftape-vfs.h, ftape-rw.h, ftape-ctl.h,
 	  ftape-interface.h, ftape-read.c, ftape-ctl.c:
	Some update of copyrights, RCS messages. Added some comments.

Fri Oct  4 23:41:36 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* ftape-write.c: Print segment id on write error.

	* zftape/zftape-rw.h, zftape/zftape-write.h, zftape/zftape.h,
 	  zftape/zftape-read.c, zftape/zftape-read.h, zftape/zftape-eof.h,
 	  zftape/zftape-init.c, zftape/zftape-init.h,
 	  zftape/zftape-buffers.h, zftape/zftape-ctl.c,
 	  zftape/zftape-ctl.h, zftape/qic-vtbl.c, zftape/qic-vtbl.h:
	Various small changes in code formatting, corrected copyright
 	notices, RCS messages etc.

	* zftape/zftape-eof.c: Adapted Linux/alpha port from Bas

	* zftape/zftape-rw.c:
	Must set `header_read' to one, or zftape_update_header_segments() will
	do nothing (in function zftape_erase())

	* zftape/zftape-write.c, zftape/zftape-buffers.c:
	Must include `<linux/vmalloc>' since kernel version 2.1.0

	* zftape/qic-compress.c, zftape/qic-compress.h:
	Added compression statistics. Removed obsolete and unused
	zftape_compress_info() function.

	* sftape/sftape-write.c:
	Added ftape_zap_write_buffers() to end of flush_buffers(). Don't know
	why yet, but was necessary to set buffer status correctly??????

	* sftape/sftape-init.c:
	Print module load address directly after startup message, before
	registering for ftape.

	* kernel-interface.c:
	Adapted changes made in kernel version 2.1.0. read/write in `struct
	file_operations' return `long' since 2.1.0 and record length arg is
	`unsigned long'.

	* ftape-rw.h:
	Changed the PUT/GET macros to cast the pointer first to (__u8 *). Was
	causing trouble with zftape where I passed a non (char *) pointer to
	those macros.

	* ftape-read.c:
	Add an `history.used |= 1' to read segment, as ftape_read() no longer
	exists.

	* ftape-ctl.h:
	changed some `int foo:1' to `unsigned int foo:1' to prevent sign
	propagation.

Thu Oct  3 23:38:55 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* zftape/zftape-write.c, zftape/zftape-rw.h, zftape/zftape-read.c,
 	  zftape/zftape-rw.c, zftape/zftape-ctl.c, zftape/zftape-ctl.h,
 	  zftape/zftape-eof.c, zftape/qic-vtbl.h, zftape/zftape-buffers.c,
 	  zftape/qic-compress.c, zftape/qic-vtbl.c, zftape/Makefile:
	Adaption of alpha port, etc.
	Various changes in variable naming etc.

	* sftape/sftape-write.c, sftape/sftape.h, sftape/sftape-init.c,
 	  sftape/sftape-read.c, sftape/sftape-ctl.h, sftape/sftape-eof.c,
 	  sftape/sftape-eof.h, sftape/sftape-ctl.c:
	Adaption of alpha port, etc.

	* Makefile.module, Makefile.kernel: Preparation for kernel inclusion

	* tracing.h, vendors.h, tracing.c, kernel-interface.h, qic117.h,
 	  ftape_syms.h, kernel-interface.c, ftape-write.c, ftape.h,
 	  ftape_syms.c, ftape-vfs.c, ftape-vfs.h, ftape-read.h,
 	  ftape-rw.c, ftape-rw.h, ftape-io.h, ftape-read.c, ftape-io.c,
 	  ftape-ctl.c, ftape-ctl.h, ftape-interface.h, ftape-bsm.h,
 	  fdc-isr.h, ftape-bsm.c, fdc-io.h, fdc-isr.c, fc-10.h, fdc-io.c,
 	  ecc.c, ecc.h, fc-10.c, calibr.h, calibr.c:
	Adaption of port to alpha/axp and support for Eagle TR-3

	* Attic/Makefile: Renamed to Makefile.module

Tue Oct  1 23:07:50 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* sftape/Makefile: Comment out MODVERSIONS feature by default

	* sftape/sftape-write.c, sftape/sftape-ctl.c, sftape/sftape-eof.c,
 	  sftape/sftape-read.c, zftape/zftape-rw.h, zftape/zftape-write.c,
 	  zftape/zftape-read.c, zftape/zftape-rw.c, zftape/zftape-ctl.c,
 	  zftape/zftape-eof.c, zftape/qic-compress.c:
	Access components of header segments through inline function now.

	* zftape/qic-vtbl.c, zftape/qic-vtbl.h:
	Access components of vtbl through byte offsets, not struct
 	components (compiler alignment)

Fri Aug 30 11:11:08 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* zftape/zftape-rw.h, zftape/zftape-write.c, zftape/zftape-eof.c,
 	  zftape/zftape-rw.c, zftape/zftape-buffers.c,
 	  zftape/zftape-ctl.c, zftape/qic-compress.h, zftape/qic-vtbl.c,
 	  zftape/qic-compress.c:
	Removed variable zftape_compression_map_location, some 80 column
 	cleanups.

Thu Aug 29 21:38:52 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* zftape/qic-compress.h, zftape/qic-compress.c:
 	zftape_extract_compression_map(),
 	zftape_update_compression_segments(),
 	zftape_verify_compression_map(): modified to use the compression
 	map volume, location and size of compression map now queried via
 	qic_get_cmap_volume().

Sun Aug 25 13:31:51 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* Attic/Makefile, ftape-ctl.c:
	Added support for multiple tape drives. New "#define's"
	> "-DMULTIPLE_DRIVES", "-DWAKE_UP_1=wake_up_mountain",
	> "-DWAKE_UP_2=wake_up_colorado" for this purpose.

	* zftape/Attic/qic80-vtbl.c, zftape/Attic/qic80-vtbl.h,
 	  zftape/Attic/qic80-compress.c, zftape/Attic/qic80-compress.h,
 	  zftape/zftape-rw.h, zftape/zftape-write.c, zftape/zftape-read.c,
 	  zftape/zftape-rw.c, zftape/zftape-ctl.c, zftape/zftape-init.h,
 	  zftape/zftape-ioctl.h, zftape/zftape-buffers.c,
 	  zftape/zftape-buffers.h, zftape/qic-vtbl.c, zftape/qic-vtbl.h,
 	  zftape/qic-compress.c, zftape/qic-compress.h, zftape/Makefile:
	Renamed all qic80_ ... variables to qic_ ... variables. Started
	implementing a compression map volume instead of compression map
	segments that are no longer supported by newer tape standards

Fri Aug 23 12:26:21 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* zftape/Attic/qic80-vtbl.h, zftape/Attic/qic80-compress.c,
 	  zftape/Attic/qic80-vtbl.c:
	Added new macro SEGMENTS_PER_TAPE as shortcut fro
 	SEGMENTS_PER_TRACK*TRACKS_PER_TAPE. Removed reference to
 	zftape_last_data_segment, use macro
 	LAST_DATA_SEGMENT(header_segment_buffer) instead

	* zftape/zftape-rw.c, zftape/zftape-rw.h:
	Added new macro SEGMENTS_PER_TAPE as shortcut fro
 	SEGMENTS_PER_TRACK*TRACKS_PER_TAPE. Changed zftape_calc_data_pos()
 	to cache the last segment id and data position it was called
 	with. Added variable zftape_bad_sector_map_changed to give means
 	to invalidate that cache once we start modifying the bad sector
 	map. Removed zftape_update_label() from zftape_erase(). Is now
 	done in update_header_segments().

	* zftape/zftape-ctl.c:
	Fixed zftape_reset_position() to check for "header_read" and some
	wrong references to SEGMENTS_PER_TRACK*TRACKS_PER_TAPE were
	LAST_DATA_SEGMENT should be used (ioctl calls)

	* zftape/zftape-eof.h, zftape/zftape-eof.c:
	Added the prefix "zftape_" to ftape_validate_label() and
 	ftape_extract_eof_map() as these to are taken from the original
 	ftape, but had be modified slightly

	* zftape/zftape-read.c:
	read_header_hook() now does that same as read_header_segments()
 	did in zftape-1.06. Should work now

	* zftape/zftape-write.c:
	Added a call to zftape_update_label() when updating the header
 	segments

Thu Aug 22 14:00:29 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* zftape/Makefile:
	FTAPE_LOCATION must contain absolute path to ftape source. Add
	compress directory and target to build the compressor.

	* zftape/zftape-write.c:
	Lots of changes to access global information through the
 	header_segment_buffer directly. update_header_segments() changed a
 	bit to work with the new setup.

	* zftape/zftape-rw.c, zftape/zftape-rw.h:
	Removed tape label buffer, instead use the header_segment_buffer
 	directly. Changed zftape_update_label() for this to achieve.

	Changed zftape_erase() to work with the new stacked module environment.

	* zftape/zftape-read.c:
	Fixed typo (zftape_zap_write_buffers() -> zftape_zap_read_buffers())

	Fixed zftape_read_header_hook() from overwriting the buffer
 	containing the header segment.

	* zftape/zftape-read.h:
	Added declaration of zftape_read_header_hook() and zftape_read()

	* zftape/zftape-init.h, zftape/zftape-init.c:
	Added enable/disable_read_header_hook() functions. These
 	disable/enable the extraction of the volume table and compression
 	map which is not necessary when simply erasing the tape.

	Added call to zftape_init_mem() to make the driver operational.

	* zftape/zftape-eof.c:
	Removed some (now) undefined references to global
 	variables. Information of header segment is no longer cached in
 	global variables but accessed directly through the buffer that
 	contains the entire header segment.

	* zftape/zftape-ctl.c:
	Removed some (now) undefined references to global
	variables. Information of header segment is no longer cached in global
	variables but accessed directly through the buffer that contains the
	entire header segment.

	zftape_reset_position() now calls ftape_zap_read/write() buffers and
	thus bumps the entire driver in a defined idle state.

	* zftape/zftape-buffers.c:
	Modified to be used with the stacked module. Removed dma-buffer
	allocation stuff (this is done in the top-level ftape-module for now)

	* zftape/Attic/qic80-vtbl.h:
	In function __qic80_maybe_write_eof(): added test empty volume table.

	* zftape/Attic/qic80-vtbl.c, zftape/Attic/qic80-compress.h,
 	  zftape/Attic/qic80-compress.c:
	Name space changes to add it to the stacked module

	* sftape/sftape-read.h: Forget declaration of sftape_zap_read_buffers()

	* sftape/sftape-read.c: Need to include sftape-write.h

	* sftape/sftape-rw.h, sftape/sftape-rw.c:
	Added global variable sftape_status.

	* ftape-rw.c, ftape-write.c, ftape-ctl.h, fdc-isr.c, ftape-ctl.c,
 	  fdc-io.h:
	Added the runner_status to the ftape_status info structure (which is
	exported using the function ftape_get_status() to other modules, read
	only for them)

	* ftape-rw.h:
	Added macro to access the tape label in the header segment.

	* ftape_syms.c:
	Name space cleanup, some changes in the symbols we export ...

	* ftape-vfs.c:
	Added a dummy ftape_ops struct that holds the place until some other
	module registers itself.

	* ftape-read.c, ftape-read.h:
	Modified ftape_read_segment() to ftape_read_segment_fraction() that is
	able to read only a fraction of a segment (the entire segment is read
	in, but only part of it is copied to the buffer). Needed by zftape.

Tue Aug 20 12:47:47 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* ftape-write.h:
	Removed stale definition of update_header_segments() etc. Is done by
	high level modules

	* zftape/zftape-read.c: Name space cleanup

	* zftape/zftape-init.h: Removed define of FTAPE_NO_REWIND

	* zftape/zftape-rw.h: Added zftape_get_seg_size()

	* zftape/zftape-rw.c, zftape/zftape-write.c:
	high level parts of ftape-rw.c

	* zftape/zftape-read.h, zftape/zftape-rw.h, zftape/zftape-write.h,
 	  zftape/zftape-read.c, zftape/zftape-init.c,
 	  zftape/zftape-init.h, zftape/zftape-ioctl.h,
 	  zftape/zftape-eof.c, zftape/zftape-eof.h, zftape/zftape-ctl.c,
 	  zftape/zftape-ctl.h, zftape/Attic/qic80-vtbl.h,
 	  zftape/zftape-buffers.c, zftape/zftape-buffers.h,
 	  zftape/Attic/qic80-compress.h, zftape/Attic/qic80-vtbl.c,
 	  zftape/Attic/qic80-compress.c, zftape/Makefile:
	Adaption of zftape to the new stacked module scheme

	* sftape/sftape-write.h, sftape/sftape-ctl.c: Name space cleanup

	* sftape/sftape-init.c:
	Forgot to add register_symtab(NULL) on the first fly.

	* sftape/sftape-read.c, sftape/sftape-write.c:
	Played with reading/writing/idle state to emulate original behavior
	of ftape. No that easy because I want to keep the modules as separate
	as possible.

	* sftape/Makefile: Added sftape-rw.c to SRCS

	* tracing.h, tracing.c:
	Name space cleanup (tracing->ftape_tracing etc.)

	* kernel-interface.c: Name space cleanup (tracing->ftape_tracing)

	* ftape-rw.h: New macros to access data in header segment buffer

	FIRST_DATA_SEGMENT(address)
	PUT_FIRST_DATA_SEGMENT(address,value)
	SEGMENTS_PER_TRACK(address)
	PUT_SEGMENTS_PER_TRACK(address,value)
	TRACKS_PER_TAPE(address)
	PUT_TRACKS_PER_TAPE(address,value)
	HEADER_SEGMENT_1(address)
	PUT_HEADER_SEGMENT_1(address,value)
	HEADER_SEGMENT_2(address)
	PUT_HEADER_SEGMENT_2(address,value)
	COMPRESSION_MAP_LOCATION(address)
	PUT_COMPRESSION_MAP_LOCATION(address,value)

	* ftape-read.c:
	buf_len_rd and buf_pos_rd removed. Only needed by the higher level
	IO-routines.

	* ftape-io.c: Name space cleanup (tracing->ftape_tracing)

	* ftape-ctl.h:
	"init_drive_needed" is now exported and set to one in function
	ftape_reset_drive() in file ftape-io.c
	No longer export ftape_new_cartridge() (unnecessary)

	* ftape-ctl.c: Name space clean up (tracing->ftape_tracing)
	Also, init_drive_needed is now exported and set to one in function
	ftape_reset_drive() in file ftape-io.c

	* ftape-bsm.c: Name space clean up (tracing->ftape_tracing)

Sun Aug 18 23:25:38 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* sftape/sftape-rw.c, sftape/sftape-write.c,
 	  sftape/sftape-write.h, sftape/sftape-read.h, sftape/sftape-rw.h,
 	  sftape/sftape-init.c, sftape/sftape-read.c, sftape/sftape-ctl.h,
 	  sftape/sftape-eof.c, sftape/sftape-eof.h, sftape/sftape-ctl.c,
 	  kernel-interface.c, ftape-write.h, ftape.h, ftape_syms.c,
 	  ftape-rw.h, ftape-vfs.h, ftape-write.c, ftape-read.h,
 	  ftape-rw.c, ftape-io.c, ftape-read.c, ftape-ctl.h,
 	  ftape-interface.h, ftape-bsm.c, ftape-bsm.h, ftape-ctl.c,
 	  fdc-io.c, fdc-isr.c:
	Added a new structure "ftape_info", that contains all global variables
	which are exported by ftape. Also, changed a couple of global symbols
	to have the prefix "ftape_..."

Fri Aug 16 14:05:08 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* ftape_syms.c:
	Include revision information in the file, add ftape_unit as symbol

	* sftape/sftape-rw.h, sftape/sftape-write.h, sftape/sftape-init.c, sftape/sftape-read.c, sftape/sftape-read.h, sftape/sftape-ctl.h, sftape/sftape-eof.c, sftape/sftape-eof.h, sftape/sftape-ctl.c:
	a lot of renaming from "ftape_..." prefix to "sftape_..." prefix.

	* sftape/Makefile:
	added the variable FTAPE_LOCATION, that holds the place of the
	ftape-interface.h include file.

	* kernel-interface.c:
	Move call to the hook function registered with ftape_register to the
	file ftape-read.c

	* ftape_syms.c: added some symbols

	* ftape-write.c: removed reference to "ftape_last_segment" struct

	* ftape-vfs.h: added comments

	* ftape-rw.h, ftape-rw.c:
	removed reference to "ftape_last_segment" struct which has become
	structure that belongs to the high level i/o routines

	* ftape-read.h, ftape-read.c:
	Changed ftape_read() to call the read function registered with
	register_ftape(), removed the old read code

	* ftape-interface.h: Added some include files

	* ftape-ctl.h:
	temporary hacks (#define) that prepend "ftape_" to variable that are
	to be exported via ksyms

	* ftape-bsm.h, ftape-bsm.c:
	Modified find_end_of_bsm_list() to take only buffer with contents of
	header segment as argument

Wed Jul 24 08:49:57 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* sftape/Makefile: Added a Makefile

	* ftape-interface.h: New, interface definitions.

	* ftape-read.h, ftape-write.h, tracing.h, ftape-bsm.h:
	Added #define's to add a "ftape_..." prefix to all exported symbols
	that had no such prefix

	* sftape/sftape-write.c, sftape/sftape-write.h,
 	  sftape/sftape-eof.h, sftape/sftape-init.c, sftape/sftape-read.c,
 	  sftape/sftape-read.h, sftape/sftape-ctl.c, sftape/sftape-ctl.h,
 	  sftape/sftape-eof.c:
	converted all ftape suffixes to sftape suffixes

Tue Jul 23 23:43:34 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* sftape/sftape-write.c, sftape/sftape-write.h,
 	  sftape/sftape-eof.h, sftape/sftape-init.c, sftape/sftape-read.c,
 	  sftape/sftape-read.h, sftape/sftape-ctl.c, sftape/sftape-ctl.h,
 	  sftape/sftape-eof.c:
	Original ftape io-routines

	* ftape_syms.c, ftape_syms.h, kernel-interface.c, ftape-write.c,
 	  ftape-write.h, ftape-rw.c, ftape-vfs.c, ftape-vfs.h, ftape-io.c,
 	  ftape-read.c, ftape-read.h, ftape-bsm.h, ftape-ctl.c,
 	  ftape-ctl.h, ChangeLog, Makefile:
	Removed eof-handling etc. Added symtab to export a definite amount of
	symbols. Loads properly, needs more work.

Tue Jul 23 12:05:33 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* ftape-vfs/sftape-write.c, ftape-vfs/sftape-write.h,
 	  ftape-vfs/sftape-ctl.h, ftape-vfs/sftape-eof.c,
 	  ftape-vfs/sftape-eof.h, ftape-vfs/sftape-init.c,
 	  ftape-vfs/sftape-read.c, ftape-vfs/sftape-read.h,
 	  ftape-vfs/sftape-ctl.c, ftape-vfs.h, kernel-interface.c,
 	  Attic/ftape-eof.c, Attic/ftape-eof.h, ftape-ctl.c, ftape-vfs.c:
	Started splitting ftape into hardware support module and a higher
	level module that handles the vfs connection only. Added a simple
	routine "ftape_register(struct ftape_vfs_ops *)" that hooks the more
	sophisticated io-routines into ftape's simple vfs interface.

	Created new directory ftape-vfs that contains the higher level
	io-routines of the original ftape, changed appropriately to fit into
	the new scheme.

Sun Jul 21 10:47:54 1996  Claus-Justus Heine  <claus@anaxagoras.localnet>

	* ftape-vfs.h: Include file to ftape-vfs.c

	* ftape-vfs.c: Renamed from ftape-highio.c

	* Attic/ftape-highio.c: renamed to ftape-vfs.c

	* Attic/ftape-highio.c, ftape-io.h, ftape-read.h, ftape-rw.h,
 	  ftape-write.h, ftape.h, kernel-interface.h, swapout.c,
 	  tracing.h, vendors.h:
	Initial revision

	* Attic/ftape-highio.c, ftape-io.h, ftape-read.h, ftape-rw.h,
 	  ftape-write.h, ftape.h, kernel-interface.h, swapout.c,
 	  tracing.h, vendors.h:
	Start transforming ftape and zftape into a set of separate,
 	stacked modules that have the hardware support as the basic module
 	in common.

	* Attic/ftape-eof.c, Attic/ftape-eof.h, README.PCI, RELEASE-NOTES,
 	  calibr.c, calibr.h, ecc.c, ecc.h, fc-10.c, fc-10.h, fdc-io.h,
 	  fdc-isr.c, fdc-isr.h, ftape-bsm.c, ftape-bsm.h, ftape-ctl.c,
 	  ftape-ctl.h, ftape-io.c, ftape-read.c, ftape-rw.c,
 	  ftape-write.c, kernel-interface.c, qic117.h, tracing.c:
	Initial revision

	* Attic/ftape-eof.c, Attic/ftape-eof.h, README.PCI, RELEASE-NOTES,
 	  calibr.c, calibr.h, ecc.c, ecc.h, fc-10.c, fc-10.h, fdc-io.h,
 	  fdc-isr.c, fdc-isr.h, ftape-bsm.c, ftape-bsm.h, ftape-ctl.c,
 	  ftape-ctl.h, ftape-io.c, ftape-read.c, ftape-rw.c,
 	  ftape-write.c, kernel-interface.c, qic117.h, tracing.c:
	Start transforming ftape and zftape into a set of separate, stacked 
	modules that have the hardware support as the basic module in common.

	* COPYING, Install-guide, Makefile, fdc-io.c: Initial revision

	* COPYING, Install-guide, Makefile, fdc-io.c:
	Start transforming ftape and zftape into a set of separate,
	stacked modules that have the hardware support as the basic module
	in common.

	LocalWords:  Apr Justus claus anaxagoras localnet texi html url FTDATE
 	LocalWords:  www inline func mt distclean contrib sftape EOT afio EXT
 	LocalWords:  zftape ftape PERTEC MyTape KB parms QIC gnumt FTVERSION
 	LocalWords:  QuickInstall dvi subdir ctl ft init io Aiwa xfer bsm
 	LocalWords:  MCONFIG rw momo rwth aachen Linux FIXME doc dir EOD
 	LocalWords:  def MTOFFL INFOPATH Prev makeinfo sh BROKENMAKEINFO
 	LocalWords:  TeXinfo prev MTIOCVOLINFO vtbl vtbl zft eof sigmask
 	LocalWords:  zftc buf sft eofm spt tpc DMODVERSIONS kdtime kdtime
 	LocalWords:  KDHDR kerneld swapout qic qic volinfo fmt kb perpend
 	LocalWords:  enum eration ids struct proc strlen ecc calibr calibr
 	LocalWords:  inf Amd eom ushort dmaalloc fdc isr Wshadow fc uninstall
 	LocalWords:  ushorts MAKEDEV SIGKILL SIGSTOP CONFIG FS MODVERSIONS
 	LocalWords:  mtio sgml realclean symlink hseg FDC's stats linux SBINDIR
 	LocalWords:  MTIOCGETSET MTIOCRDFTSEG MTIOCSETSEG EIO eom lzrw
 	LocalWords:  lzrw resid MTIOCWRFTSEG mtsegment mtftseg MTCOMPRESSION
 	LocalWords:  MTIOCFTFORMAT cmpr BOT or'ing beof multitable expr
 	LocalWords:  dev dev rft QuickInstallation linuxdoc EINVAL vfs sty
 	LocalWords:  qwertz tex isolatin Singletary modutils fsfbsfm ops
 	LocalWords:  lEOT eot pidfile var pid modprobe conf ftformat MTBSF
 	LocalWords:  printf EINTR SIGINT sysklogd toc gif occurences
 	LocalWords:  TRACEi TRACElx favour dma mtgetsize WR syms nr procfs
 	LocalWords:  dif Guido Muesch FTFMT EAGAIN udelay mttapesize fti
 	LocalWords:  MTRESET mtftformat ftfmt trk ftfmt seg ftfmt int
 	LocalWords:  jagvi xmalloc irq DEFTAPE glibc gmtime libc ifdef's
 	LocalWords:  fsl defs argmatch cpio WRONLY TR SEL VFS GCC
 	LocalWords:  SectorCount MTERASE MTWEOF getopt getopt accmode
 	LocalWords:  ASYNC RDONLY ASYNC config DMODVERSION mtvolinfo div
 	LocalWords:  blksz libgcc ULONG arg printk Teac ifdef com http usr
 	LocalWords:  src insmod frontend bot MTIOC GETBLKSZ dep ok Dalecki
 	LocalWords:  Marcin Dalecki asm inb outb whraven njackn ComByte
 	LocalWords:  DoublePlay ComByte's zqft async intr Exabyte EXB
 	LocalWords:  Exabyte Exabyte Iomega CFLAGS dc dalecki uni
 	LocalWords:  goettingen uaccess MTFSF BSF len Burrell nrft nftape
 	LocalWords:  Docu mtsetblk ptr TRACEx Laarhoven Kai Harrekilde
 	LocalWords:  Pederson BSF's sync calc xconfig menuconfig
 	LocalWords:  MTIOCBLKSZ cmap MTIOCGET reg getseg stdout FD
 	LocalWords:  modversions IOCTLs getblksz getblk offline kdev
 	LocalWords:  ioctl's rtapelib rmt MTIOCSIZE pos MTIOCTOP MTFORMAT
 	LocalWords:  Diff tecc CompressionMapEntry CmapEntry MTIOCFMT
 	LocalWords:  SectorMap vmalloc foo foo axp define's DMULTIPLE
 	LocalWords:  DWAKE colorado mem symtab SRCS ksyms Jul ChangeLog
 	LocalWords:  highio README PCI LocalWords
	
