summaryrefslogtreecommitdiffstats
path: root/sys/dev/isp/ispreg.h
Commit message (Collapse)AuthorAgeFilesLines
* Support for f/w crash dumps (2200 && 23XX).mjacob2002-02-171-0/+22
| | | | | | | | | | | | | If you want QLogic to look at a potential f/w problem for FC cards, you really have to provide them info in the format they expect. This involves dumping a lot of hardware registers (> 300 16 bit registers) and a lot of SRAM (> 128KB minimum). Thus all of this code is #ifdef protected which will become an option so that the memory allocation of where to dump the crash image is pretty expensive. It's worth it if you have a reproducible problem because they have some tools that can tell them, given the f/w version, the precise state of everything. MFC after: 1 week
* + A variety of 23XX changes:mjacob2002-02-041-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | disable MWI on 2300 based on function code, set an 'isp_port' for the 2312- it's a separate instance, but the NVRAM is shared, and the second port's NVRAM is at offset 256. + Enable RIO operation for LVD SCSI cards. This makes a *big* difference as even under reasonable load we get batched completions of about 30 commands at a time on, say, an ISP1080. + Do 'continuation' mailbox commands- this allows us to specify a work area within the softc and 'continue' repeated mailbox commands. This is more or less on an ad hoc basis and is currently only used for firmware loading (which f/w now loads substantially faster becuase the calling thread is only woken when all the f/w words are loaded- not for each one of the 40000 f/w words that gets loaded). + If we're about to return from isp_intr with a 'bogus interrupt' indication, and we're not a 23XX card, check to see whether the semaphore register is currently *2* (not *1* as it should be) and whether there's an async completion sitting in outgoing mailbox0. This seems to capture cases of lost fast posting and RIO interrupts that the 12160 && 1080 have been known to pump out under extreme load (extreme, as in > 250 active commands). + FC_SCRATCH_ACQUIRE/FC_SCRATCH_RELEASE macros. + Endian correct swizzle/unswizzle of an ATIO2 that has a WWPN in it. MFC after: 1 week
* Add 2 Gigabit Fibre Channel support (2300 && 2312 cards). This requiredmjacob2001-08-311-0/+32
| | | | | | | | | | some reworking (and consequent cleanup) of the interrupt service code. Also begin to start a cleanup of target mode support that will (eventually) not require more inforamtion routed with the ATIO to come back with the CTIO other than tag. MFC after: 4 weeks
* Put in offset definitions for FPM and FBM registers, plus just enoughmjacob2001-01-151-0/+17
| | | | bits defined so we can reset them.
* some copyright cleanupsmjacob2000-09-211-6/+2
|
* Add in lengths of SBus or PCI registers.mjacob2000-08-011-0/+3
|
* Add mailbox bitmask macros (numbers of available mailbox registersmjacob2000-06-271-1/+9
| | | | | based upon Qlogic chip type). Define maximum mailboxes. Add INT_PENDING_MASK macro. Change mailbox offset macro name.
* cleanup i_int_X vs. uint_X definitionsmjacob2000-06-181-16/+16
|
* The storage for WWN from NVRAM is actually the PORT WWN, not the NODE WWN.mjacob2000-05-091-1/+12
|
* Add in 12160 (Ultra3) NVRAM definitions.mjacob2000-02-111-2/+76
| | | | Approved: jkh@freebsd.org
* Add Dual LVD bus (1280) supportmjacob1999-12-161-91/+95
|
* add in an INT_PENDING macromjacob1999-10-171-1/+2
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Clean up some macros. Add in ISP 1080/1240 NVRAM layout definitions.mjacob1999-05-111-8/+128
|
* Add in 1080 LVD support and some basis also for the 1240. The port databasemjacob1999-03-251-10/+21
| | | | printout is now enabled.
* A wad of changes- prepping for 1080/1240 support (which caused a massivemjacob1999-03-171-35/+55
| | | | | | thwank in register layout goop). A different mboxcmd approach. Some PDB change infrastructure. Some better management of loopdown/loopup events (keep them distinct from resource starvation for simq freeze/unfreeze actions).
* clean up some NVRAM definesmjacob1999-02-091-9/+5
|
* Implement and use Fast Posting for both parallel && fibre. Redo a bit ofmjacob1999-01-301-2/+3
| | | | | | | the startup code. Implement a call to outer framework function so that asynchronous events can be handled (e.g., speed negotiation, target mode). Roll internal release tags.
* clarify headers;move uninit to outer layer;remove watchdogmjacob1998-12-281-2/+2
|
* offset was wrong for HARDLOOPID in NVRAMmjacob1998-12-051-2/+3
|
* Update QLogic ISP support for CAM. Add preliminary target mode support.gibbs1998-09-151-26/+130
| | | | Submitted by: Matthew Jacob <mjacob@feral.com>
* Add support for the Qlogic ISP SCSI && FC/AL Adaptersmjacob1998-04-221-0/+589
OpenPOWER on IntegriCloud