Justin T. Gibbs
0a42741c4a
Honor CAM_TAG_ACTION_NONE.
1998-10-15 23:17:58 +00:00
Matt Jacob
9eefce67dc
Andrew Gallatin reported some internal queue overflows with MAXISPREQUEST
...
at 256. So- to be safe, let's roll back to 64 while we do some more
investigating.
1998-10-14 16:55:00 +00:00
Doug Rabson
e37c045536
Add hooks so that the alpha can detect which disk has the root partition.
1998-09-26 14:37:49 +00:00
Matt Jacob
090040e092
Bump request queue size up to full amount (now that we have
...
a contiguous CCB memory allocation).
1998-09-18 18:58:07 +00:00
Matt Jacob
3dd37e4387
(requested by gibbs) Remove the SCSI_CAM option (and rework the isp driver
...
that had depended on it for compilation within or without CAM to use
__FreeBSD_version instead).
1998-09-18 00:46:42 +00:00
Matt Jacob
a70ac9fd83
per bde (who is right about this) that an inlined fucntion with const
...
char * strings being returned defined in a header file included several
places but only used in one module, is, uh, silly.
1998-09-17 23:20:29 +00:00
Matt Jacob
7ac6b5a314
Cleanliness. Don't leave defined a const char array that's only used
...
if target mode is defined (which it isn't, yet).
1998-09-17 22:53:35 +00:00
Matt Jacob
4873663cf8
A major amount of cleaning up:
...
+ Change some messages about CCB memory allocation
+ Turn a failure to DMA map all of a transaction due to lack of
ISP queue entries into a requeue operation (instead of the
case where it had been treated the same as a DMA too big
operation).
+ put back splsoftvm around bus_dmamap_load calls.
+ cleanup (and fix a glaring bug) in the and of the dma setup
routine. Also, the dma setup routines either return CMD_QUEUED
(for success) or CMD_COMPLETE (for failure) or CMD_EAGAIN
(for requeuing for resource shortage reasons).
1998-09-17 21:11:21 +00:00
Matt Jacob
0c1b701510
Clean up a comment. Make the default debugging level contingent upon CAMDEBUG.
1998-09-17 21:06:38 +00:00
Matt Jacob
c6904df981
Remove commented out and no longer pertinent EAGAIN message. Redo CMD_COMPLETE
...
logic for returns from inner layer (just make sure that a CAM_REQ_INPROG
doesn't get xpt_done'd).
1998-09-17 21:05:40 +00:00
Matt Jacob
42b7427595
ISP_DMASETUP now returns a value to be possibly punted to outer layers.
...
Turn request queue overflow messages into debug messages. Ensure on
isp_restarts that we nullify the xflist array.
1998-09-17 21:03:45 +00:00
Matt Jacob
4d65e73e67
Roll revision, clean up a comment.
1998-09-17 21:02:18 +00:00
Matt Jacob
00f50ce889
Fix the (unported) resource shortage case- I'd done a xpt_freeze_simq
...
but had never done a CAM_RELEASE_SIMQ to restart the queues.
1998-09-16 19:52:22 +00:00
Matt Jacob
a185f9b1c3
Alpha port related fixes from Doug Rabson.
...
Submitted by: dfr
1998-09-16 16:43:17 +00:00
Matt Jacob
aad446c06c
alpha port fixes from Doug.
...
Reviewed by: dfr
1998-09-16 16:42:40 +00:00
Matt Jacob
050ea0d6f2
fix reported compile error flying blind- I do not have the new compiler yet
1998-09-15 22:44:51 +00:00
Justin T. Gibbs
d720e6d5de
Convert ISP pci front end to CAM/bus space/dma.
...
Convert ncr driver to CAM.
1998-09-15 10:06:23 +00:00
Justin T. Gibbs
830a89fb0b
Contents were duplicated.
1998-09-15 09:59:37 +00:00
Justin T. Gibbs
478f8a9685
Update QLogic ISP support for CAM. Add preliminary target mode support.
...
Submitted by: Matthew Jacob <mjacob@feral.com>
1998-09-15 08:42:56 +00:00
Bruce Evans
b97fc94873
Use [u]intptr_t instead of [unsigned] long to convert and/or represent
...
pointers.
This finishes fixing conversions between pointers and integers of
possibly different sizes in GENERIC.
1998-08-10 17:21:49 +00:00
Matt Jacob
d8bb36bb8a
minphys means something different in FreeBSD than in NetBSD- not needed here and in the way
1998-07-25 04:48:25 +00:00
Bruce Evans
9bffbcd4f5
Fixed printf format errors (only 1 left in GENERIC now).
1998-07-13 09:53:11 +00:00
Bruce Evans
a09bee1aa8
Fixed pedantic semantics errors (bitfields not of type int, signed int
...
or unsigned int (this doesn't change the struct layout, size or
alignment in any of the files changed in this commit, at least for
gcc on i386's. Using bitfields of type u_char may affect size and
alignment but not packing)).
1998-06-08 09:47:47 +00:00
Bruce Evans
5a4c8619d8
Support compiling with `gcc -ansi'. Just use __inline instead of inline.
...
[__]inline is only used to bloat the code here. It gives a separate copy
of all the strings for each time this header is included...
Fixed misuse of __P(()).
1998-05-01 18:10:50 +00:00
Matt Jacob
f05ebe7324
Oops- osreldate.h is not around like I thought it would be... hmmm.. quick fix to get around this
1998-04-24 18:23:20 +00:00
Matt Jacob
65adb54cf1
Add support for the Qlogic ISP SCSI && FC/AL Adapters
1998-04-22 18:12:29 +00:00
Matt Jacob
6054c3f6f2
Add support for the Qlogic ISP SCSI && FC/AL Adapters
1998-04-22 17:54:58 +00:00