| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
o Rewrite probe code to work in the newbus world.
o Add preliminary pnp support. I have no clue what the pnp ids for
the older ISA machines/cards. I don't have any of these cards/machines
so I'll have to rely on the user community to give me help.
o Minor code reformatting.
Attach hasn't been touched, and there may be some config issues that
we need to deal with as well. These will follow in time.
|
|
|
|
| |
Suggested-by: Geoff Steckel <gwes@sitaranetworks.com>
|
|
|
|
| |
to usb255 and will be used for the event queue of the usb daemon.
|
|
|
|
| |
Suggested by: David O'Brien <obrien@FreeBSD.ORG>
|
|
|
|
|
|
| |
daemons started. Move log_in_vain option there. It is needed to avoid
lot of connections to port 80 logged on production WWW server prior
Apache started from /usr/local/etc/rc.d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Cleaning up the code:
- Declare many functions static
- Change variable names to make them more self explanatory
- Change usbd_request_handle -> usbd_xfer_handle
- Syntactical changes
- Remove some unused code
- Other KNF changes
Interrupt context handling
- Change delay to usbd_delay_ms were possible (takes polling mode into
account)
- Change detection mechanism for interrupt context
Add support for pre-allocation DMA-able memory by device driver
Add preliminary support for isochronous to the UHCI driver (not for OHCI
yet).
usb.c, uhci.c, ohci.c
- Initial attempt at detachable USB host controllers
- Handle the use_polling flag with a lttle more care and only set it if
we are cold booting.
usb.c, uhci.c ohci.c, usbdi.c usbdi_util.c usb_subr.c
- Make sure an aborted pipe is marked as not running.
- Start queued request in the right order.
- Insert some more DIAGNOSTIC sanity checks.
- Remove (almost) unused definitions USBD_XFER_OUT and USBD_XFER_IN.
usb.c, usb_subr.c
- Add an event mechanism so that a userland process can watch devices
come and go.
ohci.c
- Handle the case when a USB transfer is so long that it crosses two
page (4K) boundaries. OHCI cannot do that with a single TD so we make
a chain.
ulpt.c
- Use a bigger buffer when transferring data.
- Pre-allocate the DMA buffer. This makes the driver slightly more
efficient.
- Comment out the GET_DEVICE_ID code, because for some unknown reason it
causes printing to fail sometimes.
usb.h
- Add a macro to extract the isoc type.
- Add a macro to check whether the routine has been entered after splusb
and if not, complain.
usbdi.c
- Fix a glitch in dequeueing and aborting requests on interrupt pipes.
- Add a flag in the request to determine if the data copying is done by
the driver or the usbdi layer.
|
|
|
|
|
|
| |
Fix comment for b_caller[12] fields.
Spotted by: grog
|
|
|
|
| |
Spotted by: julian
|
|
|
|
|
| |
Submitted by: Paul Saab <paul@mu.org>
Reviewed by: phk
|
|
|
|
|
|
|
|
| |
vap->va_fsid, so we cannot get valid information about procfs.
Submitted by: SAWADA Mizuki miz@pa.aix.or.jp
Reviewed by: phk
PR: 1654
|
|
|
|
| |
Reminded by: dfr
|
| |
|
|
|
|
| |
(if it's able).
|
|
|
|
|
|
|
|
| |
blackhole flag is set.
PR: 14958
Submitted by: Larry Baird <lab@gta.com>
Reviewed by: phk
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
New features are:
Automatic lookup using *.whois-servers.net
Recursive lookup using Registrar's name
Fallback to InterNIC for non-domains
-m for RADB database
-Q to turn recursion/fallback off
Obtained from: OpenBSD
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
1.23. This revision should work for long pipes both in
here-documents/backquote and in normal cases.
Fix works for jmz, bde.
|
|
|
|
|
| |
This also prevents the line-wrap and messed up display that occurs
when there happens to be one or more names with 15 chars.
|
|
|
|
| |
Submitted by: John Hay <jhay@mikom.csir.co.za> (basic idea, changed by me)
|
|
|
|
|
| |
/dev/null as the default kernel and /dev/mem filenames, but still allow
the usual overrides)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Turn off setgid-kmem for /bin/ps, it's now quite functional without it.
ps no longer needs /dev/*mem or /proc. (It will still use some /proc
files if they are available for -e, but it's not required, so it'll
happily run in a jail or chroot).
The proc stats are now part of eproc (obtained via sysctl) and no longer
needs to beat up the u-page reading code and the problems with that.
This also has the side effect of disabling 'ps -e' for normal users
*EXCEPT* when looking at their own processes. ie: they can see
environments in processes with their uid, enforced by the ownership of
/proc/*/mem. Root can still see them all, as it can open all /proc/*/mem.
|
|
|
|
| |
Also, fix some indentation that got messed up somehow..
|
|
|
|
|
| |
fetchable via sysctl. This saves ps having to read the u-area for stats.
Be sure to recompile libkvm, ps, w, top and the usual suspects.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
pod files to be converted to and installed as manual pages.
These were probably overlooked in the last minor version number upgrade
to perl5. This change was approved by the perl5 maintainer.
PR: 14649
Submitted by: Andy Farkas <andyf@speednet.com.au>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
__FreeBSD_version < 400004.
This allows -STABLE to build -CURRENT sources.
[mkstemps() was added to -current just before the version bump to 400004
(a matter of hours in this case), so the test is as exact as possible.]
Submitted by: marcel
|
|
|
|
| |
This reduces the size of the kernel and modules when compiled with GCC 2.95.
|
|
|
|
| |
header with src/gcc/usr.bin/cc/cc_tools/Makefile.
|
|
|
|
| |
* Style cleanup.
|
| |
|
|
|
|
|
|
|
| |
tape to force the drive to do a media access so it knows what media
may be inserted).
Also Ken's make_dev patches- relatively untested.
|
|
|
|
|
|
| |
complain when some warnings are turned on.
Requested by: Bertrand Petit <elrond@phoe.frmug.org>
|
|
|
|
| |
make_dev()/destroy_dev() interface.
|
|
|
|
|
|
|
|
|
| |
accept(2). This is a not really problem on -current as the accept race
is fixed, however it is a MFC candidate for -stable.
This could possibly be slightly more efficient and leave the listening
socket permanently in non-blocking mode, but I wasn't certain that I
could catch all the stream/wait (not nowait) mode implications.
|
|
|
|
|
|
|
|
|
|
|
|
| |
seconds caused overflow. Use a type-safe but slightly slower comparison.
Comparisons for other fields are still fragile.
Fixed rounding of cputime (don't do extra work to get it slightly wrong
by first converting without rounding to milliseconds).
Removed dead code for setting cputime.
Fixed comments about cputime.
|
|
|
|
|
|
|
|
|
| |
It used to loop back up to the accept() call and block there,
shutting out all other transports until a new connection came in.
Now it returns instead after dropping the connection. That will
take it back to the select() loop where all transports can be
serviced. I intend to MFC this within a day or two since it
fixes a DoS vulnerability.
|
| |
|
|
|
|
|
|
|
|
| |
{vladivostok:/usr/home/ken:1:0} echo |more
"TERMCAP", line 0, col 60, terminal 'screen': unknown capability 'G0'
"TERMCAP", line 0, col 806, terminal 'screen': unknown capability 'AX'
Submitted by: Kenneth D. Merry <ken@kdm.org>
|
| |
|
| |
|
| |
|
|
|
|
| |
Obtained from: Whistle source tree
|
|
|
|
| |
Obtained from: Whistle source tree
|
| |
|
| |
|
|
|
|
|
| |
O_NONBLOCK. The select() is the best best as I don't want to muck
about with the send/receive thresholds.
|