summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ispvar.h
AgeCommit message (Collapse)Author
2001-09-01Catch up with mainline of code development.mjacob
Add support for 2 Gigabit cards (2300/2312). This necessitated a change in how interrupts are down- the 23XX has not only a different place to check for an interrupt, but unlike all other QLogic cards, you have to read the status as a 32 bit word- not 16 bit words. Rather than have device specific functions as called from the core module (in isp_intr), it makes more sense to have the platform/bus modules do the gruntwork of splitting out the isr, semaphore register and the first outgoing mailbox register (if needed) *prior* to calling isp_intr (if calling isp_intr is necessary at all). Rearchitect how regular SCSI parameters are stored or used.
2001-04-04Roll Core minor. Ansify source. Handles are now 16 bits. Addmjacob
ISPCTL_RUN_MBOXCMD entry point. Add ISPASYNC_UNHANDLED_RESPONSE definition.
2001-02-12Eliminate ISP2100_FABRIC- we always allow for fabric now. Add anmjacob
isp_iid_set/isp_iid for fibre channel- this is because we now fake a port database entry for ourselves. Add the additional loop states between LOOP_PDB_RCVD and LOOP_READY. Change and comment on a wad of Fibre Channel isp_control functions. Change and comment on some of the ISPASYNC Fibre Channel events. Add was_fabric_dev/fabric_dev tags to our local FC database structure (so we can see rapidly whether something was a fabric device but is now gone). Add a tag which says what role this adapter should take. It can take on the value of None, Target, Initiator or Both. None is useful for warm failover purposes. Remove the ISP_CFG_NOINIT silliness since a role of "None" does this. Add a isp_lastmbxcmd tag to store the opcode for the last mailbox command used.
2001-01-09Add in a ISP_CFG_NOINIT flag (other platform stuff). Define some ofmjacob
the async code event changes. Note (for __GNUC__) that isp_prt has __attributes__'s of __format__/__printf__....
2000-12-06Update isp codebase to current common head- USEC_SLEEP macro added,mjacob
instrumentation for interrupts, specific topology preferences for the 2200. Fix the hole in the OpenBSD port becuause there'd been no maxluns limit from the midlayer and have the command routine bounce commands > the maxluns for a particular controller (in particular, Qlogic FC cards where we can't tell when it hasn't been us that have loaded the F/W whether or not SCCLUN is in effect or not).
2000-10-16Update OpenBSD with respect to Solaris/FreeBSD/NetBSD/Linux versions.mjacob
Major rewrite of a lot of internals- far too many to list. Cleaner locking, more paramaterization, an isp_prt logging function that handles debugging as well as error printouts. We also should no longer hang if there is no Loop for Fibre Channel when booting. The file ispvar.h now contains a list of all platform required macros and explanation as to what they're for. This should make maintenance easier.
2000-07-06Resync with FreeBSD/NetBSD. Salient features are that the mailbox commandmjacob
routines are not necessarily polled now- this should cut down on some of the spurious lost commands that have occurred. Also, we now watchdog each command and make sure that command constipation doesn't occur (which it has been documented to do on the QLA2100 cards).
2000-04-06Roll internal revision level. Put in Fibre Channel topology storagemjacob
and definitions.
2000-02-20Add 12160 (Ultra3) support. Add files and changes for target mode support.mjacob
Do some SNS fabric suppor tchanges. Roll revision levels. Tested on GENERIC i386 && sparc.
1999-12-16Add in dual LVD (1280) support. Reorganize the model codes slightlymjacob
and add in IS_DUALBUS and IS_ULTRA2 macros.
1999-11-22Far too many things to note- a complete new revision coming in includingmjacob
FABRIC support...
1999-04-04Roll out changes because the tree is frozen.mjacob
1999-04-04Change f/w revision to major,minor,micro version. Add in ISP1040C definition.mjacob
1999-03-25roll internal revision levels and enable 1080 supportmjacob
1999-03-17fix OpenBSD headersmjacob
1999-03-17complete update of ISP driver- includes 2100 FC supportmjacob
1998-03-24add isp driver from netbsd, more munging neededTheo de Raadt