summaryrefslogtreecommitdiffstats
path: root/sys/dev/isp
Commit message (Collapse)AuthorAgeFilesLines
* Suggested by bde@freebsd.org- memcpy not necessarily good to use. D'oh- not inmjacob1999-01-103-13/+15
| | | | | the BSD DKI. Stop being lazy and finish the defines so MEMCPY becomes bzero for FreeBSD.
* Add some prototype deadchip detection. Set FIFO bursting (1XX0 only-mjacob1999-01-101-48/+88
| | | | | | | | it's already on for the 2XX0) and detect the broken 1040A FIFO. Change bzero to MEMZERO (portability with **nux). Use memcpy for same reason. Finally detect QUEUE FULL conditions and return this as an error that will get cam_periph_error to do it's 'tagged openings now XXX' dance.
* up isp_fifo_threshold NVRAM storage to 3 bits (for future 128 bit)mjacob1999-01-101-3/+3
|
* add MEMZERO portability definesmjacob1999-01-102-4/+8
|
* Amazingly stupid forgetfullness had me forgetting to turn on FIFO burstsmjacob1999-01-101-4/+4
| | | | for the 1XX0 cards. That cost > 50% performance.
* clarify headers;ansifymjacob1998-12-281-60/+22
|
* clarify headers;move uninit to outer layer;remove watchdogmjacob1998-12-289-136/+173
|
* probe function changed from returning char * to const char *.dillon1998-12-141-2/+2
|
* oops on lastmjacob1998-12-051-3/+3
|
* Remove the Target mode functions until they're in better shape. Implement somemjacob1998-12-051-91/+534
| | | | | | | suggested compilation cleanups from Eklund. Wire down a hard loop id if we are not on a platform that has the ability to get to a PCI BIOS (it still will float to the ID it gets after a LIP but at least we can try). Clarify that the expanded lun is based upon SCCLUN defines (in f/w).
* make a real "done" func; clarify some LUN widthsmjacob1998-12-051-8/+51
|
* compilation fixes from Eklundmjacob1998-12-051-2/+3
|
* compilation fixes from Eklund && move XS_CMD_DONE to be a real functionmjacob1998-12-051-28/+5
|
* do a bit of cleanup on some target mode structures and clarify a couple ↵mjacob1998-12-051-179/+428
| | | | other minro things
* roll core version minor and wire a non-i386 default Loop ID to 113mjacob1998-12-051-3/+7
|
* offset was wrong for HARDLOOPID in NVRAMmjacob1998-12-051-2/+3
|
* Roll to 1.15 f/w level for Qlogic 2100. Leave all flavors in, but control whichmjacob1998-12-051-9947/+12433
| | | | one gets compiled in by default. The default is private loop, non-expanded lun.
* roll to 1.31 levelmjacob1998-12-051-35/+1170
|
* trivial header fixmjacob1998-12-051-0/+5
|
* Examine all occurrences of sprintf(), strcat(), and str[n]cpy()archie1998-12-041-1/+1
| | | | | | | | | | | | | | for possible buffer overflow problems. Replaced most sprintf()'s with snprintf(); for others cases, added terminating NUL bytes where appropriate, replaced constants like "16" with sizeof(), etc. These changes include several bug fixes, but most changes are for maintainability's sake. Any instance where it wasn't "immediately obvious" that a buffer overflow could not occur was made safer. Reviewed by: Bruce Evans <bde@zeta.org.au> Reviewed by: Matthew Dillon <dillon@apollo.backplane.com> Reviewed by: Mike Spengler <mks@networkcs.com>
* -Wunused cleanup.gibbs1998-10-151-1/+1
| | | | Submitted by: Poul-Henning Kamp <phk@freebsd.org>
* Honor CAM_TAG_ACTION_NONE.gibbs1998-10-151-1/+2
|
* Andrew Gallatin reported some internal queue overflows with MAXISPREQUESTmjacob1998-10-141-1/+1
| | | | | at 256. So- to be safe, let's roll back to 64 while we do some more investigating.
* Add hooks so that the alpha can detect which disk has the root partition.dfr1998-09-261-0/+3
|
* Bump request queue size up to full amount (now that we havemjacob1998-09-181-1/+1
| | | | a contiguous CCB memory allocation).
* (requested by gibbs) Remove the SCSI_CAM option (and rework the isp drivermjacob1998-09-183-22/+19
| | | | | that had depended on it for compilation within or without CAM to use __FreeBSD_version instead).
* per bde (who is right about this) that an inlined fucntion with constmjacob1998-09-172-21/+25
| | | | | char * strings being returned defined in a header file included several places but only used in one module, is, uh, silly.
* Cleanliness. Don't leave defined a const char array that's only usedmjacob1998-09-171-2/+4
| | | | if target mode is defined (which it isn't, yet).
* A major amount of cleaning up:mjacob1998-09-171-44/+32
| | | | | | | | | | | | | + 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).
* Clean up a comment. Make the default debugging level contingent upon CAMDEBUG.mjacob1998-09-171-8/+4
|
* Remove commented out and no longer pertinent EAGAIN message. Redo CMD_COMPLETEmjacob1998-09-171-11/+6
| | | | | logic for returns from inner layer (just make sure that a CAM_REQ_INPROG doesn't get xpt_done'd).
* ISP_DMASETUP now returns a value to be possibly punted to outer layers.mjacob1998-09-171-13/+25
| | | | | Turn request queue overflow messages into debug messages. Ensure on isp_restarts that we nullify the xflist array.
* Roll revision, clean up a comment.mjacob1998-09-171-8/+1
|
* Fix the (unported) resource shortage case- I'd done a xpt_freeze_simqmjacob1998-09-162-4/+15
| | | | but had never done a CAM_RELEASE_SIMQ to restart the queues.
* Alpha port related fixes from Doug Rabson.mjacob1998-09-161-17/+33
| | | | Submitted by: dfr
* alpha port fixes from Doug.mjacob1998-09-162-5/+5
| | | | Reviewed by: dfr
* fix reported compile error flying blind- I do not have the new compiler yetmjacob1998-09-151-2/+2
|
* Convert ISP pci front end to CAM/bus space/dma.gibbs1998-09-151-36/+428
| | | | Convert ncr driver to CAM.
* Contents were duplicated.gibbs1998-09-151-206/+1
|
* Update QLogic ISP support for CAM. Add preliminary target mode support.gibbs1998-09-158-2948/+14047
| | | | Submitted by: Matthew Jacob <mjacob@feral.com>
* Use [u]intptr_t instead of [unsigned] long to convert and/or representbde1998-08-101-3/+3
| | | | | | | pointers. This finishes fixing conversions between pointers and integers of possibly different sizes in GENERIC.
* minphys means something different in FreeBSD than in NetBSD- not needed here ↵mjacob1998-07-251-2/+1
| | | | and in the way
* Fixed printf format errors (only 1 left in GENERIC now).bde1998-07-131-5/+5
|
* Fixed pedantic semantics errors (bitfields not of type int, signed intbde1998-06-081-3/+3
| | | | | | | 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)).
* Support compiling with `gcc -ansi'. Just use __inline instead of inline.bde1998-05-011-2/+5
| | | | | | | [__]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(()).
* Oops- osreldate.h is not around like I thought it would be... hmmm.. quick ↵mjacob1998-04-241-2/+8
| | | | fix to get around this
* Add support for the Qlogic ISP SCSI && FC/AL Adaptersmjacob1998-04-221-0/+559
|
* Add support for the Qlogic ISP SCSI && FC/AL Adaptersmjacob1998-04-228-0/+8325
OpenPOWER on IntegriCloud