• Andrew Morton's avatar
    [PATCH] 3ware 9000 driver update · 14d6e9e1
    Andrew Morton authored
    From: "Adam Radford" <aradford@amcc.com>
    
    This patch updates the 3w-9xxx driver in 2.6.7-rc2-mm1 to v2.26.02.000 to
    cleanup several things pointed out by Chris Hellwig / Jeff Garzik.
    
    Changes in this release:
      - Use descriptive defines for phase numbers.
      - Remove un-needed casts for TW_Command_Full
      - Rework eh_reset(), eh_abort() spinlocks.
      - Remove all mdelays, replace w/ schedule_timeout().
      - Remove MODULE_PARAM cmds_per_lun, add sysfs device attribute 'queue_depth'.
      - Remove twa_slave_configure().
      - Remove twa_info().
      - Remove all bitfields from structures, add bitmask macros.
      - Remove twa_setup_irq() wrapper, call directly.
      - Remove un-needed prototypes.
      - Propogate return value of pci_enable_device(), pci_set_dma_mask(), ioremap().
      - Use pci_request/free_regions().
      - Add missing call to pci_disable_device() on probe failure.
      - Unregister character ioctl interface in twa_remove().
      - Make some excessively lengthy lines < 80 columns.
      - Use pci_module_init() instead of pci_register_driver().
      - Remove bogus TW_IN_INTR check, fix twa_interrupt() spinlock.
      - Rev driver branch to .02 to denote kernel version.
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
    14d6e9e1
3w-9xxx.c 68.5 KB