se
3fb3bbab68
improve pcibus_check: Only assume PCI if at least one PCI to anything bridge
...
on bus 0.
This fixes problems with EISA-only systems mistakenly being assumed to support PCI.
1997-03-05 20:52:00 +00:00
bde
e423a3a276
Try a no-wait malloc first in clist_alloc_cblocks(). If this fails, then
...
complain and blunder on.
Should be in 2.2, preferably with a better fix.
1997-03-05 16:45:01 +00:00
bde
6a14cbe8cc
Made FPU stuff conditional on npx as well as I586_CPU.
1997-03-05 16:30:55 +00:00
kato
21d274a9e5
Synchronize with sys/i386/isa/clock.c revision 1.79.
1997-03-05 16:19:48 +00:00
bde
6334056b87
Added -mno-486 to CFLAGS to force smaller code in case someone compiles
...
with CC="cc -m486". This doesn't fix PR2381, since PR2381 is for 2.1.x.
1997-03-05 15:43:03 +00:00
julian
6ba0dbd35a
make the netatalk output routine matcy the prtotype used in the
...
protocol structure. Silences a warning from Gcc.
1997-03-05 09:17:38 +00:00
bde
26c38c0acc
Only print clock calibration messages if the system was booted with -v.
...
Submitted by: partly by gpalmer
1997-03-05 08:08:48 +00:00
julian
5b5d5406a4
add a bunch of comments to describe what's going on.
...
This is some of the worst code I've had to wade through in
ages and I don't want to have to start from scratch again next time.
(I have a 2.2 version of these comments, can I commit them?)
1997-03-05 08:01:28 +00:00
dg
1a326a5d28
Fixed splbio problems in vinvalbuf. Closes PR#2875, although fixed
...
differently by me.
1997-03-05 04:54:54 +00:00
msmith
6210151cea
Supply the mount point given to mfs_mount when getting a vnode for the
...
mount. This may have been a contributor to the 'null v_mount in
fsync()' problem
This is another, perhaps slightly less urgent, 2.2 last-minute candidate.
Reviewed by: sef
1997-03-05 01:57:54 +00:00
msmith
7b27305852
Check that vp->v_mount is non-null in fsync() before dereferencing it to
...
obtain the mountpoint's MNT_ASYNC flag.
This is a Very Definite Last-Minute 2.2 Bugfix Candidate.
Reviewed by: sef
1997-03-05 01:42:14 +00:00
gpalmer
5d25456e48
Back out the patch to break up the clock probe lines. Instead, follow
...
Bruce's suggestion of deleting "relative to mc146818A clock ",
thus shortening the line ...
1997-03-05 00:54:00 +00:00
bde
33ce378808
Fixed connection of vfs.ffs node to the sysctl tree.
1997-03-04 18:35:15 +00:00
bde
61a92b4f52
Attach vfs_sysctl() one level lower so that only the levels below
...
VFS_GENERIC aren't done in the FreeBSD way. The previous commit
broke the nfs sysctls.
1997-03-04 18:31:56 +00:00
gpalmer
8806be3d90
Split the rather long and line-wrapping clock probe messages on boot.
...
(2.2?)
Submitted by: Mathew Dood <winter@jurai.net>
1997-03-04 09:24:01 +00:00
kato
054afb4c7e
Fixed devfs code. Old code remained in pc98 tree.
...
Submitted by: URATA Shuichiro <s-urata@nmit.tmg.nec.co.jp>
1997-03-04 06:39:02 +00:00
kato
0821bb9e0d
Synchronize with sys/i386/isa/syscons.c revision 1.205.
1997-03-04 06:25:54 +00:00
ache
3d43c6e015
Oops, fix typo.
1997-03-03 23:02:43 +00:00
ache
a06fb05366
Don't copy more than MAXLOGNAME bytes in getlogin() syscall,
...
it is stricter than padded s_login size check was there.
1997-03-03 22:46:16 +00:00
bde
1b71c44ec9
Don't export kernel interfaces to applications. msdosfs_mount probably
...
didn't compile before this change.
Added idempotency ifdef.
1997-03-03 17:36:11 +00:00
bde
2a670d60f7
Fixed struct access bug and style bugs in previous revision. The same
...
fix as for syscons did not work because pcvt uses a struct where syscons
uses a struct pointer.
1997-03-03 16:33:41 +00:00
bde
f0abbb2b2d
Removed unused flag IN_RECURSE and unused struct member i_lockcount.
1997-03-03 16:25:46 +00:00
bde
064d53aea0
Removed useless setting of IN_RECURSE. The (anti) locking for this needs
...
to be done in a different way, if at all.
1997-03-03 16:23:15 +00:00
bde
5fc94677bd
Merged Lite2's vfs_sysctl(). It doesn't fit very well into FreeBSD's
...
(phk's) sysctl framework, and I needed special code to disambiguate
the VFS_GENERIC node from the VFS_VFSCONF leaf, so I only converted
the leaves to the FreeBSD framework. The error handling isn't quite
right. CSRGS's sysctls seem to return ENOTDIR too much and FreeBSD's
sysctls don't agree with the man page.
1997-03-03 12:58:20 +00:00
bde
d66c414650
Fixed the getvfsbyname macro hack.
1997-03-03 11:55:47 +00:00
ache
c030a5f0b6
Use MAXLOGNAME for stricter size check in setlogin() syscall instead of
...
sizeof of padded s_login array
1997-03-03 10:15:48 +00:00
ache
2656c7c863
Use roundup(MAXLOGNAME, sizeof(long)) as e_login/s_login arrays size
...
instead of all hardcoded assumptions historically used
(i.e. sizeof(long) == 4)
Use MAXLOGNAME == 17 for stricter setlogin() size checking. Since
it rounds up to 20, all sizes remains the same
1997-03-03 09:51:15 +00:00
dg
1e7a910ca1
Improved performance of hash algorithm while (hopefully) not reducing
...
the quality of the hash distribution. This does not fix a problem dealing
with poor distribution when using lots of IP aliases and listening
on the same port on every one of them...some other day perhaps; fixing
that requires significant code changes.
The use of xor was inspired by David S. Miller <davem@jenolan.rutgers.edu>
1997-03-03 09:23:37 +00:00
ache
434796834d
Bump MAXLOGNAME to 20 to really hold 16-bytes user names + NUL
...
and decrease spare array by one to keep the same size of eproc
1997-03-03 08:34:08 +00:00
ache
cb0b007ac1
Restore MAXLOGNAME comment, but in slightly different form
1997-03-03 08:05:03 +00:00
ache
fab230ff15
Back out 1.21 change because MAXLOGNAME _not_ includes NUL character in BSD
1997-03-02 21:21:08 +00:00
bde
a42104c77d
Restored some pre-Lite2-merge source-level compatibility to the mount()
...
and getvfsbyname() interfaces. The new interfaces are now hidden from
applications unless _NEW_VFSCONF is defined. The new vfsconf interfaces
don't work yet.
1997-03-02 17:53:37 +00:00
peter
4c6cc15963
Import ipfilter 3.1.8 kernel components
1997-03-02 15:50:35 +00:00
peter
240550ea53
Import ipfilter 3.1.8 kernel components
1997-03-02 15:50:35 +00:00
peter
efd139c9da
This commit was generated by cvs2svn to compensate for changes in r23285,
...
which included commits to RCS files with non-trunk default branches.
1997-03-02 15:50:35 +00:00
peter
89e688499d
Replacement import of ipfilter 3.1.7 components used in kernel.
...
(This is to repair the vendor branching)
1997-03-02 15:49:41 +00:00
peter
f0c7769b1f
Replacement import of ipfilter 3.1.7 components used in kernel.
...
(This is to repair the vendor branching)
1997-03-02 15:49:41 +00:00
peter
1ba699df8a
This commit was generated by cvs2svn to compensate for changes in r23282,
...
which included commits to RCS files with non-trunk default branches.
1997-03-02 15:49:41 +00:00
jmg
0a4f73a54d
add the same fix to pcvt that I did to syscons. Make sure that the signals
...
provided by the user are valid else return EINVAL.
Reviewed-by: joerg
1997-03-02 14:03:33 +00:00
bde
6e31892943
Moved vfs sysctls to where Lite2 put them. No code changes yet.
1997-03-02 11:06:22 +00:00
joerg
c82a3c3719
Remove an extraneous shift operation. The facility macros do already
...
shift the value.
Submitted by: Andre.Albsmeier@mchp.siemens.de (Andre Albsmeier)
1997-03-02 09:19:15 +00:00
jmg
d447abd487
make sure that the user supplied signals in struct vt_mode are actually
...
valid signals, else return EINVAL for ioctl VT_SETMODE.
this fixes a problem that anybody with vty access can panic the system.
2.2-Candidate (and 2.1.0 I believe)
Reviewed-by: sos
1997-03-01 23:53:46 +00:00
bde
a9463ef521
Added some nfs #includes so that netboot compiles again. Lite2 made the
...
nfs includes even more order-dependent and less documented than before.
1997-03-01 17:59:04 +00:00
wosch
9108e06194
Include copyright message from <sys/copyright.h>
1997-03-01 17:49:09 +00:00
kato
2e4d98572a
Synchronize with sys/i386/conf/options.i386 revision 1.36.
1997-03-01 11:06:41 +00:00
kato
9a3f6d71c0
Synchronize with sys/i386/isa/syscons.c up to revision 1.204.
1997-03-01 10:53:07 +00:00
gibbs
4110226f3e
When we perform an "automatic request sense", we issue an untagged command.
...
The sequencer expects untagged transactions to have the SCBID of the
transaction in the "busy target" array. So, ensure that the busy entry
is up to date for the target in this case. The new identify code in the
sequencer that performs additional sanity checking got caught up when a
tagged transaction created an untagged request sense.
In ahc_handle_seqint, ensure that the target ID is taken from the right
place. In the case of a selection, the ID is in SCSIID. In the case of
a reconnection it is found in SELID.
1997-03-01 06:50:41 +00:00
ache
69a97aee66
Add missing #include <machine/segments.h> for ISPL and SEL_UPL macros
1997-03-01 05:44:09 +00:00
wosch
0c8bb06359
Copyright macros and FreeBSD copyright definition.
1997-02-28 23:32:02 +00:00
fenner
a55ffe5697
Fix a comment and some commented-out code in ip_mloopback to
...
reflect how multicast loopback really works.
1997-02-28 19:40:48 +00:00