summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/ulpt.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Don't bother keeping a {u,}lptioctl function which is a duplicate ofmiod2011-09-171-15/+1
| | | | | enodev(). ok jsing@ krw@ deraadt@
* Remove config_activate() and DVACT_ACTIVATE. PCMCIA's the only thingmatthew2011-07-031-4/+1
| | | | | | | | that's ever used it, and it's long since been changed to use DVACT_{QUIESCE,SUSPEND,RESUME} instead. ok deraadt@, dlg@; miod@ also agreed with this idea when I brought it up a few weeks ago
* garbage collect "usb events". without /dev/usb there is no way to accessjakemsr2011-01-251-6/+1
| | | | | | them from userland, and nothing in the kernel uses them. ok krw@, miod@
* remove dying flag in detach() function.yuo2010-09-241-2/+1
| | | | | | The dying flag will be set in activate()/DEACTIVATE. ok deraadt@
* Get rid of devact enum, substitute it with an int and coresponding defines.pirofti2009-10-131-3/+3
| | | | | | This is needed for the addition of further suspend/resume actions. Okay deraadt@, marco@.
* stop waiting for the printer to become ready, see PR 5427 for morederaadt2008-10-091-19/+3
| | | | information. Also explains PR 4124 and 5318
* First pass at removing clauses 3 and 4 from NetBSD licenses.ray2008-06-261-8/+1
| | | | | | | | | Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
* treat usb vendor/product names as a locator, and have usbd_print handle it,deraadt2007-10-111-6/+3
| | | | | | so that it shows up before the :. as a result, all the usb devices do not need to have name printing code anymore. all this now works and prints nicely because usbd_probe_and_attach() is serialized. ok kettenis
* Remove the definition and usage of the USB_DECLARE_DRIVER_CLASS andmbalmer2007-06-141-2/+17
| | | | | | | | USB_DECLARE_DRIVER macros. No binary change. ok dlg.
* Remove the definition and use of the device_ptr_t which was a struct device *.mbalmer2007-06-121-2/+2
| | | | | | No binary change. ok mk.
* Remove the usb_proc_ptr type definition, which was really a 'struct proc *'mbalmer2007-06-111-4/+4
| | | | | | | | only. No binary change. ok mk.
* Remove the USB_GET_SC_OPEN macro. There is a double check for sc == NULL inmbalmer2007-06-111-2/+6
| | | | | | | | ulpt.c, I am aware of that and it will be changed later. No binary change. ok mk.
* Remove the definition and use of the USB_GET_SC macro, no binary change.mbalmer2007-06-111-3/+3
| | | | ok mk.
* Remove the definition and use of the USBDEVNAME macro.mbalmer2007-06-101-13/+13
| | | | | | | (This might look easy, but it was a big diff. Thanks to dlg and especially jsg for looking over it; we found at least four mistakes in the initial diff.) ok jsg.
* Remove the definition and use of the USBDEV macro. It only created confusionmbalmer2007-06-101-6/+6
| | | | | | | | and the address of it's argument: USBDEV(sc->sc_dev) yields &sc->sc_dev. No binary changes. ok jsg.
* Mechanical removal of USBBASEDEVICE. No binary change.mk2007-06-061-2/+2
| | | | | | Tested by thib and myself. ok mbalmer jsg
* Remove more Free(?)BSD and NetBSD #ifdef/#endifs. No functional normbalmer2007-06-011-93/+1
| | | | | | binary change. ok jsg
* Farewell USB_{ATTACH,MATCH,DETACH}* you will not be missed.jsg2007-05-271-15/+16
| | | | ok deraadt@ krw@ mbalmer@
* Remove logprintf macrojsg2007-05-211-3/+3
|
* In a drivers activate() entry point, if on DVACT_DEACTIVATE it doesmiod2006-06-231-2/+2
| | | | | | something, then it MUST return zero on DVACT_ACTIVATE, not EOPNOTSUPP; this very popular bug has been cut and pasted a lot of times... ok deraadt@ mickey@
* Don't keep the devinfo string on the stack, instead use malloc/free.brad2005-08-011-11/+13
| | | | | | | | This should cure some rare stack overflows. From augustss NetBSD ok dlg@ pascoe@
* put "do { } while (0)" wrappers on all the debug maroc functionsderaadt2004-07-081-3/+3
|
* updated URLs from Jared Yanovich;jmc2003-11-071-2/+2
| | | | | | however, I did not apply the diff exactly. After hunting around I found URLs for the missing files, and the ../index.html link appears not to work. I replaced it with a more suitable link.
* don't use 1284 modenate2003-05-191-4/+5
| | | | | | | When detaching a ulpt device, call vdevgone() for the corresponding NOPRIME minor device too. from NetBSD
* string cleanup; nate okderaadt2003-05-071-2/+2
|
* sync with NetBSDnate2002-11-111-7/+19
|
* Remove more '\n's from panic() statements. Both trailing and leading.krw2002-10-121-2/+2
| | | | Diff generated by Chris Kuethe.
* update $NetBSD$ tagsnate2002-07-251-2/+2
|
* get rid of trailing whitespacenate2002-07-251-5/+5
|
* no provate cdev_decl()s, they are in sys/conf.h nowmickey2002-07-101-2/+2
|
* Sync ulpt driver with NetBSDnate2002-05-071-13/+31
|
* Synchronize usb code with NetBSD.nate2001-10-311-6/+7
|
* Match a IEEE 1284.4 protocol. We do not support this protocol directly,gluk2001-10-041-4/+6
| | | | | | | | but USB_ATTACH will switch printer to bidirectional protocol. Read status from printer. From NetBSD. This forces newest usb printers works. Tested by drahn@ (Epson 740) and me (HP LaserJet 2200). Ok aaron@
* Sync with NetBSD. Tested with a USB keyboard, USB mouse, and three differentaaron2001-05-031-41/+166
| | | | kue(4) Ethernet devices.
* Another USB sync with NetBSD. We are still lacking an up-to-date umass(4)aaron2001-01-281-8/+33
| | | | | | driver. I would appreciate it if someone with the hardware looked into it. I also have to take a closer look at changes to the USB Ethernet drivers, as well as import some drivers we are missing (uftdi, if_upl, yap, etc.)
* Sync with NetBSD. Too many changes to mention. For now I have skippedaaron2000-11-081-44/+18
| | | | umass.c and ukbd.c as the diffs are a bit hairier.
* sync with NetBSD... well almost. someone w/ the hw should check umass.fgsch2000-07-041-2/+2
|
* Sync with NetBSD.aaron2000-04-141-3/+3
|
* Sync with NetBSD. USB Ethernet drivers should work now.aaron2000-03-301-7/+7
|
* Much cleaner sync with NetBSD. Some #if defined() magic has been sent in theaaron2000-03-281-0/+594
form of a diff to augustss@netbsd.org so that future syncs will be very easy. This commit also adds support for ADMtek AN986 "Pegasus" based USB Ethernet, CATC USB-EL1210A based USB Ethernet, and USB Printers (all untested).