Commit Graph

43588 Commits

Author SHA1 Message Date
green
1e21c81f90 From the author:
[This] updates [elf.5] from the enitial work I did in Queen's (UK) English to
American English, as is normal for the -doc project stuff.

Submitted by:	Jeroen Ruigrok van der Werven <asmodai@wxs.nl>
1999-12-03 23:31:08 +00:00
green
06557349e2 Add RLIMIT_SBSIZE here, too. 1999-12-03 23:25:14 +00:00
archie
26c759c431 Missed part of previous commit. 1999-12-03 23:15:33 +00:00
mjacob
34fa6bc1de Correct some botched timeout defines. Allocate only 8KB for the test read
in samount. Make things a lot quieter in samount (and other places). Fix
ridiculous and not so ridiculous bugs in compression related code in both
sagetparams and sasetparams.
1999-12-03 23:14:11 +00:00
archie
32595af070 Recognize NGM_BPF_COOKIE. 1999-12-03 23:12:41 +00:00
archie
1edd13e295 New netgraph node type, ng_bpf(8). This node type allows you to
apply bpf(4) filters to data travelling through a netgraph network.
1999-12-03 21:21:49 +00:00
archie
2bb264d4df Add a new function ng_findhook() for finding a node's hook;
if the node type provides a more efficient implementation than
the normal linear scan, use it.

Reviewed by:	julian
1999-12-03 21:17:30 +00:00
semenu
39d5a6d9a1 Merged NetBSD version, as they have done improvements:
1. ntfs_read*attr*() functions now accept
	uio structure to eliminate one data copying.
	2. found and removed deadlock caused
	by 6 concurent ls -lR.
	3. started implementation of nromal
	Unicode<->unix recodeing.

Obtained from:	NetBSD
1999-12-03 20:37:40 +00:00
archie
97f1907fc7 Fix bug parsing 32 bit integers on machines where sizeof(long) == 4. 1999-12-03 20:27:33 +00:00
semenu
1eef492aa3 Added ntfs filesystem to be exported. 1999-12-03 20:23:53 +00:00
semenu
b59f528107 Added ntfs subdir to be filled. 1999-12-03 20:22:45 +00:00
semenu
b0a8f9b5b3 Added ntfs subdir to allow mountd.c include <ntfs/ntfsmount.h>
and others.
1999-12-03 20:17:16 +00:00
ache
3b853c8371 Don't use %E* in old fields for compatibility reasons 1999-12-03 19:52:06 +00:00
marcel
5d3899446e Fix for the new usage of mkioctls 1999-12-03 17:35:34 +00:00
ache
9f9ea4099c Change -i host to whois.networksolutions.com 1999-12-03 16:56:57 +00:00
nyan
e5fba3d478 Supported to sound beep.
Submitted by:	chi@bd.mbn.or.jp (Chiharu Shibata)
1999-12-03 13:20:55 +00:00
nyan
a9faa48e79 pc98/pc98/atapi.c
Copied from i386/isa/atapi.c.
	Fixed to support slave devices.
	Ignore the device that has strange model strings.

i386/isa/atapi.c
	Removed pc98 codes.

Submitted by:	chi@bd.mbn.or.jp (Chiharu Shibata)
1999-12-03 12:56:21 +00:00
marcel
c0a34be120 Avoid hardcoding any paths and variables. The include directory must
now be specified on the command line. Accept a '-s' option which
controls whether a switch-statement is to be used instead of a series
of if-statements.

Replace cpp with gcc -E.

Discussed with: bde
1999-12-03 12:50:02 +00:00
nyan
1549e3aa74 Change splbio() to splcam(). bs is cam driver. 1999-12-03 11:58:12 +00:00
nyan
2dd50715c1 Sync with sys/i386/conf/GENERIC revision 1.208. 1999-12-03 11:40:52 +00:00
mdodd
ff48867f5a Remove mention of 'ivars'. 1999-12-03 11:22:28 +00:00
julian
bee374df84 Make the stub routines have the same prototypes as the real bpf
routines.
1999-12-03 09:59:02 +00:00
mjacob
9f4998ac8d correct incomplete last change 1999-12-03 09:10:04 +00:00
mdodd
87e31f4b90 Remove the 'ivars' arguement to device_add_child() and
device_add_child_ordered().  'ivars' may now be set using the
device_set_ivars() function.

This makes it easier for us to change how arbitrary data structures are
associated with a device_t.  Eventually we won't be modifying device_t
to add additional pointers for ivars, softc data etc.

Despite my best efforts I've probably forgotten something so let me know
if this breaks anything.  I've been running with this change for months
and its been quite involved actually isolating all the changes from
the rest of the local changes in my tree.

Reviewed by:	peter, dfr
1999-12-03 08:41:24 +00:00
mjacob
d7c9e9ad5f Set RB_VERBOSE into boothowto (provide proper layering from boot loader
(eventually) settings to kernel settings).

Prototype read_random to quiesce a warning.
1999-12-03 07:20:22 +00:00
mjacob
7cc44d2aca roll platform minor 1999-12-03 06:56:43 +00:00
mjacob
28a6d19c00 clean up sprintf and have buffer that won't overflow 1999-12-03 06:56:23 +00:00
mjacob
394174889a turn some messages into CFGPRINT messages 1999-12-03 06:55:39 +00:00
brian
0646335b2f Be careful not to re-initialise `struct stat' while it still has
a running timer.  This fixes a problem where a dial is manually
aborted, the hangup script kicks in and the chat timer ends up
on the timer queue twice (tick tick tick tick *boom*)
1999-12-03 06:33:10 +00:00
billf
07cba0f911 Add '-l' which will match a certain status code.
Add the submitter as a contributor in the man page
freebsd -> FreeBSD, while I'm poking around.

PR:		bin/15162
Submitted by:	Dominic Mitchell <dom@palmerharvey.co.uk>
1999-12-03 06:08:11 +00:00
billf
47b21091c1 Correct co-MAINTAINER's e-mail address. I don't know how many
more ways I can screw his address up. Suggestions welcome.
1999-12-03 03:20:59 +00:00
jkh
26fb1d34d5 Define name length differently for alpha in order to preserve
backwards compatibility.

Submitted by:	Andrew Gallatin <gallatin@cs.duke.edu>
Reviewed by:	mckusick
1999-12-03 02:23:34 +00:00
n_hibma
aaff10513a Fix the 'usb0: USB revision unknown, not supported' people have been seeing
by identifying the version in the PCI drivers.

The OHCI driver just presets this to 1.0 as it is not specified in the
PCI registers anywhere. This should be revisited once USB 2.0 is in
wide spread use.
1999-12-03 01:34:42 +00:00
billf
92aa1686d2 Remove the 'alpha, use at your own risk' death-statement.
Reviewed by:	mckusick (verbally at FreeBSDcon)
1999-12-03 00:40:31 +00:00
billf
3d7f6e72a3 Fix typo, add $FreeBSD$ 1999-12-03 00:34:26 +00:00
archie
8482579035 A better version of the previous checkin. If the user specifies
a custom file that could override a FreeBSD file under a different
configuration, but doesn't under this one, give a different warning.
1999-12-03 00:28:06 +00:00
msmith
aadc1e0695 Remove the 'gzip' image activator. We're not using a.out anymore, so save
ourselves just over 8k.
1999-12-03 00:16:20 +00:00
wes
85ea8a9cab Add Matt Fuller's comment about long-standing x86 bug that allows you
to install Windows.
1999-12-02 23:46:49 +00:00
archie
742df5cd6f When specifying additiona user-specified kernel compilation source
files in a 'files.XXX' file, config allows non-FreeBSD source files
with the same name as a FreeBSD source file to override the latter,
and in this situation it issues a warning.

However, if one of the user-specified files is actually a FreeBSD
source file (perhaps your kernel has some custom option that requires
that file), config mistakenly thinks it's a completely new file
and goes ahead and overrides all previous information for that file
(and issues the warning).

Fix this.

With help from:	julian
1999-12-02 23:43:08 +00:00
imp
a5ed2dfc01 Print device names for children that fail to detach.
Free child array when we're done with it.

Forgotten by: imp
Submitted by: Nick Hibma <hibma@skylink.it>
1999-12-02 19:51:34 +00:00
imp
61ef46db68 Now that pccardc beep actually works, add knob for it in rc.conf/rc.pccard
Submitted by: sanpei@sanpei.org (MIHIRA-san Yoshiro)
1999-12-02 19:48:16 +00:00
imp
396ff7b963 Make pccardc beep actually work. The kernel was doing the wrong thing
with the beep information it had (like ignoring it).

Submitted by: sanpei@sanpei.org (MIHIRA-san Yoshiro)

Add $FreeBSD$ to pccard_beep.c while I'm here.
1999-12-02 19:46:41 +00:00
n_hibma
5b399fe673 Reserve 138 for usio, the USB sio driver by Doug Ambrisko, Whistle.
Also, change mail address in all case to n_hibma@freebsd.org
1999-12-02 19:45:19 +00:00
archie
47cb60fd85 Add 'const' to the bpf_filter() and bpf_validate() prototypes.
Remove a stale comment from bpf_validate().
1999-12-02 19:36:05 +00:00
imp
c97e39268b Fix typo from last commit.
Noticed by: Maxim Sobolev <sobomax@altavista.net>
1999-12-02 19:31:28 +00:00
sheldonh
96d57bca5e Reserve #137 for nCipher's nFast PCI hardware cryptographic
accelerator, for which open source drivers are under development,
for John Hartley <john@ncipher.com>.
1999-12-02 17:46:17 +00:00
n_hibma
9fbcb16d5f In one queue all the TDs (transfer descriptor, packets) for one transfer
are queued.  Traverse the queues vertically and then horizontally.
This means that TDs for one xfer are transmitted back to back until the
first NAK or error condition. Up to now we transmitted a TD per frame
and transmitted the next TD in the next frame.

The old approach is more fair if you have the end of the queue point at
the beginning of the control transfer queue, but also a lot more overhead
due to the fact that the QHs have to be read more often.

The new approach squirts the packets down the line as fast as possible
for one transfer and then does the next one. In the current situation,
with fairly empty USB buses, this is a more sensible approach. We might
have to revisit the scheduler later however.

It speeds up large transfers (Zip drive, Host-To-Host adapters) on UHCI
by a factor of 5 and makes it as fast as OHCI on the bus.

The next problem to solve is the question why the limit is 300kb/s and
not 1000/kb/s (kb == kilobyte).
1999-12-02 16:43:18 +00:00
sheldonh
8d21f19e4e Replace the -q option to pwd_mkdb with a test for PW_SCAN_BIG_IDS in
the environment.  This allows big ID warnings to be suppressed for
vipw and chpass as well.

Since the environment variable test is only performed for callers
of pw_scan() that do not set pw_big_ids_warning, the test can still
be overriden.  Currently, chpass and pwd_mkdb are the only users
of pw_scan() and neither of them overrides the environment variable
test.
1999-12-02 16:39:15 +00:00
n_hibma
3f39219a8d Add the device_get_children(9) man page. 1999-12-02 16:34:09 +00:00
n_hibma
2c666b46ed It's device_add_child*, not bus_add_child*. 1999-12-02 16:31:12 +00:00