| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Check O_NONBLOCK instead of IO_NDELAY
Don't include vnode.h
|
|
|
|
|
|
|
| |
alphabetical.
# vnode.h should not be included here, but it is required for proper decoding
# of the flags args. This may change in the future...
|
|
|
|
| |
in FreeBSD probe mechanism.
|
|
|
|
| |
moved into them.
|
| |
|
|
|
|
|
|
| |
sc_parent, so back out the previous commit, as it breaks the build.
If there's a pointy hat left, pass it on.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
uhid.c (1.61), author: jdolecek
add support for USB_GET_DEVICEINFO and USB_GET_STRING_DESC ioctls,
with same meaning as for ugen(4)
usbdi_util.h (1.29), usb_quirks.c (1.50), uhid.c (1.62),
ugen.c (1.68), usb_subr.c (1.114) author: mycroft
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), author: mycroft
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.
Obtained from: NetBSD
|
|
|
|
| |
Bump __FreeBSD_version accordingly.
|
|
|
|
| |
Obtained from: NetBSD
|
|
|
|
|
|
|
|
| |
Introduce d_version field in struct cdevsw, this must always be
initialized to D_VERSION.
Flip sense of D_NOGIANT flag to D_NEEDGIANT, this involves removing
four D_NOGIANT flags and adding 145 D_NEEDGIANT flags.
|
|
|
|
|
|
|
| |
Free approx 86 major numbers with a mostly automatically generated patch.
A number of strategic drivers have been left behind by caution, and a few
because they still (ab)use their major number.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
thread being waken up. The thread waken up can run at a priority as
high as after tsleep().
- Replace selwakeup()s with selwakeuppri()s and pass appropriate
priorities.
- Add cv_broadcastpri() which raises the priority of the broadcast
threads. Used by selwakeuppri() if collision occurs.
Not objected in: -arch, -current
|
|
|
|
| |
Submitted by: luoqi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
even could call VOP_REVOKE() on vnodes associated with its dev_t's
has originated, but it stops right here.
If there are things people belive destroy_dev() needs to learn how to
do, please tell me about it, preferably with a reproducible test case.
Include <sys/uio.h> in bluetooth code rather than rely on <sys/vnode.h>
to do so.
The fact that some of the USB code needs to include <sys/vnode.h>
still disturbs me greatly, but I do not have time to chase that.
|
| |
|
|
|
|
| |
Also some minor style cleanups.
|
| |
|
|
|
|
|
|
| |
date: 2002/09/23 05:51:20; author: simonb;
Remove breaks after returns, unreachable returns and returns after
returns(!).
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
PR: kern/48808
Submitted by: Eugene Grosbein <eugen@grosbein.pp.ru>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
branches:
Initialize struct cdevsw using C99 sparse initializtion and remove
all initializations to default values.
This patch is automatically generated and has been tested by compiling
LINT with all the fields in struct cdevsw in reverse order on alpha,
sparc64 and i386.
Approved by: re(scottl)
|
|
|
|
| |
Approved by: trb
|
|
|
|
| |
Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
|
|
|
|
| |
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
|
|
|
|
|
| |
date: 2001/10/26 17:58:21; author: augustss;
s/usbd_alloc_report_desc/usbd_read_report_desc/
|
|
|
|
|
|
| |
revision 1.44
date: 2001/09/15 16:16:28; author: yamt; state: Exp; lines: +3 -3
correct debug messages.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
date: 2000/12/29 01:47:49; author: augustss;
Supply our own report descriptor (from Nick Hibma) for the Wacom Graphire.
The descriptor it reports is broken.
XXX Not tested, because I don't have the device.
date: 2001/08/15 00:06:49; author: augustss; state: Exp; lines: +3 -1
If there was a vendor+product locator match return a higher match value.
Rationale, if you have a device (e.g., a mouse) with a more specific
driver but want to recognize it with the more generic driver you can
do that by supplying vendor and product locators for the generic one.
|
|
|
|
|
|
|
| |
revision 1.40
date: 2000/10/10 12:37:01; author: augustss; state: Exp; lines: +4 -3
Don't free unallocated pointer in detach (can happen if detach happens
before attach has finished).
|
|
|
|
| |
Update $NetBSD$ idents to better reflect reality.
|
|
|
|
| |
the cdev switch.
|
|
|
|
|
|
|
|
|
| |
c++ keywords.
This keeps us in sync with NetBSD because they actually committed
my delta first.
Ok'd by: lennard
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
Null the pointer after freeing the memory.
PR: 27370
Submitted by: Alec Barea <alec@barea.org>
MFC after: 5 days
|
|
|
|
|
|
|
|
|
|
|
| |
other "system" header files.
Also help the deprecation of lockmgr.h by making it a sub-include of
sys/lock.h and removing sys/lockmgr.h form kernel .c files.
Sort sys/*.h includes where possible in affected files.
OK'ed by: bde (with reservations)
|
|
|
|
| |
the bit-bucket.
|
| |
|
| |
|
| |
|
|
|
|
| |
versions.
|
|
|
|
|
|
| |
Add USB_SET_REPORT ioctl.
Add FIOASYNC, TIOCSPGRP ioctl.
Change some debugging output
|
| |
|
|
|
|
|
|
| |
#define Static static
that the OpenBSD folks can define it to be empty if they like.
|