Skip to content
  • Stuart Swales's avatar
    [SCSI] initio: fix module hangs on loading · e2d435ea
    Stuart Swales authored
    
    
    I've verified (on my Initio 9100 with a DAT drive) that the
    2.6.24-rc8-git6 initio module still hangs on loading.
    
    These fixes (other than the printk) are needed to get the module to load
    ok (and work correctly) with my adapter & tape drive.
    
    a) printk cosmetic fix
    
    b) cblk->sglen needs setting for later DMA I/O routines to use
    
    c) host->bios_addr needs setting for debug output correctness
    
    d) semaph & semaph_lock initialisation had got lost since 2.6.22
    
    e) since 2.6.22 the bios data address was truncated to 16 bits (needs 20
    when shifted left)
    
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
    e2d435ea