summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uftdi.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Match on the FTDI Suunto product id, from Kristaps Dzonsons who testedjsg2016-12-121-1/+2
| | | | this with a Suunto D6i dive computer.
* Only match devices with a valid configuration.mpi2015-06-181-60/+12
|
* Remove some includes include-what-you-use claims don'tjsg2015-03-141-2/+1
| | | | | | | have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels. ok tedu@ deraadt@
* tedu another bunch of DVACT_DEACTIVATE handlers that do nothing but setmpi2014-07-121-29/+11
| | | | the 'dying' flag.
* Make sure the USB device pointer is valid even if attach fails sincempi2014-02-041-3/+4
| | | | | | it is now checked to prevent any operation on the device. Problem found and fix tested by sebastia@
* Fix a null dereference introduced when converting this driver to usempi2014-02-031-2/+2
| | | | | | usbd_is_dying(). Found the hard way by sebastia@
* FTX support; from Chris Hettrickderaadt2014-01-071-1/+2
|
* add SACOM USB485BLyuo2013-12-131-1/+2
|
* Sort-out activate functionality for ucom(4) and it's parents.pirofti2013-11-151-5/+2
| | | | | | | | | | | | The child should not have to call the parent for deactivation. The parent should handle it. So kill the activate routine in ucom(4) and adapt the parents to no longer call it. Also remove sc_dying in ucom(4) and use usbd_is_dying() instead. Okay mpi@.
* Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate().pirofti2013-11-071-7/+5
| | | | Testing and okay mpi@.
* Begin conversion of USB stack to return int instead of usbd_status,jeremy2013-11-021-2/+2
| | | | | | | | | | starting with usbd_endpoint_count and usbd_interface_count. usbd_status should only be used to indicate the status of a USB transfer, it should not be used for generic error codes. Idea from and much hand-holding by mpi@ OK mpi@
* Get rid of various 'typedef struct' definitions and use plain structuremglocker2013-04-151-5/+5
| | | | | | | | | definitions instead. We don't change usb.h for now to stay compatible with userland. Tested by mpi@ on macppc and myself on i386. ok mpi@
* Support FTDI FT2232H. This has a new base clock rate, different divisor,deraadt2012-09-111-8/+49
| | | | | and the buffersizes are now taken from the endpoint descriptors. From Raphael Graf
* sync to new ufdti; Mark Peoplesderaadt2011-10-281-2/+3
|
* Add Stollmann Active USB ISDN Terminal Adapter.mpf2011-10-201-1/+2
| | | | OK jsg@
* Interface cable for Yaesu ham radios, ok deraadtckuethe2011-10-071-1/+2
| | | | | uftdi0 at uhub2 port 1 "RT Systems CT57B Radio Cable" rev 2.00/6.00 addr 2 ucom0 at uftdi0 portno 1
* Remove config_activate() and DVACT_ACTIVATE. PCMCIA's the only thingmatthew2011-07-031-4/+1
| | | | | | | | that's ever used it, and it's long since been changed to use DVACT_{QUIESCE,SUSPEND,RESUME} instead. ok deraadt@, dlg@; miod@ also agreed with this idea when I brought it up a few weeks ago
* garbage collect "usb events". without /dev/usb there is no way to accessjakemsr2011-01-251-7/+1
| | | | | | them from userland, and nothing in the kernel uses them. ok krw@, miod@
* remove dying flag in detach() function.yuo2010-09-241-2/+1
| | | | | | The dying flag will be set in activate()/DEACTIVATE. ok deraadt@
* Add another 340 product ids found in the linux driverjsg2010-02-231-4/+339
|
* Support OpenRD JTAGKey, expect spip the jtag interface port.deraadt2009-12-161-1/+8
| | | | from Tobias Ulmer; ok jsg
* Get rid of devact enum, substitute it with an int and coresponding defines.pirofti2009-10-131-3/+3
| | | | | | This is needed for the addition of further suspend/resume actions. Okay deraadt@, marco@.
* sync to MECANIQUE change, and add a uftdi found there, spotted by Henrik Hellerstedtderaadt2009-04-221-1/+2
|
* new ftdi; 8U232AM4; Takanori Watanabe spotted itderaadt2009-04-211-1/+2
|
* Add a missing device. Found by Alex Brodsky <abrodsky@acs.winnipeg.ca>.mbalmer2008-11-261-1/+2
| | | | ok deraadt
* Don't terminate the array of matching product/vendor IDs with { 0, 0 }mbalmer2008-07-101-3/+2
| | | | | | | | | when usb_lookup is used. If a device indeed has 0 as vendor and product ID, like the HP DL165 BMC Server Engines SE USB Device, a wrong driver will attach and the machine will most pbly crash. Problem reported Rivo Nurges <rix@estpak.ee> cvs: ----------------------------------------------------------------------
* First pass at removing clauses 3 and 4 from NetBSD licenses.ray2008-06-261-8/+1
| | | | | | | | | Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
* Add a bunch of ELV Elektronik ftdi based devices found in thejsg2008-06-021-1/+21
| | | | | Linux driver. Prompted by a diff adding the "ELV EM 1010" from MERIGHI Marcus <Marcus@Merighi.AT>
* attach FTDI 2232Lfkr2008-04-171-1/+2
|
* Bring in some changes from DragonFly:jsg2008-03-181-159/+275
| | | | | | | | | | | - New matching logic so we don't need to check against vid/pid to figure out which kind of chip we have - Match list in a struct instead of messy if statement (hurrah!) - More generic dual port handling - Insane amount of device additions, mostly found in Linux driver (aue included as a usb vendor got renamed) Tested by ckuethe@, 'looks super sensible' deraadt@
* Simon Dick in FreeBSD PR 96714jsg2008-02-221-3/+11
| | | | | | | | | | | | | | | | | * Fossil Abacus Wrist PDA Thorsten Trampisch in FreeBSD PR 113384 * Expert ISDN Control * RS232 OptoBridge Jonathan Charest in FreeBSD PR 110992 * Several Tactrix OpenPort (ECU) devices. Y.Okabe in FreeBSD PR 119981 * Logitec LAN-GTJ/U2 Ethernet HAGIMORI 'buggy' Masashige in FreeBSD PR 115933 * RATOC REX-USB60F serial
* support little I-O DATA UPS GPS thingyderaadt2007-11-111-1/+15
|
* treat usb vendor/product names as a locator, and have usbd_print handle it,deraadt2007-10-111-10/+5
| | | | | | so that it shows up before the :. as a result, all the usb devices do not need to have name printing code anymore. all this now works and prints nicely because usbd_probe_and_attach() is serialized. ok kettenis
* attach CFA 635 as a uftdi.pyr2007-09-191-1/+3
| | | | ok dlg@
* Remove the definition and usage of the USB_DECLARE_DRIVER_CLASS andmbalmer2007-06-141-2/+17
| | | | | | | | USB_DECLARE_DRIVER macros. No binary change. ok dlg.
* Apply some KNF after the recent removal of macros and type definitions.mbalmer2007-06-131-11/+11
| | | | | | No binary change. ok ray.
* Remove the definition and use of the device_ptr_t which was a struct device *.mbalmer2007-06-121-4/+4
| | | | | | No binary change. ok mk.
* Remove the definition and use of the USBDEVNAME macro.mbalmer2007-06-101-4/+4
| | | | | | | (This might look easy, but it was a big diff. Thanks to dlg and especially jsg for looking over it; we found at least four mistakes in the initial diff.) ok jsg.
* Remove the definition and use of the USBDEV macro. It only created confusionmbalmer2007-06-101-3/+3
| | | | | | | | and the address of it's argument: USBDEV(sc->sc_dev) yields &sc->sc_dev. No binary changes. ok jsg.
* Mechanical removal of USBBASEDEVICE. No binary change.mk2007-06-061-2/+2
| | | | | | Tested by thib and myself. ok mbalmer jsg
* Remove the "Static" declaration of many functions. It was defined to be emptymbalmer2007-06-051-15/+15
| | | | | | | and it was not consistently used. It was confusing as it suggested these functions were static, which they were not. discussed with dlg and jsg, ok jsg.
* Farewell USB_{ATTACH,MATCH,DETACH}* you will not be missed.jsg2007-05-271-9/+10
| | | | ok deraadt@ krw@ mbalmer@
* Sirius To PC Interface is a uftdi; marco@azbsd.orgderaadt2007-03-031-3/+5
|
* Add support for MaxStream XBee ZigBee Development Kit USB interface.jsg2007-02-071-1/+3
| | | | From Darrin Chandler
* match the Coastal ChipWorks TNC-X (yet another uftdi)jason2006-08-101-1/+3
|
* In a drivers activate() entry point, if on DVACT_DEACTIVATE it doesmiod2006-06-231-2/+2
| | | | | | something, then it MUST return zero on DVACT_ACTIVATE, not EOPNOTSUPP; this very popular bug has been cut and pasted a lot of times... ok deraadt@ mickey@
* algorithmically handle baudrate requests, allowing all sorts ofderaadt2006-06-161-19/+67
| | | | strange rates one might need; mrd@alkemio.org
* more microHAM devicesjason2006-05-111-3/+13
|
* support the microHAM radio/computer interfacesjason2006-05-111-1/+7
|
* Support for Falcom Samba GPRS modem; from tm@openbsd.ru.grange2006-03-261-2/+4
|