• Andrew Morton's avatar
    [PATCH] cciss driver update · 3aee2f2f
    Andrew Morton authored
    Patch from: steve cameron <steve.cameron@hp.com>
    
    Steve sent out a nice series of 11 broken-out patches.  I have lumped them
    all together.
    
    - Makes the cciss driver compile in 2.5.60  (from tony@cantech.net.au)
    
    - From randy.dunlap@verizon.net, fix memory leaks in cciss driver
    
    - Allow cciss driver attached disks other than the first to be accessed.
    
    - Zero out cylinders when zeroing out other disk info in cciss driver.
    
    - Remove unused variable from cciss_scsi.c
    
    - This patch makes scsi commands to tape drives have no timeouts.
      Previously the timeout was 1000 seconds, too short, and nothing good
      happens when the timeout expires.  Better to have no timeout.  e.g.  mt -f
      /dev/st0 erase may take about 2 hours 30 min on AIT 100.
    
    - Remove unneeded cciss_scsi init code from cciss driver.
    
    - Remove udelay in command polling routine
    - extend timeout to 20 seconds (need for certain multiport storage box)
    - Remove unneeded init time code in cciss_scsi.c (thus allowing removal
      of udelay in command polling code.)
    
    - Factor out duplicated read capacity code into common routine in cciss
      driver.
    
    - factor duplicated geometry inquiry code into common routine in cciss
      driver.
    3aee2f2f
cciss.c 71 KB