Fish (David B. Trout)
cb7a4de689
Issue #43 : more debugging tweaks:
...
1. HHC00922 s/b under control of debug flag, not ccw tracing
2. HHC00950 and HHC00952 are rarely interesting
3. Additional debugging messages HHC00969 and HHC00977
4. Prevent HHC00965 message flood by limiting it to only once every few seconds at most
2015-01-04 05:50:12 -08:00
Fish (David B. Trout)
8406f0045d
Issue #43 : debugging tweaks:
...
1. Document all WRMSG message text.
2. Change "-d" debug messages to type 'D' (duh!)
3. Add some new debugging messages in a few places.
2015-01-03 18:19:37 -08:00
Fish (David B. Trout)
3b1afed3c4
Issue #43 (WIP): rename some fields to better see what's going on
2015-01-03 06:29:23 -08:00
Fish (David B. Trout)
225cc6385c
Fix 11+ years old TRUE "day one" return code bug in LCS device handler.
2014-08-23 14:09:33 -07:00
Fish (David B. Trout)
3b0a51e25d
Don't trace packets unless CCW tracing/stepping enabled:
...
Enabling the debug(*) option for an LCS device should only enable debug/status type messages (indicating what the module is currently or about to do), but should otherwise not trace the I/O. Only enabling CCW tracing/stepping on the device (via the 't+' panel command) should cause the actual packets to be traced.
(*) Either via the -d device statement option or via the 'ctc' panel command.
2014-07-17 20:30:42 -07:00
Peter J. Jansen
f6cf335fa8
Enhanced CTC emulation via TCP/IP:
...
Device type CTCE permits channel-to-channel communications across a TCP/IP link between two Hercules systems. Unlike CTCT, CTCE is designed for general purpose payloads and is not restricted to IP traffic.
2014-07-13 01:54:51 -07:00
Fish (David B. Trout)
3be5ef621a
Replace unreachable code comments with UNREACHABLE_CODE macro.
2014-07-13 00:10:18 -07:00
Ian Shorter
5bebd588d8
Merge branch 'master' of https://github.com/hercules-390/hyperion
2014-03-27 14:51:03 +01:00
Ian Shorter
c43a0ad098
Some missed types in LCS when ccw-related U16 changed to U32
2014-03-27 14:50:13 +01:00
Fish (David B. Trout)
1ad01bc545
"Unreachable code" fixes
2014-03-19 14:55:43 -07:00
Ian Shorter
0320ef4dac
Make LCS work with preconfigured TAp interface on *nix
...
Note: currently only works when an OAT file (the -o option) isn't used.
2014-03-19 12:51:02 +01: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
Fish (David B. Trout)
beeeed68b1
Fix incorrectly defined thread functions
2013-06-02 16:50:49 -07:00
Fish (David B. Trout)
45fe878e94
OPTION_WTHREADS removed.
2013-05-26 19:16:15 -07:00
Fish (David B. Trout)
2ffbb92bcf
Fix #ifdef
2013-02-26 04:25:49 -08:00
Ian Shorter
29696ba29d
Make network device drivers use common messages (part 1)
...
Make LCS use naming convention of interface, not device.
Reduce the number of QETH compile warnings (2 remain, one day perhaps
the braces will be organized correctly!)
2013-01-12 19:53:40 +01:00
Brian Kennelly
a9b30f9d83
Define LCS as PRIMARY when no IP address specified
...
After spending some time fighting with the LCS drive, I finally discovered
that, although all parameters are optional, no incoming frames are passed
to the guest if there are no parameters.
If an IP address is specified as a parameter, then it will accept only
frames for that address. To get it to accept other frames, it is necessary
to use an OAT file and define a device with PRI.
Defining an IP addres for the device creates a ROUTE entry, which is not
necessary when using ethernet bridging.
I think the expectation should be that, if no IP address is specified, the
LCS device should accept all frames. My suggesting would be to define the
LCS device as PRIMARY when no IP address is specified, otherwise keep the
existing behaviour.
I made the change against the 3.07 stable code and it works very well,
allowing for simple LCS definition as, e.g.,
E20.2 LCS
Brian Kennelly
2012-10-27 01:03:04 +02:00
Jan Jaeger
439bdbca92
Remove subversion $Id$ tag
...
Update copyright statement to 2012
2012-03-24 18:41:51 +11:00
Ian Shorter
30b36a6c1f
Fix free error.
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7799 956126f8-22a0-4046-8f4a-272fa8102e63
2011-10-22 09:22:50 +00:00
Fish (David B Trout)
1383561eaf
Compiler warning refactoring cont'd:
...
ACTIVATE suppression of certain compiler warnings.
(Most all of which were already being suppressed.)
git-svn-id: file:///home/jj/hercules.svn/trunk@7769 956126f8-22a0-4046-8f4a-272fa8102e63
2011-09-20 12:49:36 +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
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
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
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
Paul Gorlinsky
694e243ea6
Simpler fix for WTHREADS and pttrace.h
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7524 956126f8-22a0-4046-8f4a-272fa8102e63
2011-06-22 13:31:36 +00:00
Paul Gorlinsky
7594c6a0c6
pttrace.h is not used with wthreads.h at the present...
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7523 956126f8-22a0-4046-8f4a-272fa8102e63
2011-06-22 12:44:47 +00:00
Paul Gorlinsky
9dd575ad4a
pttrace.h is not used with wthreads.h at the present...
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7522 956126f8-22a0-4046-8f4a-272fa8102e63
2011-06-22 12:41:58 +00:00
Jan Jaeger
f1330ef639
QETH updates
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7521 956126f8-22a0-4046-8f4a-272fa8102e63
2011-06-22 08:22:00 +00:00
Fish (David B Trout)
3c2975a40b
introduce new __noop(...) macro to fix *nix build error caused by SVN 7418
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7419 956126f8-22a0-4046-8f4a-272fa8102e63
2011-04-17 12:58:04 +00:00
Fish (David B Trout)
b1976a0f8c
LCS CTCI-WIN v3.3 multi-write mode (faster guest downloads)
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7418 956126f8-22a0-4046-8f4a-272fa8102e63
2011-04-17 12:22:13 +00:00
Fish (David B Trout)
622b9f03e4
(cosmetic: align comments; no functional change)
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7358 956126f8-22a0-4046-8f4a-272fa8102e63
2011-03-19 02:43:34 +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
Ivan Warren
0bb3235ffd
Allow bridging an LCS tapX interface without breaking Windows compatibility
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7351 956126f8-22a0-4046-8f4a-272fa8102e63
2011-03-11 21:10:43 +00:00
Paul Gorlinsky
e5fb8adef3
Close OAT file...
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7348 956126f8-22a0-4046-8f4a-272fa8102e63
2011-03-05 03:01:48 +00:00
Fish (David B Trout)
96fc828f92
Remove debugging code from ENQUEUE_REPLY_FRAME macro
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7342 956126f8-22a0-4046-8f4a-272fa8102e63
2011-02-27 09:49:18 +00:00
Fish (David B Trout)
d9b032a442
Fix all-zero MAC bug in LCS cmd reply frame handling
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7341 956126f8-22a0-4046-8f4a-272fa8102e63
2011-02-27 09:42:25 +00:00
Fish (David B Trout)
7fde0000ca
(fix minor typo and comments -- no functional change)
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7274 956126f8-22a0-4046-8f4a-272fa8102e63
2011-01-15 22:54:05 +00:00
Jan Jaeger
1a2e57f4fa
Basic QETH layer2 mode support
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7255 956126f8-22a0-4046-8f4a-272fa8102e63
2011-01-08 14:52:45 +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
Paul Gorlinsky
39596840ca
Message cleanup
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6982 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-26 16:49:10 +00:00
Paul Gorlinsky
a557f228d2
Message cleanup
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6979 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-26 05:11:12 +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
55e4b60037
snprintf buffer overflow checks. qports http port display restored. SRVPRIO for server thread priority.
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6889 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-14 01:37:56 +00:00
Paul Gorlinsky
f08a1c656e
Correct severity indicator in messages
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6717 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-01 18:26:45 +00:00
Paul Gorlinsky
8f1a68f9de
make strtok_r use throughout system... some code was already using it.
...
Use "secure" forms for some functions for windows. sprintf changed to MSGBUF embedded snprintf or snprintf_s to prevent buffer overruns.
git-svn-id: file:///home/jj/hercules.svn/trunk@6570 956126f8-22a0-4046-8f4a-272fa8102e63
2010-09-22 22:59:21 +00:00
Bernard van der Helm
0879f0d5f1
ctc_lcs.c standard message
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6240 956126f8-22a0-4046-8f4a-272fa8102e63
2010-07-30 13:47:06 +00:00
Paul Gorlinsky
ecd94d5600
Correct possible truncation problem on error msg
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6151 956126f8-22a0-4046-8f4a-272fa8102e63
2010-07-01 00:24:26 +00:00