summaryrefslogtreecommitdiff
path: root/sys/dev/isp
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagrelease/3.1.0_cvscvs2svn1999-02-169-9/+9
| | | | | | | 'RELENG_3_1_0_RELEASE'. This commit was manufactured to restore the state of the 3.1-RELEASE image. Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
* This commit was manufactured by cvs2svn to create branch 'RELENG_3'.cvs2svn1999-01-211-926/+0
| | | | Notes: svn path=/stable/3/; revision=42951
* Suggested by bde@freebsd.org- memcpy not necessarily good to use. D'oh- not inMatt Jacob1999-01-103-13/+15
| | | | | | | | the BSD DKI. Stop being lazy and finish the defines so MEMCPY becomes bzero for FreeBSD. Notes: svn path=/head/; revision=42472
* Add some prototype deadchip detection. Set FIFO bursting (1XX0 only-Matt Jacob1999-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. Notes: svn path=/head/; revision=42462
* up isp_fifo_threshold NVRAM storage to 3 bits (for future 128 bit)Matt Jacob1999-01-101-3/+3
| | | | Notes: svn path=/head/; revision=42461
* add MEMZERO portability definesMatt Jacob1999-01-102-4/+8
| | | | Notes: svn path=/head/; revision=42460
* Amazingly stupid forgetfullness had me forgetting to turn on FIFO burstsMatt Jacob1999-01-101-4/+4
| | | | | | | for the 1XX0 cards. That cost > 50% performance. Notes: svn path=/head/; revision=42458
* clarify headers;ansifyMatt Jacob1998-12-281-60/+22
| | | | Notes: svn path=/head/; revision=42132
* clarify headers;move uninit to outer layer;remove watchdogMatt Jacob1998-12-289-136/+173
| | | | Notes: svn path=/head/; revision=42131
* probe function changed from returning char * to const char *.Matthew Dillon1998-12-141-2/+2
| | | | Notes: svn path=/head/; revision=41771
* oops on lastMatt Jacob1998-12-051-3/+3
| | | | Notes: svn path=/head/; revision=41525
* Remove the Target mode functions until they're in better shape. Implement someMatt Jacob1998-12-051-89/+532
| | | | | | | | | | 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). Notes: svn path=/head/; revision=41524
* make a real "done" func; clarify some LUN widthsMatt Jacob1998-12-051-8/+51
| | | | Notes: svn path=/head/; revision=41523
* compilation fixes from EklundMatt Jacob1998-12-051-2/+3
| | | | Notes: svn path=/head/; revision=41522
* compilation fixes from Eklund && move XS_CMD_DONE to be a real functionMatt Jacob1998-12-051-28/+5
| | | | Notes: svn path=/head/; revision=41521
* do a bit of cleanup on some target mode structures and clarify a couple ↵Matt Jacob1998-12-051-179/+428
| | | | | | | other minro things Notes: svn path=/head/; revision=41520
* roll core version minor and wire a non-i386 default Loop ID to 113Matt Jacob1998-12-051-3/+7
| | | | Notes: svn path=/head/; revision=41519
* offset was wrong for HARDLOOPID in NVRAMMatt Jacob1998-12-051-2/+3
| | | | Notes: svn path=/head/; revision=41518
* Roll to 1.15 f/w level for Qlogic 2100. Leave all flavors in, but control whichMatt Jacob1998-12-051-9947/+12433
| | | | | | | one gets compiled in by default. The default is private loop, non-expanded lun. Notes: svn path=/head/; revision=41517
* roll to 1.31 levelMatt Jacob1998-12-051-35/+1170
| | | | Notes: svn path=/head/; revision=41516
* trivial header fixMatt Jacob1998-12-051-0/+5
| | | | Notes: svn path=/head/; revision=41515
* Examine all occurrences of sprintf(), strcat(), and str[n]cpy()Archie Cobbs1998-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> Notes: svn path=/head/; revision=41514
* -Wunused cleanup.Justin T. Gibbs1998-10-151-1/+1
| | | | | | | Submitted by: Poul-Henning Kamp <phk@freebsd.org> Notes: svn path=/head/; revision=40419
* Honor CAM_TAG_ACTION_NONE.Justin T. Gibbs1998-10-151-1/+2
| | | | Notes: svn path=/head/; revision=40418
* Andrew Gallatin reported some internal queue overflows with MAXISPREQUESTMatt Jacob1998-10-141-1/+1
| | | | | | | | at 256. So- to be safe, let's roll back to 64 while we do some more investigating. Notes: svn path=/head/; revision=40353
* Add hooks so that the alpha can detect which disk has the root partition.Doug Rabson1998-09-261-0/+3
| | | | Notes: svn path=/head/; revision=39683
* Bump request queue size up to full amount (now that we haveMatt Jacob1998-09-181-1/+1
| | | | | | | a contiguous CCB memory allocation). Notes: svn path=/head/; revision=39459
* (requested by gibbs) Remove the SCSI_CAM option (and rework the isp driverMatt Jacob1998-09-183-22/+19
| | | | | | | | that had depended on it for compilation within or without CAM to use __FreeBSD_version instead). Notes: svn path=/head/; revision=39445
* per bde (who is right about this) that an inlined fucntion with constMatt Jacob1998-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. Notes: svn path=/head/; revision=39440
* Cleanliness. Don't leave defined a const char array that's only usedMatt Jacob1998-09-171-2/+4
| | | | | | | if target mode is defined (which it isn't, yet). Notes: svn path=/head/; revision=39439
* A major amount of cleaning up:Matt Jacob1998-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). Notes: svn path=/head/; revision=39435
* Clean up a comment. Make the default debugging level contingent upon CAMDEBUG.Matt Jacob1998-09-171-8/+4
| | | | Notes: svn path=/head/; revision=39434
* Remove commented out and no longer pertinent EAGAIN message. Redo CMD_COMPLETEMatt Jacob1998-09-171-11/+6
| | | | | | | | logic for returns from inner layer (just make sure that a CAM_REQ_INPROG doesn't get xpt_done'd). Notes: svn path=/head/; revision=39433
* ISP_DMASETUP now returns a value to be possibly punted to outer layers.Matt Jacob1998-09-171-13/+25
| | | | | | | | Turn request queue overflow messages into debug messages. Ensure on isp_restarts that we nullify the xflist array. Notes: svn path=/head/; revision=39432
* Roll revision, clean up a comment.Matt Jacob1998-09-171-8/+1
| | | | Notes: svn path=/head/; revision=39431
* Fix the (unported) resource shortage case- I'd done a xpt_freeze_simqMatt Jacob1998-09-162-4/+15
| | | | | | | but had never done a CAM_RELEASE_SIMQ to restart the queues. Notes: svn path=/head/; revision=39378
* Alpha port related fixes from Doug Rabson.Matt Jacob1998-09-161-17/+33
| | | | | | | Submitted by: dfr Notes: svn path=/head/; revision=39365
* alpha port fixes from Doug.Matt Jacob1998-09-162-5/+5
| | | | | | | Reviewed by: dfr Notes: svn path=/head/; revision=39364
* fix reported compile error flying blind- I do not have the new compiler yetMatt Jacob1998-09-151-2/+2
| | | | Notes: svn path=/head/; revision=39315
* Convert ISP pci front end to CAM/bus space/dma.Justin T. Gibbs1998-09-151-36/+428
| | | | | | | Convert ncr driver to CAM. Notes: svn path=/head/; revision=39247
* Contents were duplicated.Justin T. Gibbs1998-09-151-206/+1
| | | | Notes: svn path=/head/; revision=39240
* Update QLogic ISP support for CAM. Add preliminary target mode support.Justin T. Gibbs1998-09-158-2946/+14045
| | | | | | | Submitted by: Matthew Jacob <mjacob@feral.com> Notes: svn path=/head/; revision=39235
* Use [u]intptr_t instead of [unsigned] long to convert and/or representBruce Evans1998-08-101-3/+3
| | | | | | | | | | pointers. This finishes fixing conversions between pointers and integers of possibly different sizes in GENERIC. Notes: svn path=/head/; revision=38232
* minphys means something different in FreeBSD than in NetBSD- not needed here ↵Matt Jacob1998-07-251-2/+1
| | | | | | | and in the way Notes: svn path=/head/; revision=37858
* Fixed printf format errors (only 1 left in GENERIC now).Bruce Evans1998-07-131-5/+5
| | | | Notes: svn path=/head/; revision=37618
* Fixed pedantic semantics errors (bitfields not of type int, signed intBruce Evans1998-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)). Notes: svn path=/head/; revision=36767
* Support compiling with `gcc -ansi'. Just use __inline instead of inline.Bruce Evans1998-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(()). Notes: svn path=/head/; revision=35597
* Oops- osreldate.h is not around like I thought it would be... hmmm.. quick ↵Matt Jacob1998-04-241-2/+8
| | | | | | | fix to get around this Notes: svn path=/head/; revision=35429
* Add support for the Qlogic ISP SCSI && FC/AL AdaptersMatt Jacob1998-04-221-0/+559
| | | | Notes: svn path=/head/; revision=35389
* Add support for the Qlogic ISP SCSI && FC/AL AdaptersMatt Jacob1998-04-228-0/+8325
Notes: svn path=/head/; revision=35388