1. 11 10月, 2007 2 次提交
    • A
      [IrDA]: Kingsun KS-959 IrDA USB driver · 4b6aa599
      Alex Villacís Lasso 提交于
      This dongle does not follow the usb-irda specification, so it needs its own
      special driver. First, it uses control URBs for data transfer, instead of
      bulk or interrupt transfers; the only interrupt endpoint exposed seems to
      be a dummy to prevent the interface from being rejected. Second, it uses
      obfuscation and padding at the USB traffic level, for no apparent reason
      other than to make reverse engineering harder (full details on obfuscation
      in comments at beginning of source). Although it is advertised as a "4 Mbps
      FIR dongle", it apparently loses packets at speeds greater than 57600 bps.
      
      On plugin, this dongle reports vendor and device IDs: 0x07d0:0x4959 .
      
      The Windows driver that is used normally to control this dongle has a
      filename of KS-959.SYS .
      Signed-off-by: NAlex Villacís Lasso <a_villacis@palosanto.com>
      Signed-off-by: NSamuel Ortiz <samuel@sortiz.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4b6aa599
    • A
      [IrDA]: Kingsun Dazzle IrDA USB driver · 4a1d7c25
      Alex Villacís Lasso 提交于
      This dongle does not follow the usb-irda specification, so it needs its own
      special driver. Just like the Kingsun/Donshine dongle, it exposes two
      interrupt endpoints. Reception is performed through direct reads from the
      input endpoint. Transmission requires splitting the IrDA frames into 8-byte
      segments, in which the first byte encodes how many of the remaining 7 bytes
      are used as data. Speed change is made with a control URB just like the one
      in cypress_m8, and it seems to support up to 115200 bps.
      
      On plugin, this dongle reports vendor and device IDs: 0x07d0:0x4100
      Signed-off-by: NAlex Villacís Lasso <a_villacis@palosanto.com>
      Signed-off-by: NSamuel Ortiz <samuel@sortiz.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4a1d7c25
  2. 27 8月, 2007 1 次提交
  3. 14 8月, 2007 1 次提交
  4. 22 7月, 2007 2 次提交
  5. 20 7月, 2007 1 次提交
  6. 11 7月, 2007 2 次提交
  7. 02 7月, 2007 1 次提交
  8. 29 6月, 2007 2 次提交
  9. 11 5月, 2007 1 次提交
    • A
      [IrDA]: KingSun/DonShine USB IrDA dongle support. · a2af421f
      Alex Villac�s Lasso 提交于
      This dongle does not follow the usb-irda specification, so it needs its
      own special driver. In addition, it uses interrupt endpoints instead of
      bulk ones as the rest of USB IrDA dongles supported by Linux (just to be
      different?) and data reads need to be parsed to extract the valid bytes
      before being unwrapped (details in the comment at the start of the
      source). No speed commands have been discovered for this dongle, and I
      suspect it does not have any at all.
      
      On plugin, this dongle reports vendor and device IDs: 0x07c0:0x4200 .
      
      The Windows driver that is used normally to control this dongle has a
      filename of DSIR620.SYS .
      Signed-off-by: NAlex Villac�s Lasso <a_villacis@palosanto.com>
      Signed-off-by: NSamuel Ortiz <samuel@sortiz.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a2af421f
  10. 09 5月, 2007 4 次提交
  11. 26 4月, 2007 6 次提交
  12. 22 4月, 2007 1 次提交
    • E
      [ARM] 4304/1: removes the unnecessary bit number from CKENnn_XXXX · 7053acbd
      Eric Miao 提交于
      This patch removes the unnecessary bit number from CKENnn_XXXX
      definitions for PXA, so that
      
      	CKEN0_PWM0 --> CKEN_PWM0
      	CKEN1_PWM1 --> CKEN_PWM1
      	...
      	CKEN24_CAMERA --> CKEN_CAMERA
      
      The reasons for the change of these defitions are:
      
      1. they do not scale - they are currently valid for pxa2xx, but
      definitely not valid for pxa3xx, e.g., pxa3xx has bit 3 for camera
      instead of bit 24
      
      2. they are unnecessary - the peripheral name within the definition
      has already announced its usage, we don't need those bit numbers
      to know which peripheral we are going to enable/disable clock for
      
      3. they are inconvenient - think about this: a driver programmer
      for pxa has to remember which bit in the CKEN register to turn
      on/off
      
      Another change in the patch is to make the definitions equal to its
      clock bit index, so that
      
         #define CKEN_CAMERA  (24)
      
      instead of
      
         #define CKEN_CAMERA  (1 << 24)
      
      this change, however, will add a run-time bit shift operation in
      pxa_set_cken(), but the benefit of this change is that it scales
      when bit index exceeds 32, e.g., pxa3xx has two registers CKENA
      and CKENB, totally 64 bit for this, suppose CAMERA clock enabling
      bit is CKENB:10, one can simply define CKEN_CAMERA to be (32 + 10)
      and so that pxa_set_cken() need minimum change to adapt to that.
      Signed-off-by: Neric miao <eric.y.miao@gmail.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      7053acbd
  13. 02 4月, 2007 1 次提交
    • G
      [ARM] 4295/2: Fix error-handling in pxaficp_ir.c (version 2) · 9a4d93d4
      Guennadi Liakhovetski 提交于
      This patch addresses the following issues with the pxa2xx FIr driver:
      
      1. increment overrun error counter and not frame error counter on ICSR1_ROR bit set in ICSR1.
      2. drop frames reported with the frame error from the IC.
      3. when resetting the receiver and preparing it for the next DMA in pxa_irda_fir_irq() actually clear the Rx FIFO. See description in Table 11-2 in PXA270 Developer's Manual of the RXE bit.
      
      Correction added in version 2: clearing the IC Rx FIFO also has to be done in pxa_irda_fir_dma_tx_irq()
      Signed-off-by: NG. Liakhovetski <gl@dsa-ac.de>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      9a4d93d4
  14. 20 3月, 2007 1 次提交
  15. 15 2月, 2007 1 次提交
    • T
      [PATCH] remove many unneeded #includes of sched.h · cd354f1a
      Tim Schmielau 提交于
      After Al Viro (finally) succeeded in removing the sched.h #include in module.h
      recently, it makes sense again to remove other superfluous sched.h includes.
      There are quite a lot of files which include it but don't actually need
      anything defined in there.  Presumably these includes were once needed for
      macros that used to live in sched.h, but moved to other header files in the
      course of cleaning it up.
      
      To ease the pain, this time I did not fiddle with any header files and only
      removed #includes from .c-files, which tend to cause less trouble.
      
      Compile tested against 2.6.20-rc2 and 2.6.20-rc2-mm2 (with offsets) on alpha,
      arm, i386, ia64, mips, powerpc, and x86_64 with allnoconfig, defconfig,
      allmodconfig, and allyesconfig as well as a few randconfigs on x86_64 and all
      configs in arch/arm/configs on arm.  I also checked that no new warnings were
      introduced by the patch (actually, some warnings are removed that were emitted
      by unnecessarily included header files).
      Signed-off-by: NTim Schmielau <tim@physik3.uni-rostock.de>
      Acked-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      cd354f1a
  16. 13 2月, 2007 1 次提交
  17. 24 1月, 2007 4 次提交
  18. 14 12月, 2006 1 次提交
    • R
      [PATCH] getting rid of all casts of k[cmz]alloc() calls · 5cbded58
      Robert P. J. Day 提交于
      Run this:
      
      	#!/bin/sh
      	for f in $(grep -Erl "\([^\)]*\) *k[cmz]alloc" *) ; do
      	  echo "De-casting $f..."
      	  perl -pi -e "s/ ?= ?\([^\)]*\) *(k[cmz]alloc) *\(/ = \1\(/" $f
      	done
      
      And then go through and reinstate those cases where code is casting pointers
      to non-pointers.
      
      And then drop a few hunks which conflicted with outstanding work.
      
      Cc: Russell King <rmk@arm.linux.org.uk>, Ian Molton <spyro@f2s.com>
      Cc: Mikael Starvik <starvik@axis.com>
      Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
      Cc: Roman Zippel <zippel@linux-m68k.org>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Kyle McMartin <kyle@mcmartin.ca>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Jeff Dike <jdike@addtoit.com>
      Cc: Greg KH <greg@kroah.com>
      Cc: Jens Axboe <jens.axboe@oracle.com>
      Cc: Paul Fulghum <paulkf@microgate.com>
      Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
      Cc: Karsten Keil <kkeil@suse.de>
      Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
      Cc: Jeff Garzik <jeff@garzik.org>
      Cc: James Bottomley <James.Bottomley@steeleye.com>
      Cc: Ian Kent <raven@themaw.net>
      Cc: Steven French <sfrench@us.ibm.com>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Neil Brown <neilb@cse.unsw.edu.au>
      Cc: Jaroslav Kysela <perex@suse.cz>
      Cc: Takashi Iwai <tiwai@suse.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      5cbded58
  19. 09 12月, 2006 1 次提交
    • A
      [PATCH] tty: switch to ktermios · 606d099c
      Alan Cox 提交于
      This is the grungy swap all the occurrences in the right places patch that
      goes with the updates.  At this point we have the same functionality as
      before (except that sgttyb() returns speeds not zero) and are ready to
      begin turning new stuff on providing nobody reports lots of bugs
      
      If you are a tty driver author converting an out of tree driver the only
      impact should be termios->ktermios name changes for the speed/property
      setting functions from your upper layers.
      
      If you are implementing your own TCGETS function before then your driver
      was broken already and its about to get a whole lot more painful for you so
      please fix it 8)
      
      Also fill in c_ispeed/ospeed on init for most devices, although the current
      code will do this for you anyway but I'd like eventually to lose that extra
      paranoia
      
      [akpm@osdl.org: bluetooth fix]
      [mp3@de.ibm.com: sclp fix]
      [mp3@de.ibm.com: warning fix for tty3270]
      [hugh@veritas.com: fix tty_ioctl powerpc build]
      [jdike@addtoit.com: uml: fix ->set_termios declaration]
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NMartin Peschke <mp3@de.ibm.com>
      Acked-by: NPeter Oberparleiter <oberpar@de.ibm.com>
      Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
      Signed-off-by: NHugh Dickins <hugh@veritas.com>
      Signed-off-by: NJeff Dike <jdike@addtoit.com>
      Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      606d099c
  20. 08 12月, 2006 1 次提交
  21. 07 12月, 2006 1 次提交
  22. 02 12月, 2006 1 次提交
  23. 22 11月, 2006 1 次提交
  24. 01 11月, 2006 1 次提交
  25. 11 10月, 2006 1 次提交