| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
the obvious cases to return EINVAL and ENXIO.
ok tedu deraadt
|
|
|
|
|
|
| |
them from userland, and nothing in the kernel uses them.
ok krw@, miod@
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
interfaces as being claimed in the usbd_device's copy of the interface
descriptors
* allow ugen(4) to be attached if there are unused interfaces in a
configuration that has had drivers attached
* make ugen(4) aware that it may be sharing a device with (an)other
driver(s), and if so:
* do not let ugen(4) change the configuration
* do not let ugen(4) access the already claimed interfaces
discussed with deraadt and miod
|
|
|
|
|
|
| |
The dying flag will be set in activate()/DEACTIVATE.
ok deraadt@
|
|
|
|
|
|
|
|
|
|
| |
supported it doesn't do any harm), so put the KNOTE() in selwakeup() itself and
remove it from any occurences where both are used, except one for kqueue itself
and one in sys_pipe.c (where the selwakeup is under a PIPE_SEL flag).
Based on a diff from tedu.
ok deraadt
|
|
|
|
|
|
|
| |
calls can go directly into selwakeup() safely
long discussion with nicm, murmers of consent from tedu and miod, noone
else seems to care of kqueue is busted as long as it makes their sockets
move data fast... pretty sad.
|
|
|
|
|
|
| |
This is needed for the addition of further suspend/resume actions.
Okay deraadt@, marco@.
|
|
|
|
|
|
|
|
| |
Change to void function.
Also, no need to have global tty stats pointer, so just return it
from clalloc, as the caller frees it immediately anyway.
ok miod@
|
|
|
|
|
|
| |
check for a non-NULL configuration descriptor before dereferencing.
ok deraadt@
|
|
|
|
|
|
|
| |
o Use the timeout for isochronous transfers as well
o Allow to set the timeout for both, read and write
From FreeBSD. you@ ok some time ago.
|
|
|
|
|
| |
fails. fixes my ups
looked over by fgs@. ok sthen@
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
|
|
|
|
| |
- the wskbd/wsmouse is not phantom, but actually is pre-paired keyboard/mice
talking wskbd/wsmouse to the os
this permits the bluetooth device to attach as wskbd/wsmouse using bluetooth
keyboards for ddb> and in general if you have paired them in an os that
supports flipping the funny bluetooth device into full bluetooth mode
ok drahn@
|
| |
|
|
|
|
|
|
| |
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
|
|
|
|
| |
calculate the timeout. help & ok jsg
|
|
|
|
|
|
|
|
| |
USB_DECLARE_DRIVER macros.
No binary change.
ok dlg.
|
|
|
|
|
|
| |
No binary change.
ok mk.
|
|
|
|
|
|
|
|
| |
only.
No binary change.
ok mk.
|
|
|
|
|
|
|
|
| |
ulpt.c, I am aware of that and it will be changed later.
No binary change.
ok mk.
|
|
|
|
| |
ok mk.
|
|
|
|
|
|
|
| |
(which was there twice without gcc complaining) and update all uses of
it.
ok jsg mbalmer
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
|
|
|
|
| |
and the address of it's argument: USBDEV(sc->sc_dev) yields &sc->sc_dev.
No binary changes.
ok jsg.
|
|
|
|
|
|
| |
Tested by thib and myself.
ok mbalmer jsg
|
|
|
|
|
|
|
| |
and it was not consistently used. It was confusing as it suggested these
functions were static, which they were not.
discussed with dlg and jsg, ok jsg.
|
|
|
|
| |
ok jsg
|
|
|
|
| |
ok deraadt@ krw@ mbalmer@
|
| |
|
|
|
|
| |
from alexandre ratchov. ok claudio
|
|
|
|
|
|
| |
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@
|
|
|
|
|
| |
also showing up as usb devices, but both devices are tied.
To make things less confusing, do not attach the usb phantoms at all.
|
|
|
|
|
| |
userland-visible sys/select.h. Consistent with what Net and Free do.
OK deraadt@, tested with full ports build by naddy@.
|
|
|
|
|
|
|
|
| |
This should cure some rare stack overflows.
From augustss NetBSD
ok dlg@ pascoe@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
usbdi_util.h (1.29), uhid.c (1.62), ugen.c (1.68), usb_subr.c (1.114)
Yes, some devices return incorrect lengths in their string
descriptors. Rather than losing, do what Windows does: just
request the maximum size, and allow a shorter response. Obsoletes
the need for UQ_NO_STRINGS, and therefore these "quirks" are removed.
usb_subr.c (1.116)
In the "seemed like a good idea until I found the fatal flaw"
department... Attempting to read a maximum-size string descriptor
causes my kue device to go completely apeshit. So, go back to the
original method, but allow the device to return a shorter string than
it claimed.
|
|
|
|
|
|
|
|
| |
log message:
Implement outgoing interrupt pipes. It is part of the USB 1.1 spec.
The Lego Infrared Tower use it.
ok deraadt@
|
| |
|
|
|
|
|
| |
and uscanner
From NetBSD
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
From NetBSD
|
| |
|
| |
|
|
|
|
| |
From NetBSD
|
| |
|
|
|
|
|
| |
idea from deraadt@ via NetBSD
millert@ ok
|