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
John Baldwin
781a35df6b
Fix this to actually compile in the !INVARIANTS case.
...
Reported by: Maxime Henrion <mux@qualys.com>
2001-10-24 14:18:33 +00:00
Robert Drehmel
9a024fc559
Use vm_offset_t instead of caddr_t to fix a warning and remove
...
two casts.
2001-10-24 14:15:28 +00:00
Hellmuth Michaelis
365bf7980c
fix kvprintf panic in attach routine
2001-10-24 14:12:47 +00:00
Cameron Grant
16a33022e7
fix SNDCTL_DSP_GETISPACE behaviour
2001-10-24 12:40:54 +00:00
Cameron Grant
8309fd9aef
improve recording behaviour
2001-10-24 12:33:21 +00:00
Marcel Moolenaar
3a6ec54e58
Remove call to cninit_finish. This is part of the multiple
...
low-level console support.
2001-10-24 08:06:55 +00:00
Marcel Moolenaar
39a4abbe0c
Add parse functions for local APIC and I/O APIC entries.
...
Also, show when a local APIC or SAPIC is disabled.
2001-10-24 04:48:05 +00:00
Robert Watson
c1787d3b75
o Note an additional potential problem here: LOCKD_MSG directly exports
...
struct ucred to userland. In 5.0-CURRENT, it is desirable to instead
export struct xucred, as ucred contains mutexes, pointers, and other
kernel evil. I'll add it to my work queue.
2001-10-24 02:48:38 +00:00
Matthew Dillon
79deba82cd
Fix ktrace enablement/disablement races that can result in a vnode
...
ref count panic.
Bug noticed by: ps
Reviewed by: ps
MFC after: 1 day
2001-10-24 01:05:39 +00:00
Matt Jacob
fc16d270b7
Tra-La, another QLogic f/w funny- this time with the 2300.
...
If we get a completion status of RQCS_QUEUE_FULL, it means
that the internal queues are full. Other QLogic boards set
the QFULL SCSI status. But *nooooooooooo*, not the 2300.
MFC after: 1 day
2001-10-23 23:05:20 +00:00
Nick Hibma
9965784733
Regen.
2001-10-23 22:44:36 +00:00
Nick Hibma
2b97142db8
Add Olympus C-700
2001-10-23 22:44:03 +00:00
John Baldwin
4e5e677bc0
Change the sx(9) assertion API to use a sx_assert() function similar to
...
mtx_assert(9) rather than several SX_ASSERT_* macros.
2001-10-23 22:39:11 +00:00
John Baldwin
e5e5b51f9f
Allow hw.acpi.cpu.{economy,performance}_speed to be set from the loader
...
via tunables.
2001-10-23 22:37:36 +00:00
John Baldwin
d19fc02a22
Change TUNABLE_*_FETCH to have a return value of 0 if the variable was not
...
found or successfully converted and true otherwise.
2001-10-23 22:35:25 +00:00
John Baldwin
21cbf0cc8b
- Change getenv_quad() to return an int instead of a quad_t since it
...
returns an success/failure code rather than the actual value.
- Add getenv_string() which copies a string from the environment to another
string and returns true on success.
2001-10-23 22:34:36 +00:00
John Baldwin
a33cbf355e
Set the code and signal for the F00F hack fault directly instead of
...
changing the code in the trapframe and looping back to the top of trap
again.
Tested by: cjc
2001-10-23 22:29:16 +00:00