summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/ucom.c
Commit message (Collapse)AuthorAgeFilesLines
* It appears that we don't need sys/vnode.h, which is a layering violation...imp2004-01-021-1/+0
|
* Add missing ioctl functions.akiyama2003-11-161-4/+19
| | | | MFC after: 1 week
* - Implement selwakeuppri() which allows raising the priority of atanimura2003-11-091-1/+1
| | | | | | | | | | | | | thread being waken up. The thread waken up can run at a priority as high as after tsleep(). - Replace selwakeup()s with selwakeuppri()s and pass appropriate priorities. - Add cv_broadcastpri() which raises the priority of the broadcast threads. Used by selwakeuppri() if collision occurs. Not objected in: -arch, -current
* Fix the cdevsw compatibility for -stable.joe2003-08-251-1/+1
|
* Use __FBSDID().obrien2003-08-241-1/+3
| | | | Also some minor style cleanups.
* Make note that we already have these NetBSD patches.joe2003-07-141-1/+1
|
* WARNING: white space diffjmg2003-07-041-6/+6
| | | | | | This code reduces the number of trailing white space to be more in line w/ NetBSD. I don't regenerate usbdevs, saving that for when it really changes.
* Fix page fault with FTDI's USB serial device.akiyama2003-03-091-4/+23
| | | | | Fix lost characters counting. Move setting receiver state to proper place on ucomstopread().
* Make nokqfilter() return the correct return value.phk2003-03-031-1/+1
| | | | Ditch the D_KQFILTER flag which was used to prevent calling NULL pointers.
* Gigacommit to improve device-driver source compatibility betweenphk2003-03-031-14/+10
| | | | | | | | | | | | | branches: Initialize struct cdevsw using C99 sparse initializtion and remove all initializations to default values. This patch is automatically generated and has been tested by compiling LINT with all the fields in struct cdevsw in reverse order on alpha, sparc64 and i386. Approved by: re(scottl)
* Fix 'bulk in' and 'bulk out' being reversed in a couple of error messages.scottl2003-03-021-2/+2
|
* Fix a typo in a console message.joe2002-11-171-1/+1
| | | | | Submitted by: akiyama MFC after: 3 days
* Use the hw.usb sysctl tree instead of debug.usb.joe2002-08-081-1/+2
| | | | Requested by: imp
* Replace the FOO_DEBUG definitions with USB_DEBUG, and switch thejoe2002-07-311-2/+2
| | | | | | debugging levels to off by default. Now that debug levels can be tweaked by sysctl we don't need to go through hoops to get the different usb parts to produce debug data.
* Get bored with hard coded debug level variables and introduce a debug.usbjoe2002-07-311-5/+1
| | | | | | sysctl tree for tweaking them real-time. Reviewed by: iedowse
* Correct module name of my previous commit.ume2002-07-151-1/+1
|
* When usb is kld, ucom and uplcom were failed to load because ofume2002-07-131-0/+1
| | | | usbd_abort_pipe undefined.
* It's not "usio" anymore, it's "ucom".joe2002-07-101-3/+3
| | | | Submitted by: nsayer
* Improve detach operation.joe2002-07-101-8/+47
| | | | Submitted by: akiyama
* Include the bmaj entry in the cdevsw for versions of FreeBSD that need it.joe2002-07-101-0/+3
|
* Change the suser() API to take advantage of td_ucred as well as do ajhb2002-04-011-1/+1
| | | | | | | | | | | | general cleanup of the API. The entire API now consists of two functions similar to the pre-KSE API. The suser() function takes a thread pointer as its only argument. The td_ucred member of this thread must be valid so the only valid thread pointers are curthread and a few kernel threads such as thread0. The suser_cred() function takes a pointer to a struct ucred as its first argument and an integer flag as its second argument. The flag is currently only used for the PRISON_ROOT flag. Discussed on: smp@
* Add a USB comm driver.joe2002-03-181-0/+1130
| | | | Ported from NetBSD by: akiyama
* Remove the stub driver. It's useless.n_hibma1999-06-011-137/+0
|
* Bring the 'new-bus' to the i386. This extensively changes the way thepeter1999-04-161-6/+1
| | | | | | | | | | | | | | | | | | i386 platform boots, it is no longer ISA-centric, and is fully dynamic. Most old drivers compile and run without modification via 'compatability shims' to enable a smoother transition. eisa, isapnp and pccard* are not yet using the new resource manager. Once fully converted, all drivers will be loadable, including PCI and ISA. (Some other changes appear to have snuck in, including a port of Soren's ATA driver to the Alpha. Soren, back this out if you need to.) This is a checkpoint of work-in-progress, but is quite functional. The bulk of the work was done over the last few years by Doug Rabson and Garrett Wollman. Approved by: core
* 1) Make debugging more selective.n_hibma1999-04-111-8/+10
| | | | | | | 2) create function usbd_errstr which turns a usbd_status into a sensible error message 3) Change the printf in DPRINTF to logprintf which is a define for log(KERN_DEBUG, x)
* Fix warnings in preparation for adding -Wall -Wcast-qual to thedillon1999-01-281-4/+4
| | | | kernel compile
* Textual changesn_hibma1999-01-221-1/+2
|
* Corrected the latent fact that the uhub driver was providing a driver forn_hibma1999-01-141-1/+1
| | | | | the usb device class instead of the uhub devclass. Only a problem with more than one USB host controller.
* Changed 'xxxdebug = 0' to '...= 1' (Brian Feldman)n_hibma1999-01-131-2/+2
|
* Sync with NetBSD sources. Almost there. Mostly style fixes.n_hibma1999-01-101-4/+2
|
* USUBCLASS_MODEM -> USUBCLASS_ABSTRACT_CONTROL_MODELeivind1999-01-081-2/+2
| | | | Matches the header file change, and makes this compile.
* Major synchronisation with NetBSD USB coden_hibma1999-01-071-75/+13
|
* Added Id to all filesn_hibma1998-12-141-0/+1
|
* small bug fixn_hibma1998-12-131-0/+1
|
* dded the stubs for umodem and ucom (communications class driver). They are ↵n_hibma1998-12-131-0/+201
nothing other than the ugen driver with different variable names.
OpenPOWER on IntegriCloud