freebsd-skq/sys/dev/aic7xxx
Justin T. Gibbs 31b6c79691 Add ahc_print_devinfo() to simplify some diagnostic output.
Switch to using the same AHC_SHOW_XXX format as the ahd driver.

Always give the target a MSG_INITIATOR_DET_ERR for unexpected
DT or ST phase errors.

Add AHC_SHOW_SELTO diagnostics.

Force renegotiation whenever an unexpected bus free occurs
to rule out a negotiation mismatch as the cause for the error.

Use "offset != 0" as an intenal indicator of "async" rather than
using a period of 0.

In ahc_fetch_devinfo(), correct a bug in getting "our id" as
target.  We weren't looking at all the SEQ_FLAGS that indicate
that we are still in a selected rather than reselected state.

Add support for the AHC_SHOW_MESSAGES debugging option.

If ahc_parse_msg() tells us to terminate the message loop,
do so without acking the message.  The message may be one
that the sequencer needs to handle on its own.

In ahc_parse_msg() return MSGLOOP_TERMINATED for all messages
the sequencer handles.

Allocate storage for, and track, seeprom contents in our softc.

Touch all SCB bytes to avoid parity errors should one of our
debugging routines read an otherwise uninitiatlized byte.

S/G lists must be 8 byte aligned.  Reflect this in our DMA tag.

"the the" -> "the" in a comment

When pausing the card to perform error recovery, ensure that we
are not in the process of being selected or have just been selected
but have not yet handled that selection.  This leaves only one other
race window, in the command complete handler, that needs to be fixed
to make recovery 100% bullet proof.

Convert a few straglers from bsd u_intX_t to inttypes uintX_t.

Remove unused variables.

Split out searching of the untagged holding queues to its own
routine.  In certain recovery scenarios, we want to just
remove entries in the untagged queue without touching related
transactions that are in the QINFIFO or WAITING queues that are
searched by ahc_search_qinfifo().

Add an implementation of the ahc_print_register() routine which
"pretty prints" registers.  The extra bloat in the form of string
tables for this feature is controlled by the AHC_REG_PRETTY_PRINT
option.

Fix a few bugs in ahc_enable_lun() that could prevent controllers
lacking the multiple-target-id feature from changing "our id" on
the fly.  Add a large comment to this section while I'm here
describing the restrictions on "id switching".
2002-08-31 06:41:37 +00:00
..
aicasm Update assembler syntax and assembler to allow generation of register 2002-08-31 06:39:41 +00:00
ahc_eisa.c Allow the ahc and ahd drivers to be built as modules. This also 2002-08-01 01:36:39 +00:00
ahc_pci.c Tell the user about a failed IRQ mapping rather than fail silently. 2002-08-31 03:04:08 +00:00
ahd_pci.c Hook up the ahd driver. 2002-06-06 16:35:58 +00:00
aic7xxx_93cx6.c Major update to the aic7xxx driver: 2002-04-24 16:58:51 +00:00
aic7xxx_93cx6.h Major update to the aic7xxx driver: 2002-04-24 16:58:51 +00:00
aic7xxx_inline.h Major update to the aic7xxx driver: 2002-04-24 16:58:51 +00:00
aic7xxx_osm.c Major update to the aic7xxx driver: 2002-04-24 16:58:51 +00:00
aic7xxx_osm.h Minimal tweak to not depend on NPCI, but still maintain portability 2002-07-23 06:31:45 +00:00
aic7xxx_pci.c Major update to the aic7xxx driver: 2002-04-24 16:58:51 +00:00
aic7xxx.c Add ahc_print_devinfo() to simplify some diagnostic output. 2002-08-31 06:41:37 +00:00
aic7xxx.h Major update to the aic7xxx driver: 2002-04-24 16:58:51 +00:00
aic7xxx.reg Major update to the aic7xxx driver: 2002-04-24 16:58:51 +00:00
aic7xxx.seq Major update to the aic7xxx driver: 2002-04-24 16:58:51 +00:00
aic79xx_inline.h Hook up the ahd driver. 2002-06-06 16:35:58 +00:00
aic79xx_osm.c Hook up the ahd driver. 2002-06-06 16:35:58 +00:00
aic79xx_osm.h Minimal tweak to not depend on NPCI, but still maintain portability 2002-07-23 06:31:45 +00:00
aic79xx_pci.c Hook up the ahd driver. 2002-06-06 16:35:58 +00:00
aic79xx.c Hook up the ahd driver. 2002-06-06 16:35:58 +00:00
aic79xx.h Hook up the ahd driver. 2002-06-06 16:35:58 +00:00
aic79xx.reg Enter the ahd driver which supports the Adaptec AIC7902 Ultra320, PCI-X 2002-06-05 19:52:45 +00:00
aic79xx.seq Enter the ahd driver which supports the Adaptec AIC7902 Ultra320, PCI-X 2002-06-05 19:52:45 +00:00
aic7770.c Pass unparsed serial eeprom information into the driver core. 2002-08-31 06:40:32 +00:00