Add SHUTDOWN_PRI_DRIVER and move all driver shutdown functions from
authorMatthew Dillon <dillon@dragonflybsd.org>
Wed, 11 Jul 2007 23:46:58 +0000 (23:46 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Wed, 11 Jul 2007 23:46:58 +0000 (23:46 +0000)
commit30527035be37e9c9f33a8a54603e78987e0cee38
tree76665ca7dffc52cd5b1d342d30584363544a18d5
parentd785777f98bb4beaf1f118251fbc06a44d4d844b
Add SHUTDOWN_PRI_DRIVER and move all driver shutdown functions from
SHUTDOWN_PRI_DEFAULT to SHUTDOWN_PRI_DRIVER.  This allows the CAM subsystem
to shutdown SCSI before individual SCSI drivers shutdown.

Reported-by: Peter Avalos <pavalos@theshell.com>
Dragonfly-bug: <http://bugs.dragonflybsd.org/issue713>
12 files changed:
sys/dev/atm/hea/eni.c
sys/dev/atm/hfa/fore_load.c
sys/dev/disk/aic7xxx/aic79xx_osm.c
sys/dev/disk/aic7xxx/aic7xxx_osm.c
sys/dev/netif/en_pci/if_en_pci.c
sys/dev/netif/fpa/if_fpa.c
sys/dev/netif/ie/if_ie.c
sys/dev/raid/aac/aac.c
sys/dev/raid/dpt/dpt_scsi.c
sys/dev/raid/iir/iir.c
sys/dev/raid/pst/pst-raid.c
sys/sys/eventhandler.h