Commit Graph

30 Commits

Author SHA1 Message Date
Fish (David B. Trout)
5a7bcb5dba Support for tape blocks sizes up to 2MB. 2013-09-19 07:21:32 -07:00
dasdman
de39e3a40b Update channel counts and residual counts to use U32 internally instead of U16 for large block handling. 2013-08-17 19:56:13 -07:00
Jan Jaeger
439bdbca92 Remove subversion $Id$ tag
Update copyright statement to 2012
2012-03-24 18:41:51 +11:00
Jan Jaeger
784ae54918 Reverting changes that have not yet been agreed
Open questions: named vs unnamed structures
                what field go in device specfic structures vs general structure
                use of malloc vs static
                naming convention


git-svn-id: file:///home/jj/hercules.svn/trunk@7702 956126f8-22a0-4046-8f4a-272fa8102e63
2011-08-18 09:47:11 +00:00
Paul Gorlinsky
56c1f9b16a dev->filename moved to a pointer.
git-svn-id: file:///home/jj/hercules.svn/trunk@7700 956126f8-22a0-4046-8f4a-272fa8102e63
2011-08-17 22:58:40 +00:00
Paul Gorlinsky
7f91edefcf Create union in DEVBLK for device dependent information.
git-svn-id: file:///home/jj/hercules.svn/trunk@7698 956126f8-22a0-4046-8f4a-272fa8102e63
2011-08-17 21:01:37 +00:00
Paul Gorlinsky
03a4560910 Update Copyright notices to 2011.
git-svn-id: file:///home/jj/hercules.svn/trunk@7593 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-18 22:19:10 +00:00
Fish (David B Trout)
4c60697db2 Fix file opens to open files in non-multi-write-shared mode
(Windows-only for now; non-Windows yet to be implemented)

git-svn-id: file:///home/jj/hercules.svn/trunk@7431 956126f8-22a0-4046-8f4a-272fa8102e63
2011-04-21 02:17:35 +00:00
Paul Gorlinsky
77b97fcf53 Reserve messages, "mt" cmd - don't display VOL1 unless we are at BOT. Future tape enhancements prep.
git-svn-id: file:///home/jj/hercules.svn/trunk@7353 956126f8-22a0-4046-8f4a-272fa8102e63
2011-03-12 18:37:52 +00:00
Fish (David B Trout)
c485e9c4e4 Improved(?) debug tracing: use of TRACE/ASSERT/VERIFY macros now no longer require (are now no longer dependent upon) DEBUG (e.g. --enable-debug) builds. See new dbgtrace.h header for details (i.e. define ENABLE_TRACING_STMTS to enable TRACE/ASSERT/VERIFY independently of DEBUG builds, thereby allowing you to use them even on Release (Retail) builds if desired).
Make TRACE/ASSERT/VERIFY macros independent of (but compatible with) DEBUG build setting while still allowing individual source member to override the default setting/handling if so desired. I'm hoping this makes the use of TRACE, ASSERT and VERIFY macros easier for everyone.

git-svn-id: file:///home/jj/hercules.svn/trunk@7302 956126f8-22a0-4046-8f4a-272fa8102e63
2011-01-27 23:35:37 +00:00
Paul Gorlinsky
bca0a287c0 Buffer Overflow cleanup - ongoing
git-svn-id: file:///home/jj/hercules.svn/trunk@6691 956126f8-22a0-4046-8f4a-272fa8102e63
2010-09-30 23:42:21 +00:00
Paul Gorlinsky
d345a65532 Add "autoinit [on|off]" command and make devinit handle file-not-found consistently for tapes. Default is OFF, which causes file-not-found to fail the devinit mount. "ON" will create a missing file, write 2 TMs and rewind the file.
git-svn-id: file:///home/jj/hercules.svn/trunk@6356 956126f8-22a0-4046-8f4a-272fa8102e63
2010-08-29 06:45:37 +00:00
Paul Gorlinsky
cb3878faae Update notices; Standardize preamble...
git-svn-id: file:///home/jj/hercules.svn/trunk@5961 956126f8-22a0-4046-8f4a-272fa8102e63
2010-05-10 23:38:28 +00:00
Paul Gorlinsky
14c5a9535a typo
git-svn-id: file:///home/jj/hercules.svn/trunk@5863 956126f8-22a0-4046-8f4a-272fa8102e63
2010-04-22 20:43:32 +00:00
Bernard van der Helm
eb69202195 tape handling std messages
git-svn-id: file:///home/jj/hercules.svn/trunk@5862 956126f8-22a0-4046-8f4a-272fa8102e63
2010-04-22 16:39:17 +00:00
Bernard van der Helm
afbe40db6c Message reduction faketape.c and errors awstape.c
git-svn-id: file:///home/jj/hercules.svn/trunk@5801 956126f8-22a0-4046-8f4a-272fa8102e63
2010-04-05 16:35:01 +00:00
Bernard van der Helm
7660918e7f Message reduction awstape.c
git-svn-id: file:///home/jj/hercules.svn/trunk@5799 956126f8-22a0-4046-8f4a-272fa8102e63
2010-04-05 15:46:48 +00:00
Paul Gorlinsky
9b22d9e433 Message Cleanup. Standardize DEVICE references. Make tape modules produce more consistant messages.
git-svn-id: file:///home/jj/hercules.svn/trunk@5781 956126f8-22a0-4046-8f4a-272fa8102e63
2010-04-02 03:31:31 +00:00
Paul Gorlinsky
5acbff7852 Message Cleanup. Standardize DEVICE references.
git-svn-id: file:///home/jj/hercules.svn/trunk@5780 956126f8-22a0-4046-8f4a-272fa8102e63
2010-04-01 21:52:53 +00:00
Paul Gorlinsky
d5a2a560e4 Message cleanup... minor errors in windows environment
git-svn-id: file:///home/jj/hercules.svn/trunk@5689 956126f8-22a0-4046-8f4a-272fa8102e63
2010-03-15 23:13:17 +00:00
Bernard van der Helm
8c1a3fa5c9 More messages
git-svn-id: file:///home/jj/hercules.svn/trunk@5684 956126f8-22a0-4046-8f4a-272fa8102e63
2010-03-15 18:03:41 +00:00
Roger Bowler
5e0682a1d7 Rationalize HHCTA message numbers
git-svn-id: file:///home/jj/hercules.svn/trunk@5587 956126f8-22a0-4046-8f4a-272fa8102e63
2009-12-31 15:05:57 +00:00
Bernard van der Helm
56d0369332 copyright notice
git-svn-id: file:///home/jj/hercules.svn/trunk@5125 956126f8-22a0-4046-8f4a-272fa8102e63
2009-01-23 12:01:44 +00:00
Fish (David B Trout)
d747188b7b Fix print-formatting issue (mostly in tape modules)
that can sometimes, in certain circumstances,
cause herc to crash.  (%8.8lx --> I32_FMTX, etc)


git-svn-id: file:///home/jj/hercules.svn/trunk@4787 956126f8-22a0-4046-8f4a-272fa8102e63
2008-06-22 05:54:30 +00:00
Fish (David B Trout)
00a34372c4 Flex FakeTape support
git-svn-id: file:///home/jj/hercules.svn/trunk@4770 956126f8-22a0-4046-8f4a-272fa8102e63
2008-05-22 19:26:52 +00:00
Fish (David B Trout)
90ca37d2ba Fix SCSI tape EOV (end of volume) processing
git-svn-id: file:///home/jj/hercules.svn/trunk@4688 956126f8-22a0-4046-8f4a-272fa8102e63
2008-03-30 02:51:34 +00:00
Fish (David B Trout)
7a2b3aa13e More complete/extensive 3490/3590 tape support
git-svn-id: file:///home/jj/hercules.svn/trunk@4684 956126f8-22a0-4046-8f4a-272fa8102e63
2008-03-29 08:36:46 +00:00
Fish (David B Trout)
1dde5abd95 Add --blkid-24 option support, poserror flag renamed to fenced,
added 'generic', 'readblkid' and 'locateblk' tape media handler
call vectors.


git-svn-id: file:///home/jj/hercules.svn/trunk@4675 956126f8-22a0-4046-8f4a-272fa8102e63
2008-03-28 02:09:42 +00:00
Fish (David B Trout)
7ef10a1cf2 SCSI MODS part 2: split tapedev.c: aws, het, oma processing moved to separate modules, CCW processing moved to separate module.
git-svn-id: file:///home/jj/hercules.svn/trunk@4672 956126f8-22a0-4046-8f4a-272fa8102e63
2008-03-26 07:23:51 +00:00
Fish (David B Trout)
61da0b6a90 AWS, HET and OMA processing logic moved to separate modules.
Tape device CCW processing logic also moved to separate module.
(tapedev.c was becoming too large and unwieldy)


git-svn-id: file:///home/jj/hercules.svn/trunk@4670 956126f8-22a0-4046-8f4a-272fa8102e63
2008-03-25 18:42:36 +00:00