dillon
8b297fc8f8
There was a situation where sendfile() might attempt to initiate I/O
...
on a PG_BUSY page, due to a bug in its sequencing of a conditional.
1999-01-24 01:15:58 +00:00
dillon
5ba2ffcf3a
It is possible for a page in the cache to be busy. vm_pageout.c was not
...
checking for this condition while it tried to free cache pages. Fixed.
1999-01-24 01:06:31 +00:00
dillon
84015ba9cb
Add invariants to vm_page_busy() and vm_page_wakeup() to check for
...
PG_BUSY stupidity.
1999-01-24 01:05:15 +00:00
dillon
e854781bc8
Clear PG_WRITEABLE in vm_page_cache(). This may or may not be a bug,
...
but the bit should definitely be cleared.
1999-01-24 01:04:04 +00:00
dillon
44c2f47425
Depreciate vm_object_pmap_copy() - nobody uses it. Everyone uses
...
vm_object_pmap_copt_1() now, apparently.
1999-01-24 01:01:38 +00:00
dillon
e554adda08
Get rid of unused old_m in vm_fault. Add INVARIANTS to test whether
...
page is still busy after all the hell vm_fault goes through.. it is
supposed to be, and printf() if it isn't. don't panic, though.
1999-01-24 00:55:04 +00:00
dillon
6db82357ca
Don't try to calculate B_CACHE for an NFS related bp that has a
...
> 0 b_validend. This will screw up small-writes, causing lots of
little writes out the network.
We will assume that NFS handles B_CACHE properly.
1999-01-24 00:51:11 +00:00
msmith
d0d15b4eb8
Document root_disk_unit
1999-01-24 00:12:17 +00:00
msmith
1e566c5505
biosdisk.c
...
Implement a new variable 'root_disk_unit' which supersedes
'num_ide_disks' and makes it possible to explicitly set the
root device unit number regardless of type considerations.
bootinfo.c
If we can't calculate a dev_t for the root disk, complain and
don't proceed to boot with an invalid boot device.
1999-01-24 00:12:04 +00:00
msmith
13b06fbe36
Fill in the bi_bios_dev field in the bootinfo struct; the loader doesn't
...
guess this value well in anything other than the simplest of situations.
1999-01-24 00:10:10 +00:00
archie
19d9007c62
Move kernel-only declarations to within #ifdef KERNEL
...
Prompted by: gcc warnings when compiling /sbin/ipfw
1999-01-23 23:59:50 +00:00
nsouch
d7eaba2e0e
Replace DEBUG by PLIP_DEBUG option
1999-01-23 17:07:49 +00:00
nsouch
edb485ef74
Add various documented ppbus options
1999-01-23 17:06:01 +00:00
dfr
126561435c
Update the alpha port to use the new syscons.
...
Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> (partly)
1999-01-23 16:53:30 +00:00
rnordier
f6d7769c54
Fix a dot too many in path.
...
PR: 9445
Noticed by: Ying-Chieh Liao <ijliao@Terry.Dorm10.NCTU.edu.tw>
1999-01-23 14:50:28 +00:00
roger
f1013afa3e
Added detection of Hauppauge IR remote control.
...
and MSP34xx Audio chip. Fixed i2c read error.
Hauppauge supplied details of new Tuner Types.
Added tuner type 0x1a.
Danny Braniss <danny@cs.huji.ac.il> submitted Bt878
AverMedia detection with PCI subsystem vendor id.
1999-01-23 11:32:06 +00:00
roger
19dcb25f3e
Submitted by: Roger Hardiman <roger@cs.strath.ac.uk>
...
Updated to support Hauppauge IR Remote Control
1999-01-23 11:28:16 +00:00
yokota
d9d237808a
Suppress warnings when compiling LINT. No functional change.
1999-01-23 10:55:16 +00:00
yokota
159eae5a56
- Remove reference to obsolete options.
...
- Describe options for the vga driver.
Reviewed by: bde
1999-01-23 10:51:58 +00:00
dillon
fcfddd9dee
Fix an expression parenthesization typo in a conditional. It should not
...
have any operational effects other then to make the code in question
a little faster. Also added a more involved comment.
1999-01-23 06:36:15 +00:00
dillon
3a81644d73
Reenable John Dyson's low-memory VM_WAIT code for page reactivations out
...
of PQ_CACHE. Add comments explaining what it accomplishes and its
limitations.
1999-01-23 06:00:27 +00:00
peter
97e2cc89ef
Update userref handling after discussion with submitter of previous
...
patch. lf can't be dereferenced after the unload attempt, in case it
was freed. Instead, decrement first and back it out if the unload failed.
This should be relatively immune to races caused by the user since the
userref count will be zero for the duration of the actual unloading and
will stop further kldunload attempts.
Submitted by: Ustimenko Semen <semen@iclub.nsu.ru>
1999-01-23 03:45:22 +00:00
peter
260cf23ef1
Make the -I paths closer to what happens when compiling as part of the
...
kernel where #include "filename.h" has been disabled.
1999-01-23 01:32:44 +00:00
peter
b61c7cc3c7
Minor tweak to fix 'pseudo-device vinum'. One of these got lost before,
...
the other is a new file.
1999-01-23 01:29:05 +00:00
peter
572d442e55
Add vinumdaemon.c; sort vinum entries.
1999-01-23 01:25:59 +00:00
peter
486f299d1b
Oops, got my #ifdef's mixed up. Fix an unused variable warning.
1999-01-23 00:28:56 +00:00
peter
baa33cd632
Remove stray Makefile that Greg initially imported.
1999-01-23 00:09:07 +00:00
msmith
355b55c282
Add EXCEPTION word set.
...
Make TIB handling use buffer size to conform with ANS Forth.
Add ANS MEMORY-ALLOC word set.
See the PRs for extensive details.
PR: kern/9412 kern/9442 kern/9514
Submitted by: PRs from Daniel Sobral <dcs@newsguy.com>
1999-01-22 23:52:59 +00:00
msmith
1ebf60a806
bootstrap.h
...
help.common
interp.c
Rename the 'source' command to 'include' in order to avoid conflict
with the ANS Forth command of the same name. (kern/9473)
interp_forth.c:
Changes from kern/9412 (EXCEPTION word), kern/9442 (TIB buffer
sizing) and an improved version of kern/9460 (set
version numbers).
load_aout.c:
Trim some obsolete #if 0'ed cruft.
pnp.c:
Tidy the pnpscan output, turn off the module scanning until we
sort out how to do it right.
PR: kern/9412 kern/9442 kern/9460 kern/9473
Submitted by: PRs from Daniel Sobral <dcs@newsguy.com>
1999-01-22 23:50:14 +00:00
peter
4f0f9529e8
Convert ccd to a proper module vs. something started by PSEUDO_SET().
1999-01-22 22:38:28 +00:00
n_hibma
0e7b3ca011
add LEGSUP to uhci_dumpregs
1999-01-22 21:52:46 +00:00
rnordier
e345acf488
Fix extraneous free() on error.
1999-01-22 21:33:52 +00:00
rnordier
8603959049
Fix read error not being detected.
1999-01-22 18:32:52 +00:00
wollman
a6bfe64533
Don't forward unicast packets received via link-layer multicast.
...
Suggested by: fenner
Original complaint: Shiva Shenoy <Shiva.Shenoy@yagosys.com>
1999-01-22 16:50:45 +00:00
wpaul
61efd601cb
Multicast code isn't quite correct. The RealTek wants the upper six bits
...
of the CRC as the multicast hash table bit, not the lower six bits. Plus
we have to flip on all bits in the table for multicast mode.
Pointed out by: Kazushi SUGYO <k-sugyou@nwsl.mesh.ad.jp>
1999-01-22 15:25:04 +00:00
rnordier
aa2df6372b
Push version numbers up to 1.00. This is just intended to reflect
...
that the BTX code can be regarded as stable: there are no associated
code changes.
Suggested by: obrien
1999-01-22 13:07:17 +00:00
dg
416e7bfc5a
Gutted softdep_deallocate_dependencies and replaced it with a panic. It
...
turns out to not be useful to unwind the dependencies and continue in
the face of a fatal error.
Also changed the log() to a printf() in softdep_error() so that it will
be output in the case of a impending panic.
Submitted by: Kirk McKusick <mckusick@mckusick.com>
1999-01-22 09:07:32 +00:00
dg
e4e8fec98a
Don't throw away the buffer contents on a fatal write error; just mark
...
the buffer as still being dirty. This isn't a perfect solution, but
throwing away the buffer contents will often result in filesystem
corruption and this solution will at least correctly deal with transient
errors.
Submitted by: Kirk McKusick <mckusick@mckusick.com>
1999-01-22 08:59:05 +00:00
eivind
305d248a37
__FreeBSD_version -> 400000
...
Forgotten by: Some anonymous release engineer
Reminded by: bde
1999-01-22 08:39:58 +00:00
n_hibma
4b60b25595
forgotten in previous commit: Lowered default debug level
1999-01-22 01:02:24 +00:00
n_hibma
4f6fd60891
Fixed disconnect for umouse
1999-01-22 00:59:52 +00:00
n_hibma
7bb7917675
Make uhub mandatory in usb config (msmith)
1999-01-22 00:57:47 +00:00
n_hibma
7824a7cd28
Textual changes
1999-01-22 00:51:12 +00:00
n_hibma
d7d000c638
Fixed bug in disconnect handling in uhub.c
1999-01-22 00:44:31 +00:00
n_hibma
6fde7fe0e0
Added OPTi FireLink and NEC (Toshiba and others) to OHCI ID's
1999-01-22 00:36:46 +00:00
n_hibma
ca386e7355
Fixed bug that made UHCI controllers fail to start.
1999-01-21 23:31:58 +00:00
n_hibma
e36fb26a20
Cleaning up, improving _detach, removing ominous warning (msmith)
1999-01-21 23:06:02 +00:00
n_hibma
b95400cb53
Added ioctl interface
1999-01-21 22:56:10 +00:00
msmith
d6db5cac76
Add 'set tunables' help, list the kernel tunable values that can currently
...
be overridden.
1999-01-21 22:03:16 +00:00
msmith
b8598e583e
Allow VM_KMEM_SIZE to be tuned from the kernel environment. This tuning
...
value *completely* overrides any value precalculated by the kernel.
1999-01-21 21:54:32 +00:00