Commit Graph

10998 Commits

Author SHA1 Message Date
phk
f60159f1f3 Report the type from the inode, not the vnode. 1998-06-27 06:45:04 +00:00
phk
6d4b7c0046 Report the mode as the result of the VOP_GETATTR rather than the
vnodes type, they may not correspond.
1998-06-27 06:43:09 +00:00
phk
a274343b93 Remove isdisk() hacks. 1998-06-26 18:14:25 +00:00
phk
dcceb2f098 Add D_DISK flag. 1998-06-26 18:13:57 +00:00
jkh
9123290e10 Flesh this document out just a little in response to some user
questions and also recommend linking over copying since, at this stage,
a stale copy is a real concern.
1998-06-26 10:35:55 +00:00
dt
9fb71fa77a Remove "not hungly" panics. Cookies now used by the linux and ibcs2
emulators. The emulators assume that filesystem may just ignore cookies, and
handle this case correctly. So we just ignore cookies.

Also sync *_readdir "prototypes" with reality.
1998-06-25 16:54:41 +00:00
phk
55aa3437e6 Remove bdevsw_add(), change the only two users to use bdevsw_add_generic().
Extend cdevsw to be superset of bdevsw.
Remove non-functional bdev lkm support.
Teach wcd what the open() args mean.
1998-06-25 11:28:07 +00:00
kato
ca706eab77 Sync with sys/i386/conf/Makefile.i386 revision 1.115. 1998-06-25 10:49:49 +00:00
msmith
6f1279c73d Oops, add ppc to the 'tty' imask. 1998-06-24 22:01:32 +00:00
phk
197932b3be When some functions were added to sys/queue.h (1.15, 1.16),
the queue diagram (in comment, showing member functions)
update were slipped.

PR:		7048
Submitted by:	SAWADA Mizuki <miz@qb3.so-net.ne.jp>
1998-06-24 20:51:09 +00:00
eivind
0ea938e3a5 Fix race condition for creation of vnode_if.c and vnode_if.h.
Exact problem pointed out by: Cyrus Rahman <cr@jcmax.com>
1998-06-24 13:55:32 +00:00
kato
49cc07b019 Sync with sys/i386/isa/syscons.c revision 1.264. 1998-06-24 13:37:50 +00:00
kato
57a388beef Sync with sys/i386/isa/syscons.c revision 1.208. 1998-06-24 13:37:23 +00:00
yokota
f1bb454090 Don't refer to mouse_info.u.datea.[xyz] while processing MOUSE_BUTTON_EVENT
ioctl.  These fields don't have valid values for this ioctl.
PR: kern/6928
Submitted by: Bill Fenner <fenner@parc.xerox.com>
1998-06-24 10:21:30 +00:00
phk
145a027e54 Avoid some panics in sio_unload which gets called with various dirt
if the attach of a modem card failed.
1998-06-24 09:23:32 +00:00
brian
f63031181b Add CUSEEME support. This has *not* been tested, nor
could I find anyone to test it, so please report any
problems to me.
1998-06-24 06:58:00 +00:00
phk
e20d61ec5e Typo fix.
Reviewed by:	phk
Submitted by:	John Hay <jhay@mikom.csir.co.za>
1998-06-22 21:09:10 +00:00
kato
ed8357cd92 Sync with sys/i386/isa/if_ed.c and npx.c revisions 1.143 and 1.61,
respectively.
1998-06-22 08:06:58 +00:00
kato
e5daafd917 Sync with sys/i386/i386/machdep.c revision 1.301. 1998-06-22 08:05:12 +00:00
kato
81916e1da3 Sync with sys/i386/isa/if_fe.c revision 1.42. 1998-06-22 08:03:52 +00:00
bde
034b200df1 Fixed (?) races in mark_buffer_dirty(). We abuse the buffer cache
by hacking on locked buffers without getblk()ing them, and we didn't
even use splbio() to prevent biodone() changing the buffer underneath
use when a write completes.  I think there was no problem in practice
on i386's because the operations on b_flags and numdirtybufs happen to
be atomic.  We still depend on biodone()'s operations on b_flags not
interfering with ours.  I think there is only interference for B_ERROR,
and this is harmless because errors for async writes are ignored anyway.

Don't use mark_buffer_dirty() except for superblock-related metadata.
It was used in just one case where ordinary BSD buffering is more
natural.
1998-06-21 21:06:04 +00:00
bde
97da966a48 Removed unused function ll_w_block(). It has always had races due
to not using splbio(), and has rotted a little.  The races were
probably harmless in practice because this function was only used
for superblock updates, and separate superblock updates are probably
prevented from running into each other by doing part of the update
synchronously.
1998-06-21 19:56:31 +00:00
bde
f1295da570 Removed unused includes. 1998-06-21 18:02:50 +00:00
bde
517851f111 Removed unused includes.
Ifdefed conditionally used includes.
1998-06-21 17:46:53 +00:00
bde
79479f6907 Removed unused includes.
Ifdefed conditionally used includes.
1998-06-21 17:08:08 +00:00
bde
8c1cb79d98 Removed unused includes.
Ifdefed conditionally used includes.
Finished rev.1.39.  (I only submitted the request.)
1998-06-21 16:51:06 +00:00
bde
bc6c5e618c Removed unused includes.
Don't depend on "implicit int".
1998-06-21 15:54:11 +00:00
bde
4aaa95bfbd Removed unused includes.
Don't depend on "implicit int".
Don't bloat the data section with explicit initialization to 0.
1998-06-21 15:49:39 +00:00
bde
598d10b84a Removed unused includes. 1998-06-21 14:53:44 +00:00
bde
446a5a9174 Ifdefed a conditionally used include. 1998-06-21 14:45:00 +00:00
mckay
7cd0dad5b4 Remove bogus comment that teleported in from sys/i386/i386/mp_machdep.c. 1998-06-21 14:08:27 +00:00
bde
17e996b92a Moved P1003 options from the middle of the devices section to the
end of the main options section.

Turned on documented option OVERRIDE_TUNER.  LINT is primarily
for turning on options, not for documenting them.

Don't list IPFILTER twice (once as broken).
1998-06-21 13:36:53 +00:00
bde
feb3b094a7 Fixed typo in ifdefed code. (NFS_ACDEBUG is not in LINT. Therefore,
code controlled by it did not even compile.)
1998-06-21 12:50:12 +00:00
bde
21586726d2 Added a missing options include. 1998-06-21 12:36:12 +00:00
bde
186d8cd067 Round tickadj up. This prevents tickadj from being 0 when HZ > 500,
which makes adjtime(2) useless and confuses xntpd(8) into refusing
to start even when it would use the kernel PLL instead of adjtime().
The result is the same as recommended by tickadj(8), at least when
HZ divides 10^6.  Of course, you wouldn't want to actually use
adjtime() when HZ is large.  In the silly boundary case of HZ == 10^6,
tickadj == tick == 1 so the clock stops while adjtime() is active.
1998-06-21 12:22:35 +00:00
bde
da126ecc2e Converted add_interrupt_randomness() to take a `void *' arg. Rewrote
mmioctl() to fix hundreds of style bugs and a few error handling bugs
(don't check for superuser privilege for inappropriate ioctls, don't
check the input arg for the output-only MEM_RETURNIRQ ioctl, and don't
return EPERM for null changes).
1998-06-21 11:33:32 +00:00
peter
47998d00bc Merge ipfilter 3.2.3 -> 3.2.7 changes onto mainline. 1998-06-20 18:37:51 +00:00
peter
a555f4e059 This commit was generated by cvs2svn to compensate for changes in r37071,
which included commits to RCS files with non-trunk default branches.
1998-06-20 18:18:05 +00:00
peter
58a6b13b40 Import ipfilter 3.2.7 kernel components 1998-06-20 18:18:05 +00:00
peter
91edc33c5d Import ipfilter 3.2.7 kernel components 1998-06-20 18:18:05 +00:00
peter
26e5d67c01 Zap what appears to be a relic of the older version of zlib. The other
maintained mbuf based ppp-deflate.c's have removed this.
1998-06-20 16:55:44 +00:00
peter
0715e6dd5b Missing splx(). 1998-06-20 16:39:35 +00:00
peter
ac66e0cc82 Merge ppp changes from 2.3.3 -> 2.3.5. I have spotted some more
problems, which I'll have a go at shortly.
1998-06-20 16:28:04 +00:00
peter
fcf15b44e7 ELF versions of __warn_references() and __weak_reference(). Note that this
doesn't work with libc/net/res_stubs.c since gas wants the weak reference
to take place in the same context as the real definition, presumably so
that it can get hold of the symbol typing etc.
However, this doesn't matter for libc/elf since we don't have binaries
that use the old symbol names.
1998-06-18 18:35:04 +00:00
bde
44e918574f Converted isa_strayintr() to take a `void *' arg. 1998-06-18 16:08:46 +00:00
bde
335e17fc60 Changed the type of an isa/general interrupt handler to take a
`void *' arg.  Fixed or hid most of the resulting type mismatches.
Handlers can now be updated locally (except for reworking their
global declarations in isa_device.h).
1998-06-18 15:32:09 +00:00
bde
4a163f9970 Renambed sbintr to sb_intr to avoid a conflict with the (now
unconditionally declared although it can't be configured together
with snd) extern function sbintr.
1998-06-17 16:59:30 +00:00
bde
425582eb99 Don't depend on <sys/conf.h> declaring isa device structs or isa
interrupt handlers.  pcm is not in LINT, so it is hard to test.
1998-06-17 16:54:22 +00:00
kato
4cdfc2f0d5 Delete redundant declaration of lptintr. 1998-06-17 16:33:14 +00:00
kato
896244233a Declare bsintr when PC98 is defined. 1998-06-17 16:32:23 +00:00