Commit Graph

66930 Commits

Author SHA1 Message Date
jhb
646bff11a0 - If we are booted via cdboot, use bc_add() to instantiate the cd0 device
from the loader.
- Cleanup extract_currdev() some and add support for setting the currdev
  to cd0 when booted via cdboot.
2001-11-05 19:03:01 +00:00
jhb
9b56bdedd5 Hook up the bioscd driver and the cd9660 filesystem. 2001-11-05 18:59:13 +00:00
dillon
be046da95c Adjust vnode_pager_input_smlfs() to not attempt to BMAP blocks beyond the
file EOF.  This works around a bug in the ISOFS (CDRom) BMAP code which
returns bogus values for requests beyond the file EOF rather then returning
an error, resulting in either corrupt data being mmap()'d beyond the file EOF
or resulting in a seg-fault on the last page of a mmap()'d file (mmap()s of
CDRom files).

Reported by: peter / Yahoo
MFC after:	3 days
2001-11-05 18:58:47 +00:00
jhb
5c7e454de3 Add a device driver for the BIOS device for CD-ROM's booted via El Torito
no emulation mode.  Unlike other BIOS devices, this device uses 2048 byte
sectors.  Also, the bioscd driver does not have to worry about slices
or partitions.
2001-11-05 18:58:33 +00:00
jhb
e6c235cefb Add a DEVT_CD type for CD drivers. 2001-11-05 18:51:47 +00:00
dillon
a74b92bc84 Implement IO_NOWDRAIN and B_NOWDRAIN - prevents the buffer cache from blocking
in wdrain during a write.  This flag needs to be used in devices whos
strategy routines turn-around and issue another high level I/O, such as
when MD turns around and issues a VOP_WRITE to vnode backing store, in order
to avoid deadlocking the dirty buffer draining code.

Remove a vprintf() warning from MD when the backing vnode is found to be
in-use.  The syncer of buf_daemon could be flushing the backing vnode at
the time of an MD operation so the warning is not correct.

MFC after:	1 week
2001-11-05 18:48:54 +00:00
jhb
5de781a6e1 - There is no such thing as a socket structure. sockets are integers.
I'm assuming that the comment was regarding socket address structures, so
  correct the comment about pre-zero'ing socket structures to recommend
  pre-zero'ing socket address structures.
- Fix some minor grammar nits.
- This isn't directly submitted by the PR below but is related to it and was
  inspired by it.

PR:		31704
2001-11-05 18:05:56 +00:00
ume
9935599279 - net.inet.ipsec.esp_auth hasn't been there
- nuke all debug printfs, which are unneeded by now.
- get rid of #ifdef IPSEC_DEBUG in headers
- now that key_debug_level is always defined, there's no need for
  #ifdef IPSEC_DEBUG around sysctl MIB code (net.key.debug).
- switch all debug printf() to ipseclog().

Obtained from:	KAME
MFC after:	1 week
2001-11-05 16:46:24 +00:00
rwatson
12c71b157e Update copyrights to include Thomas Moestl.
Submitted by:	"Ilmar S. Habibulin" <ilmar@watson.org>
Obtained from:	TrustedBSD Project
2001-11-05 15:36:24 +00:00
iwasaki
0866b27c11 Remove unnecessary WAK_STS bit waiting code for S1 sleep.
It was duplicated with AcpiEnterSleepState() since acpica-unix-20010816.
2001-11-05 14:51:58 +00:00
gallatin
305f8307bf Force the RxBuf and TxBuf arrays to be aligned on 16-bit boundaries to
make the driver work on alpha

approved by: tanimura
2001-11-05 12:57:46 +00:00
ache
0c62cdf51c Add two Russian holidays (by osa)
Lowercase some titles (by me)

PR:		31769
Submitted by:	"Sergey A.Osokin" <osa@FreeBSD.org.ru>
2001-11-05 12:14:12 +00:00
phk
8d3ecb0085 Define a new mount flag "MNT_JAILDEVFS"
Collect the magic combination of flags which can be updated into
a macro in sys/mount.h rather than inlining them (twice!) in
vfs_syscalls.c
2001-11-05 10:33:45 +00:00
dwmalone
2c3150b2bd gamma(x) actually returns \log(|\Gamma(x)|), so correct the man
page and add an historical note explaining this. This patch is
based on Stephen's.

We still need someone to implement tgamma.

PR:		28972, 31764
Submitted by:	Stephen Montgomery-Smith <stephen@math.missouri.edu>
2001-11-05 10:10:33 +00:00
murray
cd49c48818 Add the Farallon NetLINE 10/100 PCI to the list of cards supported by
rl(4).

PR:		docs/31270
Submitted by:	Gary W. Swearingen <swear@blarg.net>
2001-11-05 09:17:23 +00:00
murray
2755a99b0b Add a few articles to improve the readability of this manual page.
PR:		docs/31583
Submitted by:	setantae@submonkey.net
2001-11-05 09:01:15 +00:00
murray
fdf5b8fc51 Describe handling of NULLs passed to pthread_setcancelstate().
PR:		docs/31745
Submitted by:	Andrew <andrew@ugh.net.au>
2001-11-05 08:21:32 +00:00
ache
edd06c72ae Add bg_BG.CP1251
PR:		25472
Submitted by:	Peter Pentchev <roam@ringlet.net>
2001-11-05 07:21:03 +00:00
ache
c81ff2af40 Add bg_BG.CP1251
PR:		25472
Submitted by:	Peter Pentchev <roam@ringlet.net>
2001-11-05 07:08:39 +00:00
ache
e12ef98719 Add bg_BG.CP1251
PR:		25472
Submitted by:	Peter Pentchev <roam@ringlet.net>
2001-11-05 06:58:02 +00:00
ache
3f03083c67 Add bg_BG.CP1251
PR:		25472
Submitted by:	Peter Pentchev <roam@ringlet.net>
2001-11-05 06:49:44 +00:00
marcel
239490428f Don't pass os_boot_rendez directly to SAL_SET_VECTORS, because it's
actually the address of the function descriptor. The fdesc has both
the address of the function and it's corresponding gp value. Now
that we have a gp value, use it instead of passing 0.
2001-11-05 05:55:33 +00:00
mp
6bc922a656 Clean up the trap handling code and make it consistent with the other platforms.
Submitted by:	jhb
2001-11-05 00:49:03 +00:00
mp
a5a36e7719 Add enable_fpu/save_fpu for handling the floating point registers in the PCB.
Obtained from:	NetBSD
2001-11-05 00:45:33 +00:00
dd
34e612e7bc Document ENETDOWN.
PR:		31436
Submitted by:	Milon Papezik <milon.papezik@oskarmobil.cz>
2001-11-05 00:44:38 +00:00
dd
4ee65d31e8 Catch up to proc->thread changes.
PR:		31428
Submitted by:	Chad David <davidc@acns.ab.ca>
2001-11-05 00:41:39 +00:00
dd
d7894dcef6 malloc and calloc do not free memory.
PR:		31365
Submitted by:	SUZUKI Koichi <koich@cac.co.jp>
2001-11-05 00:39:27 +00:00
bmah
faade3379e New release notes: pmc driver, new loader tunables, ipfw(8) limit.
Updated release note:  bridge(4) and dummynet(4) are loadable modules.
2001-11-05 00:30:47 +00:00
dd
72db5cfca8 Note MFC of vmiodirenable=1. 2001-11-05 00:16:30 +00:00
bmah
6a410b54b2 New release notes: gawk 3.1.0
Updated release notes:  ACPI update and APM compatability, binutils
update.

Deleted release notes:  awk from Bell Labs.
2001-11-04 23:57:37 +00:00
dillon
5f2d12be7c Fix the fix. BIO_ERROR must be set in b_ioflags, not b_flags 2001-11-04 23:52:49 +00:00
bmah
b6df230c0d Add more ata(4) controllers supported. 2001-11-04 23:43:50 +00:00
dd
77f4df4ca1 Nuke spaces in front of tabs. 2001-11-04 23:20:52 +00:00
luigi
c5c22aba42 sync the code with the one in stable (mostly formatting changes). 2001-11-04 23:19:46 +00:00
dd
443a81bf56 Fix compilation with -DDEBUG.
PR:		31536
Submitted by:	Alan Batie <alan@agora.rdrop.com>
2001-11-04 23:15:21 +00:00
dd
c70efc47e9 Mark up NULL in .Dv.
PR:		31747
Submitted by:	<andrew@ugh.net.au>
2001-11-04 23:13:03 +00:00
dd
27a9f94f82 Refer people looking to figure out what major to use for a device to
MAKEDEV and sys/conf/majors, not sys/conf/device.<arch>, which has
never existed in the history of FreeBSD (well, at least it isn't in
the repository).

PR:		31558
2001-11-04 23:11:25 +00:00
imp
702f5e74a9 Move machine link creation from genassym to kernel-depend, per nyan@ 2001-11-04 23:10:39 +00:00
luigi
619b49c594 MFS: sync the ipfw/dummynet/bridge code with the one recently merged
into stable (mostly , but not only, formatting and comments changes).
2001-11-04 22:56:25 +00:00
dwmalone
620d500283 Make cmp work by mmapping chunks of a file, rather than the whole
file at one time.

PR:		24732
Submitted by:	Andrew L. Neporada <andr@dgap.mipt.ru>
MFC after:	2 weeks
2001-11-04 21:31:16 +00:00
peter
e99496b69b Make strtod.c work on Alpha as well. strtod.c has got locale support,
the netbsd_strtod.c file we have does not.  More still should be done
here, but this works happily on my Alpha.  I have not (yet?) changed
the Makefile.inc to use this.
2001-11-04 21:30:12 +00:00
dwmalone
92c1bc18fb Make top exit if its tty vanishes.
PR:		30939, 30581
Submitted by:	Edwin Groothuis <edwin@mavetju.org>
Submitted by: 	Andrew L. Neporada <andr@dgap.mipt.ru>
MFC after:	2 weeks
2001-11-04 21:15:52 +00:00
imp
fe2e942aea Move the include before the extra rules so make all the default.
Reported by: peter
2001-11-04 20:49:24 +00:00
phk
06936a160a Fix "echo > /dev/null" for non-root users which broke in previous commit. 2001-11-04 19:12:59 +00:00
dillon
43d36d6e86 Add mnt_reservedvnlist so we can MFC to 4.x, in order to make all mount
structure changes now rather then piecemeal later on.  mnt_nvnodelist
currently holds all the vnodes under the mount point.  This will eventually
be split into a 'dirty' and 'clean' list.  This way we only break kld's once
rather then twice.  nvnodelist will eventually turn into the dirty list
and should remain compatible with the klds.
2001-11-04 18:55:42 +00:00
peter
856af5f4ea Forced commit:
Fix breakage in previous time_t related commit:
  quad_t is not a 'long long' - don't use that for casting for printf %lld
  (it is plain "long" on our 64 bit platforms).

 Also, These timestamps are relative to boot time, not 1970.  We dont need
 to slow things down here with synthetic types on i386 since we have
 other wraparounds that occur *long* before 68 years of uptime.
2001-11-04 18:28:45 +00:00
peter
cacf017657 *** empty log message *** 2001-11-04 18:22:48 +00:00
peter
b77df30c32 Slightly closer to netbsd_strtod.c:
s/IEEE_8087/IEEE_LITTLE_ENDIAN/
s/IEEE_MC68k/IEEE_BIG_ENDIAN/
2001-11-04 18:04:00 +00:00
peter
01e71e1732 Repocopy pc98 fdisk out of its hidden subdir. Reconnect it to the build. 2001-11-04 17:38:23 +00:00
luigi
5a5fc59114 s/FREE/free/ 2001-11-04 17:35:31 +00:00