Julian Elischer
bab04eb816
Allow diverted packets from the transmit side to remember if they
...
had a recv interface and allow that state to be available
after re-injection for further tests.
1998-06-12 01:54:29 +00:00
Julian Elischer
6d0ba44288
Add B_NOCACHE to several cases where BSD4.4 only required a B_INVAL.
...
Change worked out by john and kirk in consort.
1998-06-11 17:44:32 +00:00
Doug Rabson
c48c13cb5a
Reimplement spl*() as function calls. Implement software interrupts.
1998-06-11 11:51:27 +00:00
Doug Rabson
3900ddb2dc
Only build this on i386 for now. I may use it for the alpha later but
...
currently it doesn't compile.
1998-06-11 07:23:59 +00:00
Doug Rabson
bcb4edfc14
Add missing Id keywords.
1998-06-11 07:15:55 +00:00
Julian Elischer
32f5d4d843
Replace 'sleep()' with 'tsleep()'
...
Accidentally imported from Kirk's codebase.
Pointed out by: various.
1998-06-10 22:02:14 +00:00
Doug Rabson
9d8b200937
Make these files compile.
1998-06-10 21:21:31 +00:00
Doug Rabson
71cf4ef7be
Add my own copyright to this file. In this case not even the comments
...
resemble the NetBSD source so the NetBSD copyright has been removed.
1998-06-10 20:48:03 +00:00
Julian Elischer
8c221701c3
Fix for "live inode" panic.
...
Submitted by: Kirk McKusick <mckusick@McKusick.COM>
Reviewed by: yeah right...
1998-06-10 20:45:46 +00:00
Doug Rabson
10bd78e08d
Add my own copyright to this file. The only remnants of NetBSD code here
...
are in the comments. As such the NetBSD copyright is included to protect
the valuable intellectual copyright included in those comments.
1998-06-10 20:40:59 +00:00
Doug Rabson
ecf6bca146
Add yet another copyright. If some CVS wizard feels like nuking the versions
...
that so offend Jason Thorpe then they can.
1998-06-10 20:35:10 +00:00
Doug Rabson
64f14464e5
Fix mangled Id keyword.
1998-06-10 20:13:32 +00:00
Doug Rabson
f7491b1657
Add Id keyword.
1998-06-10 20:11:16 +00:00
Julian Elischer
4af0bb0f9e
Remove buggy debugging code.
1998-06-10 20:03:16 +00:00
Doug Rabson
5c09fbfe64
Add missing copyrights. Thanks to Jason Thorpe for politely noting the
...
mistake...
1998-06-10 19:59:41 +00:00
Alexander Langer
6ead682113
ENOPNOTSUPP --> EOPNOTSUPP
...
PR: 6906
Submitted by: Steven G. Kargl <kargl@troutmask.apl.washington.edu>
1998-06-10 19:56:06 +00:00
Julian Elischer
939001af5c
Back out John's changes 1.45 -> 1.46
...
Kirk confirms that the original semantic was what he wanted...
(well, a very slight difference)
May fix "dangling deps" panic with soft updates.
1998-06-10 19:27:56 +00:00
Julian Elischer
28913ebe4e
Submitted by: Kirk McKusick <mckusick@McKusick.COM>
...
Fix for potential hang when trying to reboot the system or
to forcibly unmount a soft update enabled filesystem.
FreeBSD already handled the reboot case differently, this is however a better
fix.
1998-06-10 18:13:19 +00:00
Doug Rabson
dd08c7e27d
I accidentally committed the wrong file, sorry.
1998-06-10 17:54:37 +00:00
Dmitrij Tejblum
40b0939a15
Back out previous change. This behavior is at least completely
...
"susv2"-compliant.
1998-06-10 13:46:46 +00:00
Poul-Henning Kamp
1de24c3a4e
When system act as IPX router (sysctl -w net.ipx.ipx.ipxforwarding=1,
...
running IPXRouted -s) between IPX configured interfaces, it generate
syslog messages "ipx_ctlinput: cmd 15." even if kernel compiled with
IPXPRINTFS=0 and IPX_ERRPRINTFS=0 options.
PR: 6875
Reviewed by: phk
Submitted by: Vladimir A. Jakovenko <vovik@ntu-kpi.kiev.ua>
1998-06-10 12:52:11 +00:00
Poul-Henning Kamp
4342fa9172
Correct name and number for sxdc modules
...
PR: 6891
Reviewed by: phk
Submitted by: Nick Sayer <nsayer@quack.kfu.com>
1998-06-10 12:49:54 +00:00
Dmitrij Tejblum
75065d2cd8
Also return EOPNOTSUPP rather than EINVAL for not supported owner and group
...
changes.
1998-06-10 11:36:01 +00:00
Doug Rabson
897cd717a5
Add initial support for the FreeBSD/alpha kernel. This is very much a
...
work in progress and has never booted a real machine. Initial
development and testing was done using SimOS (see
http://simos.stanford.edu for details). On the SimOS simulator, this
port successfully reaches single-user mode and has been tested with
loads as high as one copy of /bin/ls :-).
Obtained from: partly from NetBSD/alpha
1998-06-10 10:57:29 +00:00
Doug Rabson
8c12612cf6
64bit fixes: don't cast pointers to int.
1998-06-10 10:31:08 +00:00
Doug Rabson
2b605d0804
64bit fixes: don't cast p->p_retval to an int*.
1998-06-10 10:30:23 +00:00
Doug Rabson
831b9ef2be
64bit fixes: use u_long not int for ioctl command.
1998-06-10 10:29:31 +00:00
Doug Rabson
10d4743f6f
64bit fixes: use size_t not u_int for sizes.
1998-06-10 10:28:29 +00:00
Doug Rabson
2ef49ddfcb
64bit fixes: p->p_retval is a register_t[] not an int[].
1998-06-10 10:27:43 +00:00
KATO Takenori
a06a8629ce
Sync with sys/i386/isa/clock.c revision 1.124.
1998-06-10 08:25:23 +00:00
Peter Wemm
7a204420d3
Don't silently accept attempts to change flags where they are not
...
supported.
1998-06-10 06:34:57 +00:00
Peter Wemm
c3a24f69d9
Return EOPNOTSUPP rather than EINVAL for flags that are not supported.
1998-06-10 06:30:31 +00:00
Brian Somers
dfcb634be3
Quieten gcc 2.8.1
1998-06-10 00:26:19 +00:00
Dmitrij Tejblum
ffbdd68eba
Fix typo in a comment.
1998-06-09 13:20:29 +00:00
Poul-Henning Kamp
a58f0f8e66
Add a tc_ prefix to struct timecounter members.
...
Urged by: bde
1998-06-09 13:10:54 +00:00
Bruce Evans
1afde994e9
Pass lists of possible root devices and their names up to the
...
machine-independent code and try mounting the devices in the
lists instead of guessing alternative root devices in a machine-
dependent way.
autoconf.c:
Reject preposterous slice numbers instead of silently converting
them to COMPATIBILITY_SLICE.
Don't forget to force slice = COMPATIBILITY_SLICE in the floppy
device name.
Eliminated most magic numbers and magic device names in setroot().
Fixed dozens of style bugs.
vfs_conf.c:
Put the actual root device name instead of "root_device" in the
mount struct if the actual name is available. This is useful after
booting with -s. If it were set in all cases then it could be used
to do mount(8)'s ROOTSLICE_HUNT and fsck(8)'s hotroot guess better.
1998-06-09 12:52:35 +00:00
Bruce Evans
39b14624c5
Updated generated files.
1998-06-09 03:36:59 +00:00
Bruce Evans
e7c1c309fa
Don't generate COMPAT_43 cruft if there are no COMPAT_43 syscalls.
...
In particular, don't generate an include of "opt_compat.h" if it
wouldn't affect anything we create. This will fix recent breakage
of the ibcs2 LKM. The ibcs2 syscall files were not regenerated
properly, so the LKM didn't break immediately when we started
generating this extraneous include.
1998-06-09 03:32:05 +00:00
Bruce Evans
9ae58db7a3
Include "opt_compat.h" explicitly instead of depending on
...
makesyscalls.sh generating it as pollution.
Don't attempt to separate the includes by newlines. makesyscalls.sh
just ignores newlines.
1998-06-09 03:28:14 +00:00
Bruce Evans
afba897ff2
Fixed `make depend', which I broke here about a month ago by moving
...
the null default for `depend' from bsd.dep.mk to bsd.obj.mk.
bsd.kmod.mk included these files in a bad order, so it picked up
the null default.
1998-06-09 02:55:40 +00:00
Julian Elischer
3f2419f9e4
The version of the softdep changes in FreeBSD broke the
...
(doingdirectory && !newparent) case of ufs_rename().
rename("D1/X/", "D2/Y/") gives a wrong link count for D2.
Submitted by: Bruce Evans <bde@zeta.org.au>
Reviewed by: Kirk McKusick <mckusick@McKusick.COM>
1998-06-08 23:55:33 +00:00
Julian Elischer
01f0fef31b
Don't let ifunit() modify the string passed as an argument.
...
it may be in the text segment and write protected.
1998-06-08 20:33:29 +00:00
John Dyson
0d3dd8fbc5
Remove some junk left over from a previous commit.
...
Submitted by: phk
1998-06-08 18:18:28 +00:00
Bruce Evans
414c93f3aa
Updated generated files.
1998-06-08 11:08:35 +00:00
Bruce Evans
bf0955a99d
Fixed some style bugs in output (missing tabs and unparenthesized macros).
...
Fixed some style bugs in source (mostly, superfluous backslashes).
1998-06-08 11:02:00 +00:00
Bruce Evans
a09bee1aa8
Fixed pedantic semantics errors (bitfields not of type int, signed int
...
or unsigned int (this doesn't change the struct layout, size or
alignment in any of the files changed in this commit, at least for
gcc on i386's. Using bitfields of type u_char may affect size and
alignment but not packing)).
1998-06-08 09:47:47 +00:00
Doug Rabson
c2a0fb7410
Fix more of my DDB breakage.
1998-06-08 09:23:24 +00:00
Doug Rabson
2e91d07af9
Fix a typo which prevented i386 elf from working at all (including Linux
...
emulated elf binaries).
1998-06-08 09:19:35 +00:00
Søren Schmidt
1747fd3131
Correct even more ioctl breakage :(
...
Doesn't people check their code before committing anymore, it could
at least compile ????
1998-06-08 09:00:28 +00:00
KATO Takenori
4dd125707d
Sync with sys/i386/isa/clock.c revision 1.123.
1998-06-08 08:56:43 +00:00