]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoThe same unbreakage (0755 -> 0775) for /var/games and subdirs
ache [Thu, 25 Oct 2001 23:18:41 +0000 (23:18 +0000)]
The same unbreakage (0755 -> 0775) for /var/games and subdirs

22 years agoAdd missing TAILQ_INSERT_TAIL's which somehow didn't get comitted with
dillon [Thu, 25 Oct 2001 23:13:56 +0000 (23:13 +0000)]
Add missing TAILQ_INSERT_TAIL's which somehow didn't get comitted with
the recent vnode cleanup.

22 years agoFix /var/mail, /var/rwho and /var/spool/lock back to 0775
ache [Thu, 25 Oct 2001 23:13:11 +0000 (23:13 +0000)]
Fix /var/mail, /var/rwho and /var/spool/lock back to 0775
Not sure about other dirs with the same damage (0755) by recent commit.

22 years agoIn > LONG_MAX test use sseek return value and not _offset which can be not
ache [Thu, 25 Oct 2001 22:56:04 +0000 (22:56 +0000)]
In > LONG_MAX test use sseek return value and not _offset which can be not
active.

22 years agoDefault to not performing ufs_dirhash's extensive directory-block
iedowse [Thu, 25 Oct 2001 22:55:59 +0000 (22:55 +0000)]
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

22 years agoIn cluster_rbuild(), 'size' had better match buf->b_bcount and buf->b_bufsize
dillon [Thu, 25 Oct 2001 22:49:48 +0000 (22:49 +0000)]
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

22 years agoMove abstract inside articleinfo and re-indent, no content changes.
bmah [Thu, 25 Oct 2001 21:06:37 +0000 (21:06 +0000)]
Move abstract inside articleinfo and re-indent, no content changes.

22 years agoNew release notes: Multiple low-level consoles, fxp(4) bundling.
bmah [Thu, 25 Oct 2001 20:47:12 +0000 (20:47 +0000)]
New release notes:  Multiple low-level consoles, fxp(4) bundling.

22 years agoo Modify format of /etc/fbtab to accept glob matching patterns for
rwatson [Thu, 25 Oct 2001 20:45:47 +0000 (20:45 +0000)]
o Modify format of /etc/fbtab to accept glob matching patterns for
  target devices, not just individual devices and directories.  This
  permits activities such as:

ttyv0 0600 /dev/dsp*

  Whereas previously that was not supported.  This change is
  backwards-compatible, except where device names included globbing
  characters, which is not the case for any devices listed in MAKEDEV.

Submitted by: Maxime Henrion <mux@qualys.com>
MFC after: 3 weeks

22 years agoUse TASK_INIT to initialize taskqueue task instead of violating the
jhb [Thu, 25 Oct 2001 19:56:02 +0000 (19:56 +0000)]
Use TASK_INIT to initialize taskqueue task instead of violating the
abstraction.

Submitted by: Andrew Reiter <arr@watson.org>

22 years agoRemove wx driver, which got recently removed.
asmodai [Thu, 25 Oct 2001 19:45:39 +0000 (19:45 +0000)]
Remove wx driver, which got recently removed.

Submitted by: revamped kernincludes.sh

22 years agoUnbreak NEWCARD by removing options NFS and replacing it with the
asmodai [Thu, 25 Oct 2001 19:41:13 +0000 (19:41 +0000)]
Unbreak NEWCARD by removing options NFS and replacing it with the
new NFSCLIENT and NFSSERVER options.

Submitted by: revamped kernincludes.sh

22 years agoAargh. I really shouldn't do late night commits. Remove a floating point
jlemon [Thu, 25 Oct 2001 19:36:44 +0000 (19:36 +0000)]
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

22 years agoNow that nfsm_reply() does not usually set 'error' to 0, we need
iedowse [Thu, 25 Oct 2001 19:07:56 +0000 (19:07 +0000)]
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

22 years agoDefs for three (unused so far) bits in PCI command/status register
luigi [Thu, 25 Oct 2001 17:43:26 +0000 (17:43 +0000)]
Defs for three (unused so far) bits in PCI command/status register
were off by one bit.

22 years agoBetter code to scan the ethertable.
luigi [Thu, 25 Oct 2001 17:40:03 +0000 (17:40 +0000)]
Better code to scan the ethertable.

22 years agoFix an inverted test csae. Success of getenv() is determined by a return
jhb [Thu, 25 Oct 2001 17:22:31 +0000 (17:22 +0000)]
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

22 years agoPut WARNS into the right place.
ru [Thu, 25 Oct 2001 17:09:37 +0000 (17:09 +0000)]
Put WARNS into the right place.

22 years agoCurrently no code does a CROSSJUMP() to sw1a, so we don't need a
jhb [Thu, 25 Oct 2001 16:54:21 +0000 (16:54 +0000)]
Currently no code does a CROSSJUMP() to sw1a, so we don't need a
CROSSJUMPTARGET() for it.

Submitted by: bde

22 years agoUse %ecx instead of %ebx for the scratch register while updating %dr7 since
jhb [Thu, 25 Oct 2001 16:52:43 +0000 (16:52 +0000)]
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

22 years ago- Fix typo in comment from previous revision.
jhb [Thu, 25 Oct 2001 16:50:16 +0000 (16:50 +0000)]
- 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

22 years agoWhitespace, comment, and string fixes.
jhb [Thu, 25 Oct 2001 16:47:01 +0000 (16:47 +0000)]
Whitespace, comment, and string fixes.

Submitted by: bde (mostly)

22 years agoStyle and WARNS cleanups.
jlemon [Thu, 25 Oct 2001 16:41:38 +0000 (16:41 +0000)]
Style and WARNS cleanups.

Submitted by: ru

22 years agoDon't put an extra space after password prompts, because it violates POLA,
sobomax [Thu, 25 Oct 2001 15:51:50 +0000 (15:51 +0000)]
Don't put an extra space after password prompts, because it violates POLA,
makes FreeBSD inconsistent with previous releases and "other unices" as well
as with some internal password-asking services (e.g. ftp) within the same
release.

22 years agoStyle these once again.
ru [Thu, 25 Oct 2001 12:16:51 +0000 (12:16 +0000)]
Style these once again.

22 years agoFixed misformatting of options line for COMPAQ_M610 and EICON_DIVA in
bde [Thu, 25 Oct 2001 12:05:45 +0000 (12:05 +0000)]
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.

22 years agoFixed bugs in rev.1.973. Actually enable PCI_ENABLE_IO_MODES. It
bde [Thu, 25 Oct 2001 11:46:54 +0000 (11:46 +0000)]
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".

22 years agoFinish the removal of uucp scripts.
ru [Thu, 25 Oct 2001 11:27:55 +0000 (11:27 +0000)]
Finish the removal of uucp scripts.

Forgotten by: kris

22 years agoFixed some English errors, mainly ones not fixed in the previous commit.
bde [Thu, 25 Oct 2001 11:20:15 +0000 (11:20 +0000)]
Fixed some English errors, mainly ones not fixed in the previous commit.
The previous commit message should have said this too (the only BSDism
fixed was punctuation for non-sentences).  Neither these changes nor
the ones in the previous commit were exactly as submitted by me.

22 years agoadd options line for Compaq Microcom 610 ISDN card.
hm [Thu, 25 Oct 2001 11:14:46 +0000 (11:14 +0000)]
add options line for Compaq Microcom 610 ISDN card.

22 years agoImplement va->pa translation for kernel virtual addresses. This is
dfr [Thu, 25 Oct 2001 09:08:21 +0000 (09:08 +0000)]
Implement va->pa translation for kernel virtual addresses. This is
untested - it only seems to be used for crashdumps.

22 years agoJust use ${MACHINE}, it's already special-casing pc98.
ru [Thu, 25 Oct 2001 09:05:47 +0000 (09:05 +0000)]
Just use ${MACHINE}, it's already special-casing pc98.

22 years agoCall ExitBootServices and disable interrupts before we start hacking
dfr [Thu, 25 Oct 2001 08:53:39 +0000 (08:53 +0000)]
Call ExitBootServices and disable interrupts before we start hacking
the VM registers. This ought to make things slightly more reliable here.

22 years agoAdd the two sections used for PLT entries to the text and sdata sections
dfr [Thu, 25 Oct 2001 08:50:14 +0000 (08:50 +0000)]
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).

22 years agoSimplify.
ru [Thu, 25 Oct 2001 08:50:06 +0000 (08:50 +0000)]
Simplify.

22 years agoThe directory of the makefile that's including the file is tried first.
ru [Thu, 25 Oct 2001 08:37:12 +0000 (08:37 +0000)]
The directory of the makefile that's including the file is tried first.
See section 3.2 of "PMake - A Tutorial" in /usr/share/doc/psd/12.make.

22 years agoMake `-b' option actually work as advertised.
sobomax [Thu, 25 Oct 2001 07:56:20 +0000 (07:56 +0000)]
Make `-b' option actually work as advertised.

22 years agoSort SUBDIR.
ru [Thu, 25 Oct 2001 07:55:43 +0000 (07:55 +0000)]
Sort SUBDIR.

22 years agoFix cross-building further.
ru [Thu, 25 Oct 2001 07:28:55 +0000 (07:28 +0000)]
Fix cross-building further.

Introduce ${TARGET} defaulting to ${MACHINE} which should be set to
whatever your target ${MACHINE} is, and use that with world-related
stages.  That is, to build pc98 on alpha, one now needs to set both
TARGET_ARCH=i386 and TARGET=pc98.

The scope of ${TARGET} is limited to Makefile.inc1 and cross-tools.

In particular, this change was tested to fix:

1.  Cross building of "alpha" on i386.  The breakage was introduced
    by rev. 1.10 to sbin/i386/Makefile (missing <machine/cronyx.h>).

2.  Descending into machine-specific subdirs for a different arch.
    Previously, sbin/i386 and usr.sbin/boot0cfg were descended into
    when cross-building "alpha" or pc98 on i386.

3.  Fixes pc98 cross-building which was horribly broken, caused by
    not setting MACHINE correctly (most ${MACHINE} == pc98 checking
    Makefiles put -DPC98 to CFLAGS).

22 years agoDon't use the ip_timestamp structure to access timestamp options, as the
jlemon [Thu, 25 Oct 2001 06:27:51 +0000 (06:27 +0000)]
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

22 years agoIf we are bridging, fall back to using any inet address in the system,
jlemon [Thu, 25 Oct 2001 06:14:21 +0000 (06:14 +0000)]
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

22 years agoRelocate the KASSERT for a null recvif to a location where it will
jlemon [Thu, 25 Oct 2001 05:56:30 +0000 (05:56 +0000)]
Relocate the KASSERT for a null recvif to a location where it will
actually do some good.

Pointed out by: ru

22 years agoMdoc fixes and clarification.
jlemon [Thu, 25 Oct 2001 05:53:11 +0000 (05:53 +0000)]
Mdoc fixes and clarification.

Submitted by: sheldonh

22 years agoDocument the link0 option, which downloads the microcode to the board.
jlemon [Thu, 25 Oct 2001 05:49:23 +0000 (05:49 +0000)]
Document the link0 option, which downloads the microcode to the board.

22 years agoAdd support for loadable microcode which implements interrupt coalescing
jlemon [Thu, 25 Oct 2001 05:32:01 +0000 (05:32 +0000)]
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.

22 years ago . Add structure elements for sysctl.
jlemon [Thu, 25 Oct 2001 05:27:25 +0000 (05:27 +0000)]
  . Add structure elements for sysctl.
  . Document default values for microcode

22 years ago . Add structure definition for microcode download.
jlemon [Thu, 25 Oct 2001 05:25:58 +0000 (05:25 +0000)]
  . 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

22 years agoAdd Intel's loadable microcode to implement receive side bundling.
jlemon [Thu, 25 Oct 2001 05:23:31 +0000 (05:23 +0000)]
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>

22 years agocnclose() can potentially race against itself. To avoid vn_close() races,
jlemon [Thu, 25 Oct 2001 04:51:37 +0000 (04:51 +0000)]
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

22 years agoAdd PCI_ENABLE_IO_MODES option, for BIOSen that neglect this.
jlemon [Thu, 25 Oct 2001 04:44:50 +0000 (04:44 +0000)]
Add PCI_ENABLE_IO_MODES option, for BIOSen that neglect this.

Submitted by: Andrew R. Reiter arr@watson.org

22 years agoFix bugs in NgSendMsg() and NgSendAsciiMsg() where the wrong token
archie [Thu, 25 Oct 2001 04:02:25 +0000 (04:02 +0000)]
Fix bugs in NgSendMsg() and NgSendAsciiMsg() where the wrong token
value could be returned when the debug level was non-zero.

Submitted by: Harti Brandt <brandt@fokus.gmd.de>
MFC after: 5 days

22 years agoRe-commit www:www
ache [Thu, 25 Oct 2001 03:27:16 +0000 (03:27 +0000)]
Re-commit www:www
If anybody wants to remove them for some reason, please consider "pop"
removing first.

Approved by: arch discussion from Oct 20
MFC after: 3 days

22 years agoResume deorbit burn sequence for <malloc.h>. Inspection of my make logs
wollman [Thu, 25 Oct 2001 02:35:29 +0000 (02:35 +0000)]
Resume deorbit burn sequence for <malloc.h>.  Inspection of my make logs
reveals no programs in the standard build which hit the previous warning
message.  This change will NOT be merged to 4-stable.

22 years agoo Remove extern showallsockets, defunct as of the change to
rwatson [Thu, 25 Oct 2001 02:03:37 +0000 (02:03 +0000)]
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.

22 years agoBackout 1.61 -- both intrcnt and intrnames are already exported
luigi [Thu, 25 Oct 2001 01:32:24 +0000 (01:32 +0000)]
Backout 1.61 -- both intrcnt and intrnames are already exported
via sysctl under "hw".

22 years agoChange #include "DEFS.h" to <machine/asm.h>.
peter [Thu, 25 Oct 2001 01:30:54 +0000 (01:30 +0000)]
Change #include "DEFS.h" to <machine/asm.h>.

22 years agoUse the correct sysctl names for intrcnt and intrnames.
luigi [Thu, 25 Oct 2001 01:29:21 +0000 (01:29 +0000)]
Use the correct sysctl names for intrcnt and intrnames.

22 years agoSplit the per-process Local Descriptor Table out of the PCB and into
jhb [Thu, 25 Oct 2001 00:53:43 +0000 (00:53 +0000)]
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

22 years agoForce FWRITE on when opening the console, so that the flags passed to
jlemon [Thu, 25 Oct 2001 00:14:16 +0000 (00:14 +0000)]
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".

22 years agoUpdate Labour Day in New Zealand. It's definitely not today. This
grog [Thu, 25 Oct 2001 00:01:06 +0000 (00:01 +0000)]
Update Labour Day in New Zealand.  It's definitely not today.  This
year it was on 22 October, which makes me think that it's the 4th
Monday in October.  At least this way it's correct for this year.

22 years agore-undo rev 1.78 now that style(9) is sane in this regard,
julian [Wed, 24 Oct 2001 23:40:59 +0000 (23:40 +0000)]
re-undo rev 1.78 now that style(9) is sane in this regard,
(make struct {proc,thread,kse,ksgrp} readable again.)

22 years agoMerge in BSDisms. Slight rewordings in some cases.
julian [Wed, 24 Oct 2001 22:57:39 +0000 (22:57 +0000)]
Merge in BSDisms. Slight rewordings in some cases.

Submitted by: bde@freebsd.org
Reviewed by: jhb@freebsd.org

22 years agoDocument the requirements and nature of the logical CPU IDs. It isn't
jhb [Wed, 24 Oct 2001 22:15:38 +0000 (22:15 +0000)]
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

22 years agoChange the module name from 'snd_sonicvibes' to 'snd_vibes' as that is
jhb [Wed, 24 Oct 2001 21:44:07 +0000 (21:44 +0000)]
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.

22 years agoChange module name from 'snd_als' to 'snd_als4000' to match name in
jhb [Wed, 24 Oct 2001 21:42:06 +0000 (21:42 +0000)]
Change module name from 'snd_als' to 'snd_als4000' to match name in
snd_driver.ko.

22 years agoChange the module name from 'via' to 'snd_via82c686' to match the KLD
jhb [Wed, 24 Oct 2001 21:38:08 +0000 (21:38 +0000)]
Change the module name from 'via' to 'snd_via82c686' to match the KLD
filename and in snd_driver.ko.

22 years agoChange the module name from 'snd_cmipci' to 'snd_cmi' to match the
jhb [Wed, 24 Oct 2001 21:35:31 +0000 (21:35 +0000)]
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.

22 years ago* Clear the TLB on boot.
dfr [Wed, 24 Oct 2001 21:22:08 +0000 (21:22 +0000)]
* 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.

22 years agoIf we get an unhandled page fault in kernel mode, either panic (if
dfr [Wed, 24 Oct 2001 21:20:50 +0000 (21:20 +0000)]
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.

22 years agoDe-orbit DEFS.h - the other arches do not use it, and it got replaced
peter [Wed, 24 Oct 2001 20:29:14 +0000 (20:29 +0000)]
De-orbit DEFS.h - the other arches do not use it, and it got replaced
with <machine/asm.h>.

Reviewed by: bde

22 years agoTry to get the self-relocator to work with IPLTLSB relocations. Doesn't
dfr [Wed, 24 Oct 2001 20:14:49 +0000 (20:14 +0000)]
Try to get the self-relocator to work with IPLTLSB relocations. Doesn't
work right though - I can't figure out why.

22 years agoUnbreak alpha builds.
mjacob [Wed, 24 Oct 2001 18:45:35 +0000 (18:45 +0000)]
Unbreak alpha builds.

22 years agounwind v_writecount in fhopen() if we are unable to allocate the
dillon [Wed, 24 Oct 2001 18:32:17 +0000 (18:32 +0000)]
unwind v_writecount in fhopen() if we are unable to allocate the
descriptor.

MFC after: 3 days

22 years agocn_tab no longer exists, use cnadd() to add a console device. Note that
jlemon [Wed, 24 Oct 2001 18:30:05 +0000 (18:30 +0000)]
cn_tab no longer exists, use cnadd() to add a console device.  Note that
this may result in duplicate console output in some cases.

22 years agoDon't enable write cacheing on devices that don't support tagged queuing
des [Wed, 24 Oct 2001 18:24:09 +0000 (18:24 +0000)]
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

22 years agoDocument C99 conformity.
asmodai [Wed, 24 Oct 2001 18:14:51 +0000 (18:14 +0000)]
Document C99 conformity.
Update text which is printed out to reflect reality.

22 years agoAdd __FBSDID.
asmodai [Wed, 24 Oct 2001 18:12:43 +0000 (18:12 +0000)]
Add __FBSDID.
Change __assert() function to print failing function name.
This makes us C99 conforming.

22 years agoAdd __FBSDID.
asmodai [Wed, 24 Oct 2001 18:12:18 +0000 (18:12 +0000)]
Add __FBSDID.
Change __assert() function to print failing function name.
#if 0 the sccsid block.
This makes us C99 conforming.

22 years agoAdd $FreeBSD$.
asmodai [Wed, 24 Oct 2001 18:10:37 +0000 (18:10 +0000)]
Add $FreeBSD$.
Change assert() macro to print failing function name.
Change K&R function prototype wrapper to ANSI prototype.
This makes us C99 conforming.

22 years agoRemove call to cninit_finish().
jlemon [Wed, 24 Oct 2001 17:42:01 +0000 (17:42 +0000)]
Remove call to cninit_finish().

22 years ago- Clean up the comments slightly here to make them more readable.
jhb [Wed, 24 Oct 2001 17:38:40 +0000 (17:38 +0000)]
- 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)

22 years agoHelp to recover from bad seek (i.e. negative or too big) happens beyond
ache [Wed, 24 Oct 2001 17:25:49 +0000 (17:25 +0000)]
Help to recover from bad seek (i.e. negative or too big) happens beyond
our pre-check control. Do the same way as refill.c does when it set __SERR,
i.e. clear read and ungetc buffers. Clear EOF flag too.

22 years agoMake apm a module.
ume [Wed, 24 Oct 2001 16:53:54 +0000 (16:53 +0000)]
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'.

22 years agoRefer more consistently to the different FreeBSD (hardware platform)
bmah [Wed, 24 Oct 2001 16:01:40 +0000 (16:01 +0000)]
Refer more consistently to the different FreeBSD (hardware platform)
ports.  Also use "official" names for platforms where appropriate.

Partly suggested by: phantom

22 years agoAdd some new entities with the "official" names of the platforms
bmah [Wed, 24 Oct 2001 15:37:25 +0000 (15:37 +0000)]
Add some new entities with the "official" names of the platforms
we support (as opposed to the names of ports).

22 years agoAdded the pmc driver which supports power management controller of
nyan [Wed, 24 Oct 2001 14:46:40 +0000 (14:46 +0000)]
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

22 years agoFix this to actually compile in the !INVARIANTS case.
jhb [Wed, 24 Oct 2001 14:18:33 +0000 (14:18 +0000)]
Fix this to actually compile in the !INVARIANTS case.

Reported by: Maxime Henrion <mux@qualys.com>

22 years agoUse vm_offset_t instead of caddr_t to fix a warning and remove
robert [Wed, 24 Oct 2001 14:15:28 +0000 (14:15 +0000)]
Use vm_offset_t instead of caddr_t to fix a warning and remove
two casts.

22 years agofix kvprintf panic in attach routine
hm [Wed, 24 Oct 2001 14:12:47 +0000 (14:12 +0000)]
fix kvprintf panic in attach routine

22 years agoCorrect a typo: numtiple -> multiple.
roam [Wed, 24 Oct 2001 12:51:23 +0000 (12:51 +0000)]
Correct a typo: numtiple -> multiple.

PR: 31474
Submitted by: Eric Yu <ericyu@mail2000.com.tw>
MFC after: 1 week

22 years agofix SNDCTL_DSP_GETISPACE behaviour
cg [Wed, 24 Oct 2001 12:40:54 +0000 (12:40 +0000)]
fix SNDCTL_DSP_GETISPACE behaviour

22 years agoimprove recording behaviour
cg [Wed, 24 Oct 2001 12:33:21 +0000 (12:33 +0000)]
improve recording behaviour

22 years agoFinish the removal of the LABPC driver.
ru [Wed, 24 Oct 2001 10:57:30 +0000 (10:57 +0000)]
Finish the removal of the LABPC driver.

Forgotten by: phk

22 years agoIt's safe to assume that ${.OBJDIR} == ${.CURDIR} in the
ru [Wed, 24 Oct 2001 09:16:23 +0000 (09:16 +0000)]
It's safe to assume that ${.OBJDIR} == ${.CURDIR} in the
NOOBJ-hinted Makefiles.

22 years agoRemove call to cninit_finish. This is part of the multiple
marcel [Wed, 24 Oct 2001 08:06:55 +0000 (08:06 +0000)]
Remove call to cninit_finish. This is part of the multiple
low-level console support.

22 years agoBack out my last commit. Ruslan (ru) has a better fix.
markm [Wed, 24 Oct 2001 07:59:42 +0000 (07:59 +0000)]
Back out my last commit. Ruslan (ru) has a better fix.

22 years agoAdd parse functions for local APIC and I/O APIC entries.
marcel [Wed, 24 Oct 2001 04:48:05 +0000 (04:48 +0000)]
Add parse functions for local APIC and I/O APIC entries.
Also, show when a local APIC or SAPIC is disabled.

22 years agoo Note an additional potential problem here: LOCKD_MSG directly exports
rwatson [Wed, 24 Oct 2001 02:48:38 +0000 (02:48 +0000)]
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.

22 years agoFix ktrace enablement/disablement races that can result in a vnode
dillon [Wed, 24 Oct 2001 01:05:39 +0000 (01:05 +0000)]
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

22 years agoBack out read buffer invalidating via __SMOD.
ache [Tue, 23 Oct 2001 23:52:11 +0000 (23:52 +0000)]
Back out read buffer invalidating via __SMOD.

It was correct, but not needed because internal buffer cleared on each seek
outside of it.