• HighPoint Linux Team's avatar
    [SCSI] hptiop: HighPoint RocketRAID 3xxx controller driver · ede1e6f8
    HighPoint Linux Team authored
    
    
    HighPoint RocketRAID 3220/3320 series 8 channel PCI-X SATA RAID Host
    Adapters.
    
    Fixes from original submission:
    
    Merge Andrew Morton's patches:
    - Provide locking for global list
    - Fix debug printks
    - uninline function with multiple callsites
    - coding style fixups
    - remove unneeded casts of void*
    - kfree(NULL) is legal
    - Don't "succeed" if register_chrdev() failed - otherwise we'll later
      unregister a not-registered chrdev.
    - Don't return from hptiop_do_ioctl() with the spinlock held.
    - uninline __hpt_do_ioctl()
    
    Update for Arjan van de Ven's comments:
    - put all asm/ includes after the linux/ ones
    - replace mdelay with msleep
    - add pci posting flush
    - do not set pci command reqister in map_pci_bar
    - do not try merging sg elements in hptiop_buildsgl()
    - remove unused outstandingcommands member from hba structure
    - remove unimplemented hptiop_abort() handler
    - remove typedef u32 hpt_id_t
    
    Other updates:
    - fix endianess
    Signed-off-by: default avatarHighPoint Linux Team <linux@highpoint-tech.com>
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
    ede1e6f8
hptiop.c 38 KB