Commit Graph

81279 Commits

Author SHA1 Message Date
Warner Losh
5a702a282b Add a new NewMedia BUSTOASTER that I bought on ebay (sadly w/o scsi dongle).
Add PLANEX GWNS11H submitted by hanai-san.
2002-10-11 05:40:13 +00:00
Warner Losh
93642ba9bf o Set CBB_CARD_OK just before CARD_ATTACH_CARD. If ATTACH_CARD fails, then
clear the bit.  This allows ata driver to attach its children because
  it needs the interrupts enabled to succeed.

Submitted by: iwasaki-san

o Spell CardBus as CardBus, not Cardbus or CardBUS while I'm here.
2002-10-11 04:30:59 +00:00
Kirk McKusick
192e439ed4 When considering a vnode for reuse in getnewvnode, we call
vcanrecycle to check a free vnode's availability. If it is
available, vcanrecycle returns an error code of zero and the
vnode in question locked. The getnewvnode routine then used
to call vn_start_write with the V_NOWAIT flag. If the filesystem
was suspended while taking a snapshot, the vn_start_write would
fail but getnewvnode would fail to unlock the vnode, instead
leaving it locked on the freelist. The result would be that the
vnode would be locked forever and would eventually hang the
system with a race to the root when it was attempted to recycle
it. This fix moves the vn_start_write check into vcanrecycle
where it will properly unlock the vnode if it is unavailable
for recycling due to filesystem suspension.

Sponsored by:	DARPA & NAI Labs.
2002-10-11 01:04:14 +00:00
Tim J. Robbins
972baa3747 Add a UTF-8 encoding method, which will eventually replace the antique
"UTF2" method. Although UTF-8 and the old UTF2 encoding are compatible
for 16-bit characters, the new UTF-8 implementation is much more strict
about rejecting malformed input and also handles the full 31 bit range
of characters.
2002-10-10 22:56:18 +00:00
Chad David
9b30d71989 Correct the offset of the 'jfs' entry in fstypenames. 2002-10-10 22:09:32 +00:00
Matthew Dillon
c8d50f2414 turn off debugging by default if bandwidth delay product limiting is
turned on (it is already off in -stable).
2002-10-10 21:41:30 +00:00
Juli Mallett
f8137bcf93 Move utilitarian routines to util.c, which isn't the same as the old
compatability-geared util.c.  These are things like message printers
and the PrintAddr function for traversing lists.  Other general-purpose
utilities inside make(1) can go here, in time.
2002-10-10 19:27:48 +00:00
Matthew Dillon
28257b5ccc Update various comments mainly related to retransmit/FIN that I
documented while working on a previous bug.

Fix a PERSIST bug.  Properly account for a FIN sent during a PERSIST.

MFC after:	7 days
2002-10-10 19:21:50 +00:00
Jens Schweikhardt
b2aa8b2a98 Document that write(2) et al can return EROFS for attempts to write the
disk label area.

PR:		43891
Submitted by:	Diomidis D. Spinellis <dds@istlab.dmst.aueb.gr>
MFC after:	3 days
2002-10-10 19:16:10 +00:00
Matt Jacob
63872bc9c5 Get the most recent 2300 f/w that's on the QLogic intranet- fixes lots
of buglets and quite a few bugs.

MFC after:	1 day
2002-10-10 17:30:06 +00:00
Matt Jacob
41ed683e13 From PHK's flex tool- we can get -1 returned from xpt_path_target_id,
so don't index off of it.

MFC after:	1 day
2002-10-10 17:29:05 +00:00
Brian Feldman
fa46e218c7 Document the -n option and fix manpage Fl usage.
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-10-10 17:19:43 +00:00
Brian Feldman
cb0187a0da Add an -n option to write the trailing nul byte to the extattr when
using setextattr(8) to write a string.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-10-10 17:16:00 +00:00
Brian Feldman
878382facb Correct argc verification (don't crash).
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-10-10 17:11:20 +00:00
Robert Watson
469fda7e25 Hook up strsep(3) to libkern following a repo-copy by Peter. This will
allow us to avoid nasty by-hand string parsing stuff in a number of
places in the kernel, reducing the risk of unexpected consequences
for kernel correctness.
2002-10-10 17:02:11 +00:00
Robert Watson
6c3fb1121a Add -h flags to each of the *extattr(8) commands, indicating that
the command should not follow the symlink if the target file is a
symlink.  Invoke the extattr_*_link(2) version of the system call
in that situation, instead of extattr_*_file(2).  This is
consistent with other attribute management tools in the system.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-10-10 16:47:21 +00:00
John Baldwin
16de69e956 - Fix a missort in the Time section.
- Specify date for OS X 10.1.
- Whitespace fix for NetBSD 1.5.3 release date.

Submitted by:	Sergey A. Osokin <osa@freebsd.org.ru> (mostly)
2002-10-10 16:42:54 +00:00
Robert Watson
7522ecb37f Use basename(3) to derive the name of the binary from argv[0].
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
Submitted by:	green
2002-10-10 16:37:12 +00:00
John Baldwin
d61e0656e1 Update "UNIX History" URL.
Submitted by:	Sergey A. Osokin <osa@freebsd.org.ru>
2002-10-10 14:47:03 +00:00
John Baldwin
e48fd6e3c2 - Sort references in the Time section alphabetically.
- Remove U25 time reference as it is never referenced.

Submitted by:	Sergey A. Osokin <osa@freebsd.org.ru>
2002-10-10 14:21:01 +00:00
John Baldwin
8d40415d94 Update BSD family tree to include FreeBSD 4.6.2, NetBSD 1.6, and Mac OS X
10.2.

Submitted by:	Sergey A. Osokin <osa@freebsd.org.ru>
2002-10-10 14:17:42 +00:00
Robert Drehmel
5d38e85ded Fix another spelling mistake. 2002-10-10 14:16:08 +00:00
Robert Drehmel
73fbee5795 Correct a spelling mistake. 2002-10-10 14:14:44 +00:00
Yoshihiro Takahashi
f4bff7c21b Fixed a warning if COM_MULTIPORT option is not defined.
Submitted by:	Kaho Toshikazu <kaho@elam.kais.kyoto-u.ac.jp>
2002-10-10 14:14:29 +00:00
Yoshihiro Takahashi
46ae965fca Remove '-DUFS1_ONLY' from CFLAGS. It is not needed. 2002-10-10 14:03:00 +00:00
Robert Watson
2dba710ddb Incremental style improvements: more consistently avoid assignments
in conditionals; remove some excess vertical whitespace; remove a
bug in the return handling of the delete_vp() case for MAC.

Spotted by:	bde
2002-10-10 13:59:58 +00:00
Yoshihiro Takahashi
fd936e43a4 Fixed SBUS_RA_*_region_* functions. 2002-10-10 13:38:50 +00:00
Maxim Konovalov
a5428e3a9a Fix IPOPT_TS processing: do not overwrite IP address by timestamp.
PR:		misc/42121
Submitted by:	Praveen Khurjekar <praveen@codito.com>
Reviewed by:	silence on -net
MFC after:	1 month
2002-10-10 12:03:36 +00:00
Giorgos Keramidas
f9e425b336 Make sure strsep() gets a nul-terminated string.
Reviewed by:	phk
2002-10-10 10:07:19 +00:00
Maxim Konovalov
18632a5d66 Add BSD/OS 4.3.
Submitted by:	Sergey A. Osokin <osa@FreeBSD.org.ru>
Reviewed by:	grog
MFC after:	1 week
2002-10-10 08:57:39 +00:00
Alexander Kabaev
e59dd53c96 Allow ubsa(4) driver to be build as a kernel module.
Approved by:	obrien
2002-10-10 05:03:09 +00:00
Alexander Kabaev
9734ce03a2 Add multilib_options variable definition.
Approved by:	obrien
2002-10-10 04:56:35 +00:00
Alexander Kabaev
ecbe618435 Merge FreeBSD modifications into gcc 3.2.1-prerelease:
1.8  printf format error fixes

Approved by:	obrien
2002-10-10 04:53:46 +00:00
Alexander Kabaev
e4ec156dda Merge FreeBSD modifications into gcc 3.2.1-prerelease:
1.10  -mno-align-long-strings
  1.11  Allow the specification of LONG_TYPE_SIZE on the command line.

Approved by:	obrien
2002-10-10 04:53:15 +00:00
Alexander Kabaev
559be21b12 Merge FreeBSD modifications into gcc 3.2.1-prerelease:
1.11  -mno-align-long-strings

Approved by:	obrien
2002-10-10 04:52:41 +00:00
Alexander Kabaev
8aa7a77c78 Merge FreeBSD modifications into gcc 3.2.1-prerelease:
1.2  Localize the version number

Approved by:	obrien
2002-10-10 04:52:03 +00:00
Alexander Kabaev
e43930a27b Merge FreeBSD modifications into gcc 3.2.1-prerelease:
1.2  -fformat-extensions
  1.7  FORCE_OPTIMIZATION_DOWNGRADE knob for Alpha
  1.14 -O0 -O1 should optimize alignment for time, not size

Approved by:	obrien
2002-10-10 04:51:11 +00:00
Alexander Kabaev
c2f7e7c4f8 Use the stock 3.2.1-prerelease file.
Approved by:	obrien
2002-10-10 04:50:29 +00:00
Alexander Kabaev
2a4b2c4b2e Merge FreeBSD modifications into gcc 3.2.1-prerelease:
1.\\{2,15\\}     FREEBSD_NATIVE
  1.\\{5,13\\}     ELF, and objformat support
  1.\\{16,23,25\\} Better cross building control
  1.21           'GCC_OPTIONS'
  1.27           cross-arch MD_EXEC_PREFIX fixes
                 cc -print-search-dir fixes
  1.28           Read specs from /usr/libdata/gcc/specs, if available

Approved by:	obrien
2002-10-10 04:49:03 +00:00
Alexander Kabaev
d533a055b5 Merge FreeBSD modifications into gcc 3.2.1-prerelease:
1.2 kernel printf enchancements framework

Approved by:	obrien
2002-10-10 04:47:27 +00:00
Alexander Kabaev
819fe3892d Merge FreeBSD modifications into gcc 3.2.1-prerelease:
1.2 kernel printf enchancements framework
  1.3 suppress warnings on K&R main

Approved by:	obrien
2002-10-10 04:46:44 +00:00
Alexander Kabaev
2402dbd227 This commit was generated by cvs2svn to compensate for changes in r104758,
which included commits to RCS files with non-trunk default branches.
2002-10-10 04:41:00 +00:00
Alexander Kabaev
f1f8450e7a Gcc 3.2.1-prerelease libf2c bits from the FSF anoncvs repo gcc-3_2-branch on October 9th 2002 20:15 EST. 2002-10-10 04:41:00 +00:00
Alexander Kabaev
e155b1883a This commit was generated by cvs2svn to compensate for changes in r104756,
which included commits to RCS files with non-trunk default branches.
2002-10-10 04:40:48 +00:00
Alexander Kabaev
a5eca8bcdf Gcc 3.2.1-prerelease Objective C support bits from the FSF anoncvs repo gcc-3_2-branch on October 9th 2002 20:15 EST. 2002-10-10 04:40:48 +00:00
Alexander Kabaev
5445e641cf This commit was generated by cvs2svn to compensate for changes in r104754,
which included commits to RCS files with non-trunk default branches.
2002-10-10 04:40:44 +00:00
Alexander Kabaev
2dfb3a5ed0 Gcc 3.2.1-prerelease C++ support bits from the FSF anoncvs repo gcc-3_2-branch on October 9th 2002 20:15 EST. 2002-10-10 04:40:44 +00:00
Alexander Kabaev
0cd8fdc382 This commit was generated by cvs2svn to compensate for changes in r104752,
which included commits to RCS files with non-trunk default branches.
2002-10-10 04:40:18 +00:00
Alexander Kabaev
423134a002 Gcc 3.2.1-prerelease from the FSF anoncvs repo gcc-3_2-branch on October 9th 2002 20:15 EST. 2002-10-10 04:40:18 +00:00
Tim J. Robbins
ecab372b7e Add cross-references to wide character versions of these functions. 2002-10-10 04:31:57 +00:00