aic79xx.h:
authorPeter Avalos <pavalos@dragonflybsd.org>
Thu, 5 Jul 2007 02:47:43 +0000 (02:47 +0000)
committerPeter Avalos <pavalos@dragonflybsd.org>
Thu, 5 Jul 2007 02:47:43 +0000 (02:47 +0000)
commit4b753d9eb8a3a071f2237decd2a55c53a7be58b9
tree17bb26065a658f60315f006f7581ac304b77b214
parent317c1a531d0099110101eb19209c3e1951d5d94e
aic79xx.h:
Add softc flag to indicate that we have seen at
least one selection since the last bus reset or
SE/LVD bus change.

aic79xx.c:
Fix a few style nits.

In ahd_update_pending_scbs(), only touch card registers
once we have found an SCB that needs to be updated.
This removes lots of clutter from PCI traces taken of
error recovery performed by the driver.

Short circuit the first selection iocell workaround handler
if we've run once since the last bus reset or iocell change.
This also removes clutter from PCI traces.

Note if completions are pending in the qoutfifo when we dump
card state.

Obtained-from: FreeBSD
sys/dev/disk/aic7xxx/aic79xx.c
sys/dev/disk/aic7xxx/aic79xx.h