1. 13 7月, 2009 3 次提交
    • M
      USB: ftdi: support NDI devices · b760dac2
      Martin Geleynse 提交于
      It enhances the driver for FTDI-based USB serial adapters to recognize and
      support Northern Digital Inc (NDI) measurement equipment. NDI has been
      providing this patch for various kernel flavors for several years and we would
      like to see these changes built in to the driver so that our equipement works
      without the need for customers to patch the kernel themselves.
      
      The patch makes small modifications to 2 files: ./drivers/usb/serial/ftdi_sio.c
      and ./drivers/usb/serial/ftdi_sio.h. It accomplishes 3 things:
      
      1. Define the VID and PIDs to allow the driver to recognize the NDI devices.
      2. Map the 19200 baud rate setting to our higher baud rate of 1.2Mb
         We would have chosen to map 38400 to the higher rate, similar to what
         several other vendors have done, but some of our legacy customers actually
         use 38400, therefore we remap 19200 to the higher rate.
      3. We set the default transmit latency in the FTDI chip to 1ms for our devices.
         Our devices are typically polled at 60Hz and the default ftdi latency
         seriously affects turn-around time and results in missed data frames. We
         have created a modprobe option that allows this setting to be increased.
         This has proven necessary particularly in some virtualized environments.
      Signed-off-by: NMartin P. Geleynse <mgeleyns@ndigital.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
      b760dac2
    • F
      USB: serial: FTDI with product code FB80 and vendor id 0403 · b34efeea
      Folkert van Heusden 提交于
      It seems an USB device with vendor id 0403 and product code FB80 has an
      FTDI serial io chip as well: http://ftdichip.com/Drivers/D2XX.htm
      This device in fact is a true random generantor by comsci:
      http://comscire.com/Products/R2000KU/
      So the following patch should add support for this device if I am
      correct. Not tested as I do not own this device (I would like support in
      the kernel so that my entropybroker application (which distributes
      entrop data (random values) between servers and clients)).
      
      
      From: Folkert van Heusden <folkert@vanheusden.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      b34efeea
    • J
      USB: ftdi_sio - product ID's for CCS PIC programmers · 9d37ff64
      Jan Capek 提交于
      The product ID's for the following devices have been added:
      - LOAD-n-GO
      - ICD-U64
      - PRIME-8
      Signed-off-by: NJan Capek <jan@ccsinfo.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      9d37ff64
  2. 11 7月, 2009 1 次提交
  3. 16 6月, 2009 6 次提交
  4. 11 6月, 2009 3 次提交
  5. 18 5月, 2009 1 次提交
    • D
      Fix oops on close of hot-unplugged FTDI serial converter · 80193195
      David Woodhouse 提交于
      Commit c45d6320 ("fix reference counting of ftdi_private") stopped
      ftdi_sio_port_remove() from directly freeing the port-private data, with
      the intention if the port was still open, it would be freed when
      ftdi_close() is eventually called and releases the last refcount on the
      structure.
      
      That's all very well, but ftdi_sio_port_remove() still contains a call
      to usb_set_serial_port_data(port, NULL) -- so by the time we get to
      ftdi_close() for the port which was unplugged, it _still_ oopses on
      dereferencing that NULL pointer, as it did before (and does in 2.6.29).
      
      The fix is just not to clear the private data in ftdi_sio_port_remove().
      Then the refcount is properly reduced to zero when the final kref_put()
      happens in ftdi_close().
      
      Remove a bogus comment too, while we're at it. And stop doing things
      inside "if (priv)" -- it must _always_ be there.
      
      Based loosely on an earlier patch by Daniel Mack, and suggestions by
      Alan Stern.
      Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
      Tested-by: NDaniel Mack <daniel@caiaq.de>
      Cc: stable@kernel.org
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      80193195
  6. 09 5月, 2009 2 次提交
  7. 18 4月, 2009 1 次提交
  8. 25 3月, 2009 3 次提交
  9. 18 3月, 2009 2 次提交
  10. 10 2月, 2009 2 次提交
  11. 28 1月, 2009 2 次提交
  12. 16 1月, 2009 1 次提交
  13. 03 1月, 2009 1 次提交
  14. 18 12月, 2008 2 次提交
  15. 06 12月, 2008 1 次提交
  16. 18 10月, 2008 4 次提交
  17. 14 10月, 2008 2 次提交
  18. 24 9月, 2008 2 次提交
  19. 14 8月, 2008 1 次提交