Mark Peek
5fd2c51edb
Update PowerPC MD code to compile and do initial bootstrap based on
...
recent changes (KSE and VM requiring physmem to be setup).
Reviewed by: benno, jhb, julian
2001-09-20 00:47:17 +00:00
John Baldwin
a44f918bf9
Fix a bug in propagate priority: the kse group pointer wasn't being
...
updated in the loop so the new thread always seemd to have the same
priority as the original thread and no actual priorities were changed.
2001-09-19 22:52:59 +00:00
Bill Paul
8ce3678a09
Handle the RX FIFO overflow condition with the rxeof handler instead
...
of the rxeoc handler for now. The rxeoc handler will reset the link,
and the NatSemi chip's RX FIFO will overflow on a 32-bit bus once you
start hitting it with 500Mbps or more of traffic.
Also increase the size of the RX ring to 128 descriptors (was 64).
2001-09-19 21:39:26 +00:00
Brooks Davis
40995998c5
Add a new rc.conf variable, cloned_interfaces, to create cloned
...
interfaces at boot.
2001-09-19 21:27:27 +00:00
Tor Egge
d2653b8806
Don't check uninitialized memory for having the shell control character
...
value CTLARI since this might break expansion of arithmetic expressions.
Don't access memory below start of stackblock.
Problem analyzed by hunt@iprg.nokia.com , slightly different patch applied.
PR: 24443
Submitted by: hunt@iprg.nokia.com
2001-09-19 20:16:38 +00:00
Tor Egge
0c4eedda7b
BASESYNTAX, DQSYNTAX, SQSYNTAX and ARISYNTAX handles negative indexes.
...
Allow those to be used to properly quote characters in the shell
control character range.
2001-09-19 20:07:47 +00:00
Tor Egge
5f2359b374
Adjust some type checks to include CTLQUOTEMARK in the range of
...
shell control characters.
2001-09-19 19:58:09 +00:00
Bill Fenner
9c52cf5785
Don't try to dereference a kernel pointer in userland; use offsetof()
...
to get the right address.
This fixes kernel GDB after KSE2.
Reviewed by: jhb, jake
2001-09-19 18:42:19 +00:00
Jeroen Ruigrok van der Werven
2622bf6fe4
Solve our braindead sourcetree dependency on GCC in another way.
...
Discussed with: bde
2001-09-19 17:51:23 +00:00
Ruslan Ermilov
4387c7c2af
Non-decimal ``skipto'' rule numbers are meaningless.
...
Noticed by: "Marc G. Fournier" <scrappy@hub.org>
MFC after: 3 days
2001-09-19 15:12:14 +00:00
Robert Watson
288b789333
o Clarification of securelevel_{ge,gt} comment.
...
Submitted by: dd
2001-09-19 14:09:13 +00:00
Maxim Sobolev
962cf4203d
Fix abuse of vtagtype. In addition, after this the linux programs will be
...
able correctly distinguish ext2fs from the ufs filesystem (previously ext2fs
was indistinguishable from the ufs).
Reviewed by: phk, marcel
2001-09-19 12:35:51 +00:00
Doug Rabson
447a0851af
Implement time().
2001-09-19 12:12:12 +00:00
Maxim Sobolev
a09c8e438b
Various fixes and improvements:
...
- fix harmless compiler's warnings (unused variables and missed prototype);
- before refusing to delete package because "there are packages installed
that require this package" check that packages in question is actually
installed;
- add new `-r' option to pkg_delete(8), which instructs it to delete not only
packages specified at command line, but all packages that depend on
specified packages as well.
MFC after: 2 weeks
2001-09-19 08:06:48 +00:00
Ruslan Ermilov
096f9ef53b
In FreeBSD, -Z is reserved for zgrep(1), and only
...
a long version of the --null option is supported.
PR: gnu/30644
2001-09-19 07:22:30 +00:00
Peter Wemm
e5a860ebb4
Reserve an extra 16 bytes in case we have to grow the trapframe into
...
a vm86trapframe for switching to vm86 [unlikely] while exiting.
I lost this when doing the pcb move that went in with the KSE commit.
Reviewed by: jake
2001-09-19 05:44:12 +00:00
Peter Wemm
2f01a0c097
Fix a mistake I made with the pcb movement relative to the stack in the
...
KSE patch. We need to leave the 16 bytes here for enabling the trapframe
to be converted to a vm86trapframe if we're switching *to* a vm86 context.
2001-09-19 05:34:12 +00:00
Peter Wemm
66f769fe39
Add missing ; in last commit
...
Pointy-hat-to: jhb
2001-09-19 02:53:59 +00:00
Scott Long
ba3b337964
Add a quirk entry for the Sony CLIE memory stick device. This will become
...
useful once ATAPI support is turned on in the umass driver.
2001-09-19 00:35:09 +00:00
Peter Wemm
06fec2cf89
The vfs.nfs.bufpackets sysctl is in the client, not the server. Move it
...
to the client section. Turn off nfsiod, it no longer exists (now just
kthreads). I need revisit nfsiod so that we have an argument passthrough.
2001-09-19 00:22:26 +00:00
Brooks Davis
abb6470625
Make stf a clonable device.
...
Yes this really is rather silly and the implementation is overkill given
that you are only allowed one of them, but NetBSD implements cloning on
this device and it's a less cluttered example of cloning then most.
2001-09-19 00:13:00 +00:00
Peter Wemm
891a092764
Sigh, Last minute pre-merge typo. (missing quotes)
2001-09-18 23:49:33 +00:00
Peter Wemm
9119623471
Userland part of nfs client/server split and cleanup.
2001-09-18 23:34:44 +00:00
Peter Wemm
98cdde71e7
Regenerate
2001-09-18 23:33:33 +00:00
Peter Wemm
eb25edbda3
Cleanup and split of nfs client and server code.
...
This builds on the top of several repo-copies.
2001-09-18 23:32:09 +00:00
John Baldwin
9ef3a9855d
Use a 'p' variable instead of repetitively indirecting td->td_proc for
...
signal things that are still per-process and won't be per-thread.
2001-09-18 23:27:06 +00:00
Julian Elischer
f5b93d4aac
Remove accidentally included debug stuff.
...
Noticed by: jhb
2001-09-18 22:52:42 +00:00
Nick Hibma
dc9c72345c
Regen.
2001-09-18 22:30:02 +00:00
Nick Hibma
55c883cea3
Update the header of the file with a comment on how to regenerate
...
the usbdevs* file correctly.
Suggested by: phantom
2001-09-18 22:27:41 +00:00
John Baldwin
8cc06751dd
Don't initialize proc0's mutex twice. It is already done earlier on in the
...
MD startup code.
2001-09-18 22:09:47 +00:00
John Baldwin
5560ed7825
GC obsolete cruft from this file.
2001-09-18 21:53:25 +00:00
John Baldwin
fdca1cb1ef
Whitespace fixes.
2001-09-18 21:52:15 +00:00
John Baldwin
fd54558a83
- If we ever do the per-cpu KTR stuff, the index won't be volatile as it
...
will be private to each CPU.
- Re-style(9) the globaldata structures. There really needs to be a MI
struct pcpu that has a MD struct mdpcpu member at some point.
2001-09-18 21:46:26 +00:00
John Baldwin
63077d1623
- Fix a missed idleproc -> idlethread conversion.
...
- Remove redundany fpucurproc (fpucurthread already existed)
2001-09-18 21:37:09 +00:00
John Baldwin
9ed316e3a7
If we have a p variable pointing to td->td_proc already, use it instead of
...
needlessly repeating the indirection in several places. Half of the places
used td->td_proc, and half used p. They are now consistent with each other
and all use p.
2001-09-18 21:20:58 +00:00
John Baldwin
659209e636
Whitespace fixes.
2001-09-18 21:05:04 +00:00
Robert Watson
3ca719f12e
o Introduce two new calls, securelevel_gt() and securelevel_ge(), which
...
abstract the securelevel implementation details from the checking
code. The call in -CURRENT accepts a struct ucred--in -STABLE, it
will accept struct proc. This facilitates the upcoming commit of
per-jail securelevel support. The calls will also generate a
kernel printf if the calls are made with NULL ucred/proc pointers:
generally speaking, there are few instances of this, and they should
be fixed.
o Update p_candebug() to use securelevel_gt(); future updates to the
remainder of the kernel tree will be committed soon.
Obtained from: TrustedBSD Project
2001-09-18 21:03:53 +00:00
Jonathan Lemon
ed63a3c7ee
Have the driver announce its rxcsum capabilities.
2001-09-18 20:19:28 +00:00
Jonathan Lemon
5fc10eaf8e
Split hwcsum into rxcsum and txcsum components.
2001-09-18 20:13:48 +00:00
Jonathan Lemon
f7d866924c
Split HWCSUM into two components: RX and TX, for the benefit of drivers
...
which can only do checksum offloading in one direction.
2001-09-18 20:13:03 +00:00
Robert Watson
3f9e888ebe
o Remove redundant securelevel/pid1 check in procfs_rw() -- this
...
protection is enforced at the invidual method layer using
p_candebug().
Obtained from: TrustedBSD Project
2001-09-18 19:53:10 +00:00
Mark Peek
796ed2a6d0
Set debug information on the process being traced, not the current (debugger)
...
process. This should allow gdb to function correctly on post-KSE kernels.
2001-09-18 19:06:11 +00:00
Jonathan Lemon
84e4de28cc
Have the driver to announce what capabilitis it supports.
2001-09-18 18:53:41 +00:00
Jonathan Lemon
b951f06f50
Have the driver announce what capabilities it supports. These are
...
currently not under user control.
2001-09-18 18:41:39 +00:00
Jonathan Lemon
53de2fb09f
Have the driver advertise that it is capable of hardware checksums, and
...
allow the user to control the setting. (checksums are enabled by default)
2001-09-18 18:40:22 +00:00
Warner Losh
976a26437e
nfs_strategy calls nfs_asyncio with td as NULL. So add a bandaid that
...
will pass NULL as the struct proc when td is NULL. This has stopped
crashing on my machine.
Note: The passing of NULL may be bogus, but I'll let others fix that
problem.
Reviewed by: jhb
2001-09-18 18:37:52 +00:00
Bruce A. Mah
a953848c04
Drop maintainership.
2001-09-18 17:58:10 +00:00
Bruce A. Mah
9cc1dc75e7
Support the use of ${PORTSDIR} to find a ports tree INDEX file in
...
an other-than-default location.
PR: bin/30350
Submitted by: "NINOMIYA Hideyuki <NINOMIYA Hideyuki" <nin@jp.FreeBSD.org>
MFC after: 3 days
2001-09-18 17:56:44 +00:00
Jonathan Lemon
f35b9d165f
Teach ifconfig about the new interface capability words.
2001-09-18 17:43:30 +00:00
Jonathan Lemon
e20e8e6d84
Add SIO{CG}IFCAP entries. Fix formatting of some other entries.
2001-09-18 17:42:25 +00:00