Commit Graph

58678 Commits

Author SHA1 Message Date
Yaroslav Tykhiy
b7bffa713d Change the type of the VLAN interface from IFT_PROPVIRTUAL,
which was a temporary hack, to IFT_L2VLAN, which is the type
assigned by IANA.
2001-04-04 15:10:58 +00:00
Bruce Evans
09f59dfc92 Fixed a null pointer bug in rev.1.10. Rev.1.10 was supposed to to
move the "for safety" zeroing of unused members of timebuf to a better
place.  It actually moved the zeroing to a worse place and didn't add
necessary braces.

Fixed a nearby older bug.  timebuf.tm_gmtoff was sometimes used even
when timebuf was invalid.  Even when it is zeroed, a failing mktime()
might set it to nonzero.

PR:		25243
2001-04-04 15:09:54 +00:00
Yaroslav Tykhiy
bcc4358845 Add recently assigned interface types.
Obtained from:	ftp://ftp.isi.edu/in-notes/iana/assignments/smi-numbers
2001-04-04 14:18:57 +00:00
Yaroslav Tykhiy
3f21587946 Sync up to NetBSD, Step 2:
Add the interface types 0x37 through 0xbd.

Obtained from:	NetBSD
2001-04-04 14:13:03 +00:00
Yaroslav Tykhiy
8fe3eb6443 Sync up to NetBSD again, Step 1:
* Set the CSRG SCCS ID to the revision this file is actually based on
  (the file itself has been updated to Lite2 in rev. 1.4).

* Fix some typos in comments.

* Add a comment to the trailing #endif according to style(9)
2001-04-04 14:04:52 +00:00
Orion Hodson
8b330062da Centralize DMA buffer configuration.
Simplify initialization and remove offending DMA channel resets there.
The resets trash whatever is pointed to DMA registers, but at cmi_attach()
time the DMA registers have not been initialized with valid addresses.

Reviewed by:	Cameron Grant <gandalf@vilnya.demon.co.uk>
2001-04-04 13:48:33 +00:00
Ruslan Ermilov
83c9589f7e Put back required ')'.
Submitted by:	jhay
2001-04-04 12:15:52 +00:00
Ruslan Ermilov
d6a2bd5bd1 mdoc(7) police: removed final dot from the .Nd call. 2001-04-04 12:00:29 +00:00
Ruslan Ermilov
1f01235249 mdoc(7) police: there is no single manpage that uses ``.Sy not''. 2001-04-04 11:57:03 +00:00
Ruslan Ermilov
0657a713ff mdoc(7) police: fix markup and spelling. 2001-04-04 11:51:59 +00:00
Ruslan Ermilov
90b4a69f41 mdoc(7) police: removed hard sentence break. 2001-04-04 11:33:01 +00:00
Ruslan Ermilov
1e789a130f mdoc(7) police: removed hard sentence breaks. 2001-04-04 11:27:36 +00:00
Ruslan Ermilov
039a0992e8 mdoc(7) police: you don't need to use enclose macros for blocks of text. 2001-04-04 11:25:07 +00:00
Ruslan Ermilov
6f03e3ff03 mdoc(7) police: .Nm remembers its argument on the first call. 2001-04-04 11:19:09 +00:00
Ruslan Ermilov
c720f298f9 mdoc(7) police: add missing .Pa call. 2001-04-04 10:48:13 +00:00
Ruslan Ermilov
9a9c140789 mdoc(7) police: add a missing comma in the SEE ALSO. 2001-04-04 10:39:06 +00:00
Ruslan Ermilov
18841862f0 mdoc(7) police: use .Nm instead of hardcoded name. 2001-04-04 10:36:16 +00:00
Ruslan Ermilov
3e2b2e79c3 mdoc(7) police: cosmetics. 2001-04-04 10:33:13 +00:00
Ruslan Ermilov
7e5d6de0bf mdoc(7) police: use proper markup for function arguments. 2001-04-04 10:23:27 +00:00
Brian Somers
6c0bde79a8 A much better (more correct) fix for handling ``!'' characters
Obtained from: NetBSD
2001-04-04 10:11:43 +00:00
Ruslan Ermilov
6a5e9ec940 mdoc(7) police: add missing .Pa call. 2001-04-04 09:52:28 +00:00
Ruslan Ermilov
02ee7aa71f mdoc(7) police: use .Nm, remove blank line (these cause warnings in mdocNG). 2001-04-04 09:49:05 +00:00
Ruslan Ermilov
e09940394c mdoc(7) police: sort xrefs. 2001-04-04 09:42:25 +00:00
Brian Somers
51a9b1c281 Handle ``!'' characters when they appear as second and subsequent
parts of an && or || expression.

This makes this expression work as expected:

	if true && ! false; then echo yes; fi
2001-04-04 09:30:50 +00:00
Nik Clayton
355c6ef4b4 wd1s1a -> ad1s1a
Submitted by:	sanpei
2001-04-04 08:42:40 +00:00
Ruslan Ermilov
67373d62bc Document ``special <progname> ident <identifier>'' command. 2001-04-04 08:28:00 +00:00
Ruslan Ermilov
a0bac7e013 - Call subclean' after clean' for each program.
- Eliminate compiler warning.
2001-04-04 08:26:54 +00:00
Warner Losh
5ea63116b8 Doh! Last second change introduced two compile warnings. Fix them. 2001-04-04 06:05:46 +00:00
Warner Losh
840709e709 Try to INIT the cards up to 5 times in a row rather than just once.
It appears that some of the new PRISM2 cards need it.

Fail the probe if we fail to read the MAC address.

Fix a comment.

Delete the unload printf.  The bus system now prints this message.
2001-04-04 06:03:39 +00:00
Bill Fenner
84c29ae3c4 This commit was generated by cvs2svn to compensate for changes in r75147,
which included commits to RCS files with non-trunk default branches.
2001-04-04 00:11:06 +00:00
Bill Fenner
7e9c480713 Check in the diff for rev 1.11 of tcpdump.org's print-smb.c
to replace freebsd.org's rev 1.2.
2001-04-04 00:11:06 +00:00
Ian Dowse
b3a38fe35a Fix some very broken code in __nc_error() that implements per-thread
`nc_error' variables. Move the nc_lock mutex from mt_misc.c to a
static variable within this function, since it is only used here.

Add a new getnetconfigent() error code `NC_NOTFOUND' to report the
case where the specified netid was not found. Set nc_error in all
error cases in getnetconfigent() so that the error messages returned
by nc_(s)perror are always meaningful.

Add a terminating \n to the output of nc_perror() to match both
our manpage and other implementations of this function.

Reviewed by:	deischen, alfred, Martin Blapp <mb@imp.ch>
2001-04-03 23:48:28 +00:00
Ian Dowse
92f5474235 Add a leading underscore to the pthread_main_np function name, and
a "#pragma weak" directive linking the external symbol. This matches
the other pthread_* definitions, and ensures that users of this
function from within libc get the real version, not the stub.

Suggested by:	deischen
Reviewed by:	deischen, alfred
2001-04-03 22:25:39 +00:00
Ian Dowse
c622922310 Remove some hacks that were apparently added to avoid problems with
RPC clients hanging. The real problem turned out to be missing
cleanup code; this was fixed in clnt_vc.c r1.5 and clnt_dg.c r1.4.

Submitted by:	Martin Blapp <mb@imp.ch>
2001-04-03 22:07:19 +00:00
Bruce A. Mah
c523bc572c New release notes: README file for ACLs and extended attributes,
libpcap update 0.6.2, tcpdump 3.6.2, newfs(8) now defaults to 22
cylinders/group, pkg_version better comparisons and -t.
2001-04-03 21:59:48 +00:00
Bruce A. Mah
274c64a1ba Implement a package number comparison routine for pkg_version(1)
that actually conforms to the Porters Handbook.

Add a -t option to pkg_version(1) for doing comparison testing.

Add a script (and make test target) to do some regression tests on
the package number comparison routine, to help debug future revisions.

Submitted by:		knu
Procrastination by:	bmah
2001-04-03 21:26:32 +00:00
Warner Losh
884c6f61f4 De __P() while I'm here. Done as a separate commit since it is just
stylistic.

# Yes, this break K&R, but this file already used so many gcc extensions
# keeping K&R support seemed too anachronistic for me.

Didn't fix the bug where functions that can only be used in the kernel
are exported to userland.
2001-04-03 18:50:55 +00:00
Josef Karthauser
d3b6c99818 Commit the first version of BSDPAN.
BSDPAN is the collection of modules that provides tighter than ever
integration of Perl into BSD Unix.

Currently, BSDPAN does the following:

o makes p5- FreeBSD ports PREFIX-clean;

o registers Perl modules in the FreeBSD package database with a
  package name derived from the module name.
  The name is of the form: bsdpan-ModuleName-V.VV.

Anyone interested in where BSDPAN is developing should read Anton's
message to the ports mailling list:
	Message-ID: <20010105040828.A26011@heechee.tobez.org>

Submitted by:	Anton Berezin <tobez@tobez.org>
2001-04-03 18:38:53 +00:00
Warner Losh
29d5de8ad0 Make this file C++ safe. It defines many useful functions (inb, outb)
that people use from userland in C++ programs.  I've had this in my
tree for ages and just got bit by it not being in the real tree again.

This is a MFC candidate.
2001-04-03 18:19:49 +00:00
Robert Watson
f6958f21cd o Indent sub-section headings to be consistent with README.extattr.
Obtained from:	TrustedBSD Project
2001-04-03 18:05:03 +00:00
David Malone
983e044ad8 Round up before checking if the width is smaller than the widest
column, otherwise we may divide by zero later.

PR:		26283
Reviewed by:	roam
2001-04-03 18:03:29 +00:00
Andrew Gallatin
9a44dfa794 Regen after adding linux_sched_get_priority_max() and
linux_sched_get_priority_min()
2001-04-03 18:01:41 +00:00
Andrew Gallatin
a7f70675e9 Add linux_sched_get_priority_max() and linux_sched_get_priority_min() to
alpha md code & unbreak kernel build
2001-04-03 17:58:44 +00:00
Robert Watson
45b4a0b163 o Introduce a README file describing briefly how to use access control
lists, in the style of FFS README files for soft updates and snapshots.

Obtained from:        TrustedBSD Project
2001-04-03 17:58:25 +00:00
Robert Watson
8f0644a765 o Introduce a README file describing briefly how to use extended
attributes, in the style of FFS README files for soft updates and
  snapshots.

Obtained from:	TrustedBSD Project
2001-04-03 17:31:36 +00:00
Ruslan Ermilov
72de1624f0 Synch this with i386 version again. This fits nicely on alphas.
Reviewed by:	beast
2001-04-03 14:55:24 +00:00
Bruce A. Mah
2d7dfa5e5a Clarify instructions for using a CD-ROM equipped machine to support a
FreeBSD install and add a warning about enabling anonymous FTP.

Submitted by:	nik
2001-04-03 14:07:07 +00:00
Ruslan Ermilov
98b901eee9 Cleanup: sort by directory/program, remove unused libraries. 2001-04-03 13:43:25 +00:00
Ruslan Ermilov
3c4869d927 Drop support for -DRELEASE_BUILD_FIXIT and -DCRUNCHED_BINARY in
${CFLAGS}.  The only supported method thus is -DRELEASE_CRUNCH.
2001-04-03 13:34:35 +00:00
Bruce Evans
f3952ecb5e Fixed world breakage in previous commit (config.h was inaccessible
except in the unusual case where ${.OBJDIR} == ${.CURDIR}).

Fixed nearby style bugs (the DEFS variable had rotted to be just
an obfuscation).
2001-04-03 10:08:51 +00:00