Matthew Dillon
f92dcd3e4a
Add missing TAILQ_INSERT_TAIL's which somehow didn't get comitted with
...
the recent vnode cleanup.
2001-10-25 23:13:56 +00:00
Ian Dowse
71fc5e11c7
Default to not performing ufs_dirhash's extensive directory-block
...
sanity check after every directory modification. This check can be
re-enabled at any time by setting the sysctl "vfs.ufs.dirhash_docheck"
to 1.
This group of sanity tests was there to ensure that any UFS_DIRHASH
bugs could be caught by a panic before a potentially corrupted
directory block would be written to disk. It has served its main
purpose now, so disable it in the interest of performance.
MFC after: 1 week
2001-10-25 22:55:59 +00:00
Matthew Dillon
f02098e59c
In cluster_rbuild(), 'size' had better match buf->b_bcount and buf->b_bufsize
...
or the cluster will not be properly merged. Dup the code from
cluster_wbuild() and add some printf()s to see if bad cases are present.
MFC after: 2 weeks
2001-10-25 22:49:48 +00:00
John Baldwin
76e7a78292
Use TASK_INIT to initialize taskqueue task instead of violating the
...
abstraction.
Submitted by: Andrew Reiter <arr@watson.org>
2001-10-25 19:56:02 +00:00
Jeroen Ruigrok van der Werven
9c59aa470c
Remove wx driver, which got recently removed.
...
Submitted by: revamped kernincludes.sh
2001-10-25 19:45:39 +00:00
Jeroen Ruigrok van der Werven
0297dba19f
Unbreak NEWCARD by removing options NFS and replacing it with the
...
new NFSCLIENT and NFSSERVER options.
Submitted by: revamped kernincludes.sh
2001-10-25 19:41:13 +00:00
Jonathan Lemon
208b417fd5
Aargh. I really shouldn't do late night commits. Remove a floating point
...
multiply, and replace it with a close equivalent. 1.488 =~ 1.5
2001-10-25 19:36:44 +00:00
Ian Dowse
4f6434bdde
Now that nfsm_reply() does not usually set 'error' to 0, we need
...
to do it explicitly in nfsrv_noop so that the reply gets sent back
to the client. This fixes the generation of a selection of RPC
error replies (RPC_PROGMISMATCH, RPC_PROGUNAVAIL, RPC_PROCUNAVAIL
etc.) that are used by some clients to detect support for optional
protocols and features.
Reviewed by: peter
Reported by: Thomas Quinot <quinot@inf.enst.fr>
PR: kern/31479
2001-10-25 19:07:56 +00:00
Luigi Rizzo
617b3dd758
Defs for three (unused so far) bits in PCI command/status register
...
were off by one bit.
2001-10-25 17:43:26 +00:00
John Baldwin
5a08b84f83
Fix an inverted test csae. Success of getenv() is determined by a return
...
value of !NUL rather than NUL.
Submitted by: luigi
Pointy hat to: jhb
2001-10-25 17:22:31 +00:00
John Baldwin
e0e3030796
Currently no code does a CROSSJUMP() to sw1a, so we don't need a
...
CROSSJUMPTARGET() for it.
Submitted by: bde
2001-10-25 16:54:21 +00:00
John Baldwin
02c41f11e3
Use %ecx instead of %ebx for the scratch register while updating %dr7 since
...
%ecx isn't a call safe register and thus we don't have to save and restore
it.
Submitted by: bde
2001-10-25 16:52:43 +00:00
John Baldwin
7df8a724c2
- Fix typo in comment from previous revision.
...
- Fix a bug in the LDT changes where the wrong argument was passed to
set_user_ldt() from cpu_switch(). The bug was passing a pointer to the
ldt, but set_user_ldt() takes a pointer to the process' mdproc structure.
Submitted by: bde
2001-10-25 16:50:16 +00:00
John Baldwin
163fd6fb97
Whitespace, comment, and string fixes.
...
Submitted by: bde (mostly)
2001-10-25 16:47:01 +00:00
Bruce Evans
42108a7706
Fixed misformatting of options line for COMPAQ_M610 and EICON_DIVA in
...
rev.1.974.
Fixed previous misformatting of options line for ACCEPT_FILTER_DATA,
ACCEPT_FILTER_HTTP, ACPI_DEBUG, COMPAT_SVR4, DEBUG_SVR4, ED_NO_MIIBUS,
IFS, PCFCLOCK_MAX_RETRIES, PCFCLOCK_VERBOSE, PECOFF_DEBUG, PECOFF_SUPPORT,
PPC_PROBE_CHIPSET, RANDOM_IP_ID, REGRESSION, SC_CUT_SEPCHARS,
SC_CUT_SPACES2TABS, SES_ENABLE_PASSTHROUGH, UFS_DIRHASH, UFS_EXTATTR
and UFS_EXTATTR_AUTOSTART.
2001-10-25 12:05:45 +00:00
Bruce Evans
c797ab47ab
Fixed bugs in rev.1.973. Actually enable PCI_ENABLE_IO_MODES. It
...
defeats the point of LINT to comment out positive options.
Fixed style bugs in rev.1.973:
- disordering of PCI options list.
- missing space after "options".
- line longer than 80 characters.
- bogus quoting of "BIOS".
2001-10-25 11:46:54 +00:00
Hellmuth Michaelis
0103e55f3f
add options line for Compaq Microcom 610 ISDN card.
2001-10-25 11:14:46 +00:00
Ruslan Ermilov
ff0c93cc0e
Just use ${MACHINE}, it's already special-casing pc98.
2001-10-25 09:05:47 +00:00
Doug Rabson
4abfff1e2e
Call ExitBootServices and disable interrupts before we start hacking
...
the VM registers. This ought to make things slightly more reliable here.
2001-10-25 08:53:39 +00:00
Doug Rabson
7d5af294dc
Add the two sections used for PLT entries to the text and sdata sections
...
respectively. This makes IPLTLSB relocations work properly (these are
generated for weak symbols, particularly for _longjmp).
2001-10-25 08:50:14 +00:00
Jonathan Lemon
0751407193
Don't use the ip_timestamp structure to access timestamp options, as the
...
compiler may cause an unaligned access to be generated in some cases.
PR: 30982
2001-10-25 06:27:51 +00:00
Jonathan Lemon
ec691a10e6
If we are bridging, fall back to using any inet address in the system,
...
irrespective of receive interface, as a last resort.
Submitted by: ru
2001-10-25 06:14:21 +00:00
Jonathan Lemon
807b8338ba
Relocate the KASSERT for a null recvif to a location where it will
...
actually do some good.
Pointed out by: ru
2001-10-25 05:56:30 +00:00
Jonathan Lemon
72a32a26aa
Add support for loadable microcode which implements interrupt coalescing
...
and packet bundling. Make the microcode settings controllable via sysctl
and loader tunables.
Submitted by: Marko Zec <zec@tel.fer.hr>
(with some munging and dynamic sysctl support by me)
Also extend the workaround for Dynamic Standby mode to later '559 chips,
not just the ICH2 variants.
2001-10-25 05:32:01 +00:00
Jonathan Lemon
9a7a8c90d1
. Add structure elements for sysctl.
...
. Document default values for microcode
2001-10-25 05:27:25 +00:00
Jonathan Lemon
3ceb25205d
. Add structure definition for microcode download.
...
Submitted by: Marko Zec <zec@tel.fer.hr>
. Add some PCI chip revision entries.
. Make size of txcb dependent on pointer size rather than arch #define
2001-10-25 05:25:58 +00:00
Jonathan Lemon
b4c45df0a7
Add Intel's loadable microcode to implement receive side bundling.
...
This is taken verbatim from the Intel's e100-1.6.22 release, with
the addition of their LICENSE file at the top.
Submitted by: Marko Zec <zec@tel.fer.hr>
2001-10-25 05:23:31 +00:00
Jonathan Lemon
18bfd58110
cnclose() can potentially race against itself. To avoid vn_close() races,
...
NULL-out cnd_vp before calling the latter, as it may block.
Submitted by: dillon
2001-10-25 04:51:37 +00:00
Jonathan Lemon
ae4da68827
Add PCI_ENABLE_IO_MODES option, for BIOSen that neglect this.
...
Submitted by: Andrew R. Reiter arr@watson.org
2001-10-25 04:44:50 +00:00
Robert Watson
f8bf16fc88
o Remove extern showallsockets, defunct as of the change to
...
kern.security.seeotheruids_permitted. This was missed in the
commit that made this change elsewhere.
2001-10-25 02:03:37 +00:00
Luigi Rizzo
c5ca4c7e6e
Backout 1.61 -- both intrcnt and intrnames are already exported
...
via sysctl under "hw".
2001-10-25 01:32:24 +00:00
John Baldwin
24db04598b
Split the per-process Local Descriptor Table out of the PCB and into
...
struct mdproc.
Submitted by: Andrew R. Reiter <arr@watson.org>
Silence on: -current
2001-10-25 00:53:43 +00:00
Jonathan Lemon
7ce26133ea
Force FWRITE on when opening the console, so that the flags passed to
...
vn_close match those from vn_open. This fixes the panic some people
were seeing about "vrele: missed vn_close".
2001-10-25 00:14:16 +00:00
Julian Elischer
5a2553fa1d
re-undo rev 1.78 now that style(9) is sane in this regard,
...
(make struct {proc,thread,kse,ksgrp} readable again.)
2001-10-24 23:40:59 +00:00
John Baldwin
882bcf5879
Document the requirements and nature of the logical CPU IDs. It isn't
...
very strict and leaves much up to the platform so that it can define a
convenient mapping.
Requested by: mjacob
2001-10-24 22:15:38 +00:00
John Baldwin
02185af5a9
Change the module name from 'snd_sonicvibes' to 'snd_vibes' as that is
...
the filename (thus the "old" module name) and the name used by
snd_driver.ko.
2001-10-24 21:44:07 +00:00
John Baldwin
579f17a038
Change module name from 'snd_als' to 'snd_als4000' to match name in
...
snd_driver.ko.
2001-10-24 21:42:06 +00:00
John Baldwin
0ff24d06f7
Change the module name from 'via' to 'snd_via82c686' to match the KLD
...
filename and in snd_driver.ko.
2001-10-24 21:38:08 +00:00
John Baldwin
ee1fbec1bf
Change the module name from 'snd_cmipci' to 'snd_cmi' to match the
...
filename, module name in the loader, the dependency in snd_driver.ko, and
to be consistent with other sound drivers.
2001-10-24 21:35:31 +00:00
Doug Rabson
04c2a8f6be
* Clear the TLB on boot.
...
* If a pte for a location given to pmap_enter_quick is valid, just give
up - don't panic, even if the mapping is different.
2001-10-24 21:22:08 +00:00
Doug Rabson
45740e15b4
If we get an unhandled page fault in kernel mode, either panic (if
...
pcb_onfault is not set) or arrange to restart at the location in
pcb_onfault.
This ought to help the stability of a system under moderate load. It
certainly stops DDB from hanging the kernel when it tries to access a
non-present page.
2001-10-24 21:20:50 +00:00
Doug Rabson
88f5f7ac50
Try to get the self-relocator to work with IPLTLSB relocations. Doesn't
...
work right though - I can't figure out why.
2001-10-24 20:14:49 +00:00
Matt Jacob
888ef2d923
Unbreak alpha builds.
2001-10-24 18:45:35 +00:00
Matthew Dillon
a06fe5111e
unwind v_writecount in fhopen() if we are unable to allocate the
...
descriptor.
MFC after: 3 days
2001-10-24 18:32:17 +00:00
Jonathan Lemon
553b79aa63
cn_tab no longer exists, use cnadd() to add a console device. Note that
...
this may result in duplicate console output in some cases.
2001-10-24 18:30:05 +00:00
Dag-Erling Smørgrav
27c97f7660
Don't enable write cacheing on devices that don't support tagged queuing
...
unless hw.ata.wc is set.
Approved by: sos
MFC after: 1 week
2001-10-24 18:24:09 +00:00
Jonathan Lemon
b792b54c89
Remove call to cninit_finish().
2001-10-24 17:42:01 +00:00
John Baldwin
c5ca5a55a1
- Clean up the comments slightly here to make them more readable.
...
- Set the type and trapframe number for the F00F workaround since type
can be used later by sv_transtrap(). Debuggers might also want to look
at the type in the trapframe.
Submitted by: bde (mostly)
2001-10-24 17:38:40 +00:00
Hajimu UMEMOTO
a55dfa2ac1
Make apm a module.
...
We need further work to be able to specify an equivalence of `flags 0x20'.
Many PCs should work for now. But, some PCs need `flags 0x20'.
2001-10-24 16:53:54 +00:00
Yoshihiro Takahashi
6cac891491
Added the pmc driver which supports power management controller of
...
old NEC PC-98NOTE.
Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
MFC after: 1 week
2001-10-24 14:46:40 +00:00