Get rid of scsi_deinit(), and change scsi_init() back to a one-time
authormatthew <matthew@openbsd.org>
Sat, 24 Jul 2010 04:01:52 +0000 (04:01 +0000)
committermatthew <matthew@openbsd.org>
Sat, 24 Jul 2010 04:01:52 +0000 (04:01 +0000)
commit94be64eb8ccc2875bf59bdf622031b7a83d4dd91
treebae773b89245e45231293a45b75feb60888dc534
parentf081e678dadf51a99c6a6ddfc6379af4890e29a6
Get rid of scsi_deinit(), and change scsi_init() back to a one-time
initialization strategy, rather than pretending to do user reference
counting.  Previously, we would re-initialize the SCSI pool(9)s, which
had the fun consequence of causing sysctl(kern.pool.npools) to
infinite loop at IPL_VM.

ok krw@
sys/scsi/scsi_base.c
sys/scsi/scsiconf.c
sys/scsi/scsiconf.h