| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
new USB2 stack will fully replace this for 8.0.
Remove kernel modules, a subsequent commit will update conf/files. Unhook
usbdevs from the build.
Notes:
svn path=/head/; revision=188939
|
|
|
|
|
|
|
|
|
|
|
|
| |
from umodem and ufoma.
With these changes, umodem kinda works for me now. It certainly gets
past the "tip" bug that I found earlier where 115200 wasn't a valid
baud rate. This was "broken" in the mpsafetty commit, but in reality,
umodem was always broken.
Notes:
svn path=/head/; revision=182506
|
|
|
|
|
|
|
|
| |
ENOTTY. Also, make the ucom callback structure easier to read while
I'm here.
Notes:
svn path=/head/; revision=182505
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The last half year I've been working on a replacement TTY layer for the
FreeBSD kernel. The new TTY layer was designed to improve the following:
- Improved driver model:
The old TTY layer has a driver model that is not abstract enough to
make it friendly to use. A good example is the output path, where the
device drivers directly access the output buffers. This means that an
in-kernel PPP implementation must always convert network buffers into
TTY buffers.
If a PPP implementation would be built on top of the new TTY layer
(still needs a hooks layer, though), it would allow the PPP
implementation to directly hand the data to the TTY driver.
- Improved hotplugging:
With the old TTY layer, it isn't entirely safe to destroy TTY's from
the system. This implementation has a two-step destructing design,
where the driver first abandons the TTY. After all threads have left
the TTY, the TTY layer calls a routine in the driver, which can be
used to free resources (unit numbers, etc).
The pts(4) driver also implements this feature, which means
posix_openpt() will now return PTY's that are created on the fly.
- Improved performance:
One of the major improvements is the per-TTY mutex, which is expected
to improve scalability when compared to the old Giant locking.
Another change is the unbuffered copying to userspace, which is both
used on TTY device nodes and PTY masters.
Upgrading should be quite straightforward. Unlike previous versions,
existing kernel configuration files do not need to be changed, except
when they reference device drivers that are listed in UPDATING.
Obtained from: //depot/projects/mpsafetty/...
Approved by: philip (ex-mentor)
Discussed: on the lists, at BSDCan, at the DevSummit
Sponsored by: Snow B.V., the Netherlands
dcons(4) fixed by: kan
Notes:
svn path=/head/; revision=181905
|
|
|
|
|
|
|
|
| |
Submitted by: "R.Mahmatkhanov" cvs-src at yandex ru
Approved by: re (blanket)
Notes:
svn path=/head/; revision=171651
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
adequate. Increase them to 1k. The referenced PR made this a sysctl,
but that seems like overkill to me. The difference between 320 and
2048 bytes in modern systems, even embedded ones, seems to be in the
noise to be worth the extra hair to make it settable.
PR: 74609
Submitted by: Divacky Roman
Approved by: re (blanket)
Notes:
svn path=/head/; revision=171074
|
|
|
|
|
|
|
|
| |
Submitted by: mjacob
Approved by: re@
Notes:
svn path=/head/; revision=170997
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Consistently use device_foo_t and bus_foo_t for functions implementing
device_foo and bus_foo respectively. Adjust those routines that were wrong
(we should do this throughout the tree).
o make all the modules depend on usb. Otherwise these modules won't
load.
o ucycom doesn't need usb_port.h
o Minor unifdefing
o uhub, umass, ums, urio, uscanner conversion complete.
o ukbd: Remove the NO_SET_PROTO quirk (fixes a PR 77940). NetBSD removed
their check and setting the proto a long time ago.
o umodem panic fixed. UQ_ASSUME_CM_OVER_DATA quirk removed because I've never
seen a umodem that needed this rejection for proection (this gets rid of
~20% of the quirks).
Approved by: re@ (kensmith)
PR: 77940
Notes:
svn path=/head/; revision=170969
|
|
|
|
|
|
|
| |
Approved by: re@
Notes:
svn path=/head/; revision=170960
|
|
|
|
| |
Notes:
svn path=/head/; revision=170937
|
|
|
|
| |
Notes:
svn path=/head/; revision=170886
|
|
|
|
|
|
|
| |
change, and MD5's appear to be the same.
Notes:
svn path=/head/; revision=170655
|
|
|
|
| |
Notes:
svn path=/head/; revision=170617
|
|
|
|
|
|
|
| |
usb_port.h. They aren't needed, and are a legacy of this code's past.
Notes:
svn path=/head/; revision=170612
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
error doing so. It seems an increasing number of phones have this
quirk, and we're not keeping up. There appears to be nothing bad that
happens for non-quirked phones.
Minor cleanups:
o prefer device_printf over printf
o kill devinfo stuff
o minor other preening.
Notes:
svn path=/head/; revision=170450
|
|
|
|
|
|
|
|
|
| |
md5 still the same.
"Dave, stop. I feel my mind slipping away." -- hal
Notes:
svn path=/head/; revision=162097
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
s/device_ptr_t/device_t/g
No md5 changes in the .o's
# Note to the md5 tracking club: $FreeBSD$ changes md5 after every commit
# so you need to checkout -kk to get $FreeBSD$ instead of the actual value
# of the keyword.
Notes:
svn path=/head/; revision=162095
|
|
|
|
|
|
|
|
|
|
|
| |
- Curitel PC5740 Wireless Modem (Verizon's PCMCIA card)
- Sierra MC5720 Wireless Modem (Built in to Thinkpad X60s)
PR: 98908
Submitted by: Michael Collette <metrol@metrol.net>
Notes:
svn path=/head/; revision=159749
|
|
|
|
|
|
|
|
|
| |
Calling ucom layer directly from interrupt context make a panic.
MFC after: 1 week
Notes:
svn path=/head/; revision=141087
|
|
|
|
| |
Notes:
svn path=/head/; revision=139749
|
|
|
|
|
|
|
|
|
| |
shouldn't be included in drivers, generally, so remove them.
OK'd by: phk
Notes:
svn path=/head/; revision=138787
|
|
|
|
|
|
|
| |
all over the place.
Notes:
svn path=/head/; revision=135379
|
|
|
|
| |
Notes:
svn path=/head/; revision=131187
|
|
|
|
| |
Notes:
svn path=/head/; revision=129879
|
|
|
|
|
|
|
|
|
|
|
| |
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>
Notes:
svn path=/head/; revision=129858
|
|
|
|
|
|
|
|
|
| |
PR: kern/66779
Submitted by: Togawa Satoshi <toga@puyo.org>
MFC after: 1 week
Notes:
svn path=/head/; revision=129527
|
|
|
|
|
|
|
| |
URL updates
Notes:
svn path=/head/; revision=129228
|
|
|
|
|
|
|
| |
Also some minor style cleanups.
Notes:
svn path=/head/; revision=119418
|
|
|
|
|
|
|
|
| |
All drivers which depend on ucom interfaces should use only one
sc_dying.
Notes:
svn path=/head/; revision=112039
|
|
|
|
|
|
|
| |
Approved by: trb
Notes:
svn path=/head/; revision=111119
|
|
|
|
|
|
|
| |
Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
Notes:
svn path=/head/; revision=109623
|
|
|
|
| |
Notes:
svn path=/head/; revision=109132
|
|
|
|
|
|
|
|
|
|
|
| |
ucom.
This gets my Sanyo SCP-4900 working.
Approved by: joe
Notes:
svn path=/head/; revision=108986
|
|
|
|
|
|
|
| |
Requested by: imp
Notes:
svn path=/head/; revision=101521
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=101060
|
|
|
|
|
|
|
|
|
| |
sysctl tree for tweaking them real-time.
Reviewed by: iedowse
Notes:
svn path=/head/; revision=101053
|
|
|
|
| |
Notes:
svn path=/head/; revision=93614
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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@
Notes:
svn path=/head/; revision=93593
|
|
|
|
| |
Notes:
svn path=/head/; revision=93591
|
|
|
|
|
|
|
| |
Update $NetBSD$ idents to better reflect reality.
Notes:
svn path=/head/; revision=93568
|
|
|
|
|
|
|
| |
the cdev switch.
Notes:
svn path=/head/; revision=92094
|
|
|
|
|
|
|
|
| |
This makes the code more portable between -current, -stable and the
other BSDs.
Notes:
svn path=/head/; revision=90713
|
|
|
|
|
|
|
|
|
| |
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.)
Notes:
svn path=/head/; revision=88824
|
|
|
|
|
|
|
| |
to hide the distinction between struct proc and struct thread.
Notes:
svn path=/head/; revision=88818
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=83366
|
|
|
|
|
|
|
|
| |
This avoids panicing the system by unplugging a hub. The interrupt transfer
would sometimes arrive after the driver had been removed.
Notes:
svn path=/head/; revision=82786
|
|
|
|
|
|
|
| |
the bit-bucket.
Notes:
svn path=/head/; revision=74810
|
|
|
|
|
|
|
| |
Backwards compatible approach suggested by: peter
Notes:
svn path=/head/; revision=72521
|
|
|
|
| |
Notes:
svn path=/head/; revision=71477
|
|
|
|
| |
Notes:
svn path=/head/; revision=70834
|