Commit Graph

68325 Commits

Author SHA1 Message Date
Thomas Moestl
7a60bd5c28 Use the new rman_reserve_resource_bound() function to get boundaries
for DVMA allocations right, instead of trying to kluge around it.
Use the correct tag to pass the dmamap unload call up to. Some minor
cleanups.
2001-12-21 22:00:52 +00:00
Thomas Moestl
01f1aed259 Use the new resource_list_print_type() function.
Pass the bus device to isa_init() (this is needed for the sparc64
version).
2001-12-21 21:54:56 +00:00
Thomas Moestl
b7c69fe442 Use the new resource_list_print_type() function to print resource list
contents, and the new __BUS_ACCESSOR macro to construct the accessor
functions.
2001-12-21 21:49:57 +00:00
Thomas Moestl
c93d0240c3 Move the PCI_ENABLE_IO_MODES option from conf/options.i386 to
conf/options.
2001-12-21 21:46:55 +00:00
Thomas Moestl
87b1520ae4 Add a generic __BUS_ACCESSOR macro to construct ivar accessor functions,
and a generic resource_list_print_type() function to print all resouces
of a certain type in a resource list.
Use ulmin()/ulmax() instead of min()/max() in two places to handle
u_longs correctly.
2001-12-21 21:45:09 +00:00
Thomas Moestl
13fb665772 Add a rman_reserve_resource_bound() function that takes an additional
argument specifying the boundary for the resource allocation.
Use ulmin()/ulmax() instead of min()/max() in some places to correctly
deal with the u_long resource range specifications.
2001-12-21 21:40:55 +00:00
Thomas Moestl
70527a680b Add a workaround for quirky PCI devices that set the intpin register to
0, but use this mechanism to generate interrupts.
Preserve the child device when setting up and tearing down interrupts.
Some style nits.
2001-12-21 21:35:47 +00:00
Thomas Moestl
279367f3ce Fix a bug that was indroduced while moving this code around (use the
correct length for ethernet addresses).
2001-12-21 21:31:44 +00:00
Thomas Moestl
caaed7acb7 Make the apb driver independent of the standard PCI bridge driver. 2001-12-21 21:28:54 +00:00
Thomas Moestl
7d1656b9fa Add partial support for NFS_ROOT for sparc64 (only supported in in
connection with BOOTP_NFSROOT right now).
2001-12-21 21:27:01 +00:00
Robert Watson
4b4b1c0520 o Wording and spelling fixes for security menu description. 2001-12-21 19:59:15 +00:00
Robert Watson
4d0032bde9 o Expand the text describing the Security options menu.
o Move nfs_reserved_port_only out of security profiles (where it was
  set somewhat improperly) to the Security options menu directly.
  Previously, the variable was set to true for Moderate, but not for
  Extreme, which is at best inconsistent.
o Update the Security Profiles help file to remove reference to the
  NFS reserved port.

o Note that the kernel currently defaults the sysctl to '0', but
  sysinstall has changed it to '1' as a default as of late; however,
  rc.conf sets the value to NO as the default.  This change brings
  them relatively into sync.

Sponsored by:	DARPA, NAI Labs
2001-12-21 19:51:44 +00:00
Orion Hodson
aaa167872e Save and restore state for suspend/resume.
PR:		kern/28692
Obtained from:	SAKIYAMA Nobuo <sakichan@sakichan.org>
2001-12-21 19:20:28 +00:00
Yaroslav Tykhiy
b6ee452478 Implement matching IP precedence in ipfw(4).
Submitted by:   Igor Timkin <ivt@gamma.ru>
2001-12-21 18:43:37 +00:00
Yaroslav Tykhiy
37b5d6e33d Implement matching IP precedence in ipfw(4).
Submitted by:	Igor Timkin <ivt@gamma.ru>
2001-12-21 18:43:02 +00:00
Robert Watson
86f2d72fd8 o Add a configSecurity menu to generally configure security settings,
and pull configSecurityProfile under that menu.  Add a menu option
  to determine whether LOMAC is enabled at boot.  Probably, eventually,
  many of the 'Security Profile' menu choices should be pulled out
  independently into the Security Menu, so as to make them individually
  selectable.

Sponsored by:	DARPA, NAI Labs
2001-12-21 18:30:50 +00:00
Alexey Zelkin
aca736a60e add missing MLINKS 2001-12-21 18:26:01 +00:00
Bruce A. Mah
0d567ca509 MFCs noted: route(8) -ifa/-ifp, NTP 4.1.0. 2001-12-21 18:17:32 +00:00
Robert Watson
409c2e2e05 o Don't make 'Moderate Security Settings' the DEFAULT, as otherwise
selecting 'Cancel' to avoid making changes doesn't work.  Really, we
  should deprecate security profiles and move to a more fine-grained
  model.
2001-12-21 18:08:54 +00:00
Peter Wemm
57c3d698c2 The VM_STACK option is long dead. MAP_STACK is available everywhere. 2001-12-21 17:24:10 +00:00
Alexey Zelkin
709eed76bd Slightly re-work locale messages storage scheme. Before this commit
LC_MESSAGES related data was installed to <locale>/LC_MESSAGES file.
Now it go to <locale>/LC_MESSAGES/SYS_LC_MESSAGES file. LC_MESSAGES
directory is supposed to be storage of message catalogs of userland tools.
This should allow us to avoid many potential problems with future
libintl related functionality introduction.

Thanks for useful suggestions about correct way how to replace plain
files with directories at installworld stage to: Ruslan Ermilov <ru>
2001-12-21 13:14:02 +00:00
Ruslan Ermilov
6047b0568b This commit was generated by cvs2svn to compensate for changes in r88345,
which included commits to RCS files with non-trunk default branches.
2001-12-21 11:46:21 +00:00
Ruslan Ermilov
e8777213c8 Bring in latest (cosmetic) vendor fixes to this file. 2001-12-21 11:46:21 +00:00
Ruslan Ermilov
e3c3901cc3 MFV: Handle long document titles better. 2001-12-21 11:35:20 +00:00
Ruslan Ermilov
0988851e6e From ChangeLog:
: 2001-11-16  Ruslan Ermilov  <ru@FreeBSD.org>
:
:         * tmac/doc-common (doc-header): Handle very long document titles
:         better.

PR:		docs/10349
2001-12-21 11:31:30 +00:00
Sheldon Hearn
43d1c72a8b Forced commit to provide background for previous delta:
There are two reasons why automounting remote filesystems can't be
delayed until after network initialization:

1) The right way would be to teach mount to distinguish between network
   filesystems and local filesystems.  This is not as easy as it was for
   df, because the latter only has to cope with filesystems for which
   kernel support is already present.

2) The easy way (see rev 1.268 of src/etc/rc for an extensible example)
   is made awkward by a problem reported by dougb and addressed in
   rev 1.286 of src/etc/rc, where mount_nfs misuses vfsload() and does
   not correctly arrage for the loading of nfsclient support.

Since neither of these problems looks like it will be solved before
4.5-RELEASE, the previous delta to this file provides a safety belt,
which I'd like to encourage folks to use by applying a change to
sysinstall, described in a message sent to the freebsd-audit list
(Message-ID <5062.1008868549@axl.seasidesoftware.co.za>).
2001-12-21 09:25:40 +00:00
Ruslan Ermilov
273d3375f0 mdoc(7) police: removed duplicate xref. 2001-12-21 08:40:52 +00:00
Ruslan Ermilov
a6b885ebe4 mdoc(7) police: fix markup, remove stray .Xr. 2001-12-21 08:10:28 +00:00
Jonathan Lemon
6c19b85f43 Remove a change that snuck in from my private tree. 2001-12-21 05:07:39 +00:00
Jonathan Lemon
45a0329051 If syncookies are disabled (net.inet.tcp.syncookies) then use the faster
arc4random() routine to generate ISNs instead of creating them with MD5().

Suggested by: silby
2001-12-21 04:41:08 +00:00
Peter Wemm
205b2b6107 Avoid an interaction between syncache and accept filters. The syncache
code only passed up the connection to the tcp stack when it was complete,
so it went directly into the so_comp (complete) queue.  However, with
accept filters, there is an additional phase before calling it "complete".

Reviewed by: jlemon
2001-12-21 04:30:49 +00:00
Andrey A. Chernov
1630647fc3 Remove duplicated chars 2001-12-21 03:31:12 +00:00
Bruce A. Mah
9df826532b New release notes: sysinstall(8) now turns on Soft Updates by
default for new filesystems, fdc(4) update.
2001-12-21 02:27:46 +00:00
Chris D. Faulhaber
0525c7eafa Use a more secure method of creating the temporary
install directory.
2001-12-21 01:44:11 +00:00
Jim Pirzyk
417c87d137 Add support for the Intel 82443MX chipset
PR:		kern/33032
MFC after:	1 month
2001-12-21 01:28:59 +00:00
John Baldwin
98f9879242 Introduce a standard name for the lock protecting an interrupt controller
and it's associated state variables: icu_lock with the name "icu".  This
renames the imen_mtx for x86 SMP, but also uses the lock to protect
access to the 8259 PIC on x86 UP.  This also adds an appropriate lock to
the various Alpha chipsets which fixes problems with Alpha SMP machines
dropping interrupts with an SMP kernel.
2001-12-20 23:48:31 +00:00
Jordan K. Hubbard
f3c7fb1696 Enable soft updates by default for everything but the root filesystem.
The user can still toggle it back off in the label editor (or post-install
for that matter) if they explicitly do not want soft updates to be used
for some reason.

Agreed to be a good thing by:	kirk
2001-12-20 23:39:30 +00:00
Peter Wemm
3c2a5d7e30 Fix typo. s/pa/va/. *blush* 2001-12-20 22:47:20 +00:00
Matthew Dillon
23b590188f Fix a BUF_TIMELOCK race against BUF_LOCK and fix a deadlock in vget()
against VM_WAIT in the pageout code.  Both fixes involve adjusting
the lockmgr's timeout capability so locks obtained with timeouts do not
interfere with locks obtained without a timeout.

Hopefully MFC: before the 4.5 release
2001-12-20 22:42:27 +00:00
Bruce A. Mah
e45e83304a Add some remarks on em(4).
MFC noted:  NFS/VM fixes.
2001-12-20 21:33:54 +00:00
Andrey A. Chernov
bf908a83ba Add uk_UA.ISO8859-5 locale
PR:		32450
Submitted by:	partially by Alexey Klimov <kao@wiuu.kiev.ua>
2001-12-20 20:48:31 +00:00
Andrey A. Chernov
6ee2642fa5 Fix codes 2001-12-20 20:33:30 +00:00
Bruce A. Mah
8ff661ddc9 Delete a release note regarding mergemaster(8) which, while true, was
too vague to be useful.
2001-12-20 19:45:14 +00:00
Andrey A. Chernov
94722e99e5 Fix codes
PR:		33031
Submitted by:	Statue <statue@softwareliberty.org>
2001-12-20 18:58:16 +00:00
Alexey Zelkin
f43a321bf0 style(9)'ify 2001-12-20 18:28:52 +00:00
Prafulla Deuskar
8bf402ad91 -Remove unneeded include stddef.h
-Modify modules Makefile so that em driver compiles only on
i386 platform. (Alpha not supported yet)

PR:	kern/32993
MFC after:	1
2001-12-20 17:55:49 +00:00
Bruce A. Mah
7750015a22 Modified release note: syncache with syncookies. 2001-12-20 17:42:49 +00:00
Wilko Bulte
9e33f9cfe0 A case of ninfo (non-info)
Submitted by:	Hans.VanSluis@compaq.com
MFC after:	1 month
2001-12-20 17:25:45 +00:00
Sheldon Hearn
bb522200e9 Recommend the use of 'noauto' for all remote filesystems other than
NFS, so that rc(8) doesn't choke on them when it tries to mount
them before the network is initialized.
2001-12-20 17:07:04 +00:00
Bruce A. Mah
4225365e92 New release note: xl(4) bugfix.
Modified release notes:  UFS_DIRHASH now in GENERIC,

MFC noted:  libfetch auth callback.
2001-12-20 16:45:21 +00:00