AHD: Add a DELAY() in the XPT_RESET_BUS path to avoid a race.
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 23 Jul 2009 09:06:24 +0000 (02:06 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 23 Jul 2009 09:06:24 +0000 (02:06 -0700)
commite037acafa7b95d0af56ea978bad8678bb08c6823
treecf03b66db1fd61fdf31023e5079f7aa636f27e04
parenta7aa6fa110c8d2d240891397ea78b63896c22226
AHD: Add a DELAY() in the XPT_RESET_BUS path to avoid a race.

The exact race isn't known but adding the DELAY() appears to fix
it.  It could be related to ccb's queued prior to the bus reset
which we have to abort.

With-help-from: Peter Avalos <pavalos@theshell.com>
sys/dev/disk/aic7xxx/aic79xx_osm.c