mjacob
23202c02a2
roll platform minor
2000-05-09 01:09:46 +00:00
mjacob
97b930e597
Roll core minor version. Change our 'fabdev' tag to 'loggedin'.
2000-05-09 01:09:23 +00:00
mjacob
60a26a691a
Add in a watchdog routine to catch cases where we've dropped the command.
...
Apparently the f/w has finished the command, but somehow an interrupt is
being lost. So, we just plain wedge when booting alphas.
This is a general routine we've needed for a while.
2000-05-09 01:08:21 +00:00
mjacob
5dbf07e155
The storage for WWN from NVRAM is actually the PORT WWN, not the NODE WWN.
2000-05-09 01:06:47 +00:00
mjacob
1979a1b9bb
Conrrect a macro with parenthesis.
2000-05-09 01:06:18 +00:00
mjacob
41c081dde1
Now that we fixed the isp_sendmarker botch, we can now do initial bus
...
resets for ULTRA2/ULTRA3 cards again (which were turned off really because
of a botch for dual bus configurations).
2000-04-21 19:18:06 +00:00
mjacob
d4eb90b76c
Roll minor version. Increase size (and add defines for) topology storage.
2000-04-21 02:06:30 +00:00
mjacob
c8f13071dd
Some minor tweaklets.
2000-04-21 02:05:54 +00:00
mjacob
9cec119bc0
Add in the now required malloc.h include. I guess somebody
...
was busy hackin' w/o checking kernel compiles.
2000-04-21 02:05:13 +00:00
mjacob
3267471cef
Pick up topology more sanely at f/w startup. Change the restrictions of
...
where we can have targets (based on topology).
Much more importantly, make sure all mods to isp_sendmarker or |= so
we don't lose the marking of a bus that needs to have a marker sent for it.
2000-04-21 02:04:34 +00:00
mjacob
5e18328bad
Update (finally) 1.15.37 to 1.19.03 for the 2100. This allows us to not
...
require full logins after a LIP, which always led to loop resets, and
various other perturbations.
Update 2200 f/w from 2.01.00 release to 2.01.09 release.
2000-04-21 02:01:06 +00:00
phk
6be1308ad1
Remove ~25 unneeded #include <sys/conf.h>
...
Remove ~60 unneeded #include <sys/malloc.h>
2000-04-19 14:58:28 +00:00
mjacob
8e2c4f5343
roll platform versions to 5.0
2000-03-15 18:49:44 +00:00
mjacob
4db73ccd6b
Don't do bus resets for ULTRA2 or later cards because what seems to
...
happen currently is that several commands issued *after* the bus reset are
then reported destroyed.
2000-03-13 16:30:00 +00:00
mjacob
d18f009a9d
Add in mailbox return codes for failed fabric logins (port_id_used,
...
loop_id_used, etc...)
Do a more precise structure for Get All Next name server responses.
Approved: jkh
2000-02-29 05:54:48 +00:00
mjacob
627852c510
Minor non-FreeBSD changes (keeping source sync'd).
...
Approved: jkh
2000-02-29 05:53:41 +00:00
mjacob
626488cdfb
Prettier print of fabric devices being attached- say what kind of
...
port they are (e.g., F_Port vs. N_Port).
Approved: jkh
2000-02-29 05:53:10 +00:00
mjacob
3c5b3c5d5e
Slightly cleaner fabric support (whiter whites! redder reds!).. No,
...
seriously- only attempt to logout a previously logged in fabric device.
Fix a longstanding bug for aborting overtime commands- handle halves
have always been reversed.
Clean up some error messages to indicate channel number.
Approved:jkh
2000-02-29 05:52:14 +00:00
mjacob
39f4ff01fa
Clean up defines for correct 12160/1080 exclusion. Final 4.0.
...
approved: JKH
2000-02-29 05:48:46 +00:00
mjacob
e05b233ca4
Fix ITDEBUG macro.
...
Approved: jkh
2000-02-15 00:54:26 +00:00
mjacob
56989ea797
Correctly identify which bus of dual bus SCSI adapters some target mode
...
commands (enable/disable/modify lun && immediate notify) we're talking about.
Approved: jkh
2000-02-15 00:53:49 +00:00
mjacob
968b01c5e2
Clean up some target mode debug messages. Fix (finally, I believe)
...
Andrew's problems with SCSI on some alphas- do not call isp_update
directly to update parameters- just mark them as being ready to
update for the next command- the system would just hang on a READ
CAPACITY for a drive. Really annoying because it wouldn't even timeout
(and it has a timeout) so either the SET PARAMETERS call was nuking
things or the f/w was really dropping the ball.
approved: jkh
Reviewed by: gallatin@freebsd.org
2000-02-15 00:52:52 +00:00
mjacob
2d1e2e5550
If the CDB length is greater than 12 for parallel SCSI, ispscsicmd has
...
made the initial queue entry a EXTENDED CMD queue entry, so we have to
go straight to continuation segments for any data segments.
approved: jkh
2000-02-15 00:50:01 +00:00
mjacob
a112a90a01
Clean out residual bogosity for fast posting stuff- ISP_NO_FASTPOST_SCSI
...
is gone as a define. We just don't support fast posting for anything less
than the 1240/1080/1280/12160 or Fibre Channel cards.
Put in support for CDB's larger than 12 bytes for parallel SCSI (up to 44
bytes are allowed).
Approved: jkh
2000-02-15 00:35:00 +00:00
mjacob
e7efba4ff7
Add in 12160 (Ultra3) support. Redo things to use the newbus code.
...
Approved: jkh@freebsd.org
PR: 16141
2000-02-11 19:45:17 +00:00
mjacob
ac0c069327
Turn back on fast posting- the code that turns it off (for 1020/1040) is
...
now in isp.c
Approved: jkh@freebsd.org
2000-02-11 19:37:56 +00:00
mjacob
b2371118e5
Correct a minor typo in error message.
...
Approved: jkh@freebsd.org
2000-02-11 19:36:30 +00:00
mjacob
a9c2af8be3
Add in new async mbox defines for 2200- point to point stuff.
...
Add in definitions for the extended initialization control block
(2200 only again).
Approved: jkh@freebsd.org
2000-02-11 19:35:42 +00:00
mjacob
a5b041f3d2
Add in 12160 (Ultra3) NVRAM definitions.
...
Approved: jkh@freebsd.org
2000-02-11 19:34:33 +00:00
mjacob
cb72bcab1b
Add in 12160 (Ultra3) firmware. Gawd, this file is bulky.
...
Approved: jkh@freebsd.org
2000-02-11 19:32:51 +00:00
mjacob
9081880850
Restructure nvram reading routine to split out to separate functions
...
for 1020/1X80/12160/2X00- for readability. Add in 12160 (Ultra3)
support- but not with PPR just yet. Fix and clarify fetching of
return parameter for getting firmware rev which for the 2200 contains
the connection topology (Private Loop (NL-port), N-port, FL-port,
F-port). Synthesize the connection topology for the 2100 which can
only be Private Loop or FL-port. Handle a couple of new async
mailbox commands which signify connection in Point-to-Point mode
(N-port or F-port) or indicate various toe stubbing getting to same.
Approved: jkh@freebsd.org
2000-02-11 19:31:32 +00:00
mjacob
7d5f5fd6a6
Add 12160 (Ultra3) defines. Add config option flag for forcing point-to-point
...
instead of FC-AL (2200 only).
Approved: jkh@freebsd.org
2000-02-11 19:25:01 +00:00
mjacob
a95eb8d83c
There seems to be some problems, particularly on alpha, with
...
FAST POSTING enabled for parallel SCSI. Be sure about things
and disable it for now.
2000-01-21 20:54:22 +00:00
mjacob
6f78cf499f
Remove compile warning not seen when compiling with target mode enabled.
2000-01-15 07:06:44 +00:00
mjacob
af62fb2de8
Redo FC target mode dma routine to try and generate an extra CTIO
...
in the not so odd case of Moving Data *AND* Sending Status in last CTIO *AND*
status is a CHECK CONDITION *AND* we have Sense Data to send.
2000-01-15 01:54:36 +00:00
mjacob
f12357ba49
clean up for SBus Ultra (yes, we do not do that here yet)
2000-01-15 01:52:01 +00:00
mjacob
e4f656172a
a whale of a lot of target mode cleanup
2000-01-15 01:50:48 +00:00
mjacob
14386bc152
cleanup- it was not MI code as it should have been
2000-01-15 01:49:09 +00:00
mjacob
aa702e544c
cleanup
2000-01-15 01:48:24 +00:00
mjacob
d38e10d63f
include public target mode functions
2000-01-15 01:47:10 +00:00
mjacob
915d501bd7
public target mode stuff
2000-01-15 01:46:37 +00:00
mjacob
b483a178f2
tighten up printout
2000-01-15 01:43:19 +00:00
mjacob
c563701110
add MAINTAINER file for clarity
2000-01-13 18:45:14 +00:00
mjacob
d706677e98
change debug printout lefvels for a couple of places
2000-01-09 21:47:39 +00:00
mjacob
59326b98ed
oop, use PRINTF not printf in MI code
2000-01-04 05:17:48 +00:00
mjacob
e3ab3c247b
Clean up some debug printing. Find the correct lun when SCCLUN is
...
defined. If we complete with a check condition but no sense data,
say we had an AUTOSENSE failure.
2000-01-04 03:45:49 +00:00
mjacob
981a7cc5f7
Make Fibre Channel cards correctly note the presence/absence
...
of ARQ data and punt the dealing with its presence/absence
to the platform layers.
2000-01-04 03:44:21 +00:00
mjacob
2fabb47dbd
set default target mode debug to 0
2000-01-04 03:43:03 +00:00
mjacob
6c20e77592
add clarifying tag define for FC
2000-01-04 03:42:19 +00:00
mjacob
8928ecdac1
Add in an isp_tdebug environment variable. Clean up some debugging
...
printouts for clarity.
2000-01-04 03:41:40 +00:00