16 years agoDon't check for zero-length direntries, expect the system to handle
Joerg Sonnenberger [Mon, 8 Aug 2005 15:25:42 +0000 (15:25 +0000)]
Don't check for zero-length direntries, expect the system to handle
that. Just strdup the dirent_name.

16 years agoInstead of MAXNAMELEN, use NAME_MAX for now. This should be revisited
Joerg Sonnenberger [Mon, 8 Aug 2005 13:38:49 +0000 (13:38 +0000)]
Instead of MAXNAMELEN, use NAME_MAX for now. This should be revisited
latter to allocate the entry dynamically. Add CVS id.

16 years agoInstead of trying to compute the local storage based on maximum entry
Joerg Sonnenberger [Mon, 8 Aug 2005 13:00:12 +0000 (13:00 +0000)]
Instead of trying to compute the local storage based on maximum entry
size, use PATH_MAX. The former might get variable, the latter is more
likely to stay constant for a while.

16 years agoAdd minimal utility that is able to make sense of the per-cpu load
Hiten Pandya [Mon, 8 Aug 2005 03:31:00 +0000 (03:31 +0000)]
Add minimal utility that is able to make sense of the per-cpu load
accounting struct kinfo_cputime, or previously known as 'cputime'.

It should reside under src/test because it is not complete and only
implements the base logic for those people interested who want to
incorporate this code into top(1) or some other accounting program
of their own.

Polish the 'Makefile' while I am around this end of the source tree.

16 years ago_PC_NAME_MAX is NAME_MAX, so use that for the storage allocation as
Joerg Sonnenberger [Mon, 8 Aug 2005 02:01:31 +0000 (02:01 +0000)]
_PC_NAME_MAX is NAME_MAX, so use that for the storage allocation as

16 years agoisab_attach() is called from acpi_isab_attach(), so it's supposed to
YONETANI Tomokazu [Mon, 8 Aug 2005 01:47:21 +0000 (01:47 +0000)]
isab_attach() is called from acpi_isab_attach(), so it's supposed to
be a non-static function.

16 years agoBUF/BIO cleanup 7/99:
Hiten Pandya [Mon, 8 Aug 2005 01:25:31 +0000 (01:25 +0000)]
BUF/BIO cleanup 7/99:

First attempt at separating low-level information from BUF structure into
the new BIO structure.  The latter will be used to represent the actual
I/O underlying the buffer cache, other subsystems and device drivers.

Other information from the BUF structure will be moved eventually once
their place in the grand scheme is determined.  For now, preprocess macros
have been added to reduce widespread changes; this is a temporary measure
by all means until more of the BIO and BUF API is formalised.

Remove compatibility preprocessor macros in the AAC driver because our
BUF/BIO system is mutating; not to mention they were getting in the way.

NB the name BIO has been used because it's quite appropriate and known
among kernel developers from other operating system groups, be it BSD or

This change should not have any operational affect (famous last words).

Reviewed by: Matthew Dillon <dillon@dragonflybsd.org>

16 years agoReimport devlist2h.awk from FreeBSD, this version actually works. It
Joerg Sonnenberger [Sun, 7 Aug 2005 22:43:17 +0000 (22:43 +0000)]
Reimport devlist2h.awk from FreeBSD, this version actually works. It
also allows proper dependency handling in Makefile.usbdevs by separating
the output via options. Regen with the new script.

16 years agoMove up CVS IDs, first must be DragonFly.
Joerg Sonnenberger [Sun, 7 Aug 2005 22:37:54 +0000 (22:37 +0000)]
Move up CVS IDs, first must be DragonFly.

16 years agoA better description for 'debug.sizeof' sysctl.
Hiten Pandya [Sun, 7 Aug 2005 22:11:53 +0000 (22:11 +0000)]
A better description for 'debug.sizeof' sysctl.

16 years agoAdd ethernet port of JVC MP-PRX1.
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

16 years agoRemove redundant assignment.
Joerg Sonnenberger [Sun, 7 Aug 2005 19:16:15 +0000 (19:16 +0000)]
Remove redundant assignment.

16 years agoDon't depend on struct dirent == struct direct, but fully separate the
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.

16 years agoANSIfy.
Joerg Sonnenberger [Sun, 7 Aug 2005 15:43:02 +0000 (15:43 +0000)]

16 years agoIt's actually 11 minutes when the machine is assumed to be down and removed
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.

16 years agoRemove trailing /.
Jeroen Ruigrok/asmodai [Sun, 7 Aug 2005 08:40:42 +0000 (08:40 +0000)]
Remove trailing /.

16 years agoCleanup some lint warnings.
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.

16 years agoBUF/BIO cleanup 6/99:
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.

16 years agoAdd 'debug.sizeof.buf' sysctl for determining size of struct buf on a
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

Declare the _debug_sizeof sysctl in sys/sysctl.h instead of redundantly
declaring in two files.

16 years agoAdd rman_set_device.
Joerg Sonnenberger [Sun, 7 Aug 2005 00:31:31 +0000 (00:31 +0000)]
Add rman_set_device.

Inspired-by: FreeBSD
16 years agoFix bug where commands deferred using "..." where being executed
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.

16 years agoClarify examples by differentiating between literals and arguments.
Chris Pressey [Sat, 6 Aug 2005 20:18:55 +0000 (20:18 +0000)]
Clarify examples by differentiating between literals and arguments.

16 years agorev 1.21 has left namei.9 by itself, resulting in wrong pairs
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)]

Obtained-from: FreeBSD

16 years agoFix forgotten comma from last commit.
Sascha Wildner [Sat, 6 Aug 2005 13:34:14 +0000 (13:34 +0000)]
Fix forgotten comma from last commit.

16 years agoRemove the old namei(9) man page and make namei(9) a link to nlookup(9).
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).

16 years agoClean up copyright notice and remove reference to comments.
Sascha Wildner [Sat, 6 Aug 2005 13:14:21 +0000 (13:14 +0000)]
Clean up copyright notice and remove reference to comments.

16 years agoAdd nlookup(9) man page.
Sascha Wildner [Sat, 6 Aug 2005 12:42:42 +0000 (12:42 +0000)]
Add nlookup(9) man page.

16 years agoUpdate copyright notice. Use standard DF copyright.
Hiten Pandya [Sat, 6 Aug 2005 12:09:30 +0000 (12:09 +0000)]
Update copyright notice.  Use standard DF copyright.

16 years agoRemove NDINIT(9) link again. The old API was removed on 2004/11/12.
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.

16 years agoGlobal .Nm vs. MLINKS cleanup:
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.

16 years agoFix typo from the last commit.
Sascha Wildner [Fri, 5 Aug 2005 23:22:23 +0000 (23:22 +0000)]
Fix typo from the last commit.

16 years agoGet rid of the Byte typedef and just use char. This gets rid of alot
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 ----------------------------------------------------------------------

16 years agoOnly one name per .Nm macro for better readability.
Sascha Wildner [Fri, 5 Aug 2005 22:35:11 +0000 (22:35 +0000)]
Only one name per .Nm macro for better readability.

16 years agoFix typos: CIRCLE_* -> CIRCLEQ_*
Sascha Wildner [Fri, 5 Aug 2005 21:49:22 +0000 (21:49 +0000)]
Fix typos: CIRCLE_* -> CIRCLEQ_*

16 years agoFix typo.
Sascha Wildner [Fri, 5 Aug 2005 21:45:46 +0000 (21:45 +0000)]
Fix typo.

16 years agoLink to the real file.
Sascha Wildner [Fri, 5 Aug 2005 18:01:16 +0000 (18:01 +0000)]
Link to the real file.

16 years agoMention the shell builtin.
Sascha Wildner [Fri, 5 Aug 2005 17:50:50 +0000 (17:50 +0000)]
Mention the shell builtin.

16 years agoFix man page and variable references.
Sascha Wildner [Fri, 5 Aug 2005 16:08:28 +0000 (16:08 +0000)]
Fix man page and variable references.

16 years agoFix man page reference: tcpdump(8) -> tcpdump(1).
Sascha Wildner [Fri, 5 Aug 2005 15:35:53 +0000 (15:35 +0000)]
Fix man page reference: tcpdump(8) -> tcpdump(1).

16 years agoRemove man page for PicoBSD which was removed on 2004/11/15.
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.

16 years agoFix man page cross references.
Sascha Wildner [Fri, 5 Aug 2005 14:56:59 +0000 (14:56 +0000)]
Fix man page cross references.

16 years agoRemove drivers.conf(5) man page. The file was removed on 2004/11/15.
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.

16 years agoFix cross reference: makewhatis(1) -> makewhatis(8).
Sascha Wildner [Fri, 5 Aug 2005 09:47:55 +0000 (09:47 +0000)]
Fix cross reference: makewhatis(1) -> makewhatis(8).

16 years agoBUF/BIO cleanup 5/99:
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

Correct typos in various code comments and adjust nearby style issue.

16 years agoDocument non-obvious behaviour of missing 'a' line in fdisk script.
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

16 years agoBUF/BIO cleanup 4/99:
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.

16 years agoRemove crossrefs to non-existant usb(3) man page.
Sascha Wildner [Thu, 4 Aug 2005 21:06:32 +0000 (21:06 +0000)]
Remove crossrefs to non-existant usb(3) man page.

16 years agoFix man page cross reference.
Sascha Wildner [Thu, 4 Aug 2005 20:45:57 +0000 (20:45 +0000)]
Fix man page cross reference.

16 years ago- If at least one call to onehost() fails, return 1
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

16 years agoRemove some register keywords and add in some missing $DragonFly$ tags.
David Rhodus [Thu, 4 Aug 2005 17:31:23 +0000 (17:31 +0000)]
Remove some register keywords and add in some missing $DragonFly$ tags.

16 years agoANSI-fy some functions, remove some duplicate CVS tags and add in some
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.

16 years agoInitialize buf->b_iodone to NULL during bufinit(9) stage.
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.

16 years agoRemove unused include of sys/dirent.h.
Joerg Sonnenberger [Thu, 4 Aug 2005 16:44:12 +0000 (16:44 +0000)]
Remove unused include of sys/dirent.h.

16 years agoPut unused flag space definitions back to their original position in
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
16 years agoMake print statements more verbose.
David Rhodus [Thu, 4 Aug 2005 15:38:58 +0000 (15:38 +0000)]
Make print statements more verbose.

16 years agoRemove scheduler define which was never used.
David Rhodus [Thu, 4 Aug 2005 15:37:20 +0000 (15:37 +0000)]
Remove scheduler define which was never used.

16 years ago- Don't flag NIS entries at invalid
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>

16 years agoBring in better comments for hash.h from NetBSD
Max Okumoto [Thu, 4 Aug 2005 00:21:50 +0000 (00:21 +0000)]
Bring in better comments for hash.h from NetBSD

16 years agoBring in better comment for hash.c function header 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

16 years agoAdd a new system config directive called "nonoptional" which specifies
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.

16 years agoCast ctype.h function paramters to (unsigned char).
Max Okumoto [Wed, 3 Aug 2005 23:20:35 +0000 (23:20 +0000)]
Cast ctype.h function paramters to (unsigned char).

16 years agoRemove casting of NULL
Max Okumoto [Wed, 3 Aug 2005 22:00:16 +0000 (22:00 +0000)]
Remove casting of NULL

16 years agoBring in better comments for hash.c from NetBSD.
Max Okumoto [Wed, 3 Aug 2005 21:43:08 +0000 (21:43 +0000)]
Bring in better comments for hash.c from NetBSD.

16 years agoInclude stdbool.h in files header files that need it instead of util.h
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

16 years agoMake debug definition match forward declaration.
Max Okumoto [Wed, 3 Aug 2005 18:34:39 +0000 (18:34 +0000)]
Make debug definition match forward declaration.

16 years agoMake prototype match up with function definition.
Max Okumoto [Wed, 3 Aug 2005 18:29:02 +0000 (18:29 +0000)]
Make prototype match up with function definition.

16 years agoFreeBSD-Date: 2005/07/31 04:30:46
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.

16 years agoBring name of an unused flag field in line with the rest.
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.

16 years agoBUF/BIO cleanup 3/99:
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.

16 years agoDon't reference nanosleep at all, but describe the behaviour.
Simon Schubert [Wed, 3 Aug 2005 16:07:39 +0000 (16:07 +0000)]
Don't reference nanosleep at all, but describe the behaviour.

16 years agoAdd a workaround to make 3COM cardbus cards to propagate the device
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.

16 years agoAdd test for comparing following types of conditionals:
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

16 years agoRemove libraries libtermcap and libcompat from the linking.
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.

16 years agoReference nanosleep(2) instead of sleep(3). It matches the behavior
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.

16 years agoAdd flag for compiling the tests without GCC -O2 optimisations, quite
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.

16 years agoWARNS?= 6 and style(9) cleanup.
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>

16 years agoNote that select behaves like sleep(3) when no descriptors are being checked.
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.

16 years agoUpdate manpages to reflect the changes joerg did that added const to some
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>

16 years agoBUF/BIO cleanup 2/99:
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.

16 years agoReally support rpath only linking. Add a special option -nolibc which
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.

16 years agoClean up search directories to what we really use.
Joerg Sonnenberger [Tue, 2 Aug 2005 21:15:12 +0000 (21:15 +0000)]
Clean up search directories to what we really use.

16 years agoCatch up with reality, this is GCC 3.4.4.
Joerg Sonnenberger [Tue, 2 Aug 2005 21:13:37 +0000 (21:13 +0000)]
Catch up with reality, this is GCC 3.4.4.

16 years agoFix wrong section in manpage reference.
Sascha Wildner [Tue, 2 Aug 2005 20:48:02 +0000 (20:48 +0000)]
Fix wrong section in manpage reference.

16 years agoIntroduce a make variable PACKAGE_SITES to improve package fetching in
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.

16 years agoUpdate filename in comments.
Hiten Pandya [Tue, 2 Aug 2005 17:11:04 +0000 (17:11 +0000)]
Update filename in comments.

16 years agoReduce diffs with BSD Installer repo:
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.

16 years agoStyle(9):
Chris Pressey [Tue, 2 Aug 2005 16:27:48 +0000 (16:27 +0000)]
- Add more explanatory comments.
- Mark an unused parameter as __unused.

16 years agoReadd fix for FreeBSD PR/30631.
Joerg Sonnenberger [Tue, 2 Aug 2005 16:26:30 +0000 (16:26 +0000)]
Readd fix for FreeBSD PR/30631.

No-cookie-for: David Rhodus

16 years agoRegen.
Joerg Sonnenberger [Tue, 2 Aug 2005 13:19:30 +0000 (13:19 +0000)]

16 years agoEnforce COMPAT_DF12 for now, this can be overriden via NO_COMPAT_DF12
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

16 years agoRequire 1.3.4 before installworld.
Joerg Sonnenberger [Tue, 2 Aug 2005 13:07:50 +0000 (13:07 +0000)]
Require 1.3.4 before installworld.

16 years agoBump version to 1.3.4 for stat changes.
Joerg Sonnenberger [Tue, 2 Aug 2005 13:06:36 +0000 (13:06 +0000)]
Bump version to 1.3.4 for stat changes.

16 years agoMake nlink_t 32bit and ino_t 64bit. Implement the old syscall numbers
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.

16 years agoAdd missing bit of the wchar stdio support and hook the whole thing in.
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

16 years agoConstify xdigs argument to __u[lj]toa. Cast u_long and u_quad_t to
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
16 years agoInstead of always defining FLOATING_POINT to get floating point, define
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
16 years agoAdd dependencies on files being distributed. This unbreaks nrelease.
Simon Schubert [Mon, 1 Aug 2005 22:03:15 +0000 (22:03 +0000)]
Add dependencies on files being distributed.  This unbreaks nrelease.

16 years agolibutil.h hsa to go after pwd.h.
Joerg Sonnenberger [Mon, 1 Aug 2005 20:59:46 +0000 (20:59 +0000)]
libutil.h hsa to go after pwd.h.

16 years agoAdd new option COMPAT_DF12, used for ABI compatibility with DragonFly
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.