Joerg Sonnenberger [Sun, 7 Aug 2005 21:49:15 +0000 (21:49 +0000)]
Add ethernet port of JVC MP-PRX1.
Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
Obtained-from: FreeBSD
Joerg Sonnenberger [Sun, 7 Aug 2005 19:16:15 +0000 (19:16 +0000)]
Remove redundant assignment.
Joerg Sonnenberger [Sun, 7 Aug 2005 17:08:38 +0000 (17:08 +0000)]
Don't depend on struct dirent == struct direct, but fully separate the
processing. The code is derived from ext2's readdir.
Joerg Sonnenberger [Sun, 7 Aug 2005 15:43:02 +0000 (15:43 +0000)]
ANSIfy.
Liam J. Foy [Sun, 7 Aug 2005 10:36:41 +0000 (10:36 +0000)]
It's actually 11 minutes when the machine is assumed to be down and removed
from the output.
Jeroen Ruigrok/asmodai [Sun, 7 Aug 2005 08:40:42 +0000 (08:40 +0000)]
Remove trailing /.
Max Okumoto [Sun, 7 Aug 2005 08:16:52 +0000 (08:16 +0000)]
Cleanup some lint warnings.
o Removed coma after last enum.
o Removed unused include of hash.h
o Removed unused forward declaration of struct List.
Hiten Pandya [Sun, 7 Aug 2005 03:28:50 +0000 (03:28 +0000)]
BUF/BIO cleanup 6/99:
Move 'bogus_offset' variable into bufinit(), it is not used anywhere out
of the said function.
Hiten Pandya [Sun, 7 Aug 2005 03:17:37 +0000 (03:17 +0000)]
Add 'debug.sizeof.buf' sysctl for determining size of struct buf on a
system.
Declare the _debug_sizeof sysctl in sys/sysctl.h instead of redundantly
declaring in two files.
Joerg Sonnenberger [Sun, 7 Aug 2005 00:31:31 +0000 (00:31 +0000)]
Add rman_set_device.
Inspired-by: FreeBSD
Max Okumoto [Sat, 6 Aug 2005 21:47:59 +0000 (21:47 +0000)]
Fix bug where commands deferred using "..." where being executed
after .END: commands.
Chris Pressey [Sat, 6 Aug 2005 20:18:55 +0000 (20:18 +0000)]
Clarify examples by differentiating between literals and arguments.
YONETANI Tomokazu [Sat, 6 Aug 2005 19:20:38 +0000 (19:20 +0000)]
rev 1.21 has left namei.9 by itself, resulting in wrong pairs
of hardlink targets.
while I'm here, remove one of duplicate MLINKS entries for rman_fini.9 .
Joerg Sonnenberger [Sat, 6 Aug 2005 17:57:59 +0000 (17:57 +0000)]
Add SYSCTL_NODE_CHILDREN.
Obtained-from: FreeBSD
Sascha Wildner [Sat, 6 Aug 2005 13:34:14 +0000 (13:34 +0000)]
Fix forgotten comma from last commit.
Sascha Wildner [Sat, 6 Aug 2005 13:20:56 +0000 (13:20 +0000)]
Remove the old namei(9) man page and make namei(9) a link to nlookup(9).
Sascha Wildner [Sat, 6 Aug 2005 13:14:21 +0000 (13:14 +0000)]
Clean up copyright notice and remove reference to comments.
Sascha Wildner [Sat, 6 Aug 2005 12:42:42 +0000 (12:42 +0000)]
Add nlookup(9) man page.
Hiten Pandya [Sat, 6 Aug 2005 12:09:30 +0000 (12:09 +0000)]
Update copyright notice. Use standard DF copyright.
Sascha Wildner [Sat, 6 Aug 2005 11:36:13 +0000 (11:36 +0000)]
Remove NDINIT(9) link again. The old API was removed on 2004/11/12.
Sascha Wildner [Fri, 5 Aug 2005 23:43:19 +0000 (23:43 +0000)]
Global .Nm vs. MLINKS cleanup:
* Add missing MLINKS.
* Fix MLINKS for rtld(1).
* Remove suser_xxx(9) man page.
* Remove archive_entry_uname_w(3) and archive_entry_gname_w(3) links
(these functions don't exist).
* Fix typo in lib/libc/db/man/Makefile.inc and remove mis-spelled
dbm_dirnfo(3) link.
Sascha Wildner [Fri, 5 Aug 2005 23:22:23 +0000 (23:22 +0000)]
Fix typo from the last commit.
Max Okumoto [Fri, 5 Aug 2005 22:42:12 +0000 (22:42 +0000)]
Get rid of the Byte typedef and just use char. This gets rid of alot
of casts.
CVS ----------------------------------------------------------------------
Sascha Wildner [Fri, 5 Aug 2005 22:35:11 +0000 (22:35 +0000)]
Only one name per .Nm macro for better readability.
Sascha Wildner [Fri, 5 Aug 2005 21:49:22 +0000 (21:49 +0000)]
Fix typos: CIRCLE_* -> CIRCLEQ_*
Sascha Wildner [Fri, 5 Aug 2005 21:45:46 +0000 (21:45 +0000)]
Fix typo.
Sascha Wildner [Fri, 5 Aug 2005 18:01:16 +0000 (18:01 +0000)]
Link to the real file.
Sascha Wildner [Fri, 5 Aug 2005 17:50:50 +0000 (17:50 +0000)]
Mention the shell builtin.
Sascha Wildner [Fri, 5 Aug 2005 16:08:28 +0000 (16:08 +0000)]
Fix man page and variable references.
Sascha Wildner [Fri, 5 Aug 2005 15:35:53 +0000 (15:35 +0000)]
Fix man page reference: tcpdump(8) -> tcpdump(1).
Sascha Wildner [Fri, 5 Aug 2005 15:19:35 +0000 (15:19 +0000)]
Remove man page for PicoBSD which was removed on 2004/11/15.
Sascha Wildner [Fri, 5 Aug 2005 14:56:59 +0000 (14:56 +0000)]
Fix man page cross references.
Sascha Wildner [Fri, 5 Aug 2005 10:13:43 +0000 (10:13 +0000)]
Remove drivers.conf(5) man page. The file was removed on 2004/11/15.
Sascha Wildner [Fri, 5 Aug 2005 09:47:55 +0000 (09:47 +0000)]
Fix cross reference: makewhatis(1) -> makewhatis(8).
Hiten Pandya [Fri, 5 Aug 2005 04:54:42 +0000 (04:54 +0000)]
BUF/BIO cleanup 5/99:
Cleanup and document the buffer cache sysctls. The 'getnewbufrestarts',
'getnewbufcalls', 'bufdefragcnt', 'buffreekvacnt' and 'bufreusecnt' are
now changed to be read-only sysctls. Group them depending on whether
they are writable or not.
Correct, extend and write documentation for various functions in this
file.
Correct typos in various code comments and adjust nearby style issue.
Chris Pressey [Thu, 4 Aug 2005 22:15:07 +0000 (22:15 +0000)]
Document non-obvious behaviour of missing 'a' line in fdisk script.
Thanks-to: pfSense testers
Hiten Pandya [Thu, 4 Aug 2005 21:08:35 +0000 (21:08 +0000)]
BUF/BIO cleanup 4/99:
Garbage-collect physio_proc_{enter,leave,init} because these functions
only existed for PC-98 compatibility reasons. This commit is a NOP
and shouldn't make any operational difference.
The purpose of those functions was totally redundant, it just kept a
copy of buf->b_proc and other fields in a separately maintained TAILQ
list called physio_proc_head and physio_proc_feet corresponding to
physio_proc_enter/leave respectively.
The stub definitions and the machine/physio_proc.h header file will
disappear after the drivers using these functions are cleaned up.
Sascha Wildner [Thu, 4 Aug 2005 21:06:32 +0000 (21:06 +0000)]
Remove crossrefs to non-existant usb(3) man page.
Sascha Wildner [Thu, 4 Aug 2005 20:45:57 +0000 (20:45 +0000)]
Fix man page cross reference.
Liam J. Foy [Thu, 4 Aug 2005 18:21:25 +0000 (18:21 +0000)]
- If at least one call to onehost() fails, return 1
Ok: joerg
David Rhodus [Thu, 4 Aug 2005 17:31:23 +0000 (17:31 +0000)]
Remove some register keywords and add in some missing $DragonFly$ tags.
David Rhodus [Thu, 4 Aug 2005 17:27:09 +0000 (17:27 +0000)]
ANSI-fy some functions, remove some duplicate CVS tags and add in some
missging $DragonFly$ tags.
Hiten Pandya [Thu, 4 Aug 2005 16:44:37 +0000 (16:44 +0000)]
Initialize buf->b_iodone to NULL during bufinit(9) stage.
Use NULL instead of 0 for assigning to pointers.
Joerg Sonnenberger [Thu, 4 Aug 2005 16:44:12 +0000 (16:44 +0000)]
Remove unused include of sys/dirent.h.
Hiten Pandya [Thu, 4 Aug 2005 16:28:30 +0000 (16:28 +0000)]
Put unused flag space definitions back to their original position in
order to avoid confusion.
Requested-by: Matt
David Rhodus [Thu, 4 Aug 2005 15:38:58 +0000 (15:38 +0000)]
Make print statements more verbose.
David Rhodus [Thu, 4 Aug 2005 15:37:20 +0000 (15:37 +0000)]
Remove scheduler define which was never used.
Liam J. Foy [Thu, 4 Aug 2005 13:10:25 +0000 (13:10 +0000)]
- Don't flag NIS entries at invalid
Submitted by: Bob Willcox <bob@immure.com>
Max Okumoto [Thu, 4 Aug 2005 00:21:50 +0000 (00:21 +0000)]
Bring in better comments for hash.h from NetBSD
Max Okumoto [Thu, 4 Aug 2005 00:19:04 +0000 (00:19 +0000)]
Bring in better comment for hash.c function header from NetBSD
Matthew Dillon [Wed, 3 Aug 2005 23:33:52 +0000 (23:33 +0000)]
Add a new system config directive called "nonoptional" which specifies
files based on options which MUST be specified in the kernel config.
Make the option to maintain compatibility with DragonFly 1.2 (and older
1.3 kernels) non-optional.
Older versions of config will not recognize the new option and generate
a reasonable error, rather then blindly compile a kernel without 1.2
support, hopefully prompting people to recompile their config
program rather then post a bug report.
Max Okumoto [Wed, 3 Aug 2005 23:20:35 +0000 (23:20 +0000)]
Cast ctype.h function paramters to (unsigned char).
Max Okumoto [Wed, 3 Aug 2005 22:00:16 +0000 (22:00 +0000)]
Remove casting of NULL
Max Okumoto [Wed, 3 Aug 2005 21:43:08 +0000 (21:43 +0000)]
Bring in better comments for hash.c from NetBSD.
Max Okumoto [Wed, 3 Aug 2005 19:48:44 +0000 (19:48 +0000)]
Include stdbool.h in files header files that need it instead of util.h
Max Okumoto [Wed, 3 Aug 2005 18:34:39 +0000 (18:34 +0000)]
Make debug definition match forward declaration.
Max Okumoto [Wed, 3 Aug 2005 18:29:02 +0000 (18:29 +0000)]
Make prototype match up with function definition.
Max Okumoto [Wed, 3 Aug 2005 17:33:30 +0000 (17:33 +0000)]
FreeBSD-Date: 2005/07/31 04:30:46
Author: keramida
Fix all the spelling mistakes I could find in the man pages for words
that have at least 3 characters.
MFC after: 1 week
Thanks to: Music band ``Chingon''
for keeping me company while searching for these.
Hiten Pandya [Wed, 3 Aug 2005 16:55:11 +0000 (16:55 +0000)]
Bring name of an unused flag field in line with the rest.
Hiten Pandya [Wed, 3 Aug 2005 16:36:33 +0000 (16:36 +0000)]
BUF/BIO cleanup 3/99:
Retire the B_CALL flag in favour of checking the bp->b_iodone pointer
directly, thus simplifying the BUF interface even more.
Move scattered B_UNUSED* flag space defintions into one place, that
is below the rest of the definitions.
Simon Schubert [Wed, 3 Aug 2005 16:07:39 +0000 (16:07 +0000)]
Don't reference nanosleep at all, but describe the behaviour.
Hiten Pandya [Wed, 3 Aug 2005 16:01:11 +0000 (16:01 +0000)]
Add a workaround to make 3COM cardbus cards to propagate the device
information to the driver. This is the first step to get the cards
probing and attaching, minus whatever interrupt routing issues.
The proper fix will be addressed by Joerg but we really do require
an interrim solution to the problem.
--
The 575A doesn't have funcregs in memio, so don't claim that it does;
this gets the card to work. Change obtained from FreeBSD, committed
by Warner Losh to sys/pci/if_xl.c rev. 1.192.
Hiten Pandya [Wed, 3 Aug 2005 13:37:27 +0000 (13:37 +0000)]
Add test for comparing following types of conditionals:
- comparing a function pointer to NULL from a struct pointer
- comparing a function pointer to NULL from a struct
- bit-testing
Eirik Nygaard [Wed, 3 Aug 2005 13:31:00 +0000 (13:31 +0000)]
Remove libraries libtermcap and libcompat from the linking.
style(9) cleanup
WARNS?= 6 cleanup
Use true, false and bool from stdbool.h instead of hand rolled versions.
Submitted by: Peter Avalos <pavalos@theshell.com>
Add DragonFly keywords.
Simon Schubert [Wed, 3 Aug 2005 13:30:48 +0000 (13:30 +0000)]
Reference nanosleep(2) instead of sleep(3). It matches the behavior
more closely.
Hiten Pandya [Wed, 3 Aug 2005 13:29:45 +0000 (13:29 +0000)]
Add flag for compiling the tests without GCC -O2 optimisations, quite
useful for getting real numbers.
Eirik Nygaard [Wed, 3 Aug 2005 13:26:19 +0000 (13:26 +0000)]
WARNS?= 6 and style(9) cleanup.
Submitted by: Peter Avalos <pavalos@theshell.com>
Simon Schubert [Wed, 3 Aug 2005 12:44:23 +0000 (12:44 +0000)]
Note that select behaves like sleep(3) when no descriptors are being checked.
Eirik Nygaard [Wed, 3 Aug 2005 09:56:19 +0000 (09:56 +0000)]
Update manpages to reflect the changes joerg did that added const to some
function arguments.
Submitted by: Peter Avalos <pavalos@theshell.com>
Hiten Pandya [Wed, 3 Aug 2005 04:59:53 +0000 (04:59 +0000)]
BUF/BIO cleanup 2/99:
Localise buffer queue information into kern/vfs_bio.c, it should not be
messed with outside of the named file. Convert the QUEUE_* #defines
into enum bufq_type, prefix the names with 'B'. The change to initpbuf()
is acceptable since they are a hack anyway, not to mention that
Move vfs_bufstats() from kern/vfs_syscalls.c into kern/vfs_bio.c since
that's where it should really belong, atleast till its use is cleaned.
Move bufqueues extern from sys/buf.h into kern/vfs_bio.c as it shouldn't
be messed with by anything else. It was only sitting in sys/buf.h
because of vfs_bufstats().
Note the change to initpbuf() is acceptable since they are a hack anyway,
not to mention that the said function and friends should probably reside
in kern/vfs_bio.c.
Joerg Sonnenberger [Wed, 3 Aug 2005 03:12:00 +0000 (03:12 +0000)]
Really support rpath only linking. Add a special option -nolibc which
doesn't link a shared object against libc.
Joerg Sonnenberger [Tue, 2 Aug 2005 21:15:12 +0000 (21:15 +0000)]
Clean up search directories to what we really use.
Joerg Sonnenberger [Tue, 2 Aug 2005 21:13:37 +0000 (21:13 +0000)]
Catch up with reality, this is GCC 3.4.4.
Sascha Wildner [Tue, 2 Aug 2005 20:48:02 +0000 (20:48 +0000)]
Fix wrong section in manpage reference.
Chris Pressey [Tue, 2 Aug 2005 17:57:14 +0000 (17:57 +0000)]
Introduce a make variable PACKAGE_SITES to improve package fetching in
two ways:
- PACKAGE_SITES is a list of base URLs where packages are to be fetched
from; if a package cannot be fetched from the first site, the second
is tried, etc, until either the package is fetched, or all sites have
been tried (at which point failure is announced.) This allows
multiple sites to be set up as package mirrors.
- PACKAGE_SITES is overridable by the administrator on the make command
line, so that they may specify where e.g. any custom packages they
may have shall be fetched from.
Hiten Pandya [Tue, 2 Aug 2005 17:11:04 +0000 (17:11 +0000)]
Update filename in comments.
Chris Pressey [Tue, 2 Aug 2005 17:02:59 +0000 (17:02 +0000)]
Reduce diffs with BSD Installer repo:
- Add/update explanatory comments.
- Honour $pfi_backend variable when running on serial port.
Chris Pressey [Tue, 2 Aug 2005 16:27:48 +0000 (16:27 +0000)]
Style(9):
- Add more explanatory comments.
- Mark an unused parameter as __unused.
Joerg Sonnenberger [Tue, 2 Aug 2005 16:26:30 +0000 (16:26 +0000)]
Readd fix for FreeBSD PR/30631.
No-cookie-for: David Rhodus
Joerg Sonnenberger [Tue, 2 Aug 2005 13:19:30 +0000 (13:19 +0000)]
Regen.
Joerg Sonnenberger [Tue, 2 Aug 2005 13:18:25 +0000 (13:18 +0000)]
Enforce COMPAT_DF12 for now, this can be overriden via NO_COMPAT_DF12
from the environment.
Revert-after: 1 month
Joerg Sonnenberger [Tue, 2 Aug 2005 13:07:50 +0000 (13:07 +0000)]
Require 1.3.4 before installworld.
Joerg Sonnenberger [Tue, 2 Aug 2005 13:06:36 +0000 (13:06 +0000)]
Bump version to 1.3.4 for stat changes.
Joerg Sonnenberger [Tue, 2 Aug 2005 13:03:55 +0000 (13:03 +0000)]
Make nlink_t 32bit and ino_t 64bit. Implement the old syscall numbers
for *stat by wrapping the new syscalls and truncation of the values.
Add a hack for boot2 to keep ino_t 32bit, otherwise we would have to
link the 64bit math code in and that would most likely overflow boot2.
Bump libc major to annotate changed ABI and work around a problem with
strip during installworld. strip is dynamically linked and doesn't play
well with the new libc otherwise.
Support for 64bit inode numbers is still incomplete, because the dirent
limited to 32bit. The checks for nlink_t have to be redone too.
Joerg Sonnenberger [Tue, 2 Aug 2005 00:44:39 +0000 (00:44 +0000)]
Add missing bit of the wchar stdio support and hook the whole thing in.
Cover up temporary breakage from missing floatio.h commit.
Obtained-from: FreeBSD via NetBSD
Joerg Sonnenberger [Mon, 1 Aug 2005 22:50:45 +0000 (22:50 +0000)]
Constify xdigs argument to __u[lj]toa. Cast u_long and u_quad_t to
size_t before using them as index. Rename MAXEXP to MAXEXPDIG. Rename
exp to expo to avoid shadowing.
Inspired-by: FreeBSD
Joerg Sonnenberger [Mon, 1 Aug 2005 22:35:40 +0000 (22:35 +0000)]
Instead of always defining FLOATING_POINT to get floating point, define
NO_FLOATING_POINT to not include it.
Inspired-by: FreeBSD
Simon Schubert [Mon, 1 Aug 2005 22:03:15 +0000 (22:03 +0000)]
Add dependencies on files being distributed. This unbreaks nrelease.
Joerg Sonnenberger [Mon, 1 Aug 2005 20:59:46 +0000 (20:59 +0000)]
libutil.h hsa to go after pwd.h.
Joerg Sonnenberger [Mon, 1 Aug 2005 20:11:18 +0000 (20:11 +0000)]
Add new option COMPAT_DF12, used for ABI compatibility with DragonFly
1.2 and earlier.
Hiten Pandya [Mon, 1 Aug 2005 20:05:53 +0000 (20:05 +0000)]
Update description of msfbufs sysctls.
Joerg Sonnenberger [Mon, 1 Aug 2005 16:15:19 +0000 (16:15 +0000)]
Merge from vendor branch OPENPAM:
Import pam_deny, pam_permit and pam_unix from FreeBSD, use them instead
of the sample modules from OpenPAM. I should read release notes in
greater detail. Thanks to DES for pointing that out.
Joerg Sonnenberger [Mon, 1 Aug 2005 16:15:19 +0000 (16:15 +0000)]
Import pam_deny, pam_permit and pam_unix from FreeBSD, use them instead
of the sample modules from OpenPAM. I should read release notes in
greater detail. Thanks to DES for pointing that out.
Joerg Sonnenberger [Mon, 1 Aug 2005 16:15:19 +0000 (16:15 +0000)]
Import pam_deny, pam_permit and pam_unix from FreeBSD, use them instead
of the sample modules from OpenPAM. I should read release notes in
greater detail. Thanks to DES for pointing that out.
Joerg Sonnenberger [Mon, 1 Aug 2005 16:13:20 +0000 (16:13 +0000)]
Add passwd manipulation code based on parts of vipw and chpass.
Obtained-from: FreeBSD
Keep pw_scan.c for now until it's clear whether __pw_scan can be
merged pw_scan.
Sascha Wildner [Mon, 1 Aug 2005 01:49:18 +0000 (01:49 +0000)]
Remove trailing blank space characters. mdoc(7) explicitly recommends doing
so lest troff might get confused.
Sascha Wildner [Mon, 1 Aug 2005 00:35:08 +0000 (00:35 +0000)]
Convert to mdoc.
Sascha Wildner [Mon, 1 Aug 2005 00:21:07 +0000 (00:21 +0000)]
Convert to mdoc.
Matthew Dillon [Sun, 31 Jul 2005 22:58:03 +0000 (22:58 +0000)]
Bump the development branch sub-version from 1.3.2 to 1.3.3, indicating
the many critical bug fixes that have been made in the last few weeks.
Matthew Dillon [Sun, 31 Jul 2005 22:25:46 +0000 (22:25 +0000)]
Stephan believes that this patch, just committed to FreeBSD, may fix
softupdates deadlocks reported by Tomaz Borstnar. Symptoms were basically
that the syncer would block in getblk() after approximately 1 weeks operation
under moderate filesystem load due to a softupdates-locked indirect block
buffer which was never being released. This would prevent file blocks
from being freed and cause the filesystem to appear to fill up. The problem
was originally believed to be a bug in the IPS driver, but turns out not to
be.
This will be MFCd to RELEASE once testing is complete.
FreeBSD commit msg:
Delay freeing disk space for file system blocks until all dirty buffers
are safely released. This fixes softdep problems on truncation
(deletion) of files with dirty buffers.
Testing-by: =?ISO-8859-2?Q?Toma=BE_Bor=B9tnar?= <tomaz.borstnar@amis.net>
Taken-from: FreeBSD / ffs_softdep.c 1.182.
Original-Author: Stephan Uphoff <ups@tree.com> (FreeBSD)