summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/urio.c
Commit message (Collapse)AuthorAgeFilesLines
* Start each of the license/copyright comments with /*-, minor shuffle of linesimp2005-01-061-1/+1
|
* We don't need vnode.h, but do need uio.h in these files. vnode.himp2004-12-131-1/+1
| | | | | | shouldn't be included in drivers, generally, so remove them. OK'd by: phk
* Tweak the compatibility macros a little so that the device printing isimp2004-08-151-1/+0
| | | | moved into them.
* MFp4: First batch of dev/usb/usbdevs.h -> usbdevs.h changes.imp2004-06-271-1/+1
|
* Do the dreaded s/dev_t/struct cdev */phk2004-06-161-7/+7
| | | | Bump __FreeBSD_version accordingly.
* Device megapatch 4/6:phk2004-02-211-0/+2
| | | | | | | | Introduce d_version field in struct cdevsw, this must always be initialized to D_VERSION. Flip sense of D_NOGIANT flag to D_NEEDGIANT, this involves removing four D_NOGIANT flags and adding 145 D_NEEDGIANT flags.
* Device megapatch 1/6:phk2004-02-211-2/+0
| | | | | | | Free approx 86 major numbers with a mostly automatically generated patch. A number of strategic drivers have been left behind by caution, and a few because they still (ab)use their major number.
* Fix the cdevsw compatibility for -stable.joe2003-08-251-1/+1
|
* Use __FBSDID().obrien2003-08-241-1/+3
| | | | Also some minor style cleanups.
* WARNING: white space diffjmg2003-07-041-26/+26
| | | | | | 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.
* Gigacommit to improve device-driver source compatibility betweenphk2003-03-031-13/+7
| | | | | | | | | | | | | 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)
* Use canonical format for cdevsw initialization.phk2003-03-021-4/+13
|
* Back out M_* changes, per decision of the TRB.imp2003-02-191-1/+1
| | | | Approved by: trb
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.alfred2003-01-211-1/+1
| | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
* Now that we've 'branched' 5.0, desupport FreeBSD 3.x in this driver. Itimp2003-01-011-29/+1
| | | | appears that NetBSD has already done this in their tree.
* 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-0/+3
| | | | | | sysctl tree for tweaking them real-time. Reviewed by: iedowse
* Call destroy_dev in detach routine to cleanup properly otherwise wealfred2002-06-011-3/+8
| | | | | | | | | | | panic because of a repeat make_dev if/when the device is reattached to the system. Remove an "#if __FreeBSD__" in code that's nested under a "#if __NetBSD__" (*sigh*) Reported by: Seth Hettich <sjh@whiskey.ucf.ics.uci.edu> Tested by: Seth Hettich <sjh@whiskey.ucf.ics.uci.edu>
* MFNetBSD: ugen.c (1.57), ulpt.c (1.48), usb.c (1.67), usbdi.c (1.96),joe2002-05-061-1/+2
| | | | | | | | usbdi.h (1.60) (and local changes compatibility changes to ufm.c and urio.c) date: 2002/02/11 15:11:49; author: augustss; Give usbd_do_request_flags() an extra argument for the timeout.
* Use ANSI prototypes and declarations.joe2002-04-011-27/+6
| | | | Update $NetBSD$ idents to better reflect reality.
* Be more specific about when block major numbers disappeared fromjoe2002-03-111-1/+1
| | | | the cdev switch.
* Revert uio.uio_td back to uio.uio_procp, using a #define in usb_port tojoe2002-01-021-1/+1
| | | | do the right thing on -current.
* NetBSD have introduced usb_proc_ptr for us (they'll be needing it soon too)joe2002-01-021-7/+7
| | | | to hide the distinction between struct proc and struct thread.
* This driver can talk to the Rio600 as well, make it happen.alfred2001-09-271-1/+2
| | | | Hardware (and patience) provided by: Andrew J Caines <A.J.Caines@halplant.com>
* KSE Milestone 2julian2001-09-121-7/+7
| | | | | | | | | | | | | | Note ALL MODULES MUST BE RECOMPILED make the kernel aware that there are smaller units of scheduling than the process. (but only allow one thread per process at this time). This is functionally equivalent to teh previousl -current except that there is a thread associated with each process. Sorry john! (your next MFC will be a doosie!) Reviewed by: peter@freebsd.org, dillon@freebsd.org X-MFC after: ha ha ha ha
* Add the Rio 800 USB device IDspeter2001-08-081-2/+4
| | | | Submitted by: Wesley Morgan <morganw@chemikals.org>
* Fix warning: 128: warning: initialization makes pointer from integerpeter2001-06-151-1/+4
| | | | | Note: this file has lots of #if __FreeBSD__ >= 4 etc which needs to be changed to __FreeBSD_version >= 400000 etc.
* select() DKI is now in <sys/selinfo.h>.wollman2001-01-091-0/+4
|
* Remove unneeded #include <sys/proc.h> lines.phk2000-10-291-1/+0
|
* Remove __P prototypes to reduce diffs between the NetBSD and FreeBSDn_hibma2000-07-171-5/+5
| | | | versions.
* More static -> Static to keep OpenBSD happy.n_hibma2000-05-071-3/+3
|
* Update the urio driver. It now works on NetBSD and OpenBSD as well.n_hibma2000-04-081-80/+229
| | | | | | Update the license in the rio_usb.h (now rio500_usb.h) to not be GPL. Sorry for committing that file in the first place. The change of license was agreed to by the original author.
* OpenBSD has a broken debugger that does not grok static. Use an_hibma2000-04-031-3/+3
| | | | | | #define Static static that the OpenBSD folks can define it to be empty if they like.
* Please welcome the URio driver. Written byn_hibma2000-03-161-0/+564
Iwasa Kazmi <kzmi\@ca2.so-net.ne.jp>
OpenPOWER on IntegriCloud