]> git.hungrycats.org Git - linux/commit
[PATCH] i2o subsystem minor bugfixes
authorAndrew Morton <akpm@osdl.org>
Sat, 6 Mar 2004 16:50:43 +0000 (08:50 -0800)
committerJaroslav Kysela <perex@suse.cz>
Sat, 6 Mar 2004 16:50:43 +0000 (08:50 -0800)
commit50d89de71f02f932d7cf998a0ef1aa2823139d72
treed25bfe1ac03e3520005eb42c5a8f0beb7419c200
parent84e0e179e6097bca3f8fb11375fdd02c9c87537c
[PATCH] i2o subsystem minor bugfixes

From: Markus Lidel <Markus.Lidel@shadowconnect.com>

drivers/message/i2o/i2o_block.c:

 - corrected the initialization sequence of the request queues.

 - added initialization to queue spinlocks.

 - release device in i2o_scan because else the device could not be queried.

 - i2o_block event threads wait on signal KILL but signal TERM was sent.

drivers/message/i2o/i2o_core.c:

 - set the HRT length to 0 at initialization, to avoid calling free on
   unallocated memory.

 - i2o_core event threads wait on signal KILL but signal TERM was sent.

 - added a limit of 3 tries to get the HRT from the controller.

 - removed the dpt parameter, which was used to force DPT controllers get
   handled by the i2o driver.  Now all available i2o controllers will be
   handled by this driver.

drivers/message/i2o/i2o_scsi.c:

 - beautifying of printk calls.

 - added scsi_unregister to properly clean up on module unload.

drivers/message/i2o/Kconfig:

 - added help for i2o_block and i2o_scsi to describe the differences between
   the two drivers.

include/linux/i2o-dev.h:

 - cleaned typo "tate" into "state".

include/linux/i2o.h:

 - removed defines from i2o_block and insert it here.

(Acked by Alan)
drivers/message/i2o/Kconfig
drivers/message/i2o/i2o_block.c
drivers/message/i2o/i2o_core.c
drivers/message/i2o/i2o_scsi.c
include/linux/i2o-dev.h
include/linux/i2o.h