summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usbdevs.h
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagrelease/4.3.0_cvscvs2svn2001-04-211-1/+1
| | | | | | | 'RELENG_4_3_0_RELEASE'. This commit was manufactured to restore the state of the 4.3-RELEASE image. Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
* MFC:Nick Hibma2001-01-061-6/+30
| | | | | | | | Regen. after MFC. Adjust one id in if_aue.c. Notes: svn path=/stable/4/; revision=70730
* Regen. after MFC.Nick Hibma2000-10-251-3/+34
| | | | Notes: svn path=/stable/4/; revision=67572
* Regen.Nick Hibma2000-10-071-9/+155
| | | | Notes: svn path=/stable/4/; revision=66794
* Regenerate.Bill Paul2000-10-031-1/+2
| | | | Notes: svn path=/stable/4/; revision=66605
* Regen. after MFC.Nick Hibma2000-06-131-1/+12
| | | | Notes: svn path=/stable/4/; revision=61608
* Regen after MFC.Nick Hibma2000-05-071-6/+20
| | | | Notes: svn path=/stable/4/; revision=60186
* Regen. after MFC.Nick Hibma2000-05-071-48/+112
| | | | Notes: svn path=/stable/4/; revision=60147
* MFC: support for the LinkSys USB 10BaseT adaptersJonathan M. Bresler2000-04-021-1/+2
| | | | | | | based on the ADMtek Pegasus AN986 chipset Notes: svn path=/stable/4/; revision=58932
* Regen.Nick Hibma2000-04-011-15/+113
| | | | Notes: svn path=/stable/4/; revision=58897
* Regen.Bill Paul2000-03-291-1/+6
| | | | Notes: svn path=/stable/4/; revision=58800
* Regen.Masahide MAEKAWA2000-03-091-1/+2
| | | | Notes: svn path=/head/; revision=57862
* Regen.Nick Hibma2000-01-281-1/+1
| | | | Notes: svn path=/head/; revision=56734
* Regen.Bill Paul2000-01-201-186/+214
| | | | Notes: svn path=/head/; revision=56319
* Regenerate.Bill Paul2000-01-131-1/+17
| | | | Notes: svn path=/head/; revision=55933
* Add the vendor/device IDs for the LinkSys USB100TX.Bill Paul2000-01-081-1/+5
| | | | | | | | | | | | | Note: the .INF file for LinkSys's driver says the vendor ID is 0x66b, however this does not agree with the vendor ID listed for LinkSys in the company list from www.usb.org. In fact, 0x66b doesn't seem to appear in the company list at all. Furthermore, this same vendor ID crops up in some of the D-Link .INF files. Frankly I don't know what the heck is going on here, but I need to add 0x66b to usbdevs and call it something, so here we are. Notes: svn path=/head/; revision=55589
* Add the vendor and device IDs for a whole bunch of additional USBBill Paul2000-01-071-1/+17
| | | | | | | | | | | | | | | | | | | | ethernet adapters that are supported by the aue and kue drivers. There are actually a couple more out there from Accton, Asante and EXP Computer, however I was not able to find any Windows device drivers for these on their servers, and hence could not harvest their vendor/device ID info. If somebody has one of these things and can look in the .inf file that comes with the Windows driver, I'd appreciate knowing what it says for 'VID' and 'PID.' Additional adapters include: the D-Link DSB-650 and DSB-650TX, the SMC 2102USB, 2104USB and 2202USB, the ATen UC10T, and the Netgear EA101. These are all mentioned in the man pages, relnotes and LINT. Also correct the date in the kue(4) man page. I wrote this thing on Jan, 4 2000, not 1999. Notes: svn path=/head/; revision=55579
* Correct the vendor ID for KLSI: it's actually 0x5e9. 0x3e8 is theBill Paul2000-01-051-4/+5
| | | | | | | | vendor ID for Aox Inc, which makes the controller engine and/or firmware for the KLSI chip. Notes: svn path=/head/; revision=55472
* Add device driver support for USB ethernet adapters based on theBill Paul2000-01-051-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | Kawasaki LSI KL5KUSB101B chip, including the LinkSys USB10T, the Entrega NET-USB-E45, the Peracom USB Ethernet Adapter, the 3Com 3c19250 and the ADS Technologies USB-10BT. This device is 10mbs half-duplex only, so there's miibus or ifmedia support. This device also requires firmware to be loaded into it, however KLSI allows redistribution of the firmware images (I specifically asked about this; they said it was ok). Special thanks to Annelise Anderson for getting me in touch with KLSI (eventually) and thanks to KLSI for providing the necessary programming info. Highlights: - Add driver files to /sys/dev/usb - update usbdevs and regenerate attendate files - update usb_quirks.c - Update HARDWARE.TXT and RELNOTES.TXT for i386 and alpha - Update LINT, GENERIC and others for i386, alpha and pc98 - Add man page - Add module - Update sysinstall and userconfig.c Notes: svn path=/head/; revision=55429
* This commit adds device driver support for the ADMtek AN986 PegasusBill Paul1999-12-281-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | USB ethernet chip. Adapters that use this chip include the LinkSys USB100TX. There are a few others, but I'm not certain of their availability in the U.S. I used an ADMtek eval board for development. Note that while the ADMtek chip is a 100Mbps device, you can't really get 100Mbps speeds over USB. Regardless, this driver uses miibus to allow speed and duplex mode selection as well as autonegotiation. Building and kldloading the driver as a module is also supported. Note that in order to make this driver work, I had to make what some may consider an ugly hack to sys/dev/usb/usbdi.c. The usbd_transfer() function will use tsleep() for synchronous transfers that don't complete right away. This is a problem since there are times when we need to do sync transfers from an interrupt context (i.e. when reading registers from the MAC via the control endpoint), where tsleep() us a no-no. My hack allows the driver to have the code poll for transfer completion subject to the xfer->timeout timeout rather that calling tsleep(). This hack is controlled by a quirk entry and is only enabled for the ADMtek device. Now, I'm sure there are a few of you out there ready to jump on me and suggest some other approach that doesn't involve a busy wait. The only solution that might work is to handle the interrupts in a kernel thread, where you may have something resembling a process context that makes it okay to tsleep(). This is lovely, except we don't have any mechanism like that now, and I'm not about to implement such a thing myself since it's beyond the scope of driver development. (Translation: I'll be damned if I know how to do it.) If FreeBSD ever aquires such a mechanism, I'll be glad to revisit the driver to take advantage of it. In the meantime, I settled for what I perceived to be the solution that involved the least amount of code changes. In general, the hit is pretty light. Also note that my only USB test box has a UHCI controller: I haven't I don't have a machine with an OHCI controller available. Highlights: - Updated usb_quirks.* to add UQ_NO_TSLEEP quirk for ADMtek part. - Updated usbdevs and regenerated generated files - Updated HARDWARE.TXT and RELNOTES.TXT files - Updated sysinstall/device.c and userconfig.c - Updated kernel configs -- device aue0 is commented out by default - Updated /sys/conf/files - Added new kld module directory Notes: svn path=/head/; revision=55162
* Add vendor NetChip with its device NET1080 (host-to-host adapter)Nick Hibma1999-12-071-2/+6
| | | | Notes: svn path=/head/; revision=54236
* Synchronisation with NetBSD as of 1999/11/16:Nick Hibma1999-11-171-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cleaning up the code: - Declare many functions static - Change variable names to make them more self explanatory - Change usbd_request_handle -> usbd_xfer_handle - Syntactical changes - Remove some unused code - Other KNF changes Interrupt context handling - Change delay to usbd_delay_ms were possible (takes polling mode into account) - Change detection mechanism for interrupt context Add support for pre-allocation DMA-able memory by device driver Add preliminary support for isochronous to the UHCI driver (not for OHCI yet). usb.c, uhci.c, ohci.c - Initial attempt at detachable USB host controllers - Handle the use_polling flag with a lttle more care and only set it if we are cold booting. usb.c, uhci.c ohci.c, usbdi.c usbdi_util.c usb_subr.c - Make sure an aborted pipe is marked as not running. - Start queued request in the right order. - Insert some more DIAGNOSTIC sanity checks. - Remove (almost) unused definitions USBD_XFER_OUT and USBD_XFER_IN. usb.c, usb_subr.c - Add an event mechanism so that a userland process can watch devices come and go. ohci.c - Handle the case when a USB transfer is so long that it crosses two page (4K) boundaries. OHCI cannot do that with a single TD so we make a chain. ulpt.c - Use a bigger buffer when transferring data. - Pre-allocate the DMA buffer. This makes the driver slightly more efficient. - Comment out the GET_DEVICE_ID code, because for some unknown reason it causes printing to fail sometimes. usb.h - Add a macro to extract the isoc type. - Add a macro to check whether the routine has been entered after splusb and if not, complain. usbdi.c - Fix a glitch in dequeueing and aborting requests on interrupt pipes. - Add a flag in the request to determine if the data copying is done by the driver or the usbdi layer. Notes: svn path=/head/; revision=53313
* Add many new devicelabelsNick Hibma1999-11-121-31/+103
| | | | | | | | | | Rename a few (I wish companies would stop buying each other) Add a quirk entry for hubs that say they are self powered but are in fact bus powered (usage in uhub follows shortly). Notes: svn path=/head/; revision=53118
* Add QTronix keyboard with PS/2 mouse connectorNick Hibma1999-11-081-0/+3
| | | | Notes: svn path=/head/; revision=53031
* Major synchronisation with the NetBSD USB stack:Nick Hibma1999-10-071-10/+35
| | | | | | | | | | | | | | - Some cleanup and improvements in the uhci and ohci drivers - Support for plugging and unplugging devices improved - Now available is bulk transport over OHCI controllers - Resume and suspend have been temporarily been disabled again. Proper support for it is available in the uhci.c and ohci.c files but I have not yet spent the brain cycles to use it. - OpenBSD now uses the USB stack as well - Add FreeBSD tags Notes: svn path=/head/; revision=51991
* Update the list of devices from NetBSDNick Hibma1999-08-281-33/+51
| | | | Notes: svn path=/head/; revision=50502
* Add MultiTech Atlas modemNick Hibma1999-06-271-0/+3
| | | | Notes: svn path=/head/; revision=48292
* Added Thrustmaster Fusion Digital GamepadNick Hibma1999-05-091-0/+4
| | | | Notes: svn path=/head/; revision=46819
* Added vendor OmniVision and cameraNick Hibma1999-05-011-0/+4
| | | | Notes: svn path=/head/; revision=46224
* 1) Add Rockfire vendor and gamepad product (MAEKAWA Masahide)Nick Hibma1999-04-191-6/+10
| | | | | | | | | 2) Sort the list again (Roger Hardiman) 3) Reinstate a piece of code to look for a name for a device if none is found in the device itself. Notes: svn path=/head/; revision=45841
* 1) Add Lucent USS-720 eval kitNick Hibma1999-04-081-1/+5
| | | | | | | 2) Rename Epson printer cable to proper name Notes: svn path=/head/; revision=45499
* 1) Add AKS USB-HASP 0.6Nick Hibma1999-04-081-6/+11
| | | | | | | | 2) Rename Lucent -> Epson (Undoes previous commit, Mike agrees) Notes: svn path=/head/; revision=45497
* Add the Lucent USS-720 ISD Smart Cable.Mike Smith1999-04-081-0/+4
| | | | Notes: svn path=/head/; revision=45490
* Add the defines for the Iomega Zip 100 driveNick Hibma1999-04-051-0/+4
| | | | Notes: svn path=/head/; revision=45344
* added vision cameraNick Hibma1999-03-311-0/+4
| | | | Notes: svn path=/head/; revision=45203
* Added a number of device names: Konica, Microsoft, MacallyNick Hibma1999-03-241-0/+9
| | | | Notes: svn path=/head/; revision=44987
* Added Entrega Parallel and Serial Connectors to the informationNick Hibma1999-01-141-2/+6
| | | | | | | file. Notes: svn path=/head/; revision=42639
* Sync with NetBSD sources. Almost there. Mostly style fixes.Nick Hibma1999-01-101-12/+12
| | | | Notes: svn path=/head/; revision=42490
* Major synchronisation with NetBSD USB codeNick Hibma1999-01-071-12/+36
| | | | Notes: svn path=/head/; revision=42384
* Added Id to all filesNick Hibma1998-12-141-0/+1
| | | | Notes: svn path=/head/; revision=41783
* Updated USB kernel sources to NetBSD sources of 1998-12-09.Nick Hibma1998-12-131-3/+29
| | | | | | | | 1 bug fix and several textual changes. Preparing to feed back changes for port into NetBSD to create one source base. Notes: svn path=/head/; revision=41736
* Initial commit of ported NetBSD USB stackNick Hibma1998-11-261-0/+121
Notes: svn path=/head/; revision=41366