Alexey Zelkin
6b9175e062
Remove unused indirect references to cat* functions.
2000-09-01 12:10:59 +00:00
Alexey Zelkin
a367b9700f
Fix memory leak introduced by kris in rev 1.22
2000-09-01 11:56:31 +00:00
KATO Takenori
d85a56345e
Fixed FPU_ERROR_BROKEN code. It had old-isa code.
2000-09-01 11:47:07 +00:00
Andrey A. Chernov
460b926285
setlocale may return NULL, handle this case too by resetting to "C"
2000-09-01 11:13:38 +00:00
Andrey A. Chernov
016de69d9e
Move protection code down to handle NL_CAT_LOCALE case too.
2000-09-01 11:09:34 +00:00
Andrey A. Chernov
53d620a5fb
Protect from badly formed LANG variable
2000-09-01 10:54:04 +00:00
Ruslan Ermilov
35cf65631c
Teach .Fx and .Os about FreeBSD 4.2.
2000-09-01 10:30:40 +00:00
Ruslan Ermilov
816fa7febc
Changed the way we handle outgoing ICMP error messages -- do
...
not alias `ip_src' unless it comes from the host an original
datagram that triggered this error message was destined for.
PR: 20712
Reviewed by: brian, Charles Mott <cmott@scientech.com>
2000-09-01 09:32:44 +00:00
MIHIRA Sanpei Yoshiro
06f748444a
fix multi io window patch(Rev. 1.48)
...
Submitted by: iwasaki
Obtained from: PAO3
2000-09-01 08:51:37 +00:00
David E. O'Brien
1c7f976dec
Cleanup after repo copy of sys/svr4 to sys/compat/svr4.
2000-09-01 08:47:14 +00:00
Mike Smith
f25c4efcd0
Add MAINTAINER tag to aid updaters in finding the responsible parties.
2000-09-01 07:53:04 +00:00
Mike Smith
ef137fd32f
Add the 'asr' driver, supplied by Mark Salyzyn of Adaptec (nee DPT).
...
This provides support for the Adaptec SCSI RAID controller family,
as well as the DPT SmartRAID V and VI families.
The driver will be maintained by Mark and Adaptec, and any changes
should be referred to the MAINTAINER.
2000-09-01 07:51:25 +00:00
Archie Cobbs
aebf2d1dee
New netgraph node type for Ethernet bridging.
2000-09-01 01:37:25 +00:00
Archie Cobbs
ed2dbd316a
New netgraph node type for Ethernet bridging.
...
No ipfw support yet.
2000-09-01 01:37:13 +00:00
David E. O'Brien
405177510c
Document change to the default mount dir.
2000-09-01 01:17:18 +00:00
David E. O'Brien
9f299dcfbb
Since this is off the vendor branch, might as well change the default
...
mounting directory to what we always specify in /etc/defaults/rc.conf.
2000-09-01 01:15:56 +00:00
David E. O'Brien
7d2e5717e7
Remove our override on the default time that a looked up name remains
...
cached when not in use. This changes the FreeBSD default from 30 minutes
to 5 minutes. JKH was the one that added the override to amd_flags, but
there was no reason given other to serve as an example of what could be
done.
2000-09-01 01:08:52 +00:00
Archie Cobbs
7f98dc0449
Fix wrong offset bug in ng_enaddr_unparse().
2000-09-01 00:28:03 +00:00
Peter Wemm
280b4748af
Take a shot at fixing multiple pci busses on i386.
...
pcib_set_bus() cannot be used on the new child because it is
meant to be used on the *pci* device (it looks at the parent internally)
not the pcib being added. Bite the bullet and use ivars for the bus
number to avoid any doubts about whether the softc is consistant between
probe and attach. This should not break the Alpha code.
2000-08-31 23:11:35 +00:00
Archie Cobbs
d99b0733c7
Avoid free'ing a NULL pointer.
2000-08-31 23:08:52 +00:00
David E. O'Brien
50e59af900
Cleanup after repo copy of sys/svr4 to sys/compat/svr4.
2000-08-31 22:54:09 +00:00
Brian Feldman
468ddc8a44
Casts are needed to subtract u_longs.
...
Submitted by: tor
2000-08-31 22:21:33 +00:00
Peter Wemm
54613737b4
Remove duplicate static definition of pci_devclass
2000-08-31 21:27:51 +00:00
Mark Murray
cc2e975790
Slightly improve the description of "crypto". "DES" is a subset of
...
what we have in secure/.
2000-08-31 17:59:01 +00:00
Andrew Gallatin
cae70b8d4c
Introduce explicit break statements in the various chipsets'
...
foo_pcib_[read|write]_config() functions rather than relying on
a break or return being in the CFG macro.
This fixes a panic later in the boot process on a UP1000. From
inspection, it looks like this fixes a similar problem in the tsunami code.
Approved by: dfr
2000-08-31 16:19:27 +00:00
Andrew Gallatin
2d47df31fb
fix a typo introduced by Doug's busspace changes that causes UP1000s to
...
crash very early in the boot process with a ksp not valid halt to the SRM.
submitted by: dfr
2000-08-31 16:11:20 +00:00
Dag-Erling Smørgrav
998651fdc7
Forced commit to note that the previous commit closed a PR.
...
PR: 19748
2000-08-31 16:06:04 +00:00
Dag-Erling Smørgrav
1250db8139
Import XPG4-compliant basename(3) and dirname(3) from OpenBSD.
...
The man pages need some adjustments.
PR: 12960, 12962
Submitted by: James Howard <howardjp@wam.umd.edu>
Obtained from: OpenBSD
2000-08-31 15:56:15 +00:00
Robert Watson
c52396e365
o p_cansee() wasn't setting privused when suser() was required to override
...
kern.ps_showallprocs. Apparently got lost in the merge process from
the capability patches. Now fixed.
Submitted by: jdp
Obtained from: TrustedBSD Project
2000-08-31 15:55:17 +00:00
Takanori Watanabe
b1f12b6157
Merge rest piece of ACPI driver.To activate acpi driver ,add
...
device acpi
line. Merge finished. But still experimental phase.Need more hack!
Obtained from:ACPI for FreeBSD project
2000-08-31 15:34:54 +00:00
Dag-Erling Smørgrav
2e83f63844
Document the FTP_PROXY and HTTP_PROXY variables better.
2000-08-31 15:13:22 +00:00
Mitsuru IWASAKI
ba6776153b
Activate acpi.
2000-08-31 15:12:23 +00:00
Mitsuru IWASAKI
01be5ae188
import amldb(8) from ACPI For FreeBSD project.
...
Obtained from: ACPI For FreeBSD project
2000-08-31 14:45:00 +00:00
Mitsuru IWASAKI
e1e9a4bf77
import acpidump(8) from ACPI For FreeBSD project.
...
Obtained from: ACPI For FreeBSD project
2000-08-31 14:42:32 +00:00
Mitsuru IWASAKI
2e6c5fc592
import acpiconf(8) from ACPI For FreeBSD project.
...
Obtained from: ACPI For FreeBSD project
2000-08-31 14:41:23 +00:00
Mitsuru IWASAKI
a7f7ce1393
Add Makefile for acpi userland tools.
...
Obtained from: ACPI For FreeBSD project
2000-08-31 14:38:47 +00:00
Ruslan Ermilov
0ac308534e
Grab ADJUST_CHECKSUM() macro from alias_local.h.
2000-08-31 12:54:55 +00:00
Ruslan Ermilov
305d10699e
Create aliasing links for incoming ICMP echo/timestamp requests.
...
This makes outgoing ICMP echo/timestamp replies to be de-aliased
with the right source IP, not exactly the primary aliasing IP.
2000-08-31 12:47:57 +00:00
Brian Feldman
b6240737d5
Fix hangs caused by overzealous code removal.
...
Thanks, Nickolay, for figuring out this is the problem.
Submitted by: Nickolay Dudorov <nnd@mail.nsk.ru>
2000-08-31 11:31:58 +00:00
Dag-Erling Smørgrav
e2b41a622b
Don't unlink the target file if it's not a regular file.
2000-08-31 11:24:15 +00:00
Mitsuru IWASAKI
bb2083983f
Modified PCI config space access code via pcib_if rather than using
...
pci_cfg{read|write}.
- Obtain device_t pcib instance by calling device_find_child().
- Call PCIB_{READ|WRITE}_CONFIG() to access to pcib interfaces.
Reviewed by: dfr, takawata
2000-08-31 11:16:42 +00:00
Mitsuru IWASAKI
bb579ecba0
Cleanup on power off code under ACPI.
...
- Remove DELAY() kludge before power off.
- Move EVENTHANDLER_REGISTER to acpi_attach().
- Pass RB_POWEROFF flag to shutdown_nice().
Reviewed by: msmith
2000-08-31 11:15:03 +00:00
Ralf S. Engelschall
573365d5ad
Fix resolv.conf line hint: "name-server" -> "nameserver"
2000-08-31 11:13:20 +00:00
KATO Takenori
1cfd836f65
Improved Cyrix 486DX supports for NEC PC-98.
...
- Enable WB cache via CCR2 and CR0.
- Set the need_pre_dma_flush when the CPU_I486_ON_386 option is
defined.
Submitted by: Kaho Toshikazu <kaho@elam.kais.kyoto-u.ac.jp>
2000-08-31 10:33:06 +00:00
KATO Takenori
8b6a5e91bb
The INT 1B BIOS call is used to obtain geometries of SASI/IDE hard
...
drives. Some IDE cards don't set propler information into BIOS work
are and their sector size were always recognized as 256 bytes/sector.
Pointed out by: jagarl@creator.club.ne.jp
2000-08-31 10:24:06 +00:00
Brian Somers
8507c35e67
Use arc4random() instead of random()
2000-08-31 00:45:24 +00:00
Mike Smith
3e755f76d1
Make it possible to pass boot()'s flags to shutdown_nice() so that the
...
kernel can instigate an orderly shutdown but still determine the form of
that shutdown. Make it possible eg. to cleanly shutdown and power off the
system under ACPI when the power button is pressed.
2000-08-31 00:08:50 +00:00
Mike Smith
dd7650a8bd
Only build 'mly' on i386, as it doesn't build and hasn't been tested on
...
Alpha.
2000-08-30 23:24:14 +00:00
Brian Somers
4c066cf9f1
Don't treat two or more whitespace followed by a comment as
...
an empty argument
PR: 20937 (maybe)
PR: 20938
2000-08-30 20:51:13 +00:00
Brian Somers
106ae3d065
Complain about invalid arguments passed to ``set ifaddr''
2000-08-30 20:49:50 +00:00