summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb
Commit message (Collapse)AuthorAgeFilesLines
* Abort any active transfers when the device detaches. This fixes aiedowse2005-02-141-0/+44
| | | | few situations where we used to crash, but by no means all of them.
* Add a new function usbd_abort_default_pipe() that aborts any transfersiedowse2005-02-142-0/+7
| | | | | on the default pipe. This is helpful in device detach routines to stop any active control transfers.
* When attached to a high-speed device, report a more appropriateiedowse2005-02-133-3/+18
| | | | | | base transfer speed to CAM. The actual value used (40MB/s) is fairly arbitrary, but assumes the same 33% overhead as was implied by the 1MB/s figure we used for USB1 devices.
* Fix problem with some logitec usb wireless mice.obrien2005-02-061-1/+1
| | | | | Submitted by: Markus <mw@kpnqwest.ch> Tested by: Randy Bush <randy@psg.com>
* Use a taskqueue to handle port status changes.akiyama2005-01-313-2/+54
| | | | | | Calling ucom layer directly from interrupt context make a panic. MFC after: 1 week
* - Add support for new chips, PL-2303X and PL-2303HX.akiyama2005-01-251-21/+159
| | | | | | | | - Update comment about datasheet. - Fix minor typo in sysctl variable description. Submitted by: Michal Mertl <mime@traveller.cz> MFC after: 1 week
* Although USBVERBOSE was an option in the config system, usb_subr.c failedimp2005-01-202-2/+2
| | | | to recognize that. Include opt_usb.h to pick it up, rather than usb_port.h.
* Fix USB serial device stalled after tcflush() was called.akiyama2005-01-191-1/+5
| | | | | PR: kern/65769 MFC after: 3 days
* MFp4:imp2005-01-113-1/+6
| | | | | sc_child isn't used on FreeBSD, so ifdef it out in a way that is NetBSD mergeable.
* fix a "little-endian-big-endian confusion that luckily:julian2005-01-091-2/+2
| | | | | | | | | | | 1/ doesn't matter on most of our architectures 2/ will never happen unless we start queueing multiple trasactions to a single endpoint at one time (which we do not allow yet). If anyone has a big_endian machine with EHCI they might check this if they are having problems with EHCI but it's unlikely even there.. Submitted by: Hans Petter Selasky <hselasky@c2i.net> MFC after: 3 days
* Start each of the license/copyright comments with /*-, minor shuffle of linesimp2005-01-0662-65/+64
|
* add copyright notice to something I wrote that didn't have oneimp2005-01-061-1/+1
|
* Fix KASSERT inversion that was introduced in 1.150, resulting in instantkeramida2005-01-051-1/+1
| | | | | | panic curlen != 0, which is perfectly normal. Approved by: mux
* Fix comment. One of the two "Step 4" shuold be a "step 5"julian2005-01-051-1/+1
|
* Remove comment that doesn't seem to be true and add comments describingjulian2005-01-031-17/+16
| | | | | | what is going on, to replace it. Slight formatting changes Code here is alredy different to NetBSD. MFC after: 1 week
* A much simpler way to work out if the required transfer can be done in 2julian2005-01-031-3/+2
| | | | | | scatter gather segments. MFC after: 1 week
* First pass at shortening names. Likely more can be done. Generallyimp2004-12-311-88/+88
| | | | prefer ethernet and serial to \1 adapter.
* Eliminate the redundant/verbose portion of the company names.imp2004-12-311-195/+195
| | | | | | | Generally omit semiconductor, electronics, inc, corp, pny, ltd and the like. This saves almost 3k for the usb module.
* Finish merging usb vendors from NetBSD.imp2004-12-311-6/+45
|
* Don't call ugen_destroy_devnodes(). it is called from ugen_set_config()julian2004-12-291-3/+0
| | | | | | | which is the very next line. Submitted by: stefanf MFC after: 3 days
* Move WINBOND 4 port hub to its proper location in the file. It belongsimp2004-12-291-1/+3
| | | | | in a section of its own, not arbitrarily grouped in the hawking section just because hawking sells it...
* Add the Winbond made Hawking UH104 4-port hub.obrien2004-12-291-0/+6
| | | | Add a note where to find the offical USB assigned numbers.
* Rewrite ehci_abort_xfer() to use the method hinted at in the EHCI spec.julian2004-12-292-45/+108
| | | | | | | | | | | | | to remove a transaction from the async schedule. The previous method didn't work well and led to the hardware writing to free'd buffers etc, as it didn't always know that the transaction had been aborted. Written after consultation with David Brownell who wrote the Linux EHCI driver. As part of this give the sqh structure a "previous" pointer. MFC after: 1 week
* Pass an explicit pointer to the bus structure in the 'usb' device ivarjb2004-12-283-3/+3
| | | | | | | | rather than a softc pointer (with the bus structure at the start). This is a non-functional change. It just helps when reading the code to know that the ehci, ohci and uhci drivers share the bus structure, not the entire softc.
* Remove duplicate CHPRODUCTS entry.imp2004-12-271-3/+2
| | | | Use tab religiously in the vendor section.
* More minor diff reduction against netbsd:imp2004-12-261-4/+5
| | | | | | | ADVANCELOGIC->AVANCELOGIC (nothing in the tree uses it, so safe to do) sort HAGIWARA vendor entry sort ACTIONTAR vendor entry Minor change to SYSTEMTALKS vendor entry.
* Minor merges from NetBSD (up through 1.388):imp2004-12-261-27/+36
| | | | | | | | | | | | | | | | Add $NetBSD$ in a comment at the top Update copyright dates Update header comment Add some of the entries not present in FreeBSD's usbdevs file Harmonize some descriptions with NetBSD where NetBSD's were shorter More work needs to happen here, as there's many conflicting vendor names. There's also more harmonization that can happen before that problem is tackled. This was inspired by recent discussions, but none of the patches posted were consulted to produce this commit. Other, similar ones will follow.
* Include fcntl.hphk2004-12-221-2/+2
| | | | | check O_NONBLOCK instead of IO_NDELAY Don't include vnode.h.
* Include fcntl.hphk2004-12-221-2/+2
| | | | | check O_NONBLOCK instead of IO_NDELAY don't include vnode.h
* Include fcntl.hphk2004-12-221-2/+2
| | | | | Check O_NONBLOCK instead of IO_NDELAY Don't include vnode.h
* Don't include vnode.h.phk2004-12-221-3/+2
| | | | Check O_NONBLOCK instead of IO_NDELAY
* Oops, this one isn't readyjulian2004-12-201-625/+87
| | | | back it out until fixed
* Add a bunch of USB definitions from NetBSD.julian2004-12-201-87/+625
| | | | | | | | | | | This is part of an ongoing cycle of commits on all the BSDs to merge the USB vendor and device defintions.. A merge from OpenBSD is still pending. Submitted by: barry bouwsma (freebsd-misuser@NOSPAM.dyndns.dk) Obtained from: NetBSD MFC after: 1 week
* Merge in a bunch of USB device and manufacturer definitions..julian2004-12-201-75/+97
| | | | | | Submitted by: barry bouwsma (freebsd-misuser@NOSPAM.dyndns.dk) Obtained from: Dragonfly MFC after: 3 days
* Slight change to formatting so that 'ctags' doesn'tjulian2004-12-181-1/+3
| | | | | | | give up on teh file half way through.. Might have been my mistake earlier anyhow. No actual code change MFC after: 5 days
* Make LINT compile.phk2004-12-141-1/+1
| | | | | | | When leaving functions for ddb use don't make them static: it makes gcc think they are unused. Shouldn't this be in #ifdef DDB anyway ?
* A bunch more whitespace and formatting diff reductions for NetBSD.julian2004-12-141-17/+19
| | | | | Obtained from: NetBSD MFC after: 1 week
* Don't abandon ship just because the number of companions doesn't seem correct.julian2004-12-141-3/+6
| | | | | Obtained from: NetBSD MFC after: 1 week
* Slightly reorganise part of the ohci_softintr() functionjulian2004-12-141-15/+26
| | | | | | | | | | | to better keep track of the total amoutn transferred during a transfer. Seems similar to some code in the NetBSD version. I notice they have incorporated matches from him so I don't know which direction it went. Submitted by: damien.bergamini@free.fr Obtained from: patches to make the ueagle driver work MFC after: 1 week
* Small formatting change..julian2004-12-141-1/+1
| | | | | | | Move a declaration to the same place as in NetBSD. Obtained from: NetBSD MFC after: 1 week
* Might as well get the right $NetBSD$ string while we are at it.julian2004-12-131-1/+1
| | | | MFC after: 1 week
* Diff reduction to NetBSD.julian2004-12-131-67/+59
| | | | | | | | | Now only things that are different between us and NetBSD show up. Means that these files are more of NetBSD style in some places but since thay are NetBSD files, um, that's ok. Obtained from: NetBSD MFC after: 1 week
* MFNetBSDjulian2004-12-131-43/+44
| | | | | | | | Whitespace diff reduction, formatting fixes and one actual arithmetic error that NetBSD have fixed. Obtained from: NetBSD MFC after: 1 week
* We don't need vnode.h, but do need uio.h in these files. vnode.himp2004-12-134-4/+4
| | | | | | shouldn't be included in drivers, generally, so remove them. OK'd by: phk
* Add sys/uio.h explicitly, and move sys/vnode.h include to be moreimp2004-12-134-4/+8
| | | | | | | alphabetical. # vnode.h should not be included here, but it is required for proper decoding # of the flags args. This may change in the future...
* sys/vnode.h is inappropriate for a driver. Use sys/uio.h instead.imp2004-12-131-1/+1
|
* Crank down the lame-o-matic a notch by moving the = inside the /* */ ratherimp2004-12-131-1/+1
| | | | than outside to fix the build.
* Try make code for teh M$ Intellimouse less obtrusivejulian2004-12-131-11/+24
| | | | when not using such a device.
* Don't export the 'dt' field as that would break the exisiting ABI.julian2004-12-131-4/+5
| | | | | | | keep the code but comment it out so that if the ABI changes we can see easily what should be done. Submitted by: iedowse
* Revert addition of Lide scanner entry..julian2004-12-132-2/+0
| | | | It's a duplicate of an already exisiting entry. (with another name).
OpenPOWER on IntegriCloud