• Matthew Wilcox's avatar
    [PATCH] Update PA-RISC PCI host adapter · d8f08b67
    Matthew Wilcox authored
     - Use CONFIG_64BIT instead of CONFIG_PARISC64
     - Rename lba_cfg_ops to elroy_cfg_ops
     - Don't check for a non-1,2 or 4 size in the cfg_ops
     - Call LBA_CFG_ADDR_SETUP instead of LBA_CFG_TR4_ADDR_SETUP in elroy_cfg_ops
     - Don't read back from LBA_PCI_CFG_ADDR in LBA_CFG_TR4_ADDR_SETUP
     - Remove LBA_FLAG_NO_DMA_DURING_CFG since it's always set for elroy_cfg_ops
     - Remove LBA_TR4PLUS since we no longer need to test for it.
     - Inline lba_common_init() into lba_driver_probe()
     - Move TR2.1 check into an elroy-only path
     - Check for LBAs that aren't Elroy, Mercury or Quicksilver.
     - Remove all casts to 'int' in the driver, got rid of some unnecessary parens
       and deleted the obsolete part of a comment.
     - Return -EINVAL for config space >255
     - Always return 0 on config read success
     - Remove definitions of TRUE and FALSE
     - ioremap fix for port-io on non-PAT machines
     - Remove the bad casts from the register accessors
     - With those gone, I could see the piop_base needed to be remapped.
     - Fix all ioremap abuse noticed by CONFIG_DEBUG_IOREMAP on an N4000.
    Signed-off-by: default avatarGrant Grundler <grundler@parisc-linux.org>
    Signed-off-by: default avatarMatthew Wilcox <willy@parisc-linux.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    d8f08b67
lba_pci.c 47.7 KB