Commit graph

66332 commits

Author SHA1 Message Date
Mitsuru IWASAKI f9390180fe Some fix for the recent apm module changes.
- Now that apm loadable module can inform its existence to other kernel
   components  (e.g. i386/isa/clock.c:startrtclock()'s TCS hack).
 - Exchange priority of SI_SUB_CPU and SI_SUB_KLD for above purpose.
 - Add simple arbitration mechanism for APM vs. ACPI.  This prevents
   the kernel enables both of them.
 - Remove obsolete `#ifdef DEV_APM' related code.
 - Add abstracted interface for Powermanagement operations.  Public apm(4)
   functions, such as apm_suspend(), should be replaced new interfaces.
   Currently only power_pm_suspend (successor of apm_suspend) is implemented.

Reviewed by:	peter, arch@ and audit@
2001-11-01 16:34:07 +00:00
Luigi Rizzo 3c560efb1a Provide a new picobsd option, "--modules", to also build modules
(modload and friends are sufficiently small to consider their inclusion
in PicoBSD images).
2001-11-01 16:17:37 +00:00
Josef Karthauser 0c5d0f0eff Tidy up the variable declarations and switch on warnings and strict.
Reviewed by:	diffing the generated files from before and after the change.
2001-11-01 12:46:08 +00:00
Dag-Erling Smørgrav bd0a2a3f93 Modify the way host.conf and nsswitch.conf are treated at boot time:
- if nsswitch.conf exists, host.conf is auto-generated for compatibility
   with legacy applications and libraries.

 - if host.conf exists but nsswitch.conf does not, nsswitch.conf is auto-
   generated as usual.
2001-11-01 12:39:01 +00:00
Jens Schweikhardt 41466b50c1 Just typo corrections (mmunmap->munmap etc), no content changes.
MFC after:	1 week
2001-11-01 11:36:04 +00:00
David E. O'Brien a775faf5aa Update to the latest vendor's file. 2001-11-01 10:07:55 +00:00
David E. O'Brien f7565ff46f Bring the binutils_2_11_cvs_20011031 version of this to the HEAD branch. 2001-11-01 10:07:26 +00:00
David E. O'Brien 6bf697c5b5 This merges in the changes from the FSF 19-July-2001 snapshot to the
2001 Halloween snapshot.
2001-11-01 10:06:32 +00:00
David E. O'Brien 4f28793c14 This merges in the changes from the FSF anoncvs 19-July-2001 snapshot to
the 2001 Halloween snapshot.
2001-11-01 10:03:10 +00:00
David E. O'Brien a583320444 Update to the latest vendor's file. 2001-11-01 09:55:05 +00:00
David E. O'Brien 635176d1a8 Update to the latest vendor file. 2001-11-01 09:54:43 +00:00
David E. O'Brien 71523ea656 This commit was generated by cvs2svn to compensate for changes in r85815,
which included commits to RCS files with non-trunk default branches.
2001-11-01 09:24:29 +00:00
David E. O'Brien adc940bfc7 Halloween import of Binutils from the FSF 2.11 branch.
This fixes some IA-64 related bugs.
2001-11-01 09:24:29 +00:00
Luigi Rizzo d32ab253ae Fix a typo in a format string, and fix error checking for missing
masks in "limit" rules.
2001-11-01 08:45:02 +00:00
Luigi Rizzo 99e630c5c8 Remove an extra splimp() call.
Spotted-by: diff(1)
2001-11-01 08:30:38 +00:00
David E. O'Brien 2a200695e4 Add the TGA video driver. This is a great accomplishtment and will help
us a lot on older Alphas.
Andrew Gallatin, Thomas V. Crimi, and Peter Jeremy contributed to this
work along with the submitter.

Submitted by:	 Andrew M. Miklic <miklic@home.com>
2001-11-01 08:26:30 +00:00
David E. O'Brien a91e945fbe Repocopied from sys/dev/syscons/scvgarndr.c 2001-11-01 08:22:49 +00:00
David E. O'Brien 3a167df8c3 Bell-Labs AWK does not support POSIX "bracket expressions" (POSIXese for
"character classes", basically).  So change them to their character
representation.

Submitted by:	David Wolfskill <david@catwhisker.org>
2001-11-01 07:16:35 +00:00
David E. O'Brien aab8cd4cfe -v must have a space between it and the variable.
Submitted by:	David Wolfskill <david@catwhisker.org>
                (did I mention he should be a committer? :-) )
2001-11-01 07:11:10 +00:00
Peter Wemm e258f08ad8 Skip PG_UNMANAGED pages when we're shooting everything down to try and
reclaim pv_entries.  PG_UNMANAGED pages dont have pv_entries to reclaim.

Reported by:	David Xu <davidx@viasoft.com.cn>
2001-11-01 06:48:04 +00:00
Peter Wemm ce4c60d38d Fix the ILLEGAL fdisk table that is there for supporting "dangerously
dedicated" mode.  This was specifying that there are 256 (illegal!)
heads on the disk.  If bioses store that in a byte, and it gets truncated
to 0, then that almost certainly causes the infamous divide-by-zero
nightmare.

This is also most likely the reason why the Thinkpad T20/A20 series
were locking up when FreeBSD was installed.  This is also the most likely
reason why a boot1 being present causes an IA64 box to lock up at boot.
(removing the "part4" stuff from boot1.s fixes the IA64 boxes and would
most likely have fixed the T20/A20 and some TP600E series thinkpads)
2001-11-01 06:19:32 +00:00
David E. O'Brien 491beb71f3 Add 'awk' to the build-tools, so that the small utility used to build
one of the source files is made for the host, not target.
2001-11-01 06:14:42 +00:00
Andrey A. Chernov f21d113aa0 Use devclass_find_free_unit() in ata_pci_add_child() because no more
implicit auto-scanning up present in device_add_child(). Functionally it is
fully equivalent to old code.
2001-11-01 05:21:49 +00:00
Andrey A. Chernov 3eadb99fd7 Add devclass_find_free_unit() prototype 2001-11-01 05:08:17 +00:00
Andrey A. Chernov 82849b4dfe Add new interface function
int	devclass_find_free_unit(devclass_t dc, int unit);
which return first free unit in given class starting from 'unit'.
2001-11-01 05:07:28 +00:00
Assar Westerlund ceb6fd100e make libtelnet (and telnet, telnetd) use libkrb when required 2001-11-01 03:16:03 +00:00
David E. O'Brien a58a4acd14 Revision 1.26 was
Submitted by:	David Wolfskill <david@catwhisker.org>
                (when are we ever going to make him a committer? :-) )
2001-11-01 02:19:02 +00:00
Brian Somers 143281f43c Only overwrite ${DESTDIR}${KODIR}.old/${KERNEL_KO} if we haven't
booted from it when doing an installkernel.

Only change kern.bootfile from ${DESTDIR}${KODIR}/${KERNEL_KO}
to ${DESTDIR}${KODIR}.old/${KERNEL_KO}, and only when we're renaming
a booted ${DESTDIR}${KODIR}/${KERNEL_KO} kernel.
2001-11-01 02:17:49 +00:00
David E. O'Brien 37397b32c9 Really fix this work to work. While rev 1.24 did allow awk to run w/o
complaining; the resulting output was useless.
2001-11-01 02:16:10 +00:00
David E. O'Brien a3413a232a Rev 1.24 allows use to use a pure POSIX awk. Tolerating newlines w/in
a command-line variable assignment is a Gawk'ism I believe.
2001-11-01 01:52:37 +00:00
David E. O'Brien c61f74b1f6 Utilize the property of 'echo' in that it removes \n from its input. 2001-11-01 01:50:38 +00:00
Matt Jacob ff6164046e Remove previous revision. smp_started back in subr_smp where it belongs. 2001-10-31 23:54:27 +00:00
Assar Westerlund 9a5849d115 add /var/heimdal
absence noted by Archie Cobbs <archie@packetdesign.com>
2001-10-31 23:04:34 +00:00
Matt Jacob 6b094090d4 Make the actual volatile int smp_started live *somewhere*. This is
a temporary fix so that we can compile kernels. I waited 30 minutes
for a response from the person who would likely know, but any longer
is too long to wait with breakage at ToT.
2001-10-31 20:43:48 +00:00
Marcel Moolenaar 1245202150 Don't remove the tentative declaration. It's the only one...
Pointy hat: marcel (self-sponsoring)
2001-10-31 20:43:38 +00:00
Robert Watson 0ef2717b32 Spell deivces as devices. 2001-10-31 20:15:18 +00:00
Doug Rabson 57d9a492bb Experiment with rewriting the syscall() wrapper using explicit bundling
and trying to reduce stalls from reading certain high latency registers.
This should be faster than the old syscall code. Its certainly a lot
smaller.
2001-10-31 20:02:28 +00:00
Jeroen Ruigrok van der Werven 2a01978a07 Fix obvious bug where return from probe was botched.
People with HP PCLAN+ NICs can now happily use the card again

PR:		21087
Submitted by:	M. B. Buchanan <buchanan@orbitworld.net>
2001-10-31 19:43:33 +00:00
Wilko Bulte eb60ca1b24 Document RMC for DS[12]0 2001-10-31 19:08:53 +00:00
Matt Jacob f43f61207d Fix misspelling in comment. 2001-10-31 18:07:38 +00:00
Doug Rabson a3afc63358 Add TF_AR_FPSR, the offset of ar.fpsr in a trapframe. 2001-10-31 18:06:38 +00:00
Bruce A. Mah 38696bb465 MFC noted: ipfw(8) -d/-e (plus small typo fix). 2001-10-31 16:47:55 +00:00
Bruce A. Mah 1accdac67a New release notes: de(4) round-robin transmit/receive, ng_eth(4),
sysctl(8) -e.
2001-10-31 16:39:00 +00:00
Poul-Henning Kamp 84ef95bd6e Do not uselessly whine in syslog about packets denied by ipfw rules.
Set 'log_ipfw_denied' option if you want the old behaviour.

PR:	30255
Submitted by:	Flemming "F3" Jacobsen <fj@batmule.dk>
Reviewed by:	phk
MFC after:	4 weeks
2001-10-31 16:08:49 +00:00
Anton Berezin 28dc1d2377 Replace =' with more correct `.Ql =''.
Mdoc-policed by:	ru
2001-10-31 15:57:55 +00:00
Warner Losh a4b6fda054 The correction entry about asr was too pessimistic based on my poor
understanging of the situation.

Submitted by: scottl
2001-10-31 14:32:58 +00:00
Doug Rabson 033e93a942 Print the bundle template name on the first slot of the bundle. 2001-10-31 11:52:29 +00:00
Marcel Moolenaar 8b3e7871bc Make smp_started volatile in sys/smp.h and remove the volatile
declaration in subr_smp.c. This solves a compile problem with
gcc 3.0.1 (ia64 cross-build).

Reviewed: jhb
2001-10-31 09:03:05 +00:00
Warner Losh 1fe003b61f Add entries about the recent problems with asr.
TARGET replaces MACHINE

Submitted by: ru, jhb
2001-10-31 04:36:54 +00:00
Matthew Dillon e302698320 Don't let pmap_object_init_pt() exhaust all available free pages
(allocating pv entries w/ zalloci) when called in a loop due to
an madvise().  It is possible to completely exhaust the free page list and
cause a system panic when an expected allocation fails.
2001-10-31 03:06:33 +00:00