• Andrew Morton's avatar
    [PATCH] i2o subsystem minor bugfixes · 50d89de7
    Andrew Morton authored
    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)
    50d89de7
i2o_core.c 90.6 KB