summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_quirks.h
Commit message (Collapse)AuthorAgeFilesLines
* Pull in the most recent version of usb_quirks.h and propagate the necessaryn_hibma2001-07-051-5/+9
| | | | | | changes to the various files. Also, pull in most of the current usb_subr.c file.
* Make the Ricochet modems work through the USB interface.n_hibma2000-11-011-8/+10
| | | | | Tested by: jim Obtained from: NetBSD
* Remove __P prototypes to reduce diffs between the NetBSD and FreeBSDn_hibma2000-07-171-1/+1
| | | | versions.
* Sync with NetBSD:n_hibma2000-05-141-3/+1
| | | | Add quirks for self-powered hubs that are not.
* Change Lennart's e-mail address.n_hibma2000-05-141-1/+1
|
* This commit adds device driver support for the ADMtek AN986 Pegasuswpaul1999-12-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Add a quirk for the Altec ASC495 speakers. They pretend to support then_hibma1999-11-281-2/+3
| | | | audio class, but they don't
* Add many new devicelabelsn_hibma1999-11-121-2/+3
| | | | | | | 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).
* The Qtronix keyboard has a built in PS/2 port for a mouse.n_hibma1999-11-081-0/+1
| | | | | | | | | | | | It however posts a bogus button up event once in a while. Whenever we receive dx=dy=dz=buttons=0 we postpone adding it to the queue for 50msecs with a timeout. If in the meantime something else is posted the event is ignored. This avoids the problem Nik Sayer reported. He noticed that X windows would drop and pick up a window once in a while. Thanks, Nik, for supplying me with the keyboard to fix the problem!
* Major synchronisation with the NetBSD USB stack:n_hibma1999-10-071-4/+3
| | | | | | | | | | | - 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
* Textual changesn_hibma1999-01-221-1/+1
|
* Major synchronisation with NetBSD USB coden_hibma1999-01-071-5/+7
|
* Added Id to all filesn_hibma1998-12-141-0/+1
|
* Updated USB kernel sources to NetBSD sources of 1998-12-09.n_hibma1998-12-131-0/+1
| | | | | 1 bug fix and several textual changes. Preparing to feed back changes for port into NetBSD to create one source base.
* Initial commit of ported NetBSD USB stackn_hibma1998-11-261-0/+49
OpenPOWER on IntegriCloud