Skip to content
  • Salyzyn, Mark's avatar
    [SCSI] I2O: move pci_request_regions() just behind pci_enable_device() · 9638d89a
    Salyzyn, Mark authored
    
    
    The problem in dpt_i2o could be the pci config space accesses it
    triggers as it loads, dangerous to do if there is any I/O activity going
    on in the other driver (probable if a boot driver I guess).
    
    I approve this patch to dpt_i2o.c, and am applying it to the Adaptec
    branch of the driver.
    
    Thanks for the investigation Ryoji.
    
    ---
    
    In linux 2.6.15, data transfer does hang when both dpt_i2o
    and i2o_block drivers are loaded.
    It seems that location of pci_request_regions() are wrong.
    I moved it just behind pci_enable_device() like other drivers,
    and it becomes fine.
    
    Signed-off-by: default avatarRyoji Kamei <kamei@miraclelinux.com>
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
    9638d89a