1. 27 Jan, 2007 1 commit
  2. 11 Jan, 2007 4 commits
  3. 10 Jan, 2007 3 commits
  4. 09 Jan, 2007 2 commits
    • Wim Van Sebroeck's avatar
      [WATCHDOG] pcwd_usb.c - get heartbeat from dip switches · f3dc0733
      Wim Van Sebroeck authored
      The PCWD cards normally use the heartbeat that is set via
      the dip-switches of the card. There are only 3 switches,
      thus 8 combinations that each have a certain heartbeat.
      The card can however be programmed with a heartbeat from
      1 till 65535 seconds. This is what our driver does: it
      programs the heartbeat on the card.
      
      There are however a lot of people that don't know that
      we set the heartbeat of the watchdog card to the value
      provided by the heartbeat module parameter. Instead they
      think that the heartbeat value is the same as set by the
      dip-switches.
      
      This patch changes the driver so that at startup you can
      take the heartbeat from the dip-switches. You do this
      by setting the heartbeat module parameter to 0. This
      patch also makes this the default behaviour.
      Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
      f3dc0733
    • Wim Van Sebroeck's avatar
      [WATCHDOG] pcwd.c - e-mail adres update · f9146f26
      Wim Van Sebroeck authored
      update Simon Machell's e-mail adres
      Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
      f9146f26
  5. 08 Jan, 2007 2 commits
    • Wim Van Sebroeck's avatar
      [WATCHDOG] pcwd_usb.c - get heartbeat from dip switches · 2ef473de
      Wim Van Sebroeck authored
      The PCWD cards normally use the heartbeat that is set via
      the dip-switches of the card. There are only 3 switches,
      thus 8 combinations that each have a certain heartbeat.
      The card can however be programmed with a heartbeat from
      1 till 65535 seconds. This is what our driver does: it
      programs the heartbeat on the card.
      
      There are however a lot of people that don't know that
      we set the heartbeat of the watchdog card to the value
      provided by the heartbeat module parameter. Instead they
      think that the heartbeat value is the same as set by the
      dip-switches.
      
      This patch changes the driver so that at startup you can
      take the heartbeat from the dip-switches. You do this
      by setting the heartbeat module parameter to 0. This
      patch also makes this the default behaviour.
      Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
      2ef473de
    • Wim Van Sebroeck's avatar
      [WATCHDOG] pcwd_usb.c - document includes · d26d9096
      Wim Van Sebroeck authored
      document and review the include files.
      Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
      d26d9096
  6. 07 Jan, 2007 2 commits
    • Wim Van Sebroeck's avatar
      [WATCHDOG] pcwd_pci.c - spinlock fixes · 045798b5
      Wim Van Sebroeck authored
      the keepalive and get_temperature functions should
      use spinlocks also.
      Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
      045798b5
    • Wim Van Sebroeck's avatar
      [WATCHDOG] pcwd_pci.c - get heartbeat from dip switches · 39e3a055
      Wim Van Sebroeck authored
      The PCWD cards normally use the heartbeat that is set via
      the dip-switches of the card. There are only 3 switches,
      thus 8 combinations that each have a certain heartbeat.
      The card can however be programmed with a heartbeat from
      1 till 65535 seconds. This is what our driver does: it
      programs the heartbeat on the card.
      
      There are however a lot of people that don't know that
      we set the heartbeat of the watchdog card to the value
      provided by the heartbeat module parameter. Instead they
      think that the heartbeat value is the same as set by the
      dip-switches.
      
      This patch changes the driver so that at startup you can
      take the heartbeat from the dip-switches. You do this
      by setting the heartbeat module parameter to 0. This
      patch also makes this the default behaviour.
      Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
      39e3a055
  7. 19 Dec, 2006 1 commit
  8. 18 Dec, 2006 6 commits
  9. 17 Dec, 2006 10 commits
  10. 16 Dec, 2006 9 commits
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband · c7ef259b
      Linus Torvalds authored
      * 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband:
        IB/mthca: Use DEFINE_MUTEX() instead of mutex_init()
        IB/mthca: Add HCA profile module parameters
        IB/srp: Fix FMR mapping for 32-bit kernels and addresses above 4G
        IB: Fix ib_dma_alloc_coherent() wrapper
      c7ef259b
    • Linus Torvalds's avatar
      Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev · 99f5e971
      Linus Torvalds authored
      * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev:
        [PATCH] pata_via: Cable detect error
        [PATCH] Fix help text for CONFIG_ATA_PIIX
        [PATCH] initializer entry defined twice in pata_rz1000
        [PATCH] ata: fix platform_device_register_simple() error check
        [PATCH] ahci: do not mangle saved HOST_CAP while resetting controller
        [PATCH] libata: don't initialize sg in ata_exec_internal() if DMA_NONE (take #2)
        [libata] sata_svw: Disable ATAPI DMA on current boards (errata workaround)
        [libata] use kmap_atomic(KM_IRQ0) in SCSI simulator
        [PATCH] ata_piix: use piix_host_stop() in ich_pata_ops
        [PATCH] ata_piix: IDE mode SATA patch for Intel ICH9
      99f5e971
    • Linus Torvalds's avatar
      Make workqueue bit operations work on "atomic_long_t" · a08727ba
      Linus Torvalds authored
      On architectures where the atomicity of the bit operations is handled by
      external means (ie a separate spinlock to protect concurrent accesses),
      just doing a direct assignment on the workqueue data field (as done by
      commit 4594bf15) can cause the
      assignment to be lost due to lack of serialization with the bitops on
      the same word.
      
      So we need to serialize the assignment with the locks on those
      architectures (notably older ARM chips, PA-RISC and sparc32).
      
      So rather than using an "unsigned long", let's use "atomic_long_t",
      which already has a safe assignment operation (atomic_long_set()) on
      such architectures.
      
      This requires that the atomic operations use the same atomicity locks as
      the bit operations do, but that is largely the case anyway.  Sparc32
      will probably need fixing.
      
      Architectures (including modern ARM with LL/SC) that implement sane
      atomic operations for SMP won't see any of this matter.
      
      Cc: Russell King <rmk+lkml@arm.linux.org.uk>
      Cc: David Howells <dhowells@redhat.com>
      Cc: David Miller <davem@davemloft.com>
      Cc: Matthew Wilcox <matthew@wil.cx>
      Cc: Linux Arch Maintainers <linux-arch@vger.kernel.org>
      Cc: Andrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      a08727ba
    • Linus Torvalds's avatar
      Fix incorrect user space access locking in mincore() · 2f77d107
      Linus Torvalds authored
      Doug Chapman noticed that mincore() will doa "copy_to_user()" of the
      result while holding the mmap semaphore for reading, which is a big
      no-no.  While a recursive read-lock on a semaphore in the case of a page
      fault happens to work, we don't actually allow them due to deadlock
      schenarios with writers due to fairness issues.
      
      Doug and Marcel sent in a patch to fix it, but I decided to just rewrite
      the mess instead - not just fixing the locking problem, but making the
      code smaller and (imho) much easier to understand.
      
      Cc: Doug Chapman <dchapman@redhat.com>
      Cc: Marcel Holtmann <holtmann@redhat.com>
      Cc: Hugh Dickins <hugh@veritas.com>
      Cc: Andrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      2f77d107
    • Alan's avatar
      [PATCH] pata_via: Cable detect error · 5c9a7611
      Alan authored
      The UDMA66 VIA hardware has no controller side cable detect bits we can
      use. This patch minimally fixes the problem by reporting unknown in this
      case and using drive side detection.
      
      The old drivers/ide code does some additional tricks but those aren't
      appropriate now we are in -rc.
      
      Without this update UDMA66 via controllers run slowly. They don't fail so
      it's a borderline call whether this is -rc material or not.
      Signed-off-by: default avatarAlan Cox <alan@redhat.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      5c9a7611
    • Alan's avatar
      [PATCH] Fix help text for CONFIG_ATA_PIIX · 2bfc3611
      Alan authored
      > Thanks for clarifying Bill, and sorry Alan. ata_piix does indeed work
      > correctly. The help text is a bit confusing:
      >
      > config ATA_PIIX
      >         tristate "Intel PIIX/ICH SATA support"
      >         depends on PCI
      >         help
      >           This option enables support for ICH5/6/7/8 Serial ATA.
      >           If PATA support was enabled previously, this enables
      >           support for select Intel PIIX/ICH PATA host controllers.
      
      New help text
      Signed-off-by: default avatarAlan Cox <alan@redhat.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      2bfc3611
    • Ira Snyder's avatar
      [PATCH] initializer entry defined twice in pata_rz1000 · 0457882f
      Ira Snyder authored
      This removes the extra definition of the .error_handler member
      in the pata_rz1000 driver.
      Signed-off-by: default avatarIra W. Snyder <kernel@irasnyder.com>
      Cc: Jeff Garzik <jeff@garzik.org>
      Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      0457882f
    • Akinobu Mita's avatar
      [PATCH] ata: fix platform_device_register_simple() error check · 9825d73c
      Akinobu Mita authored
      The return value of platform_device_register_simple() should be checked
      by IS_ERR().
      
      Cc: Jeff Garzik <jgarzik@pobox.com>
      Acked-by: default avatarAlan Cox <alan@lxorguk.ukuu.org.uk>
      Signed-off-by: default avatarAkinobu Mita <akinobu.mita@gmail.com>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      9825d73c
    • Tejun Heo's avatar
      [PATCH] ahci: do not mangle saved HOST_CAP while resetting controller · 551c012d
      Tejun Heo authored
      Do not mangle with HOST_CAP while resetting controller.  The code is
      there for a historical reason.  The mangling breaks controller feature
      detection and 0 PORTS_IMPL workaround code.
      
      This problem was spotted by Manoj Kasichainula.
      Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
      Cc: Manoj Kasichainula <manoj@io.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      551c012d