Commit Graph

209 Commits

Author SHA1 Message Date
Enrico Sorichetti
1c4e638226 fixed some showstppers for zlib, clang, apple
silenced a few warnings, more to come later
2014-10-05 17:36:26 +02:00
Fish (David B. Trout)
3be5ef621a Replace unreachable code comments with UNREACHABLE_CODE macro. 2014-07-13 00:10:18 -07:00
Fish (David B. Trout)
1ad01bc545 "Unreachable code" fixes 2014-03-19 14:55:43 -07:00
Fish (David B. Trout)
793452d57a Fix tape large block data-chained reads 2013-09-23 22:32:15 -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
dasdman
13820db500 Update tape feature handling comments for future updates. 2013-06-26 19:34:59 -07:00
Fish (David B. Trout)
8f115000d5 OPTION_TAPE_AUTOMOUNT made permanent; build option removed. 2013-05-31 10:49:34 -07:00
dasdman
accb0fc03b Channel cleanup (Phase I). 2013-05-02 09:59:27 -07:00
Kevin Leonard
6d2eb4ae87 Fix attention on devinit for tape 2012-05-07 15:21:52 -05:00
Jan Jaeger
61dee07eef Move tape specific code from hsccmd.c to tapedev.c 2012-04-13 12:50:44 +10:00
Jan Jaeger
439bdbca92 Remove subversion $Id$ tag
Update copyright statement to 2012
2012-03-24 18:41:51 +11:00
Fish (David B Trout)
5a18fc1851 Compiler warning refactoring cont'd: Manually fix a couple more warnings.
git-svn-id: file:///home/jj/hercules.svn/trunk@7770 956126f8-22a0-4046-8f4a-272fa8102e63
2011-09-20 12:56:18 +00:00
Jan Jaeger
85beb7e9dc QDIO Thin Interrupts
git-svn-id: file:///home/jj/hercules.svn/trunk@7726 956126f8-22a0-4046-8f4a-272fa8102e63
2011-08-28 11:41:48 +00: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
7c4d546cc9 Remove attempt to open filename '*' from gettapetype(). Allow eotmargin to be used using K,M,G, or T like maxsize of tape.
git-svn-id: file:///home/jj/hercules.svn/trunk@7684 956126f8-22a0-4046-8f4a-272fa8102e63
2011-08-11 17:52:11 +00:00
Paul Gorlinsky
d052b3fa54 Update tape maxsize to accept K, M, G, or T
git-svn-id: file:///home/jj/hercules.svn/trunk@7683 956126f8-22a0-4046-8f4a-272fa8102e63
2011-08-11 15:31:42 +00:00
Paul Gorlinsky
2a24e1edd5 Remove unreferenced variables...
git-svn-id: file:///home/jj/hercules.svn/trunk@7607 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-22 22:09:34 +00:00
Paul Gorlinsky
47f306d108 Revert bzero(d,s) to memset(d,0,s).
git-svn-id: file:///home/jj/hercules.svn/trunk@7604 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-22 19:23:35 +00:00
Paul Gorlinsky
1a68ab747f Revert bzero(d,s) to memset(d,0,s).
git-svn-id: file:///home/jj/hercules.svn/trunk@7603 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-22 17:17:13 +00:00
Paul Gorlinsky
9083dcf949 Add inline bzero function. Change memset(x, 0, l) to bzero(x, l)
git-svn-id: file:///home/jj/hercules.svn/trunk@7601 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-20 01:49:14 +00:00
Fish (David B Trout)
0eca673bda Fix SCSI tape S613 abend issue
git-svn-id: file:///home/jj/hercules.svn/trunk@7597 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-19 01:45:21 +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)
f1b203c863 Fix IEHINITT blank tape BSR bug
git-svn-id: file:///home/jj/hercules.svn/trunk@7536 956126f8-22a0-4046-8f4a-272fa8102e63
2011-06-30 17:55:43 +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
108c960997 change reserved word class and private
git-svn-id: file:///home/jj/hercules.svn/trunk@7410 956126f8-22a0-4046-8f4a-272fa8102e63
2011-04-10 04:35:42 +00:00
Ivan Warren
576a7eea52 For tape devices :
Comply to GA22-6974-10 Paragraph 2.6.9
All CCWs that require a drive to be ready now end with UC only status
Also...
Prevent ReqAutomount from garbling a specific Rewind Unload CCW specific sense
Finally...
Append CE to Unit Status for Rewind Unload CCW on a 3420 class drive


git-svn-id: file:///home/jj/hercules.svn/trunk@7390 956126f8-22a0-4046-8f4a-272fa8102e63
2011-04-04 19:02:02 +00:00
Paul Gorlinsky
cce0ac690a Begin support for extended device query.
git-svn-id: file:///home/jj/hercules.svn/trunk@7357 956126f8-22a0-4046-8f4a-272fa8102e63
2011-03-19 02:06:55 +00:00
Fish (David B Trout)
c858ed92d9 Fix ACF (Automatic Cartridge Feeder) autoloader so it works with Windows filenames (path) that have blanks in them. Many buffer overruns and memory leaks were fixed as a result too.
git-svn-id: file:///home/jj/hercules.svn/trunk@7303 956126f8-22a0-4046-8f4a-272fa8102e63
2011-01-27 23:56:48 +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
Jan Jaeger
ceb0ce0fb3 Move halt device function ^C devhnd
git-svn-id: file:///home/jj/hercules.svn/trunk@7215 956126f8-22a0-4046-8f4a-272fa8102e63
2010-12-27 17:11:13 +00:00
Jan Jaeger
caef3233f9 QETH mods
git-svn-id: file:///home/jj/hercules.svn/trunk@7195 956126f8-22a0-4046-8f4a-272fa8102e63
2010-12-18 21:33:34 +00:00
Fish (David B Trout)
1a8d7a803c git-svn-id: file:///home/jj/hercules.svn/trunk@7180 956126f8-22a0-4046-8f4a-272fa8102e63 2010-12-08 08:01:07 +00:00
Fish (David B Trout)
06984f5d02 Allow //./Tape0 or \\.\Tape0 for Windows device filename
git-svn-id: file:///home/jj/hercules.svn/trunk@7152 956126f8-22a0-4046-8f4a-272fa8102e63
2010-12-02 04:32:39 +00:00
Fish (David B Trout)
876e68c322 defer syncio until 'tapedevt' is known
git-svn-id: file:///home/jj/hercules.svn/trunk@7020 956126f8-22a0-4046-8f4a-272fa8102e63
2010-11-01 00:31:59 +00:00
Paul Gorlinsky
c0ecd22183 Message cleanup
git-svn-id: file:///home/jj/hercules.svn/trunk@6977 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-26 04:11:41 +00:00
Jan Jaeger
59c6347ba7 remove strtok_r related warning messages
git-svn-id: file:///home/jj/hercules.svn/trunk@6911 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-15 19:28:23 +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
1c2aea3b76 EXCPs changed to IO on device query
git-svn-id: file:///home/jj/hercules.svn/trunk@6118 956126f8-22a0-4046-8f4a-272fa8102e63
2010-06-13 18:05:07 +00:00
Bernard van der Helm
7dd1f82eb8 Macro denotes the correct message
git-svn-id: file:///home/jj/hercules.svn/trunk@6052 956126f8-22a0-4046-8f4a-272fa8102e63
2010-05-28 10:52:12 +00:00
Paul Gorlinsky
ed65e8c6b7 Update notices; Standardize preamble...
git-svn-id: file:///home/jj/hercules.svn/trunk@6043 956126f8-22a0-4046-8f4a-272fa8102e63
2010-05-25 22:34:00 +00:00
Bernard van der Helm
140556644b More std msgs
git-svn-id: file:///home/jj/hercules.svn/trunk@6039 956126f8-22a0-4046-8f4a-272fa8102e63
2010-05-25 13:02:23 +00:00
Paul Gorlinsky
fe051df617 Type cast size_t to int as needed. size_t is U64 on windows 64 bit machines. GCC defines size_t as int. It is reasonable to type definitions as size_t when that are relating to the sizeof() elements. For portability with windows casting size_t to int should be alright since most of the left-sided elements are usually int.
git-svn-id: file:///home/jj/hercules.svn/trunk@6034 956126f8-22a0-4046-8f4a-272fa8102e63
2010-05-25 04:05:16 +00:00
Paul Gorlinsky
fb4fb2e069 Update notices; Standardize preamble...
git-svn-id: file:///home/jj/hercules.svn/trunk@6033 956126f8-22a0-4046-8f4a-272fa8102e63
2010-05-25 03:55:37 +00:00
Paul Gorlinsky
f46dceb560 Correct MACRO for message write
git-svn-id: file:///home/jj/hercules.svn/trunk@5872 956126f8-22a0-4046-8f4a-272fa8102e63
2010-04-25 14:39:54 +00:00
Bernard van der Helm
3dcb2bdbc6 Standard tape messages including filename and device type
git-svn-id: file:///home/jj/hercules.svn/trunk@5870 956126f8-22a0-4046-8f4a-272fa8102e63
2010-04-24 09:28:19 +00:00
Bernard van der Helm
3515e84cb1 tapedev.c std msg
git-svn-id: file:///home/jj/hercules.svn/trunk@5869 956126f8-22a0-4046-8f4a-272fa8102e63
2010-04-24 08:28:10 +00:00
Paul Gorlinsky
1ce79e9d41 Message cleanup - make filenames with path information display consistently.
git-svn-id: file:///home/jj/hercules.svn/trunk@5811 956126f8-22a0-4046-8f4a-272fa8102e63
2010-04-07 22:56:42 +00:00
Paul Gorlinsky
18725bfcc4 Message Cleanup. Begin to standardize DEVICE references to be l:ccuu where l is lcss and ccuu is device. Added device(l:ccuu) as appropriate.
git-svn-id: file:///home/jj/hercules.svn/trunk@5775 956126f8-22a0-4046-8f4a-272fa8102e63
2010-03-30 21:28:58 +00:00