aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/uvscom.c
Commit message (Collapse)AuthorAgeFilesLines
* Move usb to a graveyard location under sys/legacy/dev, it is intended that theAndrew Thompson2009-02-231-906/+0
| | | | | | | | | | new USB2 stack will fully replace this for 8.0. Remove kernel modules, a subsequent commit will update conf/files. Unhook usbdevs from the build. Notes: svn path=/head/; revision=188939
* Kill dead code. This has been a 'todo' item for a long time and theWarner Losh2008-08-311-33/+1
| | | | | | | | skelton ioctl handler has decayed beyond usefulness in both of these drivers. Notes: svn path=/head/; revision=182504
* Prefer device_printf to printf("%s:...", device_get_nameunit(),...);Warner Losh2007-07-051-41/+33
| | | | | | | | | This saves ~300 bytes for uvscom.c and ~100 for uvisor.c Approved by: re (blanket) Notes: svn path=/head/; revision=171233
* s/logprintf/printf/gWarner Losh2007-06-201-1/+1
| | | | | | | Approved by: re@ Notes: svn path=/head/; revision=170960
* Finish removal of usb_port.h macros.Warner Losh2007-06-181-2/+3
| | | | Notes: svn path=/head/; revision=170937
* Expand USB_MATCH_STARTWarner Losh2007-06-171-1/+1
| | | | Notes: svn path=/head/; revision=170886
* Expand USB_DETACH, USB_ATTACH and USB_MATCH inline. No functionalWarner Losh2007-06-131-3/+6
| | | | | | | change, and MD5's appear to be the same. Notes: svn path=/head/; revision=170655
* First pass at removing __OtherBSD__. We can't blindly remove all ofWarner Losh2007-06-121-5/+0
| | | | | | | | | them in bulk because there is at least one feature that's unimplemented on FreeBSD that needs to be done and these are good placeholders. Notes: svn path=/head/; revision=170629
* Eliminate usb_thread_t.Warner Losh2007-06-121-1/+1
| | | | Notes: svn path=/head/; revision=170617
* Expand USB_ATTACH_{ERROR,SUCCESS}_RETURN inline and eliminate fromWarner Losh2007-06-121-2/+2
| | | | | | | usb_port.h. They aren't needed, and are a legacy of this code's past. Notes: svn path=/head/; revision=170612
* Remove devinfo junk.Warner Losh2007-06-091-14/+0
| | | | | | | | | Remove bogus bzero/memset Expand USB_ATTACH_SETUP Minor nits Notes: svn path=/head/; revision=170454
* Remove compat ifdefs for version < 500014 from the rest of the USB files.Christian Brueffer2007-06-071-4/+0
| | | | | | | | Approved by: rwatson (mentor) MFC after: 1 week Notes: svn path=/head/; revision=170397
* Despite several examples in the kernel, the third argument ofDavid Malone2007-06-041-2/+2
| | | | | | | | | | | | | | | | sysctl_handle_int is not sizeof the int type you want to export. The type must always be an int or an unsigned int. Remove the instances where a sizeof(variable) is passed to stop people accidently cut and pasting these examples. In a few places this was sysctl_handle_int was being used on 64 bit types, which would truncate the value to be exported. In these cases use sysctl_handle_quad to export them and change the format to Q so that sysctl(1) can still print them. Notes: svn path=/head/; revision=170289
* Use pause() rather than tsleep() on stack variables and function pointers.John Baldwin2007-02-271-1/+1
| | | | Notes: svn path=/head/; revision=167086
* More removing compatibility macros.Warner Losh2006-09-071-31/+31
| | | | | | | | | md5 still the same. "Dave, stop. I feel my mind slipping away." -- hal Notes: svn path=/head/; revision=162097
* s/Static/static/gWarner Losh2006-09-061-38/+38
| | | | | | | | | | | | | s/device_ptr_t/device_t/g No md5 changes in the .o's # Note to the md5 tracking club: $FreeBSD$ changes md5 after every commit # so you need to checkout -kk to get $FreeBSD$ instead of the actual value # of the keyword. Notes: svn path=/head/; revision=162095
* Fix -Wundef from compiling the amd64 LINT.Ruslan Ermilov2005-12-041-2/+2
| | | | Notes: svn path=/head/; revision=153084
* 'PC Card' instead of other variantsWarner Losh2005-09-221-2/+2
| | | | Notes: svn path=/head/; revision=150460
* Use a taskqueue to handle port status changes.Shunsuke Akiyama2005-01-311-1/+18
| | | | | | | | | Calling ucom layer directly from interrupt context make a panic. MFC after: 1 week Notes: svn path=/head/; revision=141087
* Overhaul ucom serial driver by using generic stuff instead of homerolledPoul-Henning Kamp2004-09-171-3/+4
| | | | | | | all over the place. Notes: svn path=/head/; revision=135379
* MFp4: First batch of dev/usb/usbdevs.h -> usbdevs.h changes.Warner Losh2004-06-271-1/+1
| | | | Notes: svn path=/head/; revision=131187
* Add missing <sys/module.h> includesPoul-Henning Kamp2004-05-301-0/+1
| | | | Notes: svn path=/head/; revision=129879
* Add support SUNTAC U-Cable type A4 (AS144L4)MIHIRA Sanpei Yoshiro2004-05-021-0/+2
| | | | | | | | | | http://www.sun-denshi.co.jp/scc/products/mobile/as144l4/as144l4.htm (in Japanese) PR: kern/66144 Submitted by: KURASHINA Hideyuki <rushani@FreeBSD.org> Notes: svn path=/head/; revision=128825
* It appears that we don't need sys/vnode.h, which is a layering violation...Warner Losh2004-01-021-1/+0
| | | | Notes: svn path=/head/; revision=124063
* Make interrupt pipe interval time configurable.Shunsuke Akiyama2003-11-161-1/+27
| | | | | | | | | | - Add kernel options: {UPLCOM,UVSCOM}_INTR_INTERVAL - Add sysctl variables: 'hw.usb.{uplcom,uvscom}.interval' MFC after: 1 week Notes: svn path=/head/; revision=122796
* Use __FBSDID().David E. O'Brien2003-08-241-1/+3
| | | | | | | Also some minor style cleanups. Notes: svn path=/head/; revision=119418
* WARNING: white space diffJohn-Mark Gurney2003-07-041-2/+2
| | | | | | | | | 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. Notes: svn path=/head/; revision=117213
* Fix device freeze to reduce output packet size.Shunsuke Akiyama2003-03-091-4/+33
| | | | | | | And make this value configurable by kernel config or sysctl. Notes: svn path=/head/; revision=112041
* Add missing module dependency.Shunsuke Akiyama2003-03-091-0/+1
| | | | Notes: svn path=/head/; revision=112038
* Back out M_* changes, per decision of the TRB.Warner Losh2003-02-191-2/+2
| | | | | | | Approved by: trb Notes: svn path=/head/; revision=111119
* Add support SUNTAC Ir-Trinity IS96UMIHIRA Sanpei Yoshiro2003-02-131-0/+2
| | | | | | | | PR: 48212 Submitted by: Masaharu FUJITA <m@fjts.org> Notes: svn path=/head/; revision=110793
* Add support SUNTAC U-Cable TypeD2 (DS96L)MIHIRA Sanpei Yoshiro2003-02-111-0/+2
| | | | | | | | PR: kern/47547 Submitted by: Kazu TAKAMUNE <takamune@mail.com> Notes: svn path=/head/; revision=110660
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.Alfred Perlstein2003-01-211-2/+2
| | | | | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT. Notes: svn path=/head/; revision=109623
* Apply some fixups in the driver_t's.Josef Karthauser2002-11-171-1/+1
| | | | | | | | Submitted by: akiyama MFC after: 3 days Notes: svn path=/head/; revision=107014
* Use the hw.usb sysctl tree instead of debug.usb.Josef Karthauser2002-08-081-1/+2
| | | | | | | Requested by: imp Notes: svn path=/head/; revision=101521
* Replace the FOO_DEBUG definitions with USB_DEBUG, and switch theJosef Karthauser2002-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. Notes: svn path=/head/; revision=101060
* Get bored with hard coded debug level variables and introduce a debug.usbJosef Karthauser2002-07-311-6/+1
| | | | | | | | | sysctl tree for tweaking them real-time. Reviewed by: iedowse Notes: svn path=/head/; revision=101053
* It's not "usio" anymore, it's "ucom".Josef Karthauser2002-07-101-1/+1
| | | | | | | Submitted by: nsayer Notes: svn path=/head/; revision=99702
* Improve detach operation.Josef Karthauser2002-07-101-5/+5
| | | | | | | Submitted by: akiyama Notes: svn path=/head/; revision=99701
* Use usb_lookup instead of rolling our own.Josef Karthauser2002-03-281-13/+4
| | | | | | | Suggested by: Lennart Augustsson <lennart@augustsson.net> Notes: svn path=/head/; revision=93335
* Remove some surplus whites.Josef Karthauser2002-03-281-12/+12
| | | | Notes: svn path=/head/; revision=93333
* Move some includes around to make it more *BSD compliant.Josef Karthauser2002-03-271-4/+12
| | | | | | | Suggested by: Lennart Augustsson <augustss@netbsd.org> Notes: svn path=/head/; revision=93280
* Add a USB comm driver.Josef Karthauser2002-03-181-0/+888
Ported from NetBSD by: akiyama Notes: svn path=/head/; revision=92603