Skip to content
  1. Apr 28, 2008
  2. Apr 27, 2008
  3. Apr 25, 2008
    • Jeff Garzik's avatar
      [SCSI] aha152x, eata, u14-34f: minor irq handler cleanups · e19166d5
      Jeff Garzik authored
      
      
      - remove pointless casts from void*
      
      - remove needless references to 'irq' function argument, when that
        information is already stored somewhere in a driver-private struct.
      
      - where the 'irq' function argument is known never to be used, rename
        it to 'dummy' to make this more obvious
      
      - remove always-false tests for dev_id==NULL
      
      - remove always-true tests for 'irq == host_struct->irq'
      
      - replace per-irq lookup functions and tables with a direct reference
        to data object obtained via 'dev_id' function argument, passed from
        request_irq()
      
      This change's main purpose is to prepare for the patchset in
      jgarzik/misc-2.6.git#irq-remove, that explores removal of the
      never-used 'irq' argument in each interrupt handler.
      
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
      e19166d5
  4. Apr 24, 2008
  5. Apr 23, 2008
  6. Apr 22, 2008
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband · 80750147
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband:
        IB/ipath: Correct capitalization "IntX" -> "INTx"
        IB/ipath: Remove tests of PCI_MSI in ipath_iba7220.c
        IB/ipath: Remove dependency on PCI_MSI || HT_IRQ
        IB/ipath: Build IBA7220 code unconditionally
        IB/ipath: Remove reference to dev->class_dev
        IB/ipath: Fix module parameter description for disable_sma
        RDMA/nes: Remove unneeded function declarations
      
      Fix up conflict in drivers/infiniband/hw/ipath/ipath_verbs.c (by picking
      the solution from the infiniband branch)
      80750147
    • Roland Dreier's avatar
      IB/ipath: Correct capitalization "IntX" -> "INTx" · bc751fe6
      Roland Dreier authored
      
      
      Match what the PCI specification uses.
      
      Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
      bc751fe6
    • Roland Dreier's avatar
      IB/ipath: Remove tests of PCI_MSI in ipath_iba7220.c · 44957572
      Roland Dreier authored
      
      
      The PCI MSI interface is stubbed out properly so that all the
      functions just return failure if PCI_MSI=n, so there's no reason to
      have "#ifdef CONFIG_PCI_MSI" blocks in ipath_iba7220.c.
      
      Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
      44957572
    • Roland Dreier's avatar
      IB/ipath: Remove dependency on PCI_MSI || HT_IRQ · 480f58e6
      Roland Dreier authored
      
      
      Before IBA7220 support was added, the ipath driver didn't support any
      hardware unless PCI_MSI and/or HT_IRQ was enabled.  However, the
      IBA7220 can generate INTx interrupts, so it makes sense to allow the
      driver to be build even if PCI_MSI=n and HT_IRQ=n.
      
      Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
      480f58e6
    • Roland Dreier's avatar
      IB/ipath: Build IBA7220 code unconditionally · 37a6ab52
      Roland Dreier authored
      
      
      The new IBA7220 code added a call to ipath_init_iba7220_funcs() that
      is compiled unconditionally, but only built the IBA7220 code if
      PCI_MSI is enabled.  Fix this by building the IBA7220 file
      unconditonally.
      
      This fixes build breakage when PCI_MSI=n, HT_IRQ=y and
      INFINIBAND_IPATH=y reported by Ingo Molnar <mingo@elte.hu>:
      
       drivers/built-in.o: In function `ipath_init_one':
       ipath_driver.c:(.devinit.text+0x1e5bc): undefined reference to `ipath_init_iba7220_funcs'
      
      Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
      37a6ab52
    • Roland Dreier's avatar
      IB/ipath: Remove reference to dev->class_dev ... · 88a8317b
      Roland Dreier authored
      IB/ipath: Remove reference to dev->class_dev                                                        
                                                                                                          
      Commit 124b4dcb ("IB/ipath: add calls to new 7220 code and enable in                                
      build") inadvertently added core to set dev->class_dev.dev back into                                
      ib_ipath.  This is completely redundant since commit 1912ffbb
      
       ("IB: Set                             
      class_dev->dev in core for nice device symlink"), which removed                                     
      class_dev setting from low-level drivers, and also will break the build
      when class_dev is removed completely from struct ib_device.
      
      Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
      88a8317b
    • Paul Bolle's avatar
      IB/ipath: Fix module parameter description for disable_sma · 9862874d
      Paul Bolle authored
      
      
      Describe disable_sma parameter with its name rather than the internal
      ib_ipath_disable_sma variable name, so that the description shows up
      properly in modinfo.
      
      Signed-off-by: default avatarPaul Bolle <pebolle@tiscali.nl>
      Acked-by: default avatarRalph Campbell <ralph.campbell@qlogic.com>
      Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
      9862874d
    • Roland Dreier's avatar
      RDMA/nes: Remove unneeded function declarations · 6a5546e7
      Roland Dreier authored
      
      
      Remove redundant static declarations of functions that are defined
      before they are used in the source.
      
      Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
      6a5546e7
    • Stephen Rothwell's avatar
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc · 135cedad
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc: (26 commits)
        mmc: sdio_ops.c should #include "sdio_ops.h"
        mmc: proper prototypes for mmc_attach_*()
        mmc: make __mmc_release_bus() static
        sdhci: improve no card, no reset quirk
        MMC: OMAP: Do not busy wait for end of command for ever
        MMC: OMAP: Start new commands from work queue instead of irq
        MMC: OMAP: Lazy clock shutdown
        MMC: OMAP: Move failing command abortion to workqueue
        MMC: OMAP: Use tasklet instead of workqueue for cover switch notification
        MMC: OMAP: Check the get_cover_state function pointer if not set
        MMC: OMAP: Using setup_timer instead of init_timer
        MMC: OMAP: Abort stuck commands
        MMC: OMAP: General cleanup for MMC multislot support
        MMC: OMAP: Power functions modified to MMC multislot support
        MMC: OMAP: Fix timeout calculation for MMC multislot support
        MMC: OMAP: New release dma and abort xfer functions
        MMC: OMAP: Add back cover switch support
        MMC: OMAP: Introduce new multislot structure and change driver to use it
        MMC: OMAP: Remove cover switch handling to allow adding multislot support
        MMC: OMAP: Fix the BYTEBLOCK capability removal
        ...
      135cedad
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6 · 8a322726
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6:
        [SPARC]: Remove SunOS and Solaris binary support.
      8a322726
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/juhl/trivial · e9b62693
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/juhl/trivial: (24 commits)
        DOC:  A couple corrections and clarifications in USB doc.
        Generate a slightly more informative error msg for bad HZ
        fix typo "is" -> "if" in Makefile
        ext*: spelling fix prefered -> preferred
        DOCUMENTATION:  Use newer DEFINE_SPINLOCK macro in docs.
        KEYS:  Fix the comment to match the file name in rxrpc-type.h.
        RAID: remove trailing space from printk line
        DMA engine: typo fixes
        Remove unused MAX_NODES_SHIFT
        MAINTAINERS: Clarify access to OCFS2 development mailing list.
        V4L: Storage class should be before const qualifier (sn9c102)
        V4L: Storage class should be before const qualifier
        sonypi: Storage class should be before const qualifier
        intel_menlow: Storage class should be before const qualifier
        DVB: Storage class should be before const qualifier
        arm: Storage class should be before const qualifier
        ALSA: Storage class should be before const qualifier
        acpi: Storage class should be before const qualifier
        firmware_sample_driver.c: fix coding style
        MAINTAINERS: Add ati_remote2 driver
        ...
      
      Fixed up trivial conflicts in firmware_sample_driver.c
      e9b62693
    • Linus Torvalds's avatar
      Merge branch 'for-2.6.26' of git://git.kernel.dk/linux-2.6-block · 548453fd
      Linus Torvalds authored
      * 'for-2.6.26' of git://git.kernel.dk/linux-2.6-block:
        block: fix blk_register_queue() return value
        block: fix memory hotplug and bouncing in block layer
        block: replace remaining __FUNCTION__ occurrences
        Kconfig: clean up block/Kconfig help descriptions
        cciss: fix warning oops on rmmod of driver
        cciss: Fix race between disk-adding code and interrupt handler
        block: move the padding adjustment to blk_rq_map_sg
        block: add bio_copy_user_iov support to blk_rq_map_user_iov
        block: convert bio_copy_user to bio_copy_user_iov
        loop: manage partitions in disk image
        cdrom: use kmalloced buffers instead of buffers on stack
        cdrom: make unregister_cdrom() return void
        cdrom: use list_head for cdrom_device_info list
        cdrom: protect cdrom_device_info list by mutex
        cdrom: cleanup hardcoded error-code
        cdrom: remove ifdef CONFIG_SYSCTL
      548453fd
    • Adrian Bunk's avatar
      frv: unexport kmap_atomic_to_page · 9fd91217
      Adrian Bunk authored
      
      
      This patch removes the no longer used export of kmap_atomic_to_page.
      
      Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      9fd91217
    • Adrian Bunk's avatar
      frv: remove HARD_RESET_NOW() · eb0cc5fe
      Adrian Bunk authored
      
      
      HARD_RESET_NOW() was unused.
      
      And one of the few remaining cli() users.
      
      Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      eb0cc5fe