Commit Graph

71471 Commits

Author SHA1 Message Date
markm
006a375bc4 Allow "make lint" to mostly work. Our sources are very unclean WRT
lint, so this is turned off by default. Setting WANT_LINT will turn
on generation of lint libraries for /usr/libdata/lint/*.ln.

Reviewd by:	silence in -audit.
2002-03-17 10:05:57 +00:00
markm
476738c7e6 Build lint libraries. 2002-03-17 10:00:56 +00:00
bde
1a8580a68d Fixed some style bugs. Mainly, don't use ${.ALLSRC} in implicit rules.
This change should have been in rev.1.37.
2002-03-17 09:53:21 +00:00
hm
3e7af4a966 Clean up the i4b kernel part: remove unmaintained #if(def)s for NetBSD,
OpenBSD and BSD/OS and respective code, remove pre $FreeBSD CVS id's,
remove #if(def)s and respective code for FreeBSD versions < 5 .
2002-03-17 09:33:15 +00:00
cjc
e86597e456 Add documentation for rc.early(8).
PR:		misc/35992
MFC after:	3 days
2002-03-17 09:14:54 +00:00
phk
2f8232ce04 Remove __P() and register.
Set WARNS=2

This is the beginning of a pre-UFS2 cleanup of newfs.

Sponsored by:	DARPA, NAI Labs
2002-03-17 09:01:41 +00:00
murray
f7794e6e1a Add a new entity for the previous stable release. For the most part,
the release notes compare 5.0-CURRENT to 4.0-RELEASE, but in at least
one place it is beneficial to mention the last stable release of
FreeBSD (4.5-RELEASE).

Reviewed by:	bmah
2002-03-17 08:48:08 +00:00
dougb
d0e0826a8c Add a late rc.sysctl pass to catch sysctl's for things that were
not loaded yet on the first pass.

PR:		conf/19629
Submitted by:	Stephen J. Roznowski <sjr@home.com>
2002-03-17 08:38:03 +00:00
murray
8486ee4c42 Add wireless devices to device_names array. Now that ifconfig can set
session IDs, and sysinstall can load modules from the MFSROOT, it
should be possible to install FreeBSD over a wireless link.

MFC after:	2 weeks
2002-03-17 08:04:02 +00:00
phk
b0ade0b35f Change the giant-dropping method a fair bit to keep WITNESS more
happy.
2002-03-17 07:42:54 +00:00
dougb
0589708b9d Answer the question posed in 1.126. amd won't start without either a
conf file, or command line options. I brought this up in PR 12432,
which (ironically) obrien assigned to me after I became a committer. :)

PR:		conf/12432
Submitted by:	Me
2002-03-17 07:35:51 +00:00
murray
284b7db51d Remind developers to update release(7) if they make substantial
changes to this file.
2002-03-17 07:34:12 +00:00
murray
92dc36637a * Document the 'floppies' target.
* Document the LOCAL_SCRIPT option.
* Document the NOPORTREADMES option.
* Be more specific in a comment.
* Be more specific about the ftp.1 and cdrom.1 targets.
* Clarify the usage of the CVSROOT variable.
* Clarify the usage of the NODOC variable.

Suggested by: matusita
2002-03-17 07:22:51 +00:00
alc
16a0e1c32c Undo part of revision 1.57: Now that (o)sendsig() doesn't call useracc(),
the motivation for saving and restoring the map->hint in useracc() is gone.
(The same tests that motivated this change in revision 1.57 now show that
there is no performance loss from removing it.)  This was really a hack and
some day we would have had to add new synchronization here on map->hint
to maintain it.
2002-03-17 07:01:42 +00:00
phk
093fe76cad Forgot to remove the old g_malloc() call when I split it.
Spotted by:	dima
2002-03-17 07:00:39 +00:00
keramida
6c08146ae0 Fix typo: supporting -> support.
PR:		docs/35956
Submitted by:	Gary W. Swearingen <swear@blarg.net>
MFC after:	3 days
2002-03-17 05:24:56 +00:00
imp
b8c72f4eaa Regen for 1.28 of pccarddevs 2002-03-17 05:06:37 +00:00
imp
31881ddbed Add support for the home Wireless Network airway wireless pcmcia card.
I cannot find where I got these patches, but I think it was from the
bsd-nomads mailing list.  Please contact me if you posted them there.
2002-03-17 05:05:42 +00:00
alc
db7d969dd7 o Stop calling useracc() in (o)sendsig() now that we use copyout()
to copy the sigframe to the user's stack.  Useracc() takes a non-trivial
   amount of time.  Eliminating it speeds up signal delivery by 15% or more.
 o Update some comments.

Submitted by:	bde
2002-03-17 04:21:19 +00:00
bde
daa5c16bac Work around a PLX9050 bug that causes system lockup in certain systems,
depending on the MMIO addresses allocated to the board.

PR:		30965, 20845 (maybe)
Submitted by:	Daniela Squassoni <daniela@cyclades.com>
Tested by:	Arjan Knepper <arjan@jak.nl>
		Scott Klement <klemscot@klements.com>
2002-03-17 04:10:38 +00:00
alc
227f4f1377 Acquire a read lock on the map inside of vm_map_check_protection() rather
than expecting the caller to do so.  This (1) eliminates duplicated code in
kernacc() and useracc() and (2) fixes missing synchronization in munmap().
2002-03-17 03:19:31 +00:00
jake
0fa4622b65 Don't demap the requested page from the tlb in pmap_kenter or pmap_kremove,
even on the local cpu.  These are no longer used unsafely in MI code, and
the MD code has been adjusted to compensate.
2002-03-17 01:53:51 +00:00
jake
ab433ce931 Fix a problem where kernel text could become unmapped when clearing out all
the user mappings from the tlb due to the context numbers rolling over.  The
store to the internal mmu register must be followed by a membar #Sync before
much else happens to "avoid data corruption", so we use special inlines which
both disable interrupts and ensure that the compiler will not insert extra
instructions between the two.  Also, load the tte tag and check if the context
is nucleus context, rather than relying on the priviledged bit which doesn't
actually serve any purpose in our design, and check the lock bit too for
sanity.
2002-03-17 01:51:32 +00:00
jake
cdf21113df Use the tlb data access register to map the kernel tsb, rather than the data
in register.  The latter uses the random replacment algorithm to pick the
slot, we want a specific slot.
2002-03-17 01:45:29 +00:00
mckusick
14dd08fd15 Add a flags parameter to VFS_VGET to pass through the desired
locking flags when acquiring a vnode. The immediate purpose is
to allow polling lock requests (LK_NOWAIT) needed by soft updates
to avoid deadlock when enlisting other processes to help with
the background cleanup. For the future it will allow the use of
shared locks for read access to vnodes. This change touches a
lot of files as it affects most filesystems within the system.
It has been well tested on FFS, loopback, and CD-ROM filesystems.
only lightly on the others, so if you find a problem there, please
let me (mckusick@mckusick.com) know.
2002-03-17 01:25:47 +00:00
jake
34dcf8975d Convert all pmap_kenter/pmap_kremove pairs in MI code to use pmap_qenter/
pmap_qremove.  pmap_kenter is not safe to use in MI code because it is not
guaranteed to flush the mapping from the tlb on all cpus.  If the process
in question is preempted and migrates cpus between the call to pmap_kenter
and pmap_kremove, the original cpu will be left with stale mappings in its
tlb.  This is currently not a problem for i386 because we do not use PG_G on
SMP, and thus all mappings are flushed from the tlb on context switches, not
just user mappings.  This is not the case on all architectures, and if PG_G
is to be used with SMP on i386 it will be a problem.  This was committed by
peter earlier as part of his fine grained tlb shootdown work for i386, which
was backed out for other reasons.

Reviewed by:	peter
2002-03-17 00:56:41 +00:00
sobomax
8072919618 When loading a font allow suffix specifying its size be omited, in which
case use size of the currently displaying font as a suffix. For example,
when the when the size of the currently displayed font is 8x8 the
following command will load koi8-r-8x8.fnt.

# vidcontrol -f koi8-r

MFC after:	2 weeks
2002-03-16 23:35:51 +00:00
sobomax
e060d326eb Extend CONS_GETINFO ioctl to provide information about size of the currently
displayed font.

MFC after:	2 weeks
2002-03-16 23:31:15 +00:00
imp
bc38cccf35 Don't call the bios if the interrupt appaers to be already routed. Some
older PCI BIOSes hate this and this leads to panics when it is done.  Also,
assume that a uniquely routed interrupt is already routed.  This also
seems to help some older laptops with feable BIOSes cope.
2002-03-16 23:02:41 +00:00
imp
ca0f2a1b7a o Rework the identify routine a little, merging it with NetBSD's wi.
o Add exerpimental support for identifying lucent cards.  All of mine
  come back with ID of 1, but NetBSD committed code for 5.  So accept
  both.
o rename wi_prism2_ver to wi_firmware_ver so that we could, if necessary,
  do special things for lucent cards too.
o Bring in a small part of the changes from airtools: The wi_cmd function
  now takes two additional arguments.  I didn't bring in their ioctls yet.
o eliminate the use of LE16TOH, and remove its define.
o Print the firmware as if there were 100 versions instead of 10.  This means
  that 6.1 and 6.10 aren't confusing to people.  We now print 6.01 in the
  former case.

# A good junior hacker project would be to merge the NetBSD, FreeBSD, and
# OpenBSD drivers into one source base.
2002-03-16 22:59:15 +00:00
markm
0461d253df Punt to attic files not in 5.6.1 OR not needed by FreeBSD. 2002-03-16 22:35:55 +00:00
markm
6921b1a9a7 Restore vendor RCS tag. 2002-03-16 22:17:19 +00:00
markm
126590329a Update conflict merge for 5.6.1. This is a rotten hack, but it
works for all FreeBSD purposes.
2002-03-16 22:15:33 +00:00
markm
12e9436f28 Bump the FreeBSD version to mark the import of Perl 5.6.1. 2002-03-16 21:44:02 +00:00
markm
5dd0946513 Update for Perl 5.6.1 2002-03-16 21:41:09 +00:00
markm
d736b831ba Correct a comment; FreeBSD-4 --> FreeBSD-5. 2002-03-16 21:39:26 +00:00
markm
61d98ae128 Update for Perl 5.6.1. 2002-03-16 21:36:08 +00:00
markm
0aa007239e Resolve conflicts. 2002-03-16 21:30:07 +00:00
obrien
adb0b230b1 GCC 3.1's cpp no longer searches for includes using hints from #line. 2002-03-16 20:45:01 +00:00
obrien
2442cd3075 Revert part of rev 1.3 -- we need the calls to _init and _fini. 2002-03-16 20:38:46 +00:00
markm
df2204f4cd This commit was generated by cvs2svn to compensate for changes in r92444,
which included commits to RCS files with non-trunk default branches.
2002-03-16 20:14:31 +00:00
markm
e624907b04 Vendor import Perl 5.6.1 2002-03-16 20:14:31 +00:00
markm
b878a8b4fc This commit was generated by cvs2svn to compensate for changes in r92442,
which included commits to RCS files with non-trunk default branches.
2002-03-16 20:14:30 +00:00
markm
3eac21f49b Vendor import Perl 5.6.1 2002-03-16 20:14:30 +00:00
cjc
96faff292d Only put standard FreeBSD directories in the PATH. If the
administrator wishes to run commands outside of the PATH, he should
use a full pathname for the executable or set the PATH as appropriate
in any local startup scripts.

PR:		misc/35770
2002-03-16 20:01:25 +00:00
obrien
08a17b70d3 Fix unaligned access in the GDB binary on Alpha.
Submitted by:	gallatin
2002-03-16 19:33:23 +00:00
schweikh
72d2c18c04 Typo: s/happenes/happens/
MFC after:	3 days
2002-03-16 18:20:44 +00:00
schweikh
200e2dbdad Typo: s/frequencly/frequency/
MFC after:	3 days
2002-03-16 18:17:55 +00:00
schweikh
1bbb763dca Typo: s/dependant/dependent/
MFC after:	3 days
2002-03-16 18:12:49 +00:00
schweikh
bb7910a6ff Typo: s/conjuction/conjunction/ 2002-03-16 18:10:40 +00:00