| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Calling ucom layer directly from interrupt context make a panic.
MFC after: 1 week
|
| |
|
|
|
|
|
|
| |
shouldn't be included in drivers, generally, so remove them.
OK'd by: phk
|
|
|
|
| |
all over the place.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Kyocera AH-K3001V has 2 data interface. But we could use only one
interface(id = 0)
PR: kern/66779
Submitted by: Togawa Satoshi <toga@puyo.org>
|
|
|
|
|
|
| |
PR: kern/66779
Submitted by: Togawa Satoshi <toga@puyo.org>
MFC after: 1 week
|
|
|
|
| |
URL updates
|
|
|
|
| |
Also some minor style cleanups.
|
|
|
|
|
| |
All drivers which depend on ucom interfaces should use only one
sc_dying.
|
|
|
|
| |
Approved by: trb
|
|
|
|
| |
Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
|
| |
|
|
|
|
|
|
|
|
| |
ucom.
This gets my Sanyo SCP-4900 working.
Approved by: joe
|
|
|
|
| |
Requested by: imp
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
sysctl tree for tweaking them real-time.
Reviewed by: iedowse
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
general cleanup of the API. The entire API now consists of two functions
similar to the pre-KSE API. The suser() function takes a thread pointer
as its only argument. The td_ucred member of this thread must be valid
so the only valid thread pointers are curthread and a few kernel threads
such as thread0. The suser_cred() function takes a pointer to a struct
ucred as its first argument and an integer flag as its second argument.
The flag is currently only used for the PRISON_ROOT flag.
Discussed on: smp@
|
| |
|
|
|
|
| |
Update $NetBSD$ idents to better reflect reality.
|
|
|
|
| |
the cdev switch.
|
|
|
|
|
| |
This makes the code more portable between -current, -stable and the
other BSDs.
|
|
|
|
|
|
| |
date: 2000/02/29 21:37:01; author: augustss; state: Exp;
Distinguish between device and interface classes.
(I finally found a document that said that they were different.)
|
|
|
|
| |
to hide the distinction between struct proc and struct thread.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
This avoids panicing the system by unplugging a hub. The interrupt transfer
would sometimes arrive after the driver had been removed.
|
|
|
|
| |
the bit-bucket.
|
|
|
|
| |
Backwards compatible approach suggested by: peter
|
| |
|
| |
|
|
|
|
|
| |
Tested by: jim
Obtained from: NetBSD
|
|
|
|
|
|
|
|
|
|
| |
length of the data properly. This should be moved into a tty_subr
function.
Also, disanle the setting of the CDC_CM_OVER_DATA flag. It breaks some
modems. I don't think that ther actually is a modem that needs this.
Submitted by: Brad Karp <bkarp@ICSI.Berkeley.EDU>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
There is a number of devices that are compliant, of which the 3Com 5605 is
has been verified to work.
The driver is not perfect yet, but should be able to get you somewhere.
The driver was originally written by Lennart Augustsson, but Mike Smith
and Mike Meyer <mwm@mired.org> did the porting.
|
| |
|
|
|
|
|
|
| |
ioccom.h defines only implementation detail, and should therefore
only be included from the #include which defines the ioctl tags,
in other words: never include it from *.c
|
|
|
|
| |
Remove ~60 unneeded #include <sys/malloc.h>
|
|
|
|
|
|
| |
#define Static static
that the OpenBSD folks can define it to be empty if they like.
|
| |
|
|
|
|
| |
Submitted by: Guy Helmer <ghelmer@scl.ameslab.gov>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Some cleanup and improvements in the uhci and ohci drivers
- Support for plugging and unplugging devices improved
- Now available is bulk transport over OHCI controllers
- Resume and suspend have been temporarily been disabled again. Proper
support for it is available in the uhci.c and ohci.c files but I have
not yet spent the brain cycles to use it.
- OpenBSD now uses the USB stack as well
- Add FreeBSD tags
|
|
|
|
| |
manually.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
i386 platform boots, it is no longer ISA-centric, and is fully dynamic.
Most old drivers compile and run without modification via 'compatability
shims' to enable a smoother transition. eisa, isapnp and pccard* are
not yet using the new resource manager. Once fully converted, all drivers
will be loadable, including PCI and ISA.
(Some other changes appear to have snuck in, including a port of Soren's
ATA driver to the Alpha. Soren, back this out if you need to.)
This is a checkpoint of work-in-progress, but is quite functional.
The bulk of the work was done over the last few years by Doug Rabson and
Garrett Wollman.
Approved by: core
|
|
|
|
|
|
|
| |
2) create function usbd_errstr which turns a usbd_status into a sensible
error message
3) Change the printf in DPRINTF to logprintf which is a define for
log(KERN_DEBUG, x)
|
|
|
|
| |
kernel compile
|
| |
|
|
|
|
|
| |
the usb device class instead of the uhub devclass. Only a problem with more
than one USB host controller.
|