wollman
09bae951cd
Better fix for the deletion of parents of cloned routes problem,
...
superseding the `nextchild' hack. This also provides a way
forward to fix RTM_CHANGE and RTM_ADD as well.
1995-03-20 21:30:21 +00:00
wollman
2aa3b373ab
Forgot pppcompress.c in PPP module.
1995-03-20 19:33:35 +00:00
wollman
5e54a01b4e
Forgot slcompress.c in SLIP module.
1995-03-20 19:31:47 +00:00
wollman
d590bce33d
The discard, tunnel, SLIP, and PPP network interface pseudo-devices
...
are now dynamically loadable. It doesn't make sense to do the same
for the loopback.
1995-03-20 19:25:49 +00:00
wollman
1a3906ad11
Support for pseudo-device LKMs. Note that this is restricted to only
...
one pseudo per module (a restriction which will eventually be lifted) and
isthus not in its final form.
1995-03-20 19:20:44 +00:00
wollman
9786661cb0
Add support for pseudo-device LKMs.
1995-03-20 19:18:51 +00:00
wollman
2a30dae2a5
This should be splimp() rather than splnet() since ifaddrs might go away
...
as a result of link-layer processing.
1995-03-20 18:31:51 +00:00
wollman
fd40ec89df
Fix race conditions involved in setting IP multicast options. This should
...
fix Dennis Fortin's problem for good, if I've got it figured out right.
(The problem was that a `struct ifaddr' could get deleted out from under
the current requester, thus leaving him with an invalid interface pointer
and causing even more bogus accesses.)
1995-03-20 18:11:31 +00:00
dg
5d88c07ee1
Don't gain/lose an object reference in vnode_pager_setsize(). It will
...
cause vnode locking problems in vm_object_terminate().
Implement proper vnode locking in vm_object_terminate().
1995-03-20 10:20:42 +00:00
dg
b9e7140c7c
Don't gain/lose a reference to the object when yanking its pages in
...
vinvalbuf()...it will cause vnode locking problems in vm_object_terminate,
and isn't necessary anyway.
1995-03-20 10:19:09 +00:00
dg
ba7cc6e6a9
Fixed "objde1" hang. It was caused by a "&" where an "&&" belonged in the
...
expression that decides if a wakeup should occur.
1995-03-20 10:14:55 +00:00
dg
cfecdfd362
Don't attempt to sync pages in the V_SAVE case of vinvalbuf; doing so can
...
lead to a deadlock. Just let the VM system deal with it.
1995-03-20 02:08:24 +00:00
dg
27e7e16904
Removed an unnecessary call to vinvalbuf after the page clean.
1995-03-20 02:06:09 +00:00
dg
bc768fa088
Do proper vnode locking when doing paging I/O. Removed the asynchronous
...
paging capability to facilitate this (we saw little or no measureable
improvement with this anyway).
Submitted by: John Dyson
1995-03-19 23:46:25 +00:00
dg
23d0a8bc3c
Fixed bug introduced in the previous commit - the lock must be held until
...
after the call to exec_check_permissions().
1995-03-19 23:27:57 +00:00
dg
d337091388
Lose the lock on the vnode. Changes to implement proper locking in the
...
vnode pager now require this.
Submitted by: John Dyson
1995-03-19 23:08:12 +00:00
dg
9cd78521d8
Removed redundant newlines that were in some panic strings.
1995-03-19 14:29:26 +00:00
dg
f572de6775
Backed out change to panic call: As Chris just pointed out to me, panic()
...
does indeed work like printf(). gdb gets the string untranslated for some
reason.
1995-03-19 13:44:03 +00:00
dg
568f2efc88
Fix from Doug Rabson: Don't try to release a pbuf we didn't get.
...
Minor style change by me.
1995-03-19 13:28:54 +00:00
dg
390bfe9b40
Incorporated 4.4-lite vnode_pager_uncache() and vnode_pager_umount()
...
routines (and merged local changes). The changed vnode_pager_uncache
gets rids of the bogosity that you can call the routine without
having the vnode locked. The changed vnode_pager_umount properly locks
the vnode before calling vnode_pager_uncache.
1995-03-19 12:36:10 +00:00
dg
b556b80a98
Removed bogus, commented out, call to vnode_pager_uncache().
1995-03-19 12:11:13 +00:00
dg
fa7269fdef
Removed unnecessary call to vnode_pager_uncache(). We automatically clear
...
the VTEXT flag after all mappers have finished with the object.
1995-03-19 12:08:03 +00:00
dg
a62ef20881
Moved call to vnode_pager_uncache in rename() to before the VOP_RENAME.
...
It was previously after the VOP_RENAME and the reference and lock on
the vnode had already been lost, allowing interesting internel
inconsistencies. This is one of the two reasons why freefall was crashing
every hour or two (the other being nullfs bugs).
Don't call vnode_pager_uncache in revoke(). revoke() is only allowed on
VCHR and VBLK vnodes.
1995-03-19 11:16:58 +00:00
dg
ed63bd3315
Fix a call to panic: panic doesn't do token substitution on the panic
...
string.
1995-03-19 09:47:32 +00:00
dg
8809f325f3
Patch from Kirk McKusick to fix a bug introduced in the Poul's vfs_cache
...
rewrite.
1995-03-19 09:33:51 +00:00
phk
9f5fdc8c96
Make newvers.sh usable from other places...
1995-03-19 07:25:41 +00:00
phk
dff6bf2b1c
And all serial chars with 0x7f to discard parity bits.
1995-03-19 06:10:32 +00:00
swallace
9bbe457704
Add back SNDCTL_DSP_SETBLKSIZE ioctl code that got zapped.
...
Submitted by: Jim Lowe <james@miller.cs.uwm.edu>
1995-03-18 20:01:10 +00:00
dg
e38e0cc286
Don't sync the inode date changes of character special devices
...
during the FS sync. The system would appear to hang momentarily
if there was a large backlog of I/O. This is because the vnode
remains locked during the output - preventing normal character
I/O. The problem was exacerbated by the FFS contiguous block
allocation fixes and a semi-broken disksort(). The inode/date
will still be synced during a normal FS dismount and whenever
the inode is changed for other reasons.
1995-03-18 18:03:29 +00:00
rgrimes
157d75c19a
Add Intel EtherExpress16 (ix0) driver.
...
Reviewed by:
Submitted by:
Obtained from:
1995-03-18 08:12:48 +00:00
dg
6037557863
Woops, add back that #define...it's used later in the file.
1995-03-18 07:06:51 +00:00
dg
84d7516af3
Fixed comments and removed b_cylinder #define.
1995-03-18 06:38:04 +00:00
dg
c07d989087
Integrated change from 1.1.5: Fixed broken disksort to sort by pblkno
...
rather than by cylinder.
1995-03-18 06:32:48 +00:00
dg
cc818c5048
In vm_page_alloc_contig: Removed a redundant semicolon and used 'm' instead
...
of &pga[i] in one place.
1995-03-18 01:04:36 +00:00
gibbs
107fa9cbb1
Increase the DELAY used in ahc_poll. This is only used during intial
...
probe of the device and shouldn't affect normal operation. It seems that
some version of the aic7870 are extreamly slow in clearing their interrupt
register so the added delay is required to ensure we don't poll a stale
interrupt value.
Clean up debugging printfs and stuff superflous output into #ifdef AHC_DEBUG.
Ensure that sdtrpending and wdtrpending are cleared in all cases after
we recieve an SDTR or WDTR message.
With this commit, the 294x should work or at least be much closer to
working properly.
1995-03-17 23:58:27 +00:00
gibbs
0be8d9c7f6
Make the aic7xxx assembler take quoted strings as a single token.
...
Make $Id the version variable which required the quoted string "feature".
1995-03-17 23:54:17 +00:00
wollman
d06f6b4e4f
Beginnings of support for loadable pseudo-devices. bsd.kmod.mk support
...
and Makefiles for the more interesting ones to come on Monday.
1995-03-17 22:02:18 +00:00
swallace
5dc0a50ecf
Change probe output to gus0 instead of snd4.
1995-03-17 21:27:39 +00:00
dg
ca2e4bfc64
Changed some (incorrect) nfsrv_vput()'s back into regular vput()'s. This
...
fixes the last of the known NQNFS problems (until I find more, that is :-)).
1995-03-17 07:45:19 +00:00
phk
ab48163ad2
<libkern/libkern.h> has moved to <sys/libkern.h> (repository copy).
...
Since /usr/include/libkern doesn't and shouldn't exist, this is the
least evil way to handle this.
1995-03-17 06:15:40 +00:00
phk
ee3d6a59f6
Remove a spurious printf.
1995-03-17 04:39:41 +00:00
dg
b553215b12
Added a new field to the pci_device struct called pd_shutdown to specify
...
a device specific shutdown routine for devconf. Assign the value of this
to the kern_devconf struct. Implement a device shutdown routine for if_de
that disables the device. This will stop the device from corrupting memory
after a reboot.
1995-03-17 04:27:21 +00:00
dg
865b8325a4
Call dev_shutdownall() just after unmounting filesystems.
1995-03-17 04:19:19 +00:00
dg
14517b375e
Changed names of goaway routines into shutdown routines.
1995-03-17 04:18:07 +00:00
wollman
8e37e9f479
Add four more filesystem flags:
...
VFCF_NETWORK (this FS goes over the net)
VFCF_READONLY (read-write mounts do not make any sense)
VFCF_SYNTHETIC (data in this FS is not real)
VFCF_LOOPBACK (this FS aliases something else)
cd9660 is readonly; nullfs, umapfs, and union are loopback; NFS is netowkr;
procfs, kernfs, and fdesc are synthetic.
1995-03-16 20:23:48 +00:00
wollman
27511388bb
Statically-compiled filesystems now use a VFCF_STATIC flag rather than
...
abusing the refcount.
1995-03-16 18:31:00 +00:00
wollman
a428f47a5d
Reject source routes unless configured on by administrator.
1995-03-16 18:22:28 +00:00
bde
289f11acb4
Add and move declarations to fix all of the warnings from `gcc -Wimplicit'
...
(except in netccitt, netiso and netns) and most of the warnings from
`gcc -Wnested-externs'. Fix all the bugs found. There were no serious
ones.
1995-03-16 18:17:34 +00:00
se
4c4945abee
Prepare for shared interrupts (required by the new PCI code that adds
...
support for PCI PCI bridges, e.g. found on 4ch. Ethernet cards).
Submitted by: Wolfgang Stanglmeier <wolf@kintaro.cologne.de>
1995-03-16 17:41:20 +00:00
wollman
8882d76eda
Add inet_ntoa() and replace ARP's private routine with same.
1995-03-16 17:32:27 +00:00