• Matthew Wilcox's avatar
    [PATCH] sym53c8xx driver 2.1.18 · e35b6d40
    Matthew Wilcox authored
    Yes, there's a lot of changes here.  I've been busy :-P
    
     - Delete linux/version.h include as it's not necessary
     - Delete compatibility with ncr53c8xx configuration options
     - Convert to C99 initialisers
     - Delete the options: pci_parity, scsi_parity, min_sync, max_wide,
       max_offs, max_lun and pci_fix_up.  Some were unused, some are now
       unused.
     - Delete all the default settings from sym_conf.h that were unused.
     - Delete host_lock abstractions.
     - Replace custom jiffy handling with standard ones.
     - Replace u_long with unsigned long
     - Inline scsi_data_direction()
     - Use ioremap directly instead of indirecting through pci_map_mem.
     - Delete typedefs: bus_addr_t, ucmd_p, vm_offset_t, stcb_p,
       slcb_p, sccb_p, shcb_p, sym_device and sym_slot.
     - Use min() instead of MIN()
     - Use memcpy() instead of bcopy().
     - Delete code dependent on SYM_CONF_PCIQ_BROKEN_INTR as it's never defined.
     - Simplify the locking in sym_eh_handler().
     - Make the eh handlers static.
     - Use ctype.h instead of custom variants.
     - Use SYM_CONF_IOMAPPED and SYM_OPT_NO_BUS_MEMORY_MAPPING in a more
       consistent manner.
     - Remove check_region() and use pci_request_region instead.
     - Mark sym_detach() as __devexit.
     - Move many includes from sym_glue.h to sym_glue.c
     - Stop using Scsi_Cmnd.
     - Stop using ../hosts.h.
     - Simplify *_raw definitions.
     - Move PA-RISC specific code into its own function.
    e35b6d40
sym_glue.c 58.4 KB