| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
this with a Suunto D6i dive computer.
|
| |
|
|
|
|
|
|
|
| |
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.
ok tedu@ deraadt@
|
|
|
|
| |
the 'dying' flag.
|
|
|
|
|
|
| |
it is now checked to prevent any operation on the device.
Problem found and fix tested by sebastia@
|
|
|
|
|
|
| |
usbd_is_dying().
Found the hard way by sebastia@
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The child should not have to call the parent for deactivation.
The parent should handle it.
So kill the activate routine in ucom(4) and adapt the parents
to no longer call it.
Also remove sc_dying in ucom(4) and use usbd_is_dying() instead.
Okay mpi@.
|
|
|
|
| |
Testing and okay mpi@.
|
|
|
|
|
|
|
|
|
|
| |
starting with usbd_endpoint_count and usbd_interface_count. usbd_status
should only be used to indicate the status of a USB transfer, it should
not be used for generic error codes.
Idea from and much hand-holding by mpi@
OK mpi@
|
|
|
|
|
|
|
|
|
| |
definitions instead. We don't change usb.h for now to stay compatible
with userland.
Tested by mpi@ on macppc and myself on i386.
ok mpi@
|
|
|
|
|
| |
and the buffersizes are now taken from the endpoint descriptors.
From Raphael Graf
|
| |
|
|
|
|
| |
OK jsg@
|
|
|
|
|
| |
uftdi0 at uhub2 port 1 "RT Systems CT57B Radio Cable" rev 2.00/6.00 addr 2
ucom0 at uftdi0 portno 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
|
|
|
|
|
|
| |
them from userland, and nothing in the kernel uses them.
ok krw@, miod@
|
|
|
|
|
|
| |
The dying flag will be set in activate()/DEACTIVATE.
ok deraadt@
|
| |
|
|
|
|
| |
from Tobias Ulmer; ok jsg
|
|
|
|
|
|
| |
This is needed for the addition of further suspend/resume actions.
Okay deraadt@, marco@.
|
| |
|
| |
|
|
|
|
| |
ok deraadt
|
|
|
|
|
|
|
|
|
| |
when usb_lookup is used. If a device indeed has 0 as vendor and product
ID, like the HP DL165 BMC Server Engines SE USB Device, a wrong driver
will attach and the machine will most pbly crash.
Problem reported Rivo Nurges <rix@estpak.ee>
cvs: ----------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
| |
Linux driver. Prompted by a diff adding the "ELV EM 1010"
from MERIGHI Marcus <Marcus@Merighi.AT>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- New matching logic so we don't need to check against vid/pid
to figure out which kind of chip we have
- Match list in a struct instead of messy if statement (hurrah!)
- More generic dual port handling
- Insane amount of device additions, mostly found in Linux driver
(aue included as a usb vendor got renamed)
Tested by ckuethe@, 'looks super sensible' deraadt@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fossil Abacus Wrist PDA
Thorsten Trampisch in FreeBSD PR 113384
* Expert ISDN Control
* RS232 OptoBridge
Jonathan Charest in FreeBSD PR 110992
* Several Tactrix OpenPort (ECU) devices.
Y.Okabe in FreeBSD PR 119981
* Logitec LAN-GTJ/U2 Ethernet
HAGIMORI 'buggy' Masashige in FreeBSD PR 115933
* RATOC REX-USB60F serial
|
| |
|
|
|
|
|
|
| |
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
|
|
|
|
| |
ok dlg@
|
|
|
|
|
|
|
|
| |
USB_DECLARE_DRIVER macros.
No binary change.
ok dlg.
|
|
|
|
|
|
| |
No binary change.
ok ray.
|
|
|
|
|
|
| |
No binary change.
ok mk.
|
|
|
|
|
|
|
| |
(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 deraadt@ krw@ mbalmer@
|
| |
|
|
|
|
| |
From Darrin Chandler
|
| |
|
|
|
|
|
|
| |
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@
|
|
|
|
| |
strange rates one might need; mrd@alkemio.org
|
| |
|
| |
|
| |
|