1. 14 7月, 2008 4 次提交
  2. 19 6月, 2008 1 次提交
    • S
      ieee1394: Kconfig menu touch-up · 9499fe2b
      Stefan Richter 提交于
      Rename and reorder some prompts and modify some help texts.
      The result:
      
        -------------------- IEEE 1394 (FireWire) support --------------------
        *** Enable only one of the two stacks, unless you know what you are doing ***
        New FireWire stack, EXPERIMENTAL
          OHCI-1394 controllers
          Storage devices (SBP-2 protocol)
        Stable FireWire stack
          OHCI-1394 controllers
          PCILynx controller
          Storage devices (SBP-2 protocol)
            Enable replacement for physical DMA in SBP2
          IP over 1394
          raw1394 userspace interface
          video1394 userspace interface
          dv1394 userspace interface (deprecated)
          Excessive debugging output
      
      The old prompts for reference:
      
        -------------------- IEEE 1394 (FireWire) support --------------------
        IEEE 1394 (FireWire) support - alternative stack, EXPERIMENTAL
          Support for OHCI FireWire host controllers
          Support for storage devices (SBP-2 protocol driver)
        IEEE 1394 (FireWire) support
          *** Subsystem Options ***
          Excessive debugging output
          *** Controllers ***
          Texas Instruments PCILynx support
          OHCI-1394 support
          *** Protocols ***
          OHCI-1394 Video support
          SBP-2 support (Harddisks etc.)
            Enable replacement for physical DMA in SBP2
          IP over 1394
          OHCI-DV I/O support (deprecated)
          Raw IEEE1394 I/O support
      Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
      9499fe2b
  3. 21 5月, 2008 1 次提交
  4. 02 5月, 2008 1 次提交
  5. 26 4月, 2008 2 次提交
    • T
      ieee1394: silence defined but not used warning in non-modular builds · e3864970
      Tony Breeds 提交于
      Currently the kernel will issue the following warning:
      drivers/ieee1394/raw1394.c:2938: warning: 'raw1394_id_table' defined but not used
      Add #ifdef MODULE guards around the declaration.
      Signed-off-by: NTony Breeds <tony@bakeyournoodle.com>
      
      Ditto with dv1394_id_table and video1394_id_table.
      Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
      e3864970
    • P
      ieee1394: rawiso: requeue packet for transmission after skipped cycle · cc9429bc
      Pieter Palmers 提交于
      As it seems, some host controllers have issues that can cause them to
      skip cycles now and then when using large packets. I suspect that this
      is due to DMA not succeeding in time. If the transmit fifo can't contain
      more than one packet (big packets), the DMA should provide a new packet
      each cycle (125us). I am under the impression that my current PCI
      express test system can't guarantee this.
      
      In any case, the patch tries to provide a workaround as follows:
      The DMA program descriptors are modified such that when an error occurs,
      the DMA engine retries the descriptor the next cycle instead of
      stalling. This way no data is lost. The side effect of this is that
      packets are sent with one cycle delay. This however might not be that
      much of a problem for certain protocols (e.g. AM824). If they use
      padding packets for e.g. rate matching they can drop one of those to
      resync the streams.
      
      The amount of skips between two userspace wakeups is counted. This
      number is then propagated to userspace through the upper 16 bits of the
      'dropped' parameter. This allows unmodified userspace applications due
      to the following:
      1) libraw simply passes this dropped parameter to the user application
      2) the meaning of the dropped parameter is: if it's nonzero, something
      bad has happened. The actual value of the parameter at this moment does
      not have a specific meaning.
      
      A libraw client can then retrieve the number of skipped cycles and
      account for them if needed.
      Signed-off-by: NPieter Palmers <pieterp@joow.be>
      Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
      cc9429bc
  6. 19 4月, 2008 1 次提交
  7. 18 4月, 2008 12 次提交
  8. 14 3月, 2008 1 次提交
  9. 20 2月, 2008 1 次提交
  10. 16 2月, 2008 1 次提交
  11. 02 2月, 2008 1 次提交
  12. 31 1月, 2008 8 次提交
  13. 30 1月, 2008 1 次提交
    • B
      x86: early boot debugging via FireWire (ohci1394_dma=early) · f212ec4b
      Bernhard Kaindl 提交于
      This patch adds a new configuration option, which adds support for a new
      early_param which gets checked in arch/x86/kernel/setup_{32,64}.c:setup_arch()
      to decide wether OHCI-1394 FireWire controllers should be initialized and
      enabled for physical DMA access to allow remote debugging of early problems
      like issues ACPI or other subsystems which are executed very early.
      
      If the config option is not enabled, no code is changed, and if the boot
      paramenter is not given, no new code is executed, and independent of that,
      all new code is freed after boot, so the config option can be even enabled
      in standard, non-debug kernels.
      
      With specialized tools, it is then possible to get debugging information
      from machines which have no serial ports (notebooks) such as the printk
      buffer contents, or any data which can be referenced from global pointers,
      if it is stored below the 4GB limit and even memory dumps of of the physical
      RAM region below the 4GB limit can be taken without any cooperation from the
      CPU of the host, so the machine can be crashed early, it does not matter.
      
      In the extreme, even kernel debuggers can be accessed in this way. I wrote
      a small kgdb module and an accompanying gdb stub for FireWire which allows
      to gdb to talk to kgdb using remote remory reads and writes over FireWire.
      
      An version of the gdb stub fore FireWire is able to read all global data
      from a system which is running a a normal kernel without any kernel debugger,
      without any interruption or support of the system's CPU. That way, e.g. the
      task struct and so on can be read and even manipulated when the physical DMA
      access is granted.
      
      A HOWTO is included in this patch, in Documentation/debugging-via-ohci1394.txt
      and I've put a copy online at
      ftp://ftp.suse.de/private/bk/firewire/docs/debugging-via-ohci1394.txt
      
      It also has links to all the tools which are available to make use of it
      another copy of it is online at:
      ftp://ftp.suse.de/private/bk/firewire/kernel/ohci1394_dma_early-v2.diffSigned-Off-By: NBernhard Kaindl <bk@suse.de>
      Tested-By: NThomas Renninger <trenn@suse.de>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      f212ec4b
  14. 25 1月, 2008 1 次提交
  15. 12 1月, 2008 1 次提交
  16. 04 11月, 2007 1 次提交
  17. 02 11月, 2007 1 次提交
  18. 01 11月, 2007 1 次提交