Commit Graph

43875 Commits

Author SHA1 Message Date
imp
b7a50ab0f1 o Separate out alloc/release from the activation
o minor formatting nits
o remove the bus_map/unmap calls.  FreeBSD doesn't need them.
o Fix most of the compiler warnings remaining (some still remain, but they
  are releated to calling functions that are going to change, so I did
  not bother).
1999-12-17 09:00:11 +00:00
bde
8fa948d7c0 Install Flexlexer.h with mode 444. 1999-12-17 07:49:03 +00:00
jasone
ac572e80ab Note that the PR associated with the previous log message is i386/7426,
not bin/8281.
1999-12-17 07:48:22 +00:00
imp
06daa0588c Two more fixes to if_detach. These are generic to all interfaces and
do not pollute the interface further.

o Run if_detach at splnet().
o Creatively swipe the relevant parts of the netatm atm_nif_detach
  which will delete the relevant references to the interface going
  away.
1999-12-17 06:46:07 +00:00
obrien
3daedb32dd Add a missing '"' in the examples. 1999-12-17 06:04:37 +00:00
jkh
d42718b143 Add another strategic screen clear. 1999-12-17 03:00:28 +00:00
jkh
38d1286e58 In retrospect, msgNotify() should leave its contents on the screen
longer to give the user something to look at while things are happening.
Change it to do so and insert the appropriate screen saves elsewhere.
1999-12-17 02:46:04 +00:00
jkh
b2296f0762 *Really* make space accelerators work; no wonder Brian McGovern was
confused!  I fat-fingered the first commit.
1999-12-17 02:44:09 +00:00
tanimura
2c573b325d newpcm no longer requires 'controller pnp'. (And some other drivers?)
Noticed by:	julian
1999-12-17 02:31:36 +00:00
jkh
ec81652781 Bump default root size to 50MB on i386 (70MB on Alpha).
Requested incessantly by:	billf
1999-12-17 02:02:51 +00:00
jkh
dd89aff001 Fix handling of trailing :'s to match what other OSes do (spit out
a diagnostis).

Submitted by:	Guy Harris <gharris@flashcom.net>
1999-12-17 01:52:15 +00:00
grog
07d0cafdf2 Change location of temporary file from /tmp to /var/tmp. This is a
repeat of an earlier commit which apparently got lost with the last
import.  It helps solve the frequently reported problem

   pid 4032 (mail.local), uid 0 on /: file system full

(though there appears to be a lot of space) caused by idiots sending
30 MB mail messages.

Most-recently-reported-by:  jahanur <jahanur@jjsoft.com>

Add $FreeBSD$ so that I can check the file back in.

Rejected-by:	CVS
1999-12-17 01:18:44 +00:00
deischen
8456ca7311 Fix problems with cancellation while in critical regions.
o Cancellation flags were not getting properly set/cleared.
  o Loops waiting for internal locks were not being exited
    correctly by a cancelled thread.
  o Minor spelling (cancelation -> cancellation) and formatting
    corrections (missing tab).

Found by:	tg
Reviewed by:	jasone
1999-12-17 00:57:54 +00:00
deischen
17ee572a14 Fixes for signal handling:
o Don't call signal handlers with the signal handler access lock
    held.
  o Remove pending signals before calling signal handlers.  If
    pending signals were not removed prior to handling them,
    invocation of the handler could cause the handler to be
    called more than once for the same signal.  Found by: JB
  o When SIGCHLD arrives, wake up all threads in PS_WAIT_WAIT
    (wait4).

PR:		bin/15328
Reviewed by:	jasone
1999-12-17 00:56:36 +00:00
ken
3bd28ea93e Fix the example in the bugs section. 1999-12-17 00:28:05 +00:00
eivind
77984c7ce5 Document NDFREE w/flags, and fix up the description of NOFOLLOW. 1999-12-16 23:20:11 +00:00
chris
5a03b41405 Document pthread_create().
Reviewed by:	jasone
1999-12-16 22:36:54 +00:00
jasone
395027ca77 Avoid an infinite loop if the last element of the iov array passed to
writev() has an iov_len of 0.

PR:		bin/8281
1999-12-16 22:35:40 +00:00
mckusick
f9019037ba The function request_cleanup() had a tsleep() with PCATCH. It is
quite dangerous, since the process may hold locks at the point,
and if it is stopped in that tsleep the machine may hang. Because
the sleep is so short, the PCATCH is not required here, so it has
been removed. For the future, the FreeBSD team needs to decide
whether it is still reasonable to stop a process in tsleep, as that
may affect any other code that uses PCATCH while holding kernel locks.

Submitted by:	Dmitrij Tejblum <tejblum@arc.hq.cti.ru>
Reviewed by:	Kirk McKusick <mckusick@mckusick.com>
1999-12-16 22:02:09 +00:00
jasone
afbc7e5a64 Move POSIX feature constants from pthread.h to unistd.h, as required by
1003.1c-1995.

Undefine _POSIX_THREAD_SAFE_FUNCTIONS, since we do not implement all of the
necessary interfaces.  At least getgrgid_r(), getrnam_r(), getpwuid_r(),
getpwnam_r(), getc_unlocked(), getchar_unlocked(), putc_unlocked(),
and putchar_unlocked() are missing.  Due to a likely typo in 1003.1c-1995,
we are not technically allowed to define _POSIX_THREADS without defining
_POSIX_THREAD_SAFE_FUNCTIONS, but either way we're non-compliant, so I'm
leaving _POSIX_THREADS defined.

PR:		bin/8281
1999-12-16 21:53:39 +00:00
wpaul
d1b926a88f Update the xl driver to recognize yet another 3c905B/3c905C class NIC:
the 3c450-TX HomeConnect. Like the 3cSOHO100-TX OfficeConnect, this NIC
uses the same ASIC as the 3c905B/3c905C but is targeted for a particular
market segment (home users). It is somewhat less expensive than the
3c905B/3c905C ($49, according to the 3Com web site), comes with its
own custom driver kit and is bundled with various goofy Windows software
packages designed to demonstrate the niftyness of home networking (networked
game demos, etc...).

Changes are:

- Add PCI ID to list in if_xlreg.h.
- Update xl_devs table in if_xl.c.
- Update xl_choose_xcvr() to consider the HomeConnect the
  same as all the other 10baseT/100baseTX cards.
1999-12-16 18:33:57 +00:00
shin
985fda16e7 KAME 4th patch
IPv6 specific library functions addition.
(getnameinfo(), getaddrinfo(), and IPv6 transport support is not yet)

Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
1999-12-16 18:32:01 +00:00
marcel
6db98885a5 Don't build gensetdefs when we can use /usr/bin/gensetdefs. The latter
also creates setdef{0|1}.c so there's no need to have those in the
repository. Using /usr/bin/gensetdefs has no consequences for the
output.
1999-12-16 17:25:01 +00:00
dillon
db701263c1 Have NFS use a snapshot of boottime instead of boottime itself to
generate the NFSv3 Version id.  boottime itself may change, sometimes
    once every tick if you are running xntpd, which really throws off
    clients.  Clients will tend to throw away what they believe to be
    stale data too often, and can get into long loops rewriting the same
    data over and over again because they believe the server has rebooted
    over and over again due to the changing version id.

Approved by:	jkh
1999-12-16 17:01:32 +00:00
obrien
893d710467 This commit was generated by cvs2svn to compensate for changes in r54690,
which included commits to RCS files with non-trunk default branches.
1999-12-16 17:00:53 +00:00
obrien
4daec0d51e * The C1010 stepping B0 (Rev 1) tested OK for DT transfers without the U3EN
broken bit work-around enabled.
* Fixed a bug that made MDP not work. (However, MDP is actually not tested
  due to lack of hardware using this feature).
* Chip table changed to support the C1010 B0 w/o the U3EN bit work-around
  enabled.
* Add the SYM_SETUP_MAX_LUN, SYM_SETUP_LP_PROBE_MAP (used to tell the
  driver about chips that are to be claimed with lower priority than old
  PCI bus based driver (typically the ncr)), SYM_SETUP_SCSI_DIFF, and
  SYM_SETUP_PCI_PARITY options.

Submitted by:	Gerard Roudier <groudier@club-internet.fr>
1999-12-16 17:00:53 +00:00
phantom
a405a8bdce activate amd.4 1999-12-16 16:22:48 +00:00
luoqi
e8ce4b1d25 Adjust data pointers for untransmitted bytes in fifos when there's phase
change during data transfer.
1999-12-16 16:11:49 +00:00
obrien
9f40643d81 Add options used by the `sym' (Symbios SCSI) driver.
SYM_SETUP_LP_PROBE_MAP	Low Priority Probe Map (bits)
	SYM_SETUP_SCSI_DIFF	HVD support for 825a, 875, 885
	SYM_SETUP_PCI_PARITY	PCI parity checking
	SYM_SETUP_MAX_LUN	Number of LUNs supported

Submitted by:	Gerard Roudier <groudier@club-internet.fr>
1999-12-16 16:09:57 +00:00
obrien
46681c5ccb Add FAST-80 timing to the scsi syncrates table.
Submitted by:	Gerard Roudier <groudier@club-internet.fr>
1999-12-16 16:04:54 +00:00
marcel
65d2f7f813 o Add games/caesar to the list of bootstrap-tools so that a
buildworld doesn't break because the host doesn't have any
   games installed,
o  Add a new build stage: TMAKE. TMAKE builds all the build-tools
   targets in the respective makefiles. Note that these targets
   don't use the bootstrap tools,
o  Add elf2exe to the bootstrap-tools when cross-building Alpha on
   other platforms,
o  Add ${WORLDTMP}/usr/games to TMPPATH,
o  Remove ${WORLDTMP}/usr/bin even when NOCLEAN is defined. This
   prevents using any bootstrap-tools previously installed. Most
   importantly, it prevents using the cross-compiler when we still
   need the native compiler.

The current stages are BMAKE, TMAKE, XMAKE and IMAKE in that order.
BMAKE builds bootstrap-tools that either solve compatibility problems
      or are needed as cross-tools,
TMAKE builds the support tools necessary by some parts in the source
      tree and also performs the cleandir and par-obj targets,
XMAKE builds the includes, libraries and everything (resp.), and
IMAKE installs the world. This stage needs further work if it's to be
      used to install -current over -stable for example.

This is the last major update towards cross-building.
1999-12-16 13:47:34 +00:00
roberto
7f5f260b45 Bye bye xntpd, enter ntp.
The variable names haven't changed for compapatibility reasons.
1999-12-16 12:45:40 +00:00
roberto
b03622e07d Bye bye xntpd, enter ntp.
Reviewed by:	phk
1999-12-16 12:42:09 +00:00
roberto
6743cf9eb6 Remove the old binaries (they've been renamed) without the 'x').
Suggested by:	phk
1999-12-16 12:40:51 +00:00
marcel
7b128dcb9c Add libmd to LDFLAGS. libmd is needed by libcrypt. 1999-12-16 12:12:28 +00:00
cracauer
a6c2f2ad3b Second part of 8-bit fixes. 1999-12-16 12:03:46 +00:00
jkh
e9b545322a Make the perl build a little less chatty.
Reviewed by:	markm
1999-12-16 11:21:08 +00:00
marcel
e32efbad28 Add libmd (or move it after libcrypt). We don't want the linker to be
smart because it will definitely get it wrong. This popped up during
cross-linking.
1999-12-16 10:55:45 +00:00
obrien
92744e1fac * State in words that "#define^IMACRO" is proper, as it is hard to tell
from the example.
* Embelish the usage() example to show how uppercase options are sorted.

Taken from previous bdelinting.
1999-12-16 10:02:20 +00:00
obrien
b789ca1b9a Rev 1.9 did not follow style(9) in ordering. 1999-12-16 09:49:54 +00:00
obrien
c076680615 Options added in rev 1.14 were not documented in usage(). 1999-12-16 09:49:24 +00:00
sos
38a6433289 Cleanup the probe messages a bit, show what the device really is, not
just "CDROM". Also cope with devices that doesn't report speed in
the old way, this should be changed into the new GET_PERFORMANCE
cmd instead..
1999-12-16 08:22:16 +00:00
cracauer
dc7406ccb8 Mixed updates:
- isa => nexus
- flags
- GPL_MATH_EMULATE
- document breakage of non-GPL emulator since we use new compiler.
- break lines in paragraohs I touched so that sentenses start on new
  lines.
1999-12-16 08:05:09 +00:00
mjacob
9e5f68a92b Add Dual LVD bus (1280) support 1999-12-16 05:42:02 +00:00
billf
263f5e1e45 Add DOCSUPFILE, like PORTSSUPFILE. (ie 'make update' in /usr/doc)
PR:		docs/15439
Submitted by:	Christian Weisgerber <naddy@mips.rhein-neckar.de>
Obtained from:	ports/Makefile
1999-12-16 02:22:17 +00:00
nik
f8b5138670 "char *area" -> "char **area", to match the source code.
PR:             docs/14738
Submitted by:   Mori Kouji <moriko@yakumo.noe.mcu.or.jp>
1999-12-16 02:16:54 +00:00
nik
23f67763ad Document that securelevel >= 2 clamps time changes to at most one second.
PR:             docs/14449
Submitted by:   James FitzGibbon <james@targetnet.com>
1999-12-16 02:15:53 +00:00
jkh
9a3f1f4929 Correct slight stuff-up in previous patch. 1999-12-16 02:14:30 +00:00
jkh
c4a2fd34b9 Update to use MD disk instead of MFS 1999-12-16 02:08:52 +00:00
obrien
f1e75fd104 Fix my CPP_SPEC synatax screwup.
Totally pissed at self:	obrien
1999-12-16 02:03:35 +00:00