Skip to content
Snippets Groups Projects
  1. Apr 25, 2012
  2. Nov 18, 2011
    • Greg Kroah-Hartman's avatar
      USB: convert drivers/net/* to use module_usb_driver() · d632eb1b
      Greg Kroah-Hartman authored
      
      This converts the drivers in drivers/net/* to use the
      module_usb_driver() macro which makes the code smaller and a bit
      simpler.
      
      Added bonus is that it removes some unneeded kernel log messages about
      drivers loading and/or unloading.
      
      Cc: Wolfgang Grandegger <wg@grandegger.com>
      Cc: Samuel Ortiz <samuel@sortiz.org>
      Cc: Oliver Neukum <oliver@neukum.name>
      Cc: Peter Korsgaard <jacmet@sunsite.dk>
      Cc: Petko Manolov <petkan@users.sourceforge.net>
      Cc: Steve Glendinning <steve.glendinning@smsc.com>
      Cc: Christian Lamparter <chunkeey@googlemail.com>
      Cc: "John W. Linville" <linville@tuxdriver.com>
      Cc: Dan Williams <dcbw@redhat.com>
      Cc: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
      Cc: Ivo van Doorn <IvDoorn@gmail.com>
      Cc: Gertjan van Wingerde <gwingerde@gmail.com>
      Cc: Helmut Schaa <helmut.schaa@googlemail.com>
      Cc: Herton Ronaldo Krzesinski <herton@canonical.com>
      Cc: Hin-Tak Leung <htl10@users.sourceforge.net>
      Cc: Larry Finger <Larry.Finger@lwfinger.net>
      Cc: Chaoming Li <chaoming_li@realsil.com.cn>
      Cc: Lucas De Marchi <lucas.demarchi@profusion.mobi>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Roel Kluin <roel.kluin@gmail.com>
      Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
      Cc: Jiri Pirko <jpirko@redhat.com>
      Cc: Pavel Roskin <proski@gnu.org>
      Cc: Yoann DI-RUZZA <y.diruzza@lim.eu>
      Cc: George <george0505@realtek.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      d632eb1b
  3. Jun 03, 2010
  4. Sep 26, 2009
  5. Sep 01, 2009
  6. Jun 13, 2009
    • Patrick McHardy's avatar
      net: fix network drivers ndo_start_xmit() return values (part 2) · 4bd73ae2
      Patrick McHardy authored
      
      Fix up IRDA drivers that return an errno value to qdisc_restart(), causing
      qdisc_restart() to print a warning an requeue/retransmit the skb.
      
      - donauboe: intention appears to be to have the skb retransmitted without
                  error message
      - irda-usb: intention is to drop silently according to comment
      - kingsub-sir: skb is freed: use after free
      - ks959-sir: skb is freed: use after free
      - ksdazzle-sir: skb is freed: use after free
      - mcs7880: skb is freed: use after free
      
      All but donauboe compile tested.
      
      Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      4bd73ae2
  7. Mar 22, 2009
  8. Jan 06, 2009
  9. Nov 04, 2008
  10. Nov 02, 2008
  11. Oct 17, 2008
  12. Oct 10, 2007
    • Ralf Baechle's avatar
      [NET]: Nuke SET_MODULE_OWNER macro. · 10d024c1
      Ralf Baechle authored
      
      It's been a useless no-op for long enough in 2.6 so I figured it's time to
      remove it.  The number of people that could object because they're
      maintaining unified 2.4 and 2.6 drivers is probably rather small.
      
      [ Handled drivers added by netdev tree and some missed IRDA cases... -DaveM ]
      
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      10d024c1
    • Alex Villacís Lasso's avatar
      [IrDA]: Kingsun KS-959 IrDA USB driver · 4b6aa599
      Alex Villacís Lasso authored
      
      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: default avatarAlex Villacís Lasso <a_villacis@palosanto.com>
      Signed-off-by: default avatarSamuel Ortiz <samuel@sortiz.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      4b6aa599
    • Alex Villacís Lasso's avatar
      [IrDA]: Kingsun Dazzle IrDA USB driver · 4a1d7c25
      Alex Villacís Lasso authored
      
      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: default avatarAlex Villacís Lasso <a_villacis@palosanto.com>
      Signed-off-by: default avatarSamuel Ortiz <samuel@sortiz.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      4a1d7c25
Loading