1. 20 6月, 2006 1 次提交
    • D
      [SPARC]: Kill __irq_itoa(). · c6387a48
      David S. Miller 提交于
      This ugly hack was long overdue to die.
      
      It was a way to print out Sparc interrupts in a more freindly format,
      since IRQ numbers were arbitrary opaque 32-bit integers which vectored
      into PIL levels.  These 32-bit integers were not necessarily in the
      0-->NR_IRQS range, but the PILs they vectored to were.
      
      The idea now is that we will increase NR_IRQS a little bit and use a
      virtual<-->real IRQ number mapping scheme similar to PowerPC.
      
      That makes this IRQ printing hack irrelevant, and furthermore only a
      handful of drivers actually used __irq_itoa() making it even less
      useful.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c6387a48
  2. 13 6月, 2006 5 次提交
    • B
      Fix broken suspend/resume in ohci1394 · b21efb59
      Ben Collins 提交于
      I've been experimenting to track down the cause of suspend/resume problems
      on my Compaq Presario X1050 laptop:
      
      http://bugzilla.kernel.org/show_bug.cgi?id=6075
      
      Essentially the ACPI Embedded Controller and keyboard controller would
      get into a bizarre, confused state after resume.
      
      I found that unloading the ohci1394 module before suspend and reloading it
      after resume made the problem go away.  Diffing the dmesg output from
      resume, with and without the module loaded, I found that with the module
      loaded I was missing these:
      
      PM: Writing back config space on device 0000:02:00.0 at offset 1. (Was 2100080, writing 2100007)
      PM: Writing back config space on device 0000:02:00.0 at offset 3. (Was 0, writing 8008)
      PM: Writing back config space on device 0000:02:00.0 at offset 4. (Was 0, writing 90200000)
      PM: Writing back config space on device 0000:02:00.0 at offset 5. (Was 1, writing 2401)
      PM: Writing back config space on device 0000:02:00.0 at offset f. (Was 20000100, writing 2000010a)
      
      The default PCI driver performs the pci_restore_state when no driver is
      loaded for the device.  When the ohci1394 driver is loaded, it is supposed
      to do this, however it appears not to do so.
      
      I created the patch below and tested it, and it appears to resolve the
      suspend problems I was having with the module loaded.  I only added in the
      pci_save_state and pci_restore_state - however, though I know little of
      this hardware, surely the driver should really be doing more than this when
      suspending and resuming?  Currently it does almost nothing, what if there
      are commands in progress, etc?
      Signed-off-by: NRobert Hancock <hancockr@shaw.ca>
      Cc: Jody McIntyre <scjody@modernduck.com>
      Cc: Ben Collins <bcollins@debian.org>
      Cc: Greg KH <greg@kroah.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NBen Collins <bcollins@ubuntu.com>
      b21efb59
    • B
      ohci1394: make phys_dma parameter read-only · fa9b7399
      Ben Collins 提交于
      Being able to switch physical DMA on and off at run time would be a nice
      feature but a PITA to support by highlevel drivers and userspace apps.
      Therefore allow it only to be set when the driver is being loaded.
      Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
      Signed-off-by: NBen Collins <bcollins@ubuntu.com>
      fa9b7399
    • B
      ohci1394: set address range properties · 4611ed38
      Ben Collins 提交于
      This patch supplies the API extension introduced by patch
      "ieee1394: extend lowlevel API for address range properties"
      with proper addresses.
      
      Like in patch ''ohci1394, sbp2: fix "scsi_add_device failed"
      with PL-3507 based devices'', 1 TeraByte is chosen as physical
      upper bound.  This leaves a window for the middle address range.
      This choice is only relevant for adapters which actually have a
      programmable pysical upper bound register.  (Only ALi and
      Fujitsu adapters are known for this.  Most adapters have a fixed
      bound at 4 GB.)  The middle address range is suitable for posted
      writes.
      
      AFAIK, PCILynx does not support physical DMA nor posted writes,
      therefore no equivalent change in the pcilynx driver is necessary.
      There is also a driver for GP2Lynx, although not in mainline Linux.
      I assume this hardware does not support these OHCI features either.
      Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
      Signed-off-by: NBen Collins <bcollins@ubuntu.com>
      4611ed38
    • B
      ieee1394/ohci1394: CycleTooLong interrupt management · 57fdb58f
      Ben Collins 提交于
      This patch modifies the ohci1394.c file to enable and manage the "cycle too
      long" interrupt.
      If this interrupt occurs, the "LinkControl.CycleMaster" bit of the host
      controller is reseted. This implies, that the host controller does not send
      "cycle start" packet anymore freezing then the isochronous communication.
      The management of the interrupt added by the patch is that when the interrupt
      occurs, the OHCI irq handler prints a kernel log warning and then sets the
      "LinkControl.CycleMaster" bit again resuming the isochronous communication.
      Signed-off-by: NJean-Baptiste Mur <jeanbaptiste@maunakeatech.com>
      Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
      Signed-off-by: NBen Collins <bcollins@ubuntu.com>
      57fdb58f
    • B
      ohci1394: Remove superfluous call to free_dma_rcv_ctx, · ff34d3bd
      Ben Collins 提交于
      spotted by Adrian Bunk. Also remove some superfluous comments.
      Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
      Signed-off-by: NBen Collins <bcollins@ubuntu.com>
      ff34d3bd
  3. 18 5月, 2006 1 次提交
  4. 29 3月, 2006 3 次提交
  5. 28 3月, 2006 1 次提交
  6. 14 12月, 2005 1 次提交
  7. 07 11月, 2005 3 次提交
  8. 20 10月, 2005 1 次提交
  9. 01 10月, 2005 1 次提交
  10. 27 8月, 2005 1 次提交
  11. 15 7月, 2005 1 次提交
    • O
      [PATCH] ratelimit the ieee1394 IR legacy activated messages · 98848fa8
      Olaf Hering 提交于
      running coriander1 with an Apple iSight produces lots of dmesg output.
      
      Jul 13 22:14:17 ibook kernel: ieee1394: raw1394: /dev/raw1394 device initialized
      Jul 13 22:15:28 ibook kernel: ohci1394: fw-host0: IR legacy activated
      Jul 13 22:15:59 ibook last message repeated 208 times
      Jul 13 22:17:00 ibook last message repeated 762 times
      Jul 13 22:18:01 ibook last message repeated 914 times
      Jul 13 22:18:17 ibook last message repeated 238 times
      Jul 13 22:18:17 ibook kernel: ieee1394: unsolicited response packet received - no tlabel match
      Jul 13 22:18:17 ibook kernel: ohci1394: fw-host0: IR legacy activated
      
      its less noisy with the patch:
      
      Jul 14 08:03:08 ibook kernel: ieee1394: raw1394: /dev/raw1394 device initialized
      Jul 14 08:03:26 ibook kernel: ohci1394: fw-host0: IR legacy activated
      Jul 14 08:03:42 ibook last message repeated 10 times
      Jul 14 08:03:47 ibook kernel: printk: 63 messages suppressed.
      Jul 14 08:03:47 ibook kernel: ohci1394: fw-host0: IR legacy activated
      Jul 14 08:03:52 ibook kernel: printk: 74 messages suppressed.
      Signed-off-by: NOlaf Hering <olh@suse.de>
      Cc: Jody McIntyre <scjody@modernduck.com>
      Cc: Ben Collins <bcollins@debian.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      98848fa8
  12. 11 7月, 2005 1 次提交
    • B
      [PATCH] Sync up ieee-1394 · 1934b8b6
      Ben Collins 提交于
      Lots of this patch is trivial code cleanups (static vars were being
      intialized to 0, etc).
      
      There's also some fixes for ISO transmits (max buffer handling).
      Aswell, we have a few fixes to disable IRM capabilites correctly.  We've
      also disabled, by default some generally unused EXPORT symbols for the
      sake of cleanliness in the kernel.  However, instead of removing them
      completely, we felt it necessary to have a config option that allowed
      them to be enabled for the many projects outside of the main kernel tree
      that use our API for driver development.
      
      The primary reason for this patch is to revert a MODE6->MODE10 RBC
      conversion patch from the SCSI maintainers.  The new conversions handled
      directly in the scsi layer do not seem to work for SBP2.  This patch
      reverts to our old working code so that users can enjoy using Firewire
      disks and dvd drives again.
      
      We are working with the SCSI maintainers to resolve this issue outside
      of the main kernel tree.  We'll merge the patch once the SCSI layer's
      handling of the MODE10 conversion is working for us.
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      1934b8b6
  13. 28 6月, 2005 1 次提交
  14. 17 5月, 2005 1 次提交
  15. 22 4月, 2005 2 次提交
  16. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4