Commit graph

52453 commits

Author SHA1 Message Date
KATO Takenori c25b32ae9d Merged from sys/i386/i386/machdep.c revision 1.415. 2000-10-06 11:43:51 +00:00
Maxim Sobolev fef7fe8364 Remove references to recently removed voxware snd driver. 2000-10-06 11:40:44 +00:00
Ruslan Ermilov 1e7492ffe1 Convert this Makefile to the usual style. 2000-10-06 11:18:11 +00:00
Ruslan Ermilov 79a74459fa Document the latest firewall knobs. 2000-10-06 11:17:06 +00:00
Paul Saab e8af5965e2 Correct who pioneered the accept filters and Yahoo!'s company name. 2000-10-06 10:51:24 +00:00
Ruslan Ermilov 25139dab53 Add missing escape sequences, -mdoc'ify. 2000-10-06 08:40:52 +00:00
Ruslan Ermilov f38ca148a6 Simple -mdoc fixes. 2000-10-06 08:33:43 +00:00
Jason Evans 5704011c0d Reduce userland namespace polution.
#include <proc.h>, since curproc is needed.
2000-10-06 08:11:11 +00:00
Jason Evans 39df86086f Do not call lockdestroy() for v_vnlock, which may point to a lock in a
deeper vfs stacking layer.

Submitted by:	bp
2000-10-06 08:04:48 +00:00
John Baldwin ca29467e9a Correct a warning where the r_debug_state() dummy function used to trigger
a breakpoint in the kernel didn't use the proper argument list.  To avoid
having to include the userland link.h header everyhwere that sys/linker.h
is used, make r_debug_state() a static function in link_elf.c as well.
2000-10-06 05:20:02 +00:00
Justin T. Gibbs ff0c1daf6b Bring in a slew of fixes that were supposed to be in the last commit.
In ahc_search_qinfifo, the SEARCH_REMOVE case must also handle
an SCB that has been removed from the QINFIFO but not yet been
fully dmaed to the card.

Correct locking for ahc_get_scb() calls.

Set SCB syncrate settings in ahc_execute_scb() to avoid a race
condition that could allow a newly queued SCB to be missed
by ahc_update_pending_syncrates().

When notifying the system of transfer negotiation updates, only
set the valid bits for tagged queuing and disconnection if the
path is fully qualified.  Sync/Wide settins apply to all luns
of a target, but tagged queuing and disconnection may change
on a per-lun basis.

Add missing ahc_unlock() calls in ahc_timeout() for the target
mode case.
2000-10-06 04:01:06 +00:00
John Baldwin 6c56727456 - Change fast interrupts on x86 to push a full interrupt frame and to
return through doreti to handle ast's.  This is necessary for the
  clock interrupts to work properly.
- Change the clock interrupts on the x86 to be fast instead of threaded.
  This is needed because both hardclock() and statclock() need to run in
  the context of the current process, not in a separate thread context.
- Kill the prevproc hack as it is no longer needed.
- We really need Giant when we call psignal(), but we don't want to block
  during the clock interrupt.  Instead, use two p_flag's in the proc struct
  to mark the current process as having a pending SIGVTALRM or a SIGPROF
  and let them be delivered during ast() when hardclock() has finished
  running.
- Remove CLKF_BASEPRI, which was #ifdef'd out on the x86 anyways.  It was
  broken on the x86 if it was turned on since cpl is gone.  It's only use
  was to bogusly run softclock() directly during hardclock() rather than
  scheduling an SWI.
- Remove the COM_LOCK simplelock and replace it with a clock_lock spin
  mutex.  Since the spin mutex already handles disabling/restoring
  interrupts appropriately, this also lets us axe all the *_intr() fu.
- Back out the hacks in the APIC_IO x86 cpu_initclocks() code to use
  temporary fast interrupts for the APIC trial.
- Add two new process flags P_ALRMPEND and P_PROFPEND to mark the pending
  signals in hardclock() that are to be delivered in ast().

Submitted by:	jakeb (making statclock safe in a fast interrupt)
Submitted by:	cp (concept of delaying signals until ast())
2000-10-06 02:20:21 +00:00
John Baldwin a384bdbfc9 currentldt is now a "special" global-data variable, and as such, there
is no actual currentldt integer variable directly.  Thus, don't claim that
there is.
2000-10-06 01:59:07 +00:00
John Baldwin 6ccfbaa53d Interrupt frames don't include the saved cpl anymore since cpl is dead. 2000-10-06 01:57:28 +00:00
John Baldwin a91b7dc11b Various whitespace cleanups after the SMPng commit, which jumbled things
around a bit in the trap handling code.
2000-10-06 01:55:07 +00:00
John Baldwin 0e2aab1237 Don't treat a kernel stack fault the same as a general protect fault or
a segment not present fault in the non-vm86 case.
2000-10-06 01:50:43 +00:00
John Baldwin 03cea59caf Remove an unnecessary sti and spl0() in fork_trampoline. Interrupts
should be enabled by MTX_EXIT() now when it releases the sched_lock.
2000-10-06 01:47:24 +00:00
John Baldwin 3ed78c6696 - Include opt_vesa.h in vesa.c so that the VESA_DEBUG option is actually
propagated from the kernel config file to the source.
- Add some more debug messages to list each mode that is rejected or found.
2000-10-06 01:43:59 +00:00
John Baldwin 511652767f During a verbose boot, call the null device 'null' rather than 'null0' to
be more consistent with the rest of the kernel.
2000-10-06 00:46:29 +00:00
Bruce A. Mah a481b52ea0 Working down my list of release note items: SMP configuration
option changes (+MFC), ahc(4) updates (+MFC), ACPI support, ,
tcpdump(1) updates (+MFC), ppp(8) updates (+MFC).
2000-10-06 00:41:15 +00:00
Bruce A. Mah 884f81fb1d Note new pcm(4) hardware support. Synchronize the lists of supported
sound hardware among the various .TXT files.
2000-10-06 00:32:13 +00:00
Archie Cobbs 0df7bc0fe3 Man page for the ichsmb SMBus controller driver. 2000-10-06 00:10:31 +00:00
Archie Cobbs 3c5656bf03 Driver for the Intel 82801AA (ICH) SMBus controller and compatibles.
Obtained from:	Whistle source tree
2000-10-06 00:09:46 +00:00
Murray Stokely d665d812e2 PR: 21729
Approved by:	jkh

Write kern_securelevel_enable variable to rc.conf if user selects
medium or low security in sysinstall.  This overrides the case where a
user selects fascist security and then tries to go back to a lower
setting.
2000-10-05 23:27:32 +00:00
Alfred Perlstein e5b7b6b78e return correct type for process directory entries, DT_DIR not DT_REG 2000-10-05 23:19:51 +00:00
Warner Losh 073113a478 Add upcoming ports layout changes 2000-10-05 23:13:47 +00:00
Nick Hibma 9aafd69b2f Regen. 2000-10-05 23:11:13 +00:00
John Baldwin 1931cf940a - Heavyweight interrupt threads on the alpha for device I/O interrupts.
- Make softinterrupts (SWI's) almost completely MI, and divorce them
  completely from the x86 hardware interrupt code.
  - The ihandlers array is now gone.  Instead, there is a MI shandlers array
    that just contains SWI handlers.
  - Most of the former machine/ipl.h files have moved to a new sys/ipl.h.
- Stub out all the spl*() functions on all architectures.

Submitted by:	dfr
2000-10-05 23:09:57 +00:00
Nick Hibma 4614ea8720 Additional Ids 2000-10-05 23:09:48 +00:00
John Baldwin 12e8a79ce1 Replace loadandclear() with atomic_readandclear_int(). 2000-10-05 22:22:31 +00:00
John Baldwin b4645202b5 Add atomic_readandclear_int and atomic_readandclear_long. 2000-10-05 22:19:50 +00:00
Scott Long d6d17952ae The aac driver manual page
Reviewed by:	sheldonh@freebsd.org
2000-10-05 20:44:17 +00:00
Scott Long 7ddb84c9ba Add the manual page for the aac device.
Reviewed by:	sheldonh@freebsd.org
2000-10-05 20:42:42 +00:00
John Baldwin d238b83315 Make the gd_currentldt member in struct globaldata unconditional so
that this header doesn't depend on USER_LDT.  This fixes the USER_LDT
breakage with SMP kernels.
2000-10-05 20:30:36 +00:00
John Baldwin 1219828400 - Remove somewhat bogus handling of the Giant mutex in the vm86 code.
- Add a vm86pcb_lock mutex that is used to lock the vm86pcb used when
  making a vm86 call.
2000-10-05 20:27:45 +00:00
Bill Paul bd57768e0f Add the card ID for the Am79c975 PCnet/FAST III card. This is a variant
of the Am79c973 with "AlertIT Technology," whatever that is. Also mention
support for the PCnet/FAST III cards in the documentation. The
PCnet/FAST III chips have integrated 10/100 PHYs.
2000-10-05 19:40:19 +00:00
Toshihiko ARAI 13a4d01290 Fix typo and change from ifconfig ...' to /sbin/ifconfig ...' 2000-10-05 19:37:00 +00:00
Toshihiko ARAI a16ec435c6 Fix some remove method. 2000-10-05 19:28:00 +00:00
Toshihiko ARAI 58ab6a5d30 Add TDK LAK-CD031.
Submitted by:	Tsuyoshi Hatakenaka <tsuyoshi@wni.co.jp>
2000-10-05 19:20:35 +00:00
Eivind Eklund a863c0fb2f Style fixes based on comments by bde 2000-10-05 18:22:46 +00:00
Jordan K. Hubbard 9913f234db If user selects no distributions at all, assume "User" as
a default.  This should prevent people from whacking return at
the Distributions menu and getting nothing selected as a result
(a minimal "standard" system will at least install).

Flagged as big tech support headache by: Chris Shumway <cshumway@osd.bsdi.com>
2000-10-05 18:02:09 +00:00
John Baldwin cfbe8cbed5 - Add another PCI Id for a Lucent Win Modem.
- Change the chip description to use mixed-case so it is consistent and
  doesn't yell at the user during boot.
2000-10-05 18:00:56 +00:00
Ruslan Ermilov 9b9c06b091 It may happen so that the local talk daemon is not running.
Let the user know...
2000-10-05 17:39:01 +00:00
Bill Paul 5c1cfac46e Add support for parsing the media blocks from the SROM on 21143
adapters. This is necessary in order to make this driver work with
the built-in ethernet on the alpha Miata machines. These systems
have a 21143-PC chip on-board and optional daughtercards with either
a 10/100 MII transceiver or a 10baseT/10base2 transceiver. In both
cases, you need to twiddle the GPIO bits on the controller in order
to turn the transceivers on, and you have to read the media info
from the SROM in order to find out what bits to twiddle.
2000-10-05 17:36:14 +00:00
Matt Jacob b75e82a0e6 Grab the ccb *after* writing filemarks.
PR:		21723
Submitted by:	razuwaev@relex.ru
2000-10-05 17:02:20 +00:00
Matt Jacob 3bfa7a769d Don't do destroy_dev on devices which were just aliases. 2000-10-05 16:58:43 +00:00
Ruslan Ermilov 0272ef9b3e Do not allow `finger -m /somefile' as well. 2000-10-05 15:56:13 +00:00
Bruce Evans 253315a5a3 Forward-declare struct mbuf so that this file is less self-insufficient
-- don't depend on garbage in <sys/mount.h>.  mbufs aren't actually
used here either.  They should have been completely removed from filesystem
interfaces when they were removed from the interfaces to convert between
file handles and vnodes.
2000-10-05 11:58:22 +00:00
Søren Schmidt 11b944d47a Cleanup the chipset specific interrupt code a bit. 2000-10-05 08:28:06 +00:00
Sheldon Hearn cf86636803 Add James Housley's official IANA assigned numbers for healthd.
Requested by:	jeh
2000-10-05 07:36:59 +00:00